Skip to content
Snippets Groups Projects
  1. Sep 30, 2007
    • Andreas Gohr's avatar
      don't use realpath() anymore (FS#1261 and others) · 00976812
      Andreas Gohr authored
      The use of realpath() to clean up relative file names caused some
      trouble in certain setups relying on symlinks or having restricitve
      file structure setups.
      
      This patch replaces all realpath() calls with a PHP only replacement
      which should solve those problems.
      
      darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz
      00976812
  2. Sep 19, 2007
    • Tom N Harris's avatar
      Remove obsolete words from search index · a0c5c349
      Tom N Harris authored
      Creates another index file 'pagewords.idx' for the words in each page.
      Words that are deleted from a page can then be removed from the word index.
      The indexer version is incremented to force rebuilding of the index.
      Also, a minor flaw in the regexp for asian words is fixed.
      
      darcs-hash:20070919194244-6942e-2e08157dcf4fdf166b35b36a0faf8a3dfb415ad9.gz
      a0c5c349
  3. Sep 08, 2007
  4. Sep 06, 2007
  5. 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
  6. Aug 26, 2007
    • Guy Brand's avatar
      Revert plugin die if DOKU_INC undefined · 1687f569
      Guy Brand authored
      darcs-hash:20070826201745-19e2d-10ac45260b4ab288ffa91c4828b82bb61ebfa625.gz
      1687f569
    • Gabriel Birke's avatar
      Arbitrary Button types in JS toolbar · b7641d9e
      Gabriel Birke authored
      This is my patch for creating toolbar buttons with arbitrary button types,
      tested with Firefox, Opera and IE7. If you want to create a new type of
      button, you must have a function in the script.js file of your plugin. The
      function name must begin with "addBtnAction", followed by the type name, for
      example for the type "myType" the function must be called
      "addBtnActionMyType" (bear in mind that the first char of the type must be
      uppercased in the function name).
      
      The function has four parameters:
      "btn" is the HTML element for the button where you attach the onclick
      handler
      "props" is an associative array of the array properties that come from the
      toolbar array that was created by toolbar.php
      "edid" (optional) is the id of the editor textarea
      "id" (optional) is a "unique" number for each button: the index variable of
      the for loop where the buttons get created.
      
      darcs-hash:20070826192206-79ce3-1fe6f49c1eb5d0c10adbadc43f7b2ee1aec1853e.gz
      b7641d9e
  7. Aug 21, 2007
  8. Aug 20, 2007
  9. Aug 18, 2007
    • Andreas Gohr's avatar
      esperanto update · aad41e93
      Andreas Gohr authored
      darcs-hash:20070818222029-7ad00-490d6e1e53a9753c4951ee8a9a9882d3cbdcfdb0.gz
      aad41e93
  10. Aug 16, 2007
  11. Aug 13, 2007
  12. Aug 10, 2007
    • Ben Coburn's avatar
      Optimize loading the index with AJAX · 9a59099f
      Ben Coburn authored
      Improves the perceptual latency of the AJAX based index view.
      
      - Only show the throbber for AJAX calls that are slow.
        Currently this applies to calls that take more than 500 ms.
      
      - Reuse the results of AJAX calls.
        This makes a namespace open, close, open, cycle much faster.
        Also reduces the number of AJAX calls to the server.
        (To reload the index, just reload the page as usual.)
      
      darcs-hash:20070810040430-05dcb-1a4bcdb19c599ea74d1a3d2cc758753d19ef6eee.gz
      9a59099f
  13. Aug 09, 2007
  14. Aug 08, 2007
  15. Aug 07, 2007
  16. Aug 05, 2007
    • Chris Smith's avatar
      Add checks for supported attic compression methods to config plugin (FS#1185) · 1b95bfdf
      Chris Smith authored
      darcs-hash:20070805193638-d26fc-aac3910d4dea3cd5539572cce3e73366ed39ab80.gz
      1b95bfdf
    • 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
  17. Jul 30, 2007
  18. Jul 25, 2007
    • Andreas Gohr's avatar
      JavaScript fix · d734b123
      Andreas Gohr authored
      darcs-hash:20070725184035-7ad00-ed079411e612045107680940d8e0570df48bdb7d.gz
      d734b123
  19. Jul 19, 2007
  20. Jul 16, 2007
    • Andreas Gohr's avatar
      small javascript fix · a7e8a98c
      Andreas Gohr authored
      darcs-hash:20070716185356-7ad00-041a32374cd1d2878296161a5cc1bc7e09e58b27.gz
      a7e8a98c
    • Andreas Gohr's avatar
      AJAX for the index view · a06884ab
      Andreas Gohr authored
      This makes the index view much more responsive by loading sub namespaces through AJAX
      if JavaScript is available.
      
      The used throbber image probably looks bad on dark backgrounds. If someone could provide
      a better one it would be greatly appreciated.
      
      darcs-hash:20070716184605-7ad00-adf298ee3303d50f2b4b6b66e5ea3ff8d8c2bf9a.gz
      a06884ab
  21. Jul 15, 2007
  22. Jul 11, 2007
  23. Jul 05, 2007
  24. Jul 02, 2007
  25. Jun 30, 2007
  26. Jun 29, 2007
  27. Jun 28, 2007
Loading