1. 01 Mar, 2015 6 commits
  2. 25 Feb, 2015 2 commits
    • Marvin Scholz's avatar
      Only look for admin include if no local found · 0709b4e6
      Marvin Scholz authored
      This switches the behaviour introduced with the last commit
      so that now the admin folder is only checked for includes if
      in the specified path none is found.
    • Marvin Scholz's avatar
      Add support for 'admin' includes from web XSLT files · 5b416b31
      Marvin Scholz authored
      This adds support for including xslt files that are in the admin
      directory in an xslt file which is in the webroot, without having to
      specify the full path.
      For example:
          <xsl:include href="includes/head.xsl"/>
      will look inside the admin directory (foo/bar/admin/includes/header.xsl)
      and include it, if it's found. If not it will as usual look for it in
      the directory where the xslt file is located. This enables us to have
      common files like the header, footer, json stuff, etc. in the admin
      directory, so we don't need to have an extra copy in the web folder.
      The configuration value for the admin directory is requested
      every time an xslt is requested (if not in the cache).
      Additonally it should be noted that the includes are not cached.
  3. 23 Feb, 2015 1 commit
  4. 18 Feb, 2015 1 commit
  5. 15 Feb, 2015 5 commits
  6. 10 Feb, 2015 6 commits
    • Philipp Schafft's avatar
      Sync submodules · 1e80611d
      Philipp Schafft authored
    • Philipp Schafft's avatar
    • Philipp Schafft's avatar
      Feature: Support PUT with chunked transfer encoding. · 36d10121
      Philipp Schafft authored
      This adds the Transfer-Encoding chunked to PUT support.
      Please test carefully. Will add PUT to Allow: header after testing.
      Have fun.
      Closes: #2088
    • Philipp Schafft's avatar
      Cleanup: unbreak 100-continue a bit. · 79cb147c
      Philipp Schafft authored
      This tries to unbreak the 100-continue thing a bit.
      Proper headers are send in case of 100-continue. Also the 200 OK
      was moved to the end of the stream.
      The client may even be reused. But I'm not sure we only do
      'End of stream' in cases we are not on an undefined state of the
      client. Do we as of now support anything that give us EOS without
      a fatal socket state (error or shutdown)?
      At least this unbreaks 100-continue with active TLS that was broken
      as hell as we sent the header in clear over the socket. Not checking
      if it was transmitted completly or something. Using lowlevel socket
      calls (in contrast to the connection level calls that would have
      handled the TLS just fine).
      While this seem sto be a huge improvement to the situation I kindly
      ask you to do a lot testing on this. Both with SOURCE as well as
      PUT clients.
    • Philipp Schafft's avatar
      Fix/Cleanup: Answer SOURCE/PUT requests with a real 200-OK. · d6908eb0
      Philipp Schafft authored
      We have answered SOURCE/PUT requests with a simple
      "HTTP/1.0 200 OK\r\n\r\n" while we should answer with complet
      headers. This commit corrects this.
      This will work for two classes of clients:
       * Super dumb ones not checking the response and will just send
         data and hope the socket is still open.
       * Those with a real parser.
       * Shoutcast clients (indepnded code path).
       * All libshout, curl, wget, ... based clients.
      This *could* break:
       * Clients that check for the exact returned message. However
         as we start with the same string this should work.
         Only client that check for the string including the End-of-header
         CRLF sequense may break.
      Please test careful before release.
    • Philipp Schafft's avatar
      Sync common/ · 9cf6d931
      Philipp Schafft authored
  7. 09 Feb, 2015 4 commits
  8. 07 Feb, 2015 1 commit
  9. 06 Feb, 2015 1 commit
  10. 02 Feb, 2015 5 commits
  11. 01 Feb, 2015 3 commits
  12. 25 Jan, 2015 2 commits
  13. 18 Jan, 2015 3 commits
    • Philipp Schafft's avatar
      Feature: Sending <admin> field to yp server · 9d84ba20
      Philipp Schafft authored
      This sends the <admin> field to yp servers. It is thought be useful
      to allow reaching the admins more easily in case of any yp problem.
      Closes: #2146
    • Philipp Schafft's avatar
      Fix: fix memory leak of active and pending ypdata_t · 319b6d57
      Philipp Schafft authored
      This (hopefully) fixes a memory leak that caused active and
      pending ypdata_t objects to be not freed up on server shutdown
      or config reload.
      To testers: please enable yp submission and restart and SIGHUP
      your instance several times with loglevel set to warning or higher.
      Each time after shutdown or SIGHUP check your log for one of the
      following two warnings:
       * 'active ypdata not freed up'
       * 'pending ypdata not freed up'
      Those warnings must not be in the log. If you spot one please report.
    • Philipp Schafft's avatar