| Commit message (Collapse) | Author | Age |
... | |
|/ |
|
| |
|
| |
|
| |
|
|
|
|
| |
This prevents buffering of the cache file output.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes several problems:
- the CSS cache was only updated when either the CSS files for all media
types or one of the global files was modified
- when only the screen CSS was changed, the screen CSS was regenerated
but then the cache was printed which either caused duplicated screen
CSS output when gzip output was disabled or invalid output with gzip
enabled as first the plain text screen CSS and then the
gzip-compressed cache file was printed
Now first all CSS files are collected, then the cache is checked once
and only after this the CSS content is collected.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
pull-request-110
* 'input-validation' of git://github.com/whoopdedo/dokuwiki:
fix incorrect usage of tpl_getMediaFile
fix necessary global declaration
Input wrapper for html forms
Input validation for media manager
Input wrapper for exe scripts
more INPUT wrapper uses: cache purge, sectok, getID
Input wrapper for action.php
Conflicts:
lib/exe/css.php
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
Instead of three stylesheets for 'all', 'screen' and 'print' modes, they are all loaded into a single stylesheet by wrapping all screen styles in a "@media screen {}" and all print styles in a "@media print {}". The 'all' mode is not wrapped in anything.
Potential issues with existing CSS: If any of your screen or print CSS files already contain any "@media" syntax, the CSS will probably break. In that case please add any CSS with "@media" in it to the 'all' mode instead!
Also, the 'rtl' mode is hereby deprecated. Please just prefix any RTL styles within your normal CSS files with "[dir=rtl]". This also fixes that RTL styles cannot be added for 'all' or 'print' modes.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
lib/exe/css.php
|
| |
| |
| |
| |
| | |
The feature is now disabled by default.
Metadata for config manager was added.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
* Increase HTTP cache time since the resources are timestamped on request
anyway
* Check userscript.js only once for JS cache validation
* Use cache class
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
bottom padding or else the icons' top and bottom pixel rows get cut off.
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20091028090548-e4919-00a3fec308ce29b5bac24ee1038081a3bc06f62f.gz
|
|
|
|
|
|
| |
Ignore-this: 77e61d0082fe6eb8f43059fb5da67eee
darcs-hash:20091018203240-7ad00-4530a8b64af79bc844f50e3c0988e466fb09351c.gz
|
|
|
|
|
|
| |
Ignore-this: 27ea52110bce929b2c61ed8faba67cfc
darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20081012172855-2b4f5-85b89a7968681932d30f75072df347ba6a53b24c.gz
|
|
|
|
| |
darcs-hash:20080801094448-7ad00-052387d3b78699779ae032556b112a83493c63f1.gz
|
|
|
|
| |
darcs-hash:20080401194032-f07c6-0ba243a05e6767a381dbacd67fbdc9d2437deeb5.gz
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20070930201133-7ad00-a35a6c40f880116009efd9e50cb002bd75733369.gz
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20070906125503-23886-5b5d7f1fb90eaa25e0ce08469a541cb2a760de1b.gz
|
|
|
|
|
|
| |
A rtl.css file is loaded for plugins when the language direction is right to left.
darcs-hash:20070407165027-7ad00-1580a9d2af3f64f13780b4e243e53b44c7c5add2.gz
|
|
|
|
| |
darcs-hash:20070211024110-7f317-c094764db4d4c9b7e1cad01fc016f354d91aa39e.gz
|
|
|
|
| |
darcs-hash:20061206231114-6942e-bdfa008fde5fac8b437b26abc2583f38f8254c38.gz
|
|
|
|
|
|
|
| |
plugins can include styles with feed.css,
templates can use the media type feed in style.ini
darcs-hash:20061115101549-6942e-d1de56b343ce0cc11ca6b911c444197316f4a4eb.gz
|
|
|
|
|
|
| |
adding ?purge
darcs-hash:20061112143440-7ad00-436a63c8ee0279a9aa0423c389967418f8528656.gz
|