Skip to content
Snippets Groups Projects
  1. Sep 24, 2006
    • chris's avatar
      cache, metadata & purgefile updates · ce6b63d9
      chris authored
      Cache
      - add dependency for metadata renderer file
      - check metadata for end of page life, "date valid end".
      
      Metadata Renderer
      - RSS syntax mode now sets rendered page expiry, "date valid end"
        and includes the feed URL in "relation haspart".
      
      Purgefile
      For all wiki installations the purgefile records the earliest
      time before which no cache purge (based on data consistency)
      is required. Cache files older than this time MAY need to be
      purged.
      - remove purgeonadd configuration setting
      
      darcs-hash:20060924202157-9b6ab-4531e91411c41914eeab2b6a8160c3d46b001cee.gz
      ce6b63d9
  2. Sep 25, 2006
  3. Sep 24, 2006
  4. 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
    • chris's avatar
      minor bugfix and boring error removal · bb4866bd
      chris authored
      darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz
      bb4866bd
  5. Sep 17, 2006
  6. Sep 16, 2006
    • Andreas Gohr's avatar
      updatecheck feature · c29dc6e4
      Andreas Gohr authored
      This patch adds a feature to let DokuWiki automatically check if updates are
      available or any other important messages (like security warnings) and then
      display this info to the admin user.
      
      DokuWiki will contact the URL http://www.splitbrain.org/lib/exe/msg.php
      with a parameter telling it which messages it already know (read from
      conf/msg) - the server side script then will return all new messages.
      
      The messages will be displayed until DokuWiki was upgraded or conf/msg
      was updated manually. Messages are cached and only checked once a day.
      
      The messenger URL will probably change before the next release.
      
      darcs-hash:20060916210229-7ad00-7ac592650e171ae4144b0eb47a751a4ca480f031.gz
      c29dc6e4
    • Andreas Gohr's avatar
      japanese language update · f1b03b6a
      Andreas Gohr authored
      darcs-hash:20060916145219-7ad00-2ca985138204b2547ef9e24d780c226af8073fcb.gz
      f1b03b6a
  7. Sep 15, 2006
    • Andreas Gohr's avatar
      script fix for IE · 3cb0d4e1
      Andreas Gohr authored
      darcs-hash:20060915150152-7ad00-9ee841597a011119b96964a1468b1f517fab857a.gz
      3cb0d4e1
  8. Sep 10, 2006
    • Ben Coburn's avatar
      changelog redesign update · e45b34cd
      Ben Coburn authored
      - Improves handling of deleted revisions.
      - Import plugin disables after import.
      - Check act reports if plugin is still enabled after the import.
      - Import correctly handles summaries without the minor prefix.
      - Newlines and tabs are now striped out of type, sum,
        and extra in the changelog.
      
      darcs-hash:20060911014738-05dcb-2f6c9fdffb6346f7d3190610a72b290090b28097.gz
      e45b34cd
  9. Sep 08, 2006
  10. Sep 10, 2006
    • chris's avatar
      parser caching update · 4b5f4f4e
      chris authored
      This patch primarily updates p_cached_xhtml() and p_cached_instructions() to
      allow their caching logic to be surrounded by an event trigger.
      
      p_cached_xhtml() has been rewritten as the more general p_cached_output() to
      support other render output formats besides 'xhtml'. All calls to
      p_cached_xhtml() have been changed to refer to the new function.
      
      New event:
      
      name:        PARSER_CACHE_USE
      data:        cache object (see below)
      action:      determine if cache file can be used
      preventable: yes
      result:      bool, true to use cache file, false otherwise
      
      Cache operations have been generalised in a new class, cache, extended to
      cache_parser, cache_renderer & cache_instructions. Details can be found in
      inc/cache.php
      
      For handling of above event, key properties are:
      - page, if present the wiki page id,
              may not always be present, e.g. when called for locale xhtml files
      - file, source file
      - mode, renderer mode (e.g. 'xhtml') or 'i' for instructions
      
      Other changes:
      - cache class counts cache hits against attempts, results are stored in
        {cache_dir}/cache_stats.txt
      - adds metadata dependency to renderer page cache
      - replaces purgefile dependency for renderer cache with metadata
        'relation references' (internal link) dependency for wiki pages only
      
      darcs-hash:20060911021418-9b6ab-19601ed194b8c8e45236ab72c3e23d78bf777e6c.gz
      4b5f4f4e
  11. Sep 09, 2006
    • chris's avatar
      minor update to default template · c6ea345d
      chris authored
      - main.php & detail.php
        add check for being run by DokuWiki, die() if not.
      
      darcs-hash:20060909093603-9b6ab-0f8e31e246adba8adc888dbba1f924ff0e455d63.gz
      c6ea345d
  12. Sep 04, 2006
  13. Sep 03, 2006
  14. 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
  15. Aug 26, 2006
    • Andreas Gohr's avatar
      strip tags from title #883 · e1d60f58
      Andreas Gohr authored
      This patch no longer uses htmlspecialchars on $conf['title'] when
      used in the page title - instead strip_tags is applied. This streamlines
      the use of $conf['title']
      
      darcs-hash:20060826180943-7ad00-c8cc155c1e92fad05b85f77841834f782cbf6281.gz
      e1d60f58
  16. Aug 25, 2006
    • chris's avatar
      update config plugin · fd49f8df
      chris authored
      - add $conf['compression'] meta data and en lang strings
      - remove $conf['usegzip'] meta data and en lang strings
      
      Other language strings will need to be updated.
      
      darcs-hash:20060825223047-9b6ab-b0c8c6af57847690a6d398d0bd98af9a51911c21.gz
      fd49f8df
  17. Aug 23, 2006
    • chris's avatar
      user manager update · a6858c6a
      chris authored
      - add capability to send notification emails to users on
        creation and password modification (bug#640)
      - add success and fail messages for new user addition
      - fix bug when modification of username wasn't allowed,
        'Edit user' fields weren't populated
      - fix (php5 only?) bug where default group wasn't given to
        a new user if no groups were specified
      - added explanatory notes concerning default group and
        password notification emails
      
      This patch adds several new strings to the plugin's lang.php
      
      darcs-hash:20060823115626-9b6ab-ea98ef630c79b28b52141957deb3efc307a9291d.gz
      a6858c6a
  18. Aug 18, 2006
  19. 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
  20. Aug 08, 2006
  21. Aug 07, 2006
  22. Aug 06, 2006
    • Andreas Gohr's avatar
      various language fixes · 8dbc24f2
      Andreas Gohr authored
      This patch makes sure all languages files have UNIX style line endings
      and use correct UTF-8 encoding
      
      darcs-hash:20060806143836-7ad00-2d9c48c5be303565ce461ec977c8792df61fbdd1.gz
      8dbc24f2
    • polinnia's avatar
      IT-20060806-patch · 7757c810
      polinnia authored
      completed IT translation for new release of Dokuwiki
      
      darcs-hash:20060806094947-57bea-f82fb29ada061db880bbab84d7cee79711f3e49b.gz
      7757c810
  23. Aug 05, 2006
  24. Jul 31, 2006
  25. Aug 02, 2006
  26. Aug 01, 2006
  27. 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
Loading