1. 23 Jun, 2007 8 commits
  2. 18 Jun, 2007 2 commits
    • Sidnei da Silva's avatar
      · e28f818f
      Sidnei da Silva authored
            - DAV: compatibility with Windows Web Folders restored by adding
              a configuration variable that controls the sending of the
              non-standard MS-Author-Via and Public headers. Thanks for
              PatrickD for the the hard work coming up with an initial
              patch.
              (http://zope.org/Collectors/Zope/1441)
      e28f818f
    • Wichert Akkerman's avatar
      Fix typo · 957dd598
      Wichert Akkerman authored
      957dd598
  3. 17 Jun, 2007 11 commits
  4. 16 Jun, 2007 2 commits
    • Chris McDonough's avatar
      When attempting to unlock a resource with a token that the · ccc4a377
      Chris McDonough authored
      resource hasn't been locked with, we should return an error
      instead of a 20X response.  See
      http://lists.w3.org/Archives/Public/w3c-dist-auth/2001JanMar/0099.html
      for rationale.
      
      Prior to Zope 2.11, we returned a 204 under this circumstance.
      We choose do what mod_dav does, which is return a '400 Bad
      Request' error.
      
      This was caught by litmus locks.notowner_lock test #10.
      ccc4a377
    • Chris McDonough's avatar
      Tests 15 (propnullns) and 16 (propget) from the props suite · 0e9e7a53
      Chris McDonough authored
      of litmus version 10.5 (http://www.webdav.org/neon/litmus/)
      expose a bug in Zope propertysheet access via DAV.  If a
      proppatch command sets a property with a null xmlns,
      e.g. with a PROPPATCH body like:
      
      <?xml version="1.0" encoding="utf-8" ?>
      <propertyupdate xmlns="DAV:">
      <set>
      <prop>
       <nonamespace xmlns="">randomvalue</nonamespace>
      </prop>
      </set>
      </propertyupdate>
      
      When we set properties in the null namespace, Zope turns
      around and creates (or finds) a propertysheet with the
      xml_namespace of None and sets the value on it.  The
      response to a subsequent PROPFIND for the resource will fail
      because the XML generated by dav__propstat included a bogus
      namespace declaration (xmlns="None").
      
      Fixed by amending OFS.PropertySheets.dav__propstat.
      0e9e7a53
  5. 10 Jun, 2007 1 commit
  6. 09 Jun, 2007 2 commits
  7. 05 Jun, 2007 1 commit
  8. 04 Jun, 2007 2 commits
  9. 03 Jun, 2007 1 commit
  10. 22 May, 2007 1 commit
  11. 11 May, 2007 2 commits
  12. 10 May, 2007 2 commits
  13. 07 May, 2007 2 commits
    • Tres Seaver's avatar
      Forward-port test cleanup from 2.10 branch. · 8af69e91
      Tres Seaver authored
      8af69e91
    • Tres Seaver's avatar
      Clean up tests for Z2 ZPT expresssion machinery: · 87ed7f27
      Tres Seaver authored
      o Move unneeded global imports to point of use.
      
      o Wrap long lines.
      
      o Make setUp / tearDown explicit.
      
      o Avoid use of testcase instance variables.
      
      o Split apart edge cases into discrete testcase methods.
      
      o Use stock 'assertEqual', 'failUnless' methods of unittest.
      
      Test both the 'trusted' and the 'untrusted' versions of the engine,
      using a common base class.
      
        XXX:  This split will allow new tests which verify the security
              semantics of each version of the engine.
      87ed7f27
  14. 06 May, 2007 2 commits
  15. 04 May, 2007 1 commit