Skip to content
Snippets Groups Projects
  1. Dec 26, 2008
  2. Dec 01, 2008
    • Andreas Gohr's avatar
      Better creation of section IDs FS#1536 · 4ceab83f
      Andreas Gohr authored
      This patch enhances the creation of section IDs for number only headlines. It
      also moves section ID creation to a function in pageutils.php removing some
      duplicate functionality in inc/action.php
      
      darcs-hash:20081201215539-7ad00-48f3c153a2c126d9fb06aa90e4f1b857f76ebec7.gz
      4ceab83f
  3. Oct 11, 2008
  4. Aug 04, 2008
    • gweissbach's avatar
      Explicite TypeCast for searchIndex · 3a50618c
      gweissbach authored
      Running the /bin/indexer.php or the searchindex plugin fails in php5
      with several type cast errors. This can be fixed using explicite type casts.
      
      Secondly the include plugin requires the auth.php to be present. As some other
      plugins might use quick-acl or the $auth too, indexer.php should require the auth.php
      just as the lib/exe/indexer.php does.
      
      darcs-hash:20080804112444-f4337-e12f25329236689b05e31f0db2119e47660a9404.gz
      3a50618c
  5. Mar 26, 2008
  6. Mar 13, 2008
  7. Jan 22, 2008
  8. Sep 29, 2007
  9. Jul 09, 2007
  10. May 26, 2007
    • Ben Coburn's avatar
      Fix infinite page redirects in getID · 7a42ac9e
      Ben Coburn authored
      Fix infinite page redirects in getID
      Loading "start:" was causing a loop of page redirects.
      Page IDs like "start:" now resolve correctly
      to an ID like "start".
      
      darcs-hash:20070526094501-05dcb-eac8e908ecda8820aa0ef66760786b2094395fe2.gz
      7a42ac9e
  11. Mar 31, 2007
  12. Mar 30, 2007
  13. Feb 24, 2007
  14. Feb 17, 2007
  15. Sep 08, 2006
  16. Aug 29, 2006
    • chris's avatar
      further update to global memory cache arrays · 19a32233
      chris authored
      - remove initialisation of caches in inc/pageutils.php
      - add global declaration to init.php to support init.php
        being included from within a function, e.g. unit testing
      
        ;-)
      
      - minor change to utf8_substr, remove non-essential brackets
        added as part of an earlier patch
      
      darcs-hash:20060829134806-9b6ab-ab15191344a83be664c412403dc84a24fa2253a2.gz
      19a32233
  17. Aug 28, 2006
    • Ben Coburn's avatar
      init global memory cache arrays · 50602150
      Ben Coburn authored
      Update to 'add function result caching for cleanID and wikiFN'.
      Makes certain that arrays exist for the caches, without checking on each function call.
      Properly create multidimensional arrays in wikiFN().
      
      darcs-hash:20060828071205-05dcb-7c8dbdb5ea4e7b73808ec3bd9222df1b837d3a1f.gz
      50602150
  18. Aug 27, 2006
  19. Aug 25, 2006
    • chris's avatar
      update wikiFN with third paramter, $clean · 0d8ea614
      chris authored
      value defaults to true
      
      patch also includes an update to idx_parseIndexLine to make use of the
      new parameter - the index file (if built by DokuWiki's methods) will
      contain already "clean" IDs.
      
      darcs-hash:20060825144112-9b6ab-55adc71cf55bb58468fb3f0b03b9001ab149a82b.gz
      0d8ea614
  20. Aug 23, 2006
  21. Aug 04, 2006
    • chris's avatar
      unittest fixes · 03c4aec3
      chris authored
      darcs-hash:20060804142243-9b6ab-d208f7f1a67a9958fda05c519c8407ad5e733cea.gz
      03c4aec3
  22. Aug 01, 2006
  23. Jul 07, 2006
    • Andreas Gohr's avatar
      using md5 in wikiLockFN · 662ff478
      Andreas Gohr authored
      sha1 may not be available in all installs and md5 is sufficient for the job
      
      darcs-hash:20060707115543-7ad00-c7216f7c5f5a3908124c8cc13a06e31cb1eb883d.gz
      662ff478
  24. Jul 05, 2006
    • Ben Coburn's avatar
      optimize noNS · 2844584f
      Ben Coburn authored
      darcs-hash:20060705114601-05dcb-e8fda6653d8d085591d578f24d3677b29f09fa01.gz
      2844584f
  25. Jul 04, 2006
    • Ben Coburn's avatar
      refactor wiki page edit locking · c9b4bd1e
      Ben Coburn authored
        - Adds a new function in 'inc/pageutils.php',  wikiLockFN($id)
        - All page edit locks should now be created with the file name
          generated by wikiLockFN($id).
        - wikiLockFN
          - Generates wiki page editing locks in the 'data/locks'
            directory where they belong.
          - This avoids polluting the 'data/pages' directory with lock files,
            which were causing namespaces to be created before they logically
            should exist.
      
      darcs-hash:20060705033135-05dcb-8eac316587cd54c6ebd861fe7b15975d90b0e4dc.gz
      c9b4bd1e
  26. Jun 18, 2006
  27. Jun 11, 2006
    • Andreas Gohr's avatar
      namespace linking first part · a6ef4796
      Andreas Gohr authored
      This patch adds namespace linking - formerly known as globalstart patch.
      
      It differs somewhat from the original patch. It is not implemented in getID()
      but in resolve_pageid().
      
      It is now possible to link to a "default" file of a namespace ending the linkid
      with a colon: [[foo:bar:]]
      
      To which page the link links is dependent on the xistance of certain named
      files. For the above mentioned link [[foo:bar:]] the following pages are checked:
      
      foo:bar:start
      foo:bar:bar
      foo:bar
      
      The pages are checked in the order above whatever page is found first will be
      linked to. If no page is found foo:bar:start will be chosen. BTW: 'start' is
      the value configured in $conf['start']
      
      Note: autoplural linking is not done for those links
      
      This is just the first patch. Several other locations of the code need to be
      adjusted to reflect this change and some testing needs to be done (first test
      cases are supplied within the patch bundle)
      
      Things that maybe need adjustment:
      
        - tpl_youarehere (hierarchical breadcrumbs)
        - tpl_button back
        - maybe others (search?)
      
      Patches would be welcome. The best aproach to fix things that don't work is
      probably making calls to resolve_pageid() instead of simple cleanID() calls.
      
      darcs-hash:20060611184453-7ad00-ba70b0fcf2cb64d4d4f0ce6bd6e437595cd947d3.gz
      a6ef4796
  28. Apr 14, 2006
    • Andreas Gohr's avatar
      relative upper links · c4e0e4a1
      Andreas Gohr authored
      Now allows links like [[..:..:page]]
      
      darcs-hash:20060414150358-7ad00-88394caabc6ee2ce7137694e2a0c0c98e7534ea5.gz
      c4e0e4a1
  29. Mar 15, 2006
  30. Feb 17, 2006
  31. Feb 10, 2006
    • Andreas Gohr's avatar
      romanization support in utf8 library · 8a831f2b
      Andreas Gohr authored
      This patch addes basic romanization support to the utf-8 library. It
      converts non-latin languages to ASCII.
      
      The transliteration tables used where gathered from various places
      on the net. I do not speak any of those languages so I can't say how
      good they are. Any recommendations and fixes are welcome!
      
      This can be enabled for ID cleaning by setting the deaccent option to 2.
      It is also used in the XHTML renderer to generate section ids based
      on the header titles. Leading digits and any remaining non-ASCII chars
      are removed as well. This is the first step to make section ID always
      XHTML compatible. Making sure they are unique is not implemented yet.
      
      darcs-hash:20060210200627-7ad00-61a633563bb92a00ef4a3f699d73117139cbf367.gz
      8a831f2b
  32. Feb 03, 2006
    • Andreas Gohr's avatar
      fix special char ID handling · 0868021b
      Andreas Gohr authored
      A given ID consisting of special chars only (either added manually in the URL
      or in the search box) will be ignored correctly now.
      
      darcs-hash:20060203153945-7ad00-60fc38b49604f45bb2ca912a9c76c619ad60ac44.gz
      0868021b
  33. Nov 27, 2005
    • Andreas Gohr's avatar
      Wildcardsearch added #552 #632 · ad81d431
      Andreas Gohr authored
      Now searching for word parts is possible by adding or prepending a *
      character to the searchword:
      
      'foo*' searches for words beginning with 'foo' eg. 'foobar'
      '*foo' looks for words ending in 'foo' eg. 'barfoo'
      '*foo*' gets anything with 'foo' in it eg. 'barfoobaz'
      
      darcs-hash:20051127180723-7ad00-1eb29e812ddaf38d9812697bb1cffffe9a5fb330.gz
      ad81d431
  34. Nov 03, 2005
    • Andreas Gohr's avatar
      hidepages configoption · 0dc92c6f
      Andreas Gohr authored
      This new option accepts a RegExp to filter certain pages from all automatic
      listings (RSS, recent changes, search results, index). This is useful to
      exclude certain pages like the ones used in the sitebar templates. The
      regexp is matched against the full page ID with a leading colon. If it
      matches the page is assumed to be a hidden one.
      
      IMPORTANT: this is not related to ACL. A hidden page is still visible to all
      users (if not restricted by ACL) when linked or called directly.
      
      darcs-hash:20051103101726-6e07b-8d45912a1b4f6cfc9e3fce147c15f84a58ea7ca2.gz
      0dc92c6f
  35. Oct 21, 2005
  36. Oct 18, 2005
  37. Sep 30, 2005
  38. Sep 20, 2005
Loading