summaryrefslogtreecommitdiff
path: root/lib/exe
Commit message (Collapse)AuthorAge
* smart cache-control headers for media fetchBen Coburn2006-04-21
| | | | | | | | | | | | | | | | | | | | | 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
* bugfix fetch remote media (recache and nocache)Ben Coburn2006-04-21
| | | | | | | | | | | | | | | | | | | | | | | 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
* accesskey tooltip rewritingBen Coburn2006-04-28
| | | | | | | | 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
* Allow styles sheets that apply to "all" mediamtbrains2006-04-17
| | | | darcs-hash:20060417003153-a90f0-4792fd7b946f62d3696b979f8debfa73587d353a.gz
* CSS and JS cache-control tweakBen Coburn2006-04-10
| | | | | | | | | | | Tells standards compliant browsers that conditional requests for CSS and JS need only be made once an hour. This should reduce page display latency on some browsers. Originated from the comment in this thread: http://www.freelists.org/archives/dokuwiki/03-2006/msg00590.html darcs-hash:20060410012723-05dcb-eccb42aefe85c9dbb4f35fdf03a9635561cf5710.gz
* fixes spellchecker problem with apostrophe in links #753Andreas Gohr2006-03-17
| | | | darcs-hash:20060317203643-7ad00-9968464c2d9c41b1d99a6b16f415082f79af7a8d.gz
* changes order of CSS loading #746Andreas Gohr2006-03-17
| | | | | | | | This changes the order of how Stylesheets are loaded, loading template styles *after* the plugin styles to allow template authors to simply override those styles. darcs-hash:20060317185142-7ad00-ac3f36a801babbbc09115124fa1472ee7470047e.gz
* fixed bug where '304 Not Modified' worked every other time because cache ↵Ben Coburn2006-03-15
| | | | | | headers were not sent darcs-hash:20060315120248-05dcb-5d5d4e06d0074a687185131cda2000b914346e19.gz
* Enable '304 Not Modified' responses for CSS and JS.Ben Coburn2006-03-15
| | | | darcs-hash:20060315115745-05dcb-6f50f3a070d2898ab51a32e59395631cab2ae09c.gz
* refactored http_conditionalRequest($timestamp) to inc/pageutils.phpBen Coburn2006-03-15
| | | | darcs-hash:20060315064506-05dcb-92833a95f37a43ef50e6b993930ac9d25caed81f.gz
* Automatic draft savingAndreas Gohr2006-03-11
| | | | | | | | 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
* fixed bad permission setting in lib/exe/media.phpAndreas Gohr2006-03-07
| | | | darcs-hash:20060307202053-7ad00-e3ca72efb3599a9a46011d0f9d57e9f1d26027b1.gz
* clean media directories after medeia deletion FS#734Andreas Gohr2006-03-07
| | | | darcs-hash:20060307184706-7ad00-c57e9e6c54879afaf17858fe642478fcb91af983.gz
* simplified file permission handlingAndreas Gohr2006-03-04
| | | | | | | | | | 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
* load spellchecker styles only when needed fixes #539Andreas Gohr2006-03-02
| | | | darcs-hash:20060302143643-6e07b-ff99705142a057d0c53b1b6b5c5e2cfc73ff8902.gz
* fetch.php now understands partial and conditional requests, fix for #593Andreas Gohr2006-03-02
| | | | darcs-hash:20060302125020-6e07b-25b701312aa4da899f299d82ccac1f5fd66e0255.gz
* changed IDs to avoid name clashesAndreas Gohr2006-02-26
| | | | darcs-hash:20060226172332-7ad00-f073117ba2f027935f87cf23106bf6a4316a5790.gz
* Fix umask bug and do a code cleanup of chmod/mkdir usage so set the correct ↵Troels Liebe Bentsen2006-02-24
| | | | | | | | | | | permissions, this should also fix problems with dokuwiki making setuid files on some umasks. * Don't set the umask() anymore, this is not good form and we don't really know what is it in the old code anyway as it was not done properly. * Retire the dmask config option introduce 2 new ones called fmode and dmode, this is more in line with posix and should make more sense. * Use chmod for setting the correct permissions but only if it's needed. * Set changing of permissions off by default as i should work properly in most Apache setups without and it does not make sense on windows anyway. darcs-hash:20060224211655-ee6b9-68f7bb59417d6f0033cfd3764146923daa4dcf1b.gz
* Fix wrong umask usage and so we set the correct file premissions.Troels Liebe Bentsen2006-02-18
| | | | darcs-hash:20060218183251-ee6b9-798ab2994526311b1e58f04e7684b39b51426887.gz
* file cleanupsAndreas Gohr2006-02-17
| | | | | | | | | | This patch cleans up the source code to satisfy the coding guidelines (see http://wiki.splitbrain.org/wiki:development#coding_style) It converts files to UNIX lineendings and removes tabs and trailing whitespace. Not all files were cleaned yet. darcs-hash:20060217222040-7ad00-bba3d2bee3b5aa7cbb5184258abd50805cd071bf.gz
* Pagelocks are now refreshed in the backgroundAndreas Gohr2006-01-28
| | | | | | | An AJAX call is used to refresh the pagelock when keypresses in the textarea are detected (With a minimum wait of one minute between calls). darcs-hash:20060128152139-7ad00-66d64326bcf04c9b8d49285ac736137e9dd48249.gz
* scroll to preview pane on previewAndreas Gohr2006-01-27
| | | | darcs-hash:20060127211137-7ad00-b4433b51fe014e1b8f2e741857bd6b101e6677f5.gz
* scroll__here supportAndreas Gohr2006-01-26
| | | | | | | | This adds a simple JavaScript behavior. When an element with the id 'scroll__here' is found in the document the browser will scroll this element into view. Useful to scroll to some output after form submitting. darcs-hash:20060126212926-7ad00-b359915a5d6a299652134d8dfa64015786283b6b.gz
* java script changesAndreas Gohr2006-01-26
| | | | | | | This adds a javascript confirmation for the delete button in the user manager. It also adds the $() shortcut function known from the prototype library. darcs-hash:20060126203550-7ad00-d5690ef06432286239953a79c5dbbc25f8720204.gz
* CSS compressor fixAndreas Gohr2006-01-22
| | | | darcs-hash:20060122124613-7ad00-41ed03a1d6668874a324db8bc98aee72ab90e277.gz
* strip (incorrect but common) one line comments in CSS compressorAndreas Gohr2006-01-21
| | | | darcs-hash:20060121114730-7ad00-773f787251a52d230aee9078fb2c974ffe37599a.gz
* stricter xhtml compliance -- part 2Anika Henke2006-01-15
| | | | darcs-hash:20060115183253-d5083-a343b935336bee053b99d75c7e3e72a296eb0099.gz
* use usleep in locking to avoid 100% CPUErik Bystrm2006-01-15
| | | | darcs-hash:20060115105943-4b825-c15733992e9bbf26621d4431da3171bcb8d24057.gz
* css.php bugfix for unitialised arrays in php5chris2006-01-11
| | | | darcs-hash:20060111145922-9b6ab-7193dae5fec7e0d9d081c4e2b39459eba2d56888.gz
* unobstrusive JS for TOC, better onload handlingAndreas Gohr2005-12-10
| | | | | | | | | This path adds more unobstrusive JavaScript for the TOC handling. It also loads JavaScript initialiezers as soon as the DOM is parsed for Mozilla-based Browsers as described at http://dean.edwards.name/weblog/2005/09/busted/ - a IE solution was not chosen yet. darcs-hash:20051210193709-7ad00-771461e56d9661caf9ca733a6d617f009e24d0b7.gz
* more debugging code in indexer.phpAndreas Gohr2005-12-07
| | | | darcs-hash:20051207193507-7ad00-5b9c870ae153b1c7adc8360822ffc6216be98809.gz
* check for available memory in GD resizing #655Andreas Gohr2005-12-03
| | | | darcs-hash:20051203145501-7ad00-a5c1f52b98fc26772d6585fe9218a3351da39b95.gz
* added debug options to indexer.php for sitemap stuffAndreas Gohr2005-12-03
| | | | darcs-hash:20051203142519-7ad00-d72a5e338ecda2b819e8628444d2262d7458b8e2.gz
* cleanups in resize_imageGD (maybe #631)Andreas Gohr2005-12-03
| | | | darcs-hash:20051203133713-7ad00-6c4d3126fb5de8e5396c214b1f6c82f99eca98ae.gz
* automatic google ping after sitemap updateAndreas Gohr2005-11-29
| | | | darcs-hash:20051129223742-7ad00-2b17207795c195d7194578007ef19029f0ed0f94.gz
* Template stylesheets are now defined in sytle.iniAndreas Gohr2005-11-27
| | | | | | | | | Which stylesheets should be loaded for a template is now defined in the style.ini file. IMPORTANT: template designers need to adjust their style.ini darcs-hash:20051127121849-7ad00-cf5b4d608d72bc9ed57766298a3942c3a2ec88f9.gz
* fixed date format for google sitemapsAndreas Gohr2005-11-27
| | | | darcs-hash:20051127110118-7ad00-691b4d529004ef0571896c3d326361970a584409.gz
* Added Google sitemap support #371Andreas Gohr2005-11-27
| | | | | | | | | | This patch addes the automatic creation of Google sitemaps. The map is created in the DokuWiki root dir and named sitemap.xml.gz if gzip compression is available - if not the gz extion is skipped. How often the map is recreated is defined through the $conf['sitemap'] option. It accepts a day value. darcs-hash:20051126234709-7ad00-6ff4b0e79670cdfa39e615ec9dc40146ffcc9dd4.gz
* more fixes on spaces in spellcheckAndreas Gohr2005-11-26
| | | | darcs-hash:20051126175521-7ad00-b836b220bf1cf5f50d881e13d52494dc4c71902e.gz
* preserve spaces in spellchecker #620Andreas Gohr2005-11-26
| | | | darcs-hash:20051126134156-7ad00-8ad7d27dfa1e0e2ca672065f96bb7031c34a0056.gz
* javascript fixes #641Andreas Gohr2005-11-26
| | | | darcs-hash:20051126124017-7ad00-7ea49b9ecdae1e7c0b7645245db6ecfc642aa89e.gz
* Support for template specific JavaScriptAndreas Gohr2005-11-25
| | | | darcs-hash:20051125123839-7ad00-71c1c32083123f74f6fd28c00c6b4f9518d072cc.gz
* fix for comment stripping in CSS compressionAndreas Gohr2005-11-12
| | | | darcs-hash:20051112113822-7ad00-507d694e91f85274266df71b7912690c65bc2b5e.gz
* fix for bad characters in interwiki classesAndreas Gohr2005-11-11
| | | | darcs-hash:20051111203902-7ad00-d3cd09528f6732723652e1bb01ba6e8fb9b6205f.gz
* JavaScript Fixes for the toolbar #628Andreas Gohr2005-11-11
| | | | darcs-hash:20051111200142-7ad00-158925aee01bc24378a8bd99ad27a6173ea085dd.gz
* use classes for file icons like in interwiki linksAndreas Gohr2005-11-05
| | | | darcs-hash:20051105155911-7ad00-ecba6272c534f73fc1ace47152187be87ef7c6d3.gz
* a small CSS hack to make the buttons work in IE5.2 MacAndreas Gohr2005-11-03
| | | | darcs-hash:20051103114701-6e07b-cb87eca037066a21f59da7f14e65986873607e29.gz
* added support for an additional style.css in a templateAndreas Gohr2005-11-01
| | | | darcs-hash:20051101190506-7ad00-22d53e805ea5cf87172e00b380a788ed9871331e.gz
* CSS replacement supportAndreas Gohr2005-10-30
| | | | | | | | | | Template authors now can use placeholders in their stylesheets which will be replaced by the central CSS dispatcher. Placeholders and their replacements are defined in a style.ini file in the Template directory. This makes changing a colorset very easy. darcs-hash:20051030193321-7ad00-bc66f405fd2e2b18cfcc5dc28feef04671eb6558.gz
* Interwiki icons are set through CSS classes nowAndreas Gohr2005-10-30
| | | | darcs-hash:20051030152828-7ad00-58a99ca20a1d6ec62612a6281034c1dd669be44d.gz