Skip to content
Snippets Groups Projects
  1. Mar 04, 2008
  2. Mar 02, 2008
  3. Feb 27, 2008
  4. Feb 25, 2008
    • Tom N Harris's avatar
      INDEXER_TASKS_RUN event for index-time hooks · 33a148e0
      Tom N Harris authored
      The event INDEXER_TASKS_RUN is fired by lib/exe/indexer.php when a page is viewed. Plugins should only hook BEFORE the event if it is important for the task to be run as often as possible. Otherwise, hook AFTER the even to be run only when other tasks have completed.
      
      Plugin authors must call stopPropagation() and preventDefault() if any work is done. If your plugin does nothing, then you must allow the event to continue. Not following these rules may cause DokuWiki to exceed the PHP execution time limit.
      
      darcs-hash:20080226011940-6942e-09291b73bab84a2c4445b1d1c4de8b3bba743243.gz
      33a148e0
  5. Feb 23, 2008
    • Andreas Gohr's avatar
      use fulltext index to search for used media files FS#1336 FS#1275 · a05e297a
      Andreas Gohr authored
      This changes how DokuWiki looks for reference toa media file which is
      about to deleted. Instead of doing a full grep through all pages it now
      uses the fulltext index first, then does an exact match on the found
      pages.
      
      This speeds up the search significantly on larger wikis. However the
      fulltext search limits now apply: images with names shorter than 3 charcters
      may not be found.
      
      This needs extensive testing!
      
      darcs-hash:20080223205254-7ad00-486de0a4125d51b4e7999827f710d1d9de8bc60d.gz
      a05e297a
    • Andreas Gohr's avatar
      Check memory settings on ?do · 73038c47
      Andreas Gohr authored
      This should help with diagnosing memory related problems
      
      darcs-hash:20080223180701-7ad00-1308829c3d7432b1d0c23c3f1acc8228c0a41e1e.gz
      73038c47
    • Andreas Gohr's avatar
      use strftime() instead of date() FS#1335 :!: · e656dcd4
      Andreas Gohr authored
      This patch replaces the use of the date() function with the strftime()
      function. The latter will respect a set locale and will use localized
      strings for things like month names.
      
      Because the format options for strftime differ from the ones used in date,
      DokuWiki will rest the value of $conf['dformat'] if it contains an old
      date format string (detected by missing % characters).
      
      Plugins or templates using the $conf['dformat'] need to be updated.
      
      darcs-hash:20080223124045-7ad00-6afb2b839afc58781463e25577e06adb675fff79.gz
      e656dcd4
  6. Feb 15, 2008
  7. Jan 25, 2008
  8. Jan 18, 2008
  9. Dec 21, 2007
    • s_wienecke's avatar
      transparent_gif · e582e8b6
      s_wienecke authored
      darcs-hash:20071221181419-3d7ce-f05705a0357412a87e7984a041ac5812eea83048.gz
      e582e8b6
  10. Nov 23, 2007
    • Andreas Gohr's avatar
      Spellchecker removed · ae112d8c
      Andreas Gohr authored
      With spell checkers available in all modern browsers, having a spell checker in
      DokuWiki's core code is no longer necessary. This patch removes the spell
      checking feature. It will be made available as optional plugin.
      
      darcs-hash:20071123125840-7ad00-faf7aa4673421dbb3fad904ba5b46b4927a5176d.gz
      ae112d8c
  11. Nov 09, 2007
  12. Oct 27, 2007
  13. Oct 26, 2007
    • Gabriel Birke's avatar
      Translatable JavaScript strings for plugins · 9f01cf6a
      Gabriel Birke authored
      Strings to be used in plugin provided JavaScript can now be put into the plugin's
      lang.php files. It has to be stored as subkeys of $lang['js']. Eg the following in
      lib/plugins/blah/lang/en/lang.php
      
      $lang['js']['foo']
      
      darcs-hash:20071026131130-79ce3-75ab69b1ba527c823e0e5ef0fde031032aaa2548.gz
      9f01cf6a
  14. Oct 15, 2007
  15. Oct 12, 2007
    • Dennis Ploeger's avatar
      xmlrpc_putpage · 3a1dad2d
      Dennis Ploeger authored
      Adds the putpage-method to the xmlrpc-server-code
      
      darcs-hash:20071012135930-b8925-1d770de41b3e6aea4c612666194e915dda344647.gz
      3a1dad2d
  16. Oct 08, 2007
    • Andreas Gohr's avatar
      X-Sendfile support for fetch.php · 9a87c72a
      Andreas Gohr authored
      This patch enables the use of the X-Sendfile extension offered by certain
      webservers to deliver static files after running a dynamic script. This
      combines the flexibility of a PHP file to check for authorization, caching
      and resizing with the low memory footprint and high performance of static
      file delivery of the webserver.
      
      See http://blog.lighttpd.net/articles/2006/07/02/x-sendfile for details
      
      darcs-hash:20071008185019-7ad00-1e6d4768fb60d58955e4253c7786eaf8cf13d0bb.gz
      9a87c72a
  17. Sep 30, 2007
    • Andreas Gohr's avatar
      don't use fullpath() before initialized · d0a27cb0
      Andreas Gohr authored
      darcs-hash:20070930201133-7ad00-a35a6c40f880116009efd9e50cb002bd75733369.gz
      d0a27cb0
    • 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
  18. 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
  19. Sep 06, 2007
  20. Aug 09, 2007
  21. Jul 19, 2007
  22. Jul 16, 2007
    • 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
  23. Jun 16, 2007
  24. May 13, 2007
    • Andreas Gohr's avatar
      include_once support for javascript · 3825ddd3
      Andreas Gohr authored
      The include syntax was changed and enhanced by a include_once statement.
      
      Syntax:
      
      /* DOKUWIKI:include somefile.js */
      /* DOKUWIKI:include_once someotherfile.js */
      
      Note: include_once uses the basename of the inlcuded file to determine if
            it was previously loaded. You need to use something unique for it to
            make sure it is correctly loaded.
      
      Note: included files are not checked for updates by the cache logic. You
            need to touch the master file for updating the cache
      
      Note: includes are *not* supported inside included files to avoid any
            circular references
      
      darcs-hash:20070513222421-7ad00-d99d717ba8a428d0af2b3f7d593897e0467cb9c9.gz
      3825ddd3
    • Andreas Gohr's avatar
      include support for JavaScript files · 176da19b
      Andreas Gohr authored
      This patch adds support for include calls in JavaScript files as discussed in [1]
      
      The syntax looks like this:
      
      /* !!include script.js */
      
      All whitespaces are optional (except between !!include and script of course)
      
      [1] http://www.freelists.org/archives/dokuwiki/01-2007/msg00121.html
      
      darcs-hash:20070513123230-7ad00-71a1081aaef1e8f6bc909820927f17d0be71b74e.gz
  25. May 04, 2007
  26. Apr 08, 2007
  27. Apr 07, 2007
    • Andreas Gohr's avatar
      support rtl.css for plugins FS#1114 · 208c0215
      Andreas Gohr authored
      A rtl.css file is loaded for plugins when the language direction is right to left.
      
      darcs-hash:20070407165027-7ad00-1580a9d2af3f64f13780b4e243e53b44c7c5add2.gz
      208c0215
  28. Apr 02, 2007
  29. Mar 08, 2007
  30. Mar 03, 2007
  31. Jan 11, 2007
    • wingedfox's avatar
      JS checks for .hasOwnProperty · 86045fe9
      wingedfox authored
      This patch includes
      - several helper functions - is* checks
      - hasOwnProperty method emulator
      - checks for .hasOwnProperty in all for..in loops
      
      darcs-hash:20070111114236-00f02-50a71681e5d04faf086f1b8032a384648378b744.gz
      86045fe9
  32. Feb 10, 2007
  33. Feb 08, 2007
    • Andreas Gohr's avatar
      workaround config for FS#852 · cde6a01b
      Andreas Gohr authored
      On certain platforms the ignore_user_abort function does not work as expected, resulting
      in a non working indexer webbug. Users with such a broken system (IIS+PHP as CGI) can
      enable this option to work around the problem (resulting in longer load times for the
      webbug).
      
      darcs-hash:20070208195145-7ad00-8fc14f9da535a70fa837066773e15a3926b077c7.gz
      cde6a01b
Loading