Skip to content
Snippets Groups Projects
  1. Dec 08, 2010
    • 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
  2. Dec 07, 2010
    • Andreas Gohr's avatar
      Make baseonly work in allowedModes · 9fa736b0
      Andreas Gohr authored
      This makes it possible to have modes that do accept headers
      (baseonly) in the parser.
      
      Related test cases are still running through but I'm not 100% sure
      I did not break something here. So it should be tested a bit more.
      
      This patch will allow plugins to wrap multiple sections, however it
      also makes it possible to easily break XHTML validity, because
      headers also open and close sections, so plugin authors need to be
      aware!
      
      In case you wonder: this patch is not about allowing formatting
      inside headers.
      9fa736b0
  3. Dec 06, 2010
  4. Dec 02, 2010
  5. Nov 30, 2010
  6. Nov 29, 2010
  7. Nov 26, 2010
    • Michael Hamann's avatar
      Fix for $conf['breadcrumbs'] < 0, FS#2107 · 48714142
      Michael Hamann authored
      This fixes an infinite loop in breadcrumbs() and makes the behaviors in
      all places where breadcrumbs are used consistent so that non-numeric
      values, values < 0 and 0 are treated the same way.
      48714142
  8. Nov 24, 2010
  9. Nov 22, 2010
    • Michael Hamann's avatar
      Render metadata when needed · 98214867
      Michael Hamann authored
      This changes fundamentally when metadata is rendered. This commit
      introduces a new cache file for every page that just contains a
      timestamp and is updated whenever the metadata of that page is rendered.
      
      Metadata is rendered when p_get_metadata is called and the last
      rendering has been before a page, metadata, configuration or renderer
      update or purge is set like in the xhtml renderer cache.
      
      Metadata is no longer automatically rendered when the xhtml renderer
      cache isn't used but will still be rendered when needed as
      p_get_metadata is called in the cache.
      
      Metadata is also no longer rendered in the indexer script when missing
      as that is already done by pageinfo() before anything else is done so
      the indexer script won't be called when there is no metadata file.
      98214867
    • Xin LI's avatar
      Fix unicode handling. · 5e1ee188
      Xin LI authored
      
      Suggested by:   MQ <antinvidia gmail com>
      
      Signed-off-by: default avatarXin LI <delphij@FreeBSD.org>
      5e1ee188
  10. Nov 21, 2010
  11. Nov 20, 2010
  12. Nov 18, 2010
  13. Nov 14, 2010
  14. Nov 13, 2010
Loading