Skip to content
Snippets Groups Projects
  1. Aug 15, 2008
  2. Sep 08, 2007
  3. Aug 29, 2007
    • Andreas Gohr's avatar
      CSRF prevention for admin plugins · 634d7150
      Andreas Gohr authored
      This patch adds a session based token to all form in the default action plugins.
      The validity of the token is checked before any administrative function is
      executed aiming to protect DokuWiki's admin functions from Cross-site request
      forgery (CSRF) attacks.
      
      Another patch will follow to add the same functionality on other, less critical
      functions.
      
      More details on CSRF attacks can be found at
      http://en.wikipedia.org/wiki/Cross-site_request_forgery
      
      darcs-hash:20070829201538-7ad00-d0770224a3351fd8e38968e3a9d8e73520482445.gz
      634d7150
  4. Aug 05, 2007
    • Andreas Gohr's avatar
      separated TOC from page · b8595a66
      Andreas Gohr authored
      This patch introduces a tpl_toc() function which can be used to freely place
      the Table of Contents in a template. When used, tpl_content should be called
      with a parameter of false to supress the automatic TOC placement.
      
      Note: if tpl_toc() us run *before* tpl_content(), TOCs will not work in the
      preview. A work around is to run tpl_content() in a output buffer first.
      
      This patch also adds a getTOC() function for admin plugins which allows plugin
      authors to put create their own TOC which will be placed correctly in the
      template. A convenience function html_mktocitem() is available.
      
      The config manager was adjusted to make ue of this new feature, but some bugs
      might remain.
      
      darcs-hash:20070805132405-7ad00-77d2c3cdf66cc62b2d408cc6580f938636a109af.gz
  5. Jun 29, 2007
    • Andreas Gohr's avatar
      Show config option names in config manager · dde31035
      Andreas Gohr authored
      This patch outputs the config name in the config manager (instead of using a title
      tag) which makes it easier to search (ctrl-f) for a specific option.
      
      darcs-hash:20070629210648-7ad00-0e2a689b04c747298ee50b20bce287069393a84b.gz
      dde31035
  6. Feb 14, 2007
    • Ben Coburn's avatar
      config plugin TOC refactoring · e1b31a95
      Ben Coburn authored
      Now uses the new toc_additem function in the Doku_Renderer_xhtml class.
      
      darcs-hash:20070215015318-05dcb-f725b589b6ecf9b332f624f4bb9cafe7ed546172.gz
      e1b31a95
  7. Jul 28, 2006
  8. Jul 10, 2006
  9. May 20, 2006
    • Ben Coburn's avatar
      config plugin ui update 20060520 · 685bdd2e
      Ben Coburn authored
      This patch hides settings that are missing config metadata and optionally
      provides a list of warnings about settings that are not properly configured.
        - Warnings about settings are listed if $conf['allowdebug'] is true.
        - Warnings are listed by the $conf string as it appears in local.php.
        - Warnings show the $meta string as it would appear in the correct
          settings metadata file.
        - There are 3 kinds of warnings.
          - undefined
            There is no $meta information defined for this setting.
          - no class
            The setting class specified in $meta can not be found.
            This setting does have a $meta entry.
          - no default
            The setting is missing a default value.
            The setting does have a $meta entry with a valid setting class.
        - Note: Settings with metadata but other warnings are allowed to appear
                in the normal config settings list.
      
      Also...
        - Templates can now define their own settings classes.
        - Removed an XHTML validation error from the first patch.
        - More language strings to go with the new warnings.
      
      The warnings under the 'Undefined Settings' heading are intended to
      provide developers with a list of any settings that they have forgotten to
      finish preparing for the config plugin. This list should be blank for stable
      releases.
      
      darcs-hash:20060520103718-05dcb-6d4e6bce78498cbf9d087e27d52e4aa30917b0a5.gz
      685bdd2e
  10. May 10, 2006
    • Ben Coburn's avatar
      config plugin ui organization · 4fa2dffc
      Ben Coburn authored
        - organizes the configuration settings list into chunks
        - provides a table of contents for the configuration chunks
        - provides one chunk for each plugin with configurable settings
        - provides one chunk for the active template (if it has settings)
        - provides the config file setting as a tool-tip on the setting label
          ex. $conf['start']
        - provides for localization of useful strings
        - generates a "smart" fallback name for plugins and templates
        - plugin and template sections are only shown if they have settings
        - current configuration list is organized into chunks
      
      Note: There are NEW strings to translate into the non-english language files.
      
      darcs-hash:20060510065732-05dcb-398d5c7efa7981f690d97a25a5110b1f39be9f8e.gz
      4fa2dffc
  11. Apr 09, 2006
    • chris's avatar
      Bug#680 · e04f1f16
      chris authored
      Update default plugins to ensure they exit immediately
      if not called from within Dokuwiki
      
      darcs-hash:20060409233841-9b6ab-555e4fced756849a5d7b9de6e4aaaea24c6da3ae.gz
      e04f1f16
  12. Mar 27, 2006
  13. Mar 22, 2006
  14. Mar 04, 2006
    • Andreas Gohr's avatar
      config manager fixes · 91f04971
      Andreas Gohr authored
      This patch makes the default config widget a textarea, to avoid destroying
      multiline configs as used in the SQL auth backends. It also makes HTML in
      config descriptions possible and adds an accesskey to the savebutton.
      
      darcs-hash:20060304213457-7ad00-54a32e005601a675b169c297ef9e1cf489372724.gz
      91f04971
  15. Mar 03, 2006
  16. Feb 26, 2006
  17. Jan 30, 2006
  18. Jan 27, 2006
  19. Jan 24, 2006
    • chris's avatar
      config plugin · 10449332
      chris authored
      darcs-hash:20060125001546-9b6ab-02a6255db9adc4dc22f4970b01a3b148d2b1810c.gz
      10449332
Loading