Skip to content
Snippets Groups Projects
  1. Jan 12, 2010
  2. Nov 05, 2009
  3. Nov 04, 2009
    • Adrian Lang's avatar
      Emit less E_NOTICEs and E_STRICTs · c66972f2
      Adrian Lang authored
        Changes of behaviour are:
        * Allow the user name, title & description \e2\80\9c0\e2\80\9d
        * Default to Port 443 if using HTTPS
        * Set $INFO['isadmin'] and $INFO['ismanager'] to \e2\80\9cfalse\e2\80\9d even if no user is
          logged in
        * Do not pass empty fragment field in the event data for event
          ACTION_SHOW_REDIRECT
        * Handle chunked encoding in HTTPClient
      
      darcs-hash:20091104100115-e4919-5cf6397d4a457e3f98a8ca49fbdab03f2147721d.gz
      c66972f2
  4. Nov 02, 2009
  5. Oct 18, 2009
  6. Oct 16, 2009
    • furun's avatar
      Whitespace cleanup FS#1709 · 47583ff0
      furun authored
      Ignore-this: 27ea52110bce929b2c61ed8faba67cfc
      
      darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
      47583ff0
  7. Oct 06, 2009
  8. Aug 12, 2009
    • Andreas Gohr's avatar
      simplify JavaScript loading · 6392c3b6
      Andreas Gohr authored
      Ignore-this: 7637977e042ed8ba7e9e9097f9e9f03f
      
      This patch removes the differences between the JavaScript loaded in
      edit and view modes.
      
        * increases the amount of JavaScript that is loaded initially
        * decreases the number of requests
        * only one cache for all javascript
        * all javascript is available in view mode
      
      The last point is the most important as it makes a lot of functionality
      available to plugins working in the view mode. The discussion plugin
      now can reuse the toolbar code for example.
      
      Note: development is part of ICKE 2.0 project
            http://www.icke-projekt.de
      
      darcs-hash:20090812194007-6e07b-c8a71dedf506065a95d8b84b55aafce67810236c.gz
      6392c3b6
    • Andreas Gohr's avatar
      Link Wizard added · 56dfcc12
      Andreas Gohr authored
      Ignore-this: c15561aa909f921f7845576378851b93
      
      This adds a new link wizard to the toolbar which helps users to find the page the want to link to.
      
      Pages can be found by a simple page name search or by browsing the
      existing namespaces.
      
      This is the first checkin. Some cleanup and MSIE compatibility checks
      remain.
      
      note: development was part of the ICKE 2.0 project see
            http://www.icke-projekt.de for info
      
      darcs-hash:20090812102302-6e07b-fcc564fcaf2ed6aa832918870dd0f92607748687.gz
      56dfcc12
    • Andreas Gohr's avatar
      Script lib for draggable DOM objects · 050f4a94
      Andreas Gohr authored
      Ignore-this: 907af01f2757cc494d2c54d8e4d7b9d1
      
      This adds a simple object that can be attached to positioned DOM objects
      to make them draggable. This is useful for inplace dialogs.
      
      note: development was part of the ICKE 2.0 project see
            http://www.icke-projekt.de for info
      
      darcs-hash:20090812102055-6e07b-88451d4d67877224950a289b9cd415544f4c2755.gz
      050f4a94
  9. May 28, 2009
    • Andreas Gohr's avatar
      more javascript refactoring · 6b6da7f5
      Andreas Gohr authored
      Ignore-this: 10badc0f97ef80fcd366ae4622c43ff1
      
      darcs-hash:20090528121543-7ad00-df34efabe84c632df9ef0c6fd691c991d2c3ac82.gz
      6b6da7f5
  10. May 15, 2009
  11. Mar 13, 2009
    • Andreas Gohr's avatar
      Support for multirange requests for media FS#1630 · 758447cf
      Andreas Gohr authored
      Ignore-this: 50de569608231b910a62327d2f3af1de
      
      This patch moves all HTTP sending related functions to inc/httputils.php
      
      Handling of range requests was rewritten completely to support mutirange
      requests. This should fix problems with Adobe Reader but needs testing.
      
      darcs-hash:20090313190247-7ad00-e6ec1f81acb9f7ac651357dd034c2689aea6868d.gz
      758447cf
  12. Jan 22, 2009
    • Andreas Gohr's avatar
      fixed multiple gzip/sendfile problems in css and js dispatchers FS#1571 · 98bda4fd
      Andreas Gohr authored
      - Avoid double compression when gzip_output is enabled
      - Only compress when gzip_output is enabled
      - Do not use x-sendfile for compressed content (content-encoding is not supported)
      - Make sure the script terminates after using x-sendfile
      - Moved gzip browser support check to init.php
      
      darcs-hash:20090122215010-7ad00-765765d353ff78df5b8704086328c5c699bbe7e0.gz
      98bda4fd
    • Chris Smith's avatar
      further updates to config_cascade patch · f8121585
      Chris Smith authored
      - add mediameta and license config files into the cascade
      - update the cache validity code in cache.php, css.php & js.php to use config_cascade
      - redo inclusion of main config files to avoid suppression of errors in config files
      - add getConfigFiles($type) function
      - minor updates elsewhere to use config_cascade rather than hardcoded config file names
      
      darcs-hash:20090122114457-f07c6-98ad5627fd5df93edf8dd03289b9cf6d81962afe.gz
      f8121585
  13. Jan 18, 2009
  14. Oct 19, 2008
  15. Oct 12, 2008
  16. Nov 23, 2007
    • Andreas Gohr's avatar
      Spellchecker removed · ae112d8c
      Andreas Gohr authored
      With spell checkers available in all modern browsers, having a spell checker in
      DokuWiki's core code is no longer necessary. This patch removes the spell
      checking feature. It will be made available as optional plugin.
      
      darcs-hash:20071123125840-7ad00-faf7aa4673421dbb3fad904ba5b46b4927a5176d.gz
      ae112d8c
  17. Oct 26, 2007
    • Gabriel Birke's avatar
      Translatable JavaScript strings for plugins · 9f01cf6a
      Gabriel Birke authored
      Strings to be used in plugin provided JavaScript can now be put into the plugin's
      lang.php files. It has to be stored as subkeys of $lang['js']. Eg the following in
      lib/plugins/blah/lang/en/lang.php
      
      $lang['js']['foo']
      
      darcs-hash:20071026131130-79ce3-75ab69b1ba527c823e0e5ef0fde031032aaa2548.gz
      9f01cf6a
  18. Sep 30, 2007
    • Andreas Gohr's avatar
      don't use fullpath() before initialized · d0a27cb0
      Andreas Gohr authored
      darcs-hash:20070930201133-7ad00-a35a6c40f880116009efd9e50cb002bd75733369.gz
      d0a27cb0
    • Andreas Gohr's avatar
      don't use realpath() anymore (FS#1261 and others) · 00976812
      Andreas Gohr authored
      The use of realpath() to clean up relative file names caused some
      trouble in certain setups relying on symlinks or having restricitve
      file structure setups.
      
      This patch replaces all realpath() calls with a PHP only replacement
      which should solve those problems.
      
      darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz
      00976812
  19. Jul 16, 2007
    • Andreas Gohr's avatar
      AJAX for the index view · a06884ab
      Andreas Gohr authored
      This makes the index view much more responsive by loading sub namespaces through AJAX
      if JavaScript is available.
      
      The used throbber image probably looks bad on dark backgrounds. If someone could provide
      a better one it would be greatly appreciated.
      
      darcs-hash:20070716184605-7ad00-adf298ee3303d50f2b4b6b66e5ea3ff8d8c2bf9a.gz
      a06884ab
  20. Jun 16, 2007
  21. May 13, 2007
    • Andreas Gohr's avatar
      include_once support for javascript · 3825ddd3
      Andreas Gohr authored
      The include syntax was changed and enhanced by a include_once statement.
      
      Syntax:
      
      /* DOKUWIKI:include somefile.js */
      /* DOKUWIKI:include_once someotherfile.js */
      
      Note: include_once uses the basename of the inlcuded file to determine if
            it was previously loaded. You need to use something unique for it to
            make sure it is correctly loaded.
      
      Note: included files are not checked for updates by the cache logic. You
            need to touch the master file for updating the cache
      
      Note: includes are *not* supported inside included files to avoid any
            circular references
      
      darcs-hash:20070513222421-7ad00-d99d717ba8a428d0af2b3f7d593897e0467cb9c9.gz
      3825ddd3
    • Andreas Gohr's avatar
      include support for JavaScript files · 176da19b
      Andreas Gohr authored
      This patch adds support for include calls in JavaScript files as discussed in [1]
      
      The syntax looks like this:
      
      /* !!include script.js */
      
      All whitespaces are optional (except between !!include and script of course)
      
      [1] http://www.freelists.org/archives/dokuwiki/01-2007/msg00121.html
      
      darcs-hash:20070513123230-7ad00-71a1081aaef1e8f6bc909820927f17d0be71b74e.gz
  22. Apr 08, 2007
  23. Mar 08, 2007
  24. 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
  25. Nov 12, 2006
  26. 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
  27. Oct 08, 2006
    • 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
  28. 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
  29. 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
  30. 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
  31. May 27, 2006
  32. May 25, 2006
    • Andreas Gohr's avatar
      more mediamanager fixes · cf6894df
      Andreas Gohr authored
      This fixes some styling issues, the cookie handling and a bug in the
      JavaScript caching mechanism.
      
      darcs-hash:20060525144000-7ad00-2f0b673d4f747c979f460e4e927a50eeeae81ec1.gz
      cf6894df
Loading