Skip to content
Snippets Groups Projects
  1. Jul 31, 2006
    • 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
  2. 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
  3. Jul 05, 2006
    • Ben Coburn's avatar
      IO action events · cc7d0c94
      Ben Coburn authored
      Adds page and namespace events:
        IO_WIKIPAGE_READ
        IO_WIKIPAGE_WRITE
        IO_NAMESPACE_CREATED
        IO_NAMESPACE_DELETED
      
      The namespace events are purely advisory,
      while the wikipage events allow page content
      to be modified between DokuWiki and the disk.
      
      These events are primarily intended to simplify
      keeping other tools in sync with the semantic
      structure of a DokuWiki site. As an added benefit,
      the events allow plugins to conduct automated
      processing of raw wiki page content.
      
      The namespace events cover the separate namespace
      trees for both pages and media. The "name" of the
      tree that the event belongs to is included in the
      event data.
      
      darcs-hash:20060705105652-05dcb-f44024e852a2adf1a14b8a7d69c46db067e72307.gz
      cc7d0c94
  4. Jul 01, 2006
  5. Jun 28, 2006
  6. Jun 19, 2006
    • chris's avatar
      js.php fix · 3f4c2ce3
      chris authored
      - correct begin/end comment, plugin filename wasn't being used
      - add file exists check, to avoid bloating js with comments for non-existent plugin js.
        Many (most?) plugins don't have javascript.
      
      darcs-hash:20060619104613-9b6ab-08a570cdbb0d6441f1caa71766d4c59c73828835.gz
      3f4c2ce3
  7. Jun 16, 2006
    • Andreas Gohr's avatar
      better onload handling · 5cafff96
      Andreas Gohr authored
      This patch improves the way the window.oninit JavaScript function is
      called. This function is used to initialiaze all JavaScript funcions
      attached to the DOM so it needs to be executed **after** the full DOM
      was parsed by the browser. Unfortunately currently only Mozilla supports
      a DOMContentLoaded event. In all other browsers we had to wait for
      the window.onload event which will only be called after **all** content
      (including images) was loaded - this caused a visible delay on all
      JavaScript generated content (like the toolbar) in non-Mozilla browsers.
      
      Dean Edwards now presented a solution [1] which will work for all the bigger
      Browsers and is used in this patch.
      
      The following browsers now should fire the init event right after parsing
      the DOM:
      
      All Mozilla based browsers
      Internet Explorer
      Safari
      Opera >
      
      darcs-hash:20060616104539-7ad00-db70d31fcb21cb812cf4982fe80a7d649e2daa1c.gz
      5cafff96
  8. Jun 15, 2006
    • Andreas Gohr's avatar
      $conf['fetchsize'] added · 847b8298
      Andreas Gohr authored
      This patch adds an option to configure the maximum size for files the fetch.php
      will ever download. Setting this to 0 completely turns of the caching of external
      media files.
      
      Disadvantages of setting a low or zero fetchsize:
      
        * fetch.php needs to download images to be able to resize them. When the used
          fetchsize prevents the downloading the images can only be resized by the
          browser which means the browser will need to download the fullsized image first.
      
        * If the linked external media files vanishes it will no longer display in the
          wiki because it is not cached.
      
      Advantages of setting a low or zero fetchsize:
      
        * fetch.php may be used for a possible denial of service attack by requesting
          many big external files.
      
        * The created cache files may take a lot of space on the server
      
      I recommend to leave the setting at 2MB for internal and private wikis and lower
      the setting to about 200 to 500 Kb for bigger public Wikis.
      
      Note: the caching of files uploaded through the media manager is not affected by
      this setting.
      
      darcs-hash:20060615184847-7ad00-04fc39928f7d72e56f5c5e271013ef265436e6c9.gz
      847b8298
  9. Jun 04, 2006
  10. May 29, 2006
  11. May 27, 2006
  12. May 26, 2006
  13. May 25, 2006
  14. May 20, 2006
  15. May 19, 2006
    • Andreas Gohr's avatar
      moved gzip compression to init.php · 3138b5c7
      Andreas Gohr authored
      darcs-hash:20060519212751-7ad00-ace54b61706fdf4f1b7c2abdbabee215a1e256ab.gz
      3138b5c7
    • Andreas Gohr's avatar
      new mediamanager · 3df72098
      Andreas Gohr authored
      This patch adds a completely rewritten media popup. The following noteworthy
      changes were made:
      
      - media manager uses a collapsible namespace tree
      - media manager uses AJAX if available
      - media manager popup can be kept open when selecting a media file
      - only one template is used for the media manager :!: Template
      - Editable image metadata is configured in conf/mediameta.php now
      - The JS cookie mechanism was enhanced to store key/value pairs
      - Language strings can be exported to JS in js.php
      
      darcs-hash:20060519165023-7ad00-4932b4553fc919aa4a8b8187958b823acf4f8cee.gz
      3df72098
  16. May 16, 2006
    • Ben Coburn's avatar
      jpg quality option · 2b03e74d
      Ben Coburn authored
        - Adds a jpg quality setting for scaled images
          (Some images were getting too many jpg artifacts
           at the hard-coded compression setting.)
        - Creates a group for the media settings in the
          config plugin.
      
      darcs-hash:20060516062321-05dcb-a175b0de3264322a335cf60d8ee96317f7b03144.gz
      2b03e74d
  17. May 11, 2006
    • Andreas Gohr's avatar
      more info is gathered on metaupdate in background indexer · 7421c3cc
      Andreas Gohr authored
      The background indexer now gathers info on contributors and modification
      dates from the changelog when adding the missing meta info.
      
      A new io_grep function was added which might be useful for other parts in
      the Wiki as well.
      
      darcs-hash:20060511191450-7ad00-baba1b48ea03b823c88a480862c612316f159b5a.gz
      7421c3cc
  18. May 07, 2006
    • Andreas Gohr's avatar
      empty default title for inserted images #770 · b1a4fe22
      Andreas Gohr authored
      darcs-hash:20060507165308-7ad00-3526c8c4e5d8c10a8e003068008e2344e94e1739.gz
      b1a4fe22
    • Andreas Gohr's avatar
      metadata hnalding updates, header fixes · a4a2d4cf
      Andreas Gohr authored
      This removes the meta instruction again in favour of the new meta renderer.
      Most tests work now again, a few tweaks were done on the header handler
      to render certain headers as it did in earlier versions.
      
      darcs-hash:20060507153113-7ad00-bd299fbe1762482c72d109f9bca776f12bcea7c8.gz
      a4a2d4cf
  19. May 06, 2006
  20. Apr 30, 2006
    • Andreas Gohr's avatar
      minor javascript cleanup · a531dd93
      Andreas Gohr authored
      darcs-hash:20060430182156-7ad00-1548636dbfaa9fc0b25c26e4121f763a485c2f9c.gz
      a531dd93
    • Andreas Gohr's avatar
      metadata enhancements · 95dbfe57
      Andreas Gohr authored
      This adds meta data rendering to the indexer process to build missing meta data
      in the background.
      
      p_get_first_heading was adjusted to make use of the new meta data mechanisms
      
      A problem with unitialized arrays in p_set_metadata and PHP5 was fixed (I think)
      
      darcs-hash:20060430181740-7ad00-8952fa6beb4fadf6b4321627998442d34febfc8d.gz
      95dbfe57
  21. Apr 20, 2006
    • Ben Coburn's avatar
      smart cache-control headers for media fetch · 83730152
      Ben Coburn authored
      The HTTP Cache-Control header output now respects the Dokuwiki media parameters
      'cache', 'recache', and 'nocache'.
        - cache: cachetime or one hour (which ever is larger)
        - recache: remaining cachetime + 10 seconds so the newly recached media is used
        - nocache: no caching
      
      Notes:
        - 'proxy-revalidate' should ensure that public caches always revalidate, this
          will keep caches from (accidentally) ignoring Dokuwiki's ACL rules.
        - 'no-transform' should keep media from being modified in transit by caches.
      
      Impact:
      Speeds up page layout/display by browsers when they already have the media
      in their [memory] cache. For example the 2nd time a page is viewed. This
      also reduces server load by eliminating most of the overhead needed to
      return '304 Not Modified' responses each time an image is viewed.
      
      darcs-hash:20060421025424-05dcb-23ff26c5cb410bcd166299a840f4c500fa0d112e.gz
      83730152
    • Ben Coburn's avatar
      bugfix fetch remote media (recache and nocache) · 4f3c4962
      Ben Coburn authored
      Fixes a major bug in fetching remote media with 'recache' and improves
      the efficiency of 'nocache'.
      
      Recache:
        - Used to reload the remote media on EVERY request.
        - Now it behaves as intended and only reloads the remote media
          into the Dokuwiki cache every $conf['cachetime'] time.
      
      Nocache:
        - No longer stores remote media in the Dokuwiki cache.
        - No longer loads, saves, and forwards remote media -- just redirects.
        - No longer resizes images on the server because the cached results
          can not be reused.
      Overall this is faster for Dokuwiki. The bandwidth usage for
      the 3rd party server is the same (less for Dokuwiki). Page loading
      should also be faster because data is not being forwarded through
      Dokuwiki (and the 3rd part server's cache control headers will be
      respected automatically).
      
      darcs-hash:20060421012210-05dcb-a6029baa0fad218ace28e0e3c2f442b1ca645a99.gz
      4f3c4962
  22. Apr 27, 2006
    • Ben Coburn's avatar
      accesskey tooltip rewriting · b1112787
      Ben Coburn authored
      Does client-side rewriting of accesskey tooltip text so that it will be
      more OS and browser specific. Dokuwiki should output all accesskey tooltips
      as [ALT+<key>] because this patch matches on "[ALT+".
      
      darcs-hash:20060428015158-05dcb-0102a1b2068c053e81dd21ad3927c78b6c9f349e.gz
      b1112787
  23. Apr 16, 2006
  24. Apr 09, 2006
  25. Mar 17, 2006
  26. Mar 15, 2006
  27. Mar 11, 2006
    • Andreas Gohr's avatar
      Automatic draft saving · ee4c4a1b
      Andreas Gohr authored
      DokuWiki now automatically creates a draft file of the currently edited
      page. In case of an editing interuption (eg. Browsercrash) the draftfile
      can be continued later.
      
      darcs-hash:20060311200148-7ad00-919337a51e001136178d175a1755cd26122e9726.gz
      ee4c4a1b
  28. Mar 07, 2006
  29. Mar 04, 2006
    • Andreas Gohr's avatar
      simplified file permission handling · 1ca31cfe
      Andreas Gohr authored
      This patch simpliefies the configuration of the file and directory creation
      modes. There is no need to set the umask anymore. Only the wanted permissions
      for files and directories are set. An init function compares the wanted modes
      with the ones that would be choosen by the system automatically (consulting
      the system's umask) and sets the modes for chmod when needed.
      
      darcs-hash:20060304154038-7ad00-5ef1db3a87e42563a602f9d050c681d2ea74682f.gz
      1ca31cfe
  30. Mar 02, 2006
Loading