Skip to content
Snippets Groups Projects
  1. Jan 09, 2011
  2. Jan 06, 2011
  3. Jan 04, 2011
  4. Jan 03, 2011
  5. Jan 02, 2011
  6. Dec 31, 2010
  7. Dec 29, 2010
  8. Dec 28, 2010
  9. Dec 27, 2010
    • Michael Hamann's avatar
      Save metadata only when really changed · 69ba640b
      Michael Hamann authored
      This avoids disk writes when not needed and possibly also xhtml
      rendering when the metadata needs to be rendered but xhtml doesn't
      (unless the metadata file is changed).
      69ba640b
  10. Dec 26, 2010
  11. Dec 23, 2010
  12. Dec 22, 2010
  13. Dec 21, 2010
  14. Dec 18, 2010
  15. Dec 13, 2010
  16. Dec 12, 2010
  17. Dec 10, 2010
    • Michael Hamann's avatar
      preg_quote namespaces in auth_aclcheck · 3e304b55
      Michael Hamann authored
      Like ids namespaces are now preg_quoted in the acl check (and therefore
      the escaping of "*" has been removed). When plugins call the ACL check
      function with strange ids the regex fails otherwise (in the case of the
      include plugin errors like "Warning: preg_grep() [function.preg-grep]:
      Compilation failed: missing terminating ] for character class at offset
      47" have been reported by two users).
      
      I've run the acl tests after this change and everything passes so this
      shouldn't break anything but please test this especially with protected
      wikis as this change modifies the code that handles namespace
      permissions. Furthermore permissions for a namespace foobar are no
      longer applied to namespaces with names like foo.ar, I hope nobody has
      used that "feature".
      
      When you are using per-user namespaces, user registration is open and
      either write or read protection for these namespaces is important to
      you this is a security fix for you: When someone wants to get access to
      the namespace of a user "foo.bar" he can register as "fooxbar" (where
      "x" is an arbitrary character) and will have access to the user
      namespace of the user "foo.bar" as when a page in "foo.bar" is checked
      it will match the rule for "fooxbar".
      3e304b55
    • Andreas Gohr's avatar
      added missing files for popularity plugin · 8596046d
      Andreas Gohr authored
      8596046d
  18. Dec 09, 2010
  19. Dec 08, 2010
    • Andreas Gohr's avatar
    • Andreas Gohr's avatar
      added auth_isMember() · d6dc956f
      Andreas Gohr authored
      This function abstracts checking a given user and her groups against a
      given member list (as used in the superuser and manager options).
      
      It is also used in auth_isManager() and auth_isAdmin(), unlike the
      previous function, this one skips the nameencode step as it should be
      unnessary here (all input is given decoded).
      
      The test cases where extended by some non-ID user and group names.
      
      People with non-plain auth backends should check that their
      administrator and manager setups still work as expected
      d6dc956f
    • Andreas Gohr's avatar
      fixed indent · 5b72404c
      Andreas Gohr authored
      5b72404c
Loading