Skip to content
Snippets Groups Projects
  1. Jan 07, 2015
    • Andreas Gohr's avatar
      Remove error supression for file_exists() · 79e79377
      Andreas Gohr authored
      In an older version of PHP a file_exists() call would issue a warning
      when the file did not exist. This was fixed in later PHP releases. Since
      we require PHP 5.3 now, there's no need to supress any error here
      anymore. This might even give a minor performance boost.
      79e79377
  2. Oct 01, 2014
  3. Aug 23, 2013
  4. Aug 22, 2013
  5. Aug 02, 2013
  6. Jan 31, 2013
  7. Nov 10, 2012
    • Andreas Gohr's avatar
      fixed saving in config plugin · 3295f40a
      Andreas Gohr authored
      Saving worked, but did you log out everytime. Now it is checked if the
      auth mechanism was actually changed before assuming the login is
      invalid.
      3295f40a
  8. Sep 08, 2012
  9. Aug 05, 2012
  10. Jul 05, 2012
  11. Feb 04, 2012
  12. Feb 01, 2012
  13. Aug 20, 2011
  14. Apr 17, 2011
  15. Nov 01, 2010
  16. Jun 26, 2010
  17. Feb 01, 2010
    • Andreas Gohr's avatar
      plugin related autoloading · c2a6d816
      Andreas Gohr authored
      This patch moved the place where DOKU_PLUGIN is defined. It no longer
      can be set from a normal config (only via preload)
      c2a6d816
  18. Mar 16, 2009
  19. Mar 12, 2009
  20. Aug 15, 2008
  21. Sep 08, 2007
  22. 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
  23. 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
  24. 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
  25. 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
  26. Jul 28, 2006
  27. Jul 10, 2006
  28. 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
  29. 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
  30. 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
  31. Mar 27, 2006
  32. Mar 22, 2006
  33. 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
  34. Mar 03, 2006
  35. Feb 26, 2006
  36. Jan 30, 2006
Loading