summaryrefslogtreecommitdiff
path: root/lib/exe/css.php
Commit message (Collapse)AuthorAge
* issue #57, function names, params, html fixesKate Arzamastseva2011-08-24
|
* Merge branch 'datauris'Andreas Gohr2011-07-07
|\ | | | | | | | | Conflicts: lib/exe/css.php
| * Made the maximum embed size for datauris configurableAndreas Gohr2011-06-18
| | | | | | | | | | The feature is now disabled by default. Metadata for config manager was added.
| * Use data uris for small image files in CSSAndreas Gohr2011-06-17
| | | | | | | | | | | | | | | | | | This patch adds a new config option 'cssdatauri'. When enabled, the CSS patcher will automatically convert all occurances of small (<600 byte) PNG and GIF images in the CSS to embedded, base64 encoded data uris. This reduces the number of needed HTTP requests and avoids the HTTP header overhead.
* | another fix for the jQuery-UI themeAndreas Gohr2011-07-05
| |
* | fixed loading of the jQuery-UI style sheetAndreas Gohr2011-07-05
| |
* | Refactor CSS and JS cachingAdrian Lang2011-07-02
|/ | | | | | | * Increase HTTP cache time since the resources are timestamped on request anyway * Check userscript.js only once for JS cache validation * Use cache class
* Updated jQuery-UI, added jQuery updater, load theme in CSS dispatcherAndreas Gohr2011-06-05
| | | | | | | | This patch adds a simple shell script to easily update the jQuery/jQuery-UI+theme bundle to the latest available version. The jQuery-UI CSS theme is now loaded in lib/exe/css.php (before plugin and template styles - 3rd party authors can override the styles).
* Make interwiki links match with every other icon-link: need 1px top and ↵marklundeberg2011-03-08
| | | | bottom padding or else the icons' top and bottom pixel rows get cut off.
* improved css.php and core stylesAnika Henke2011-02-26
| | | | | | * code cleanup in lib/exe/css.php * renamed 'default' userstyle to 'screen' in config_cascade * splitted core lib/styles/style.css up into all.css, print.css and screen.css
* Fixed css_loadfile and removed unneeded complexity, added testcasesMichael Hamann2011-01-09
|
* Preserve @import statements in CSSGabriel Birke2011-01-09
|
* Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3Michael Hamann2010-11-29
| | | | | | As of VIM 7.3 it is no longer possible to specify the encoding in the modeline. This gives an error message whenever such a file is opened, thus this commit removes the enc setting from the modeline.
* use config cascade for userscripts and styles FS#1678Andreas Gohr2010-06-27
|
* removed require's in lib/exe/*Andreas Gohr2010-02-01
|
* Emit less E_NOTICEs and E_STRICTsAdrian Lang2009-11-04
| | | | | | | | | | | | | 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
* Remove spellchecker css include since it does not existAdrian Lang2009-10-28
| | | | darcs-hash:20091028090548-e4919-00a3fec308ce29b5bac24ee1038081a3bc06f62f.gz
* save compressed css/js caches with io_saveFile and check for gzip supportAndreas Gohr2009-10-18
| | | | | | Ignore-this: 77e61d0082fe6eb8f43059fb5da67eee darcs-hash:20091018203240-7ad00-4530a8b64af79bc844f50e3c0988e466fb09351c.gz
* Whitespace cleanup FS#1709furun2009-10-16
| | | | | | Ignore-this: 27ea52110bce929b2c61ed8faba67cfc darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
* Use all available icons for file links (FS#1759)Tom N Harris2009-09-26
| | | | | | | | | All PNG and GIF images in the lib/images/fileicons directory will be used for media file links. The conf/mime.conf file continues to restrict which file types may be uploaded. File types not in the configuration list are download-only. darcs-hash:20090925231746-6942e-299a52772f67e265a8702bda3686f495e4337a8f.gz
* Support for multirange requests for media FS#1630Andreas Gohr2009-03-13
| | | | | | | | | | | 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
* fixed multiple gzip/sendfile problems in css and js dispatchers FS#1571Andreas Gohr2009-01-22
| | | | | | | | | | - 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
* further updates to config_cascade patchChris Smith2009-01-22
| | | | | | | | | | - 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
* Add capability to send pre-compressed js & css files if the browser can ↵Chris Smith2009-01-18
| | | | | | | | | | accept them - save a gzipped version of js & css files at the same time as the uncompressed version is cache - basic content negotiation to send the compressed files - uses sendfile (for compressed or uncompressed versions) if config indicates its available darcs-hash:20090118184354-f07c6-66c5b465ab147d83de409708bab2c47d1dafcf8d.gz
* Include host in the seed for the JS and the CSS cachenames (FS#1487)Gina Haeussge2008-10-12
| | | | darcs-hash:20081012172855-2b4f5-85b89a7968681932d30f75072df347ba6a53b24c.gz
* base relative URLs in userstyle.css on the DokuWiki baseAndreas Gohr2008-08-01
| | | | darcs-hash:20080801094448-7ad00-052387d3b78699779ae032556b112a83493c63f1.gz
* Update character class for template names to include dashChris Smith2008-04-01
| | | | darcs-hash:20080401194032-f07c6-0ba243a05e6767a381dbacd67fbdc9d2437deeb5.gz
* allow dynamic passing of template to use for css.phpAndreas Gohr2008-03-10
| | | | | | | | | | | | This patch makes it possible to pass the template name to use to the lib/exe/css.php dispatcher. When passed the $conf['template'] option is ignored by the disaptcher and the given template is used instead. This makes it possible to switch templates dynamically without loosing the CSS dispatcher functionality. This might be useful for things like the multitemplate template or for loading a template based on the user agent. darcs-hash:20080310201630-7ad00-2062fa939b1f868540031ea42a42e948dd82bbb4.gz
* don't use fullpath() before initializedAndreas Gohr2007-09-30
| | | | darcs-hash:20070930201133-7ad00-a35a6c40f880116009efd9e50cb002bd75733369.gz
* don't use realpath() anymore (FS#1261 and others)Andreas Gohr2007-09-30
| | | | | | | | | | | 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
* respect DOKU_BASE in CSS cache file nameMichael Klier2007-09-06
| | | | darcs-hash:20070906125503-23886-5b5d7f1fb90eaa25e0ce08469a541cb2a760de1b.gz
* support rtl.css for plugins FS#1114Andreas Gohr2007-04-07
| | | | | | A rtl.css file is loaded for plugins when the language direction is right to left. darcs-hash:20070407165027-7ad00-1580a9d2af3f64f13780b4e243e53b44c7c5add2.gz
* all style sheet additionmartin.tschofen2007-02-11
| | | | darcs-hash:20070211024110-7f317-c094764db4d4c9b7e1cad01fc016f354d91aa39e.gz
* delivering template print CSS was brokenTom N Harris2006-12-07
| | | | darcs-hash:20061206231114-6942e-bdfa008fde5fac8b437b26abc2583f38f8254c38.gz
* use generated CSS for RSS feedsTom N Harris2006-11-15
| | | | | | | plugins can include styles with feed.css, templates can use the media type feed in style.ini darcs-hash:20061115101549-6942e-d1de56b343ce0cc11ca6b911c444197316f4a4eb.gz
* purge option support for js.php and css.phpAndreas Gohr2006-11-12
| | | | | | adding ?purge darcs-hash:20061112143440-7ad00-436a63c8ee0279a9aa0423c389967418f8528656.gz
* use template name along with CSS cache file nameMichael Klier chi@chimeric.de2006-06-28
| | | | darcs-hash:20060628094419-484ab-148d62ec3e29deb7ca9fa9b787c238a1d73bc4e3.gz
* more mediamanager fixesAndreas Gohr2006-05-25
| | | | | | | This fixes some styling issues, the cookie handling and a bug in the JavaScript caching mechanism. darcs-hash:20060525144000-7ad00-2f0b673d4f747c979f460e4e927a50eeeae81ec1.gz
* url fixing in CSS compressor fixed #793Andreas Gohr2006-05-06
| | | | darcs-hash:20060506215440-7ad00-a04d6ebb428816b534b7b3636f050885bc02f266.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
* 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
* Enable '304 Not Modified' responses for CSS and JS.Ben Coburn2006-03-15
| | | | darcs-hash:20060315115745-05dcb-6f50f3a070d2898ab51a32e59395631cab2ae09c.gz
* load spellchecker styles only when needed fixes #539Andreas Gohr2006-03-02
| | | | darcs-hash:20060302143643-6e07b-ff99705142a057d0c53b1b6b5c5e2cfc73ff8902.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
* css.php bugfix for unitialised arrays in php5chris2006-01-11
| | | | darcs-hash:20060111145922-9b6ab-7193dae5fec7e0d9d081c4e2b39459eba2d56888.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
* 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