Skip to content
Snippets Groups Projects
  1. Mar 13, 2008
  2. Mar 11, 2008
    • Chris Smith's avatar
      Add support for plugin renderers to replace standard renderers · d968d3e5
      Chris Smith authored
      This patch is the fourth in a series aimed at making it easier for DW to allow
      plugins to modify the standard handling of line-breaks.
      
      It adds:
      - new config setting 'renderer_xhtml', default value 'xhtml'
      - new renderer method 'reset()' which is used by reusable renderers when used
        to render second and subsequent data. (*)
      
      An extra step has been added to the renderer selection process.
      - check $conf["renderer_$mode] for renderer name.  If it doesn't exist use $mode as
        the renderer name.
      
      (*) It maybe that the 'document_start()' method can be used for this.  However the
      current xhtml does not correctly reset itself for reuse.
      
      darcs-hash:20080312005647-f07c6-ff2cb960c05927f5c6f3e916a364fcad470c2ce3.gz
      d968d3e5
    • Chris Smith's avatar
      change line-break replacement character to '\n' · 52fe2bfb
      Chris Smith authored
      This patch is the third in a series aimed at making it easier for DW to allow
      plugins to modify the standard handling of line-breaks.
      
      It effectively leaves the new-line character '\n' in the 'cdata' instruction
      allowing the renderer to process the character as it chooses. No changes have
      been made to the renderers.
      
      This change is neutral to xhtml renderers as xhtml treats spaces and new-lines
      identically (as white-space).
      
      Writers of renderer plugins are advised to check their plugin against the new
      patch.
      
      darcs-hash:20080312000924-f07c6-a6dab2d16c7bc42e9dc8eb137648c6f984b4f2e6.gz
      52fe2bfb
    • Chris Smith's avatar
      Update handler to merge consecutive 'cdata' instructions (incl. test case updates) · 41624b31
      Chris Smith authored
      This patch is the second in the series designed to make it easier for DW to allow
      plugins to modify the standard handling of line-breaks.
      
      Like the first this patch doesn't alter line-break behaviour at all, but introduces
      improvements that reduce to a minimum the number of 'cdata' instructions generated
      by the handler.
      
      darcs-hash:20080312000248-f07c6-f6ce1b5aac43a52cbe31215c517b048679ae20a7.gz
      41624b31
  3. Mar 12, 2008
  4. Mar 10, 2008
    • Michael Klier's avatar
      XMLRPC: pageVersions() should return the current version too · 45c63471
      Michael Klier authored
      darcs-hash:20080310233733-23886-79cb51e12374a51ac2595298bf331e1525962a2f.gz
      45c63471
    • Andreas Gohr's avatar
      another change in highlight handling · 546d3a99
      Andreas Gohr authored
      Now higlighting phrases are passed as an array which then is quoted correctly
      when used in a regexp. This should make phrase highlighting work completely
      correct.
      
      Please everyone test it.
      
      darcs-hash:20080310214939-7ad00-1abefb02dde40edeead50b4fa5c866c46b95ca3a.gz
      546d3a99
    • Michael Klier's avatar
      fixed search result linking of pagenames which consist of numbers only · 68c26e6d
      Michael Klier authored
      darcs-hash:20080310203620-23886-c6b6828f4cbd47cac4f904a25ca454403adef41c.gz
      68c26e6d
    • Andreas Gohr's avatar
      allow dynamic passing of template to use for css.php · 124af657
      Andreas Gohr authored
      This patch makes it possible to pass the template name to use to the
      lib/exe/css.php dispatcher. When passed the $conf['template'] option is
      ignored by the disaptcher and the given template is used instead.
      
      This makes it possible to switch templates dynamically without loosing the
      CSS dispatcher functionality. This might be useful for things like the
      multitemplate template or for loading a template based on the user agent.
      
      darcs-hash:20080310201630-7ad00-2062fa939b1f868540031ea42a42e948dd82bbb4.gz
      124af657
  5. Mar 09, 2008
  6. Mar 02, 2008
    • Guy Brand's avatar
      Fix Unit Test · aac682fb
      Guy Brand authored
      - README: test unit is under _test/
      - form: use security token
      - form: reordered elements
      - pageid: playground start page (broken since ns autolinking?)
      
      darcs-hash:20080302184514-19e2d-087390c75f1e60e369162219f253a7ed513ce1f6.gz
      aac682fb
  7. Mar 05, 2008
  8. Mar 04, 2008
  9. Mar 02, 2008
  10. Feb 27, 2008
  11. Feb 23, 2008
  12. Feb 22, 2008
    • Chris Smith's avatar
      Fix for FS#1334, see also FS#1090 · cbaf4259
      Chris Smith authored
      FS#1090 ensured DW would never rebuild instructions in the same run by forcing subsequent
      instruction requests to use the version cached on the first request.  That introduced problems
      when the caching of the instructions failed (FS#1334).  This patch allows subsequent rebuilds
      when cache storage failed.
      
      darcs-hash:20080223025539-d26fc-26202a049a6969816553d950a2bb8f71a02ae76e.gz
      cbaf4259
  13. Feb 26, 2008
    • Andreas Gohr's avatar
      fix usage of is_admin in auth_aclcheck · 85d03f68
      Andreas Gohr authored
      There were a few problems with name encoding for groups and users
      introduced in the recent aclcheck change
      
      darcs-hash:20080226172257-7ad00-d591f0d2f2219a2b23f93060c65b8fb5f46bd1d7.gz
      85d03f68
  14. Feb 25, 2008
    • Tom N Harris's avatar
      Don't depend on plugin for Zip/TarLib · 09742313
      Tom N Harris authored
      darcs-hash:20080226005222-6942e-20808aa2678aec95a22c93fce81c1f822975493d.gz
      09742313
    • 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
  15. 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
    • Pierre Spring's avatar
      Table Row And Col Classes · b5742ced
      Pierre Spring authored
      This patch adds classes to the table rows and cells (td and th). This can be of usage when templating and within syntax plugins.
      
      darcs-hash:20080223175808-c3d3e-73384884597c56deac774a8a52cd20b639b3039b.gz
      b5742ced
Loading