Skip to content
Snippets Groups Projects
  1. May 04, 2007
  2. Apr 08, 2007
  3. 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
  4. Apr 02, 2007
  5. Mar 08, 2007
  6. Mar 03, 2007
  7. 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
  8. Feb 10, 2007
  9. 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
  10. Jan 24, 2007
  11. Dec 07, 2006
  12. Dec 06, 2006
  13. Dec 07, 2006
  14. Nov 24, 2006
  15. Nov 15, 2006
    • Tom N Harris's avatar
      use generated CSS for RSS feeds · 615960fe
      Tom N Harris authored
      plugins can include styles with feed.css,
      templates can use the media type feed in style.ini
      
      darcs-hash:20061115101549-6942e-d1de56b343ce0cc11ca6b911c444197316f4a4eb.gz
      615960fe
  16. Nov 17, 2006
    • Tom N Harris's avatar
      Indexer asian language fixes and speed-ups · d5b23302
      Tom N Harris authored
      Make Chinese and Japanese work better with the new indexer.
      Some missing punctuation added to utf8_stripspecials.
      Misc. other changes to make indexing faster. The indexes will expire on
      backend upgrades, so you don't have to delete *.indexed
      
      darcs-hash:20061117123032-6942e-774b38e08234928c49b37e40addba375acf67ac0.gz
      d5b23302
    • Andreas Gohr's avatar
      sitemapper update · 9046bb99
      Andreas Gohr authored
      The Google sitemap protocol was recently adopted by Yahoo and Microsoft and
      made a common standard. This patch changes the XML namespace URL to the new
      sitmaps.org site and ups the version to 0.9
      
      Pinging of Yahoo and Microsoft was added to the existing Google ping. The
      microsoft ping currently fails with a "Bad format" error for unknown reason.
      This will hopefully change when either Microsoft fixes their URL or releases
      some documentation.
      
      darcs-hash:20061117150030-7ad00-0fac1cba07926c3ffe687a8cbaf465e8de3abcd7.gz
      9046bb99
  17. Nov 13, 2006
  18. Nov 12, 2006
    • TNHarris's avatar
      Word-Length Indexer · 579b0f7e
      TNHarris authored
      A modification to the indexer that sorts words based on length. This should make
      searching a little bit more efficient. After the patch is applied, your old index
      will be automatically converted to the new format (when you visit a page). The
      new index format is:
      
      1. Index files are stored in savedir/index
      2. Word lists are stored as wlen.idx. This used to be word.idx.
      3. Word indexes are stored as ilen.idx. This used to be index.idx.
      4. The page list, page.idx, is simply copied to the new location.
      
      Any plugins you have, such as the blog plugin, that read the index files need to
      be updated.
      
      darcs-hash:20061112194900-2b9f0-a975498ccf0a1d39c6df73b79bcd028d5e81c389.gz
      579b0f7e
    • Andreas Gohr's avatar
      purge option support for js.php and css.php · 0df6f150
      Andreas Gohr authored
      adding ?purge
      
      darcs-hash:20061112143440-7ad00-436a63c8ee0279a9aa0423c389967418f8528656.gz
      0df6f150
  19. Nov 10, 2006
    • Andreas Gohr's avatar
      DOMlib removed · 6b379cbf
      Andreas Gohr authored
      The DOMlib javascript library was removed. It was only used for
      footnote tooltips and access key fixup.
      
      Removing the library creates a much smaller JavaScript footprint. The
      size of the compacted non-edit Javascript output was reduces from 56110
      bytes down to 29296 bytes.
      
      The footnote tooltip was completely rewritten and tested in FireFox
      2.0, IE 6 and Opera 9.02. Please test other browsers as well.
      
      The acces key fixup might beahve different now on Mac platforms.
      
      darcs-hash:20061110201541-7ad00-0dffad095193bc7e7c505796a99b0a0a010a6b0d.gz
      6b379cbf
    • Andreas Gohr's avatar
      OpenSearch support · da96af35
      Andreas Gohr authored
      This adds support for the OpenSearch specification to autodetect
      DokuWiki's search engine. The patch was submitted by Mike Frysinger
      some time ago.
      Some changes were made to the original patch. Only tested in FireFox 2.0
      
      darcs-hash:20061110151453-7ad00-298ad77603854a604a642c0afd3975a997b8dc09.gz
      da96af35
  20. Nov 03, 2006
  21. Oct 18, 2006
    • Andreas Gohr's avatar
      better check for images in fetch.php · d1ed0b61
      Andreas Gohr authored
      This patch is an enhancement to yesterday's changes. The ability to download
      external content could be used for XSS attacks, when faking the sent MIME
      type. This patch adds a check on the received data for valid images.
      
      darcs-hash:20061018124942-7ad00-4e8bca7d3877e6a10c348b5d45499cf8adf8b087.gz
      d1ed0b61
  22. Oct 17, 2006
    • Andreas Gohr's avatar
      restrict fetch.php's download abilities · 894a80cc
      Andreas Gohr authored
      This patch changes fetch.php ability to download external files. It now checks
      for the returned MIME type and will only download images. For all other
      MIME types a redirect is sent back to the browser. This reduces the risc of
      being misused as open proxy.
      
      Additionally the download facility is disabled completly by default by setting
      the fetchsize option to 0. Users who want the feature need to overwrite the option
      in their local.php.
      
      Background: The ability to download external files is needed to resize external
      images on the server side. When disabled, a redirect is sent to the browser which
      will download the fullsize image and rescale it on the client side which is more
      bandwidth and CPU intensive.
      
      darcs-hash:20061017175329-7ad00-cd1b1bfa043a04540c51ca8380d28deaa14147d1.gz
      894a80cc
  23. Oct 08, 2006
    • Andreas Gohr's avatar
      strip controlchars in fetch.php #935 · 02b0b681
      Andreas Gohr authored
      Fixes a header injection/XSS vulnerability
      
      darcs-hash:20061008100523-7ad00-be06a942badb6a2a9ed862be003ee0050504b4b0.gz
      02b0b681
    • Andreas Gohr's avatar
      remove unused code · 10ffc9dd
      Andreas Gohr authored
      This patch removes some commented code fragments and alternative
      snippet generators
      
      darcs-hash:20061008090624-7ad00-14bfee2ded6c6c8ef43ad02a4c02a5d95ee9daf7.gz
      10ffc9dd
  24. Sep 26, 2006
  25. Sep 24, 2006
  26. Sep 23, 2006
    • chris's avatar
      fix recent changes cache ordering · 40b33eff
      chris authored
      This patch fixes a bug in indexer.php which resulted in the order
      of the recent changes cache being reversed each time it was trimmed.
      
      It also adds sorting to both getRecents() and runTrimRecentChanges()
      as a defensive measure against the order of the file being corrupted.
      
      darcs-hash:20060923235109-9b6ab-0f4062c1b02449cce9382426174cd22d71387e5a.gz
      40b33eff
  27. Sep 17, 2006
  28. Sep 08, 2006
  29. Aug 30, 2006
    • Ben Coburn's avatar
      scalable changelog redesign · 71726d78
      Ben Coburn authored
      This patch provides a rewritten changelog system that is designed to run
      efficiently on both small and large wikis. The patch includes a plugin to
      convert changelogs from the current format. The conversion is
      non-destructive and happens automatically. For more information on the new
      changelog format see "http://wiki.splitbrain.org/wiki:changelog".
      
      Structure
      In short the changelog is now stored in per-page changelog files, with a
      recent changes cache. The recent changes cache is kept in
      "/data/meta/_dokuwiki.changes" and trimmed daily. The per-page changelogs
      are kept in "/data/meta/<ns>/<page_id>.changes" files. To preserve
      revision information for revisions stored in the attic, the "*.changes"
      files are not removed when their page is deleted. This allows the full
      life-cycle of page creation, deletion, and reversion to be tracked.
      
      Format
      The changelog line format now uses a general "line type" field in place of
      the special "minor" change syntax. There is also an extra field that can
      be used to store arbitrary data associated with special line types. The
      reverted line type (R) is a good example. There the extra field holds the
      revision date used as the source for reverting the page. See the wiki for
      the complete syntax description.
      
      Code Notes
      The changelog functions have been rewritten to load the whole file only if
      it is small. For larger files, the function loads only the relevant
      chunk(s). Parsed changelog lines are cached in memory to speed future
      function calls.
      
      getRevisionInfo
      A binary search is used to locate the chunk expected to contain the
      requested revision. The whole chunk is parsed, and adjacent lines are
      optimistically cached to speed consecutive calls.
      
      getRevisions
      Reads the changelog file backwards (newest first) in chunks until the
      requested number of lines have been read. Parsed changelog lines are
      cached for subsequent calls to getRevisionInfo. Because revisions are read
      from the changelog they are no longer guaranteed to exist in the attic.
      
      (Note: Even with lines of arbitrary length getRevisionInfo and
      getRevisions never split changelog lines while reading. This is done by
      sliding the "file pointer" forward to the end of a line after each blind
      seek.)
      
      isMinor
      Removed. To detect a minor edit check the type as follows:
      $parsed_logline['type']
      
      darcs-hash:20060830182753-05dcb-1c5ea17f581197a33732a8d11da223d809c03506.gz
      71726d78
  30. Aug 09, 2006
    • Ben Coburn's avatar
      Add AJAX_CALL_UNKNOWN event · 3cb4b39f
      Ben Coburn authored
      Allows action plugins to support custom ajax calls.
      The event data is the call name from $_POST['call'].
      When handling a custom ajax call, remember to use
      $event->preventDefault();
      to avoid having the
      'AJAX call <call> unknown!'
      message appended to the output.
      
      darcs-hash:20060809194501-05dcb-0082e4f2a83fc8657fc7cdcf32d44aac8d1a6b99.gz
      3cb4b39f
  31. Aug 07, 2006
  32. Jul 31, 2006
    • Andreas Gohr's avatar
      fix in JS compressor · e5cafda0
      Andreas Gohr authored
      This fixes a problem with escaped backslashes in single and double quote
      strings.
      
      darcs-hash:20060731223008-7ad00-ebae61a00115b7f32c12eb9355059a1ecf467cd3.gz
      e5cafda0
    • Andreas Gohr's avatar
      spellchecker CSS changes #539 #824 · 0d353189
      Andreas Gohr authored
      This patch now assigns the needed proprietary CSS attributes for the spellchecker
      through JavaScript. This makes the CSS valid again (at least it appears to be ;-))
      I also fixed a problem with leading single spaces in IE
      
      darcs-hash:20060731192807-7ad00-b82bdcae9a0c8cf063c3a1e985dbfd1dfdee7b06.gz
      0d353189
  33. Jul 10, 2006
    • Ben Coburn's avatar
      fixing undefined variables · d98d4540
      Ben Coburn authored
      Fixing undefined variable notices and sometimes
      the underlying error that produced them.
      
      darcs-hash:20060710114655-05dcb-073948171847f1f43f153e96c8382abd421da36a.gz
      d98d4540
Loading