| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
|/
|
|
|
| |
Template authors now can use tpl_sidebar() to include the sidebar.
Sidebars can be defined in subnamespaces as well
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* master: (382 commits)
Romanian language update
Marathi language update
Arabic Language Update
when there's not enough space for images, make sure they stay proportional (might be FS#2480)
added minimal RTL print styles (part of FS#2185)
moved plugins' rtl.css to their style.css counterpart (part of FS#2185)
removed all browser-specific gradients as the recently (in 42ff6730) introduced svg makes them unnecessary
removed comments from accidentally commented lines in tpl_includeFile()
removed obsolete template file
added tpl_includeFile() to core
Make getTitle method in remote interface public
Changed an error code in XML-RPC interface. This error hasn't anything to do with the rest of the -32600 errors.
BG: language update
Korean language update
fixed performance issues with gradient in Firefox (which also added gradient support for IE9) (FS#2447)
deleted very old (and unused) images
added accidentally removed '<?php' back in (was in 57fc5edd)
wrapped X-UA-Compatible meta tag with conditional comments
added explanation to todo in _forms.css
removed problematic 'overflow: hidden' from lists again ('unfixes' FS#1950)
...
Conflicts:
inc/auth.php
inc/load.php
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
For some reason trailing/leading underscores were allowed when uploading
files. But the rest of the code (eg. listing or downloading files) never
supported this. This patch removes this special case for uploading files
to streamline ID cleaning of pages and media files.
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
| |
This patch applies the correct pagename cleaning to namespaces as well.
Namespaces should follow the same rules as pagenames but due to a bug it
was possible to have namespaces ending in a underscore.
If you used such a namespace it will be inaccessible after applying this
patch. You should rename the namespace directory on the filesystem
(removing the trailing underscore). You old links will then work
automatically again. Rebuilding the search index is recommended.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Before this change metaFiles didn't return anything for ids where the
part without the namespace needs (utf-8) filename escaping.
|
| |
|
|
|
|
|
|
| |
As suggested by Robin Getz locale .txt files can now be duplicated and
changed in the conf/lang/ directory and conf/plugin_lang/$plugin/
directory for plugins.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This patch adds an option to choose how filenames are encoded
when saved to the file system. You can choose between urlencoding
(url), the new SafeFn method (safe) and storing real UTF-8 (utf-8).
|
| |
|
|
|
|
|
|
|
|
|
| |
$_SERVER['PATH_INFO'] is used now to determine the page id when using
internal rewriting, in all testcases I've seen so far this variable
was set correctly. There are also a couple of fallbacks if the variable
doesn't exist, $_SERVER['SCRIPT_NAME'] is now preferred instead of
custom path extraction which fails when doku.php is outside the document
root.
|
|
|
|
|
|
|
| |
This reverts commit 7873e7571e67c02167e5747441a2c6be32b07267.
The patch breaks at least the behaviour of the "view recent
changes of the whole wiki" link.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Dokuwiki emits an HTTP redirect when accessing:
/path/to/some/namespace/
to force the browser to:
/path/to/some/namespace/$conf['start']
However, this doesn't happen for the root namespace itself.
In some ways, this doesn't really matter, since accessing plain
"doku.php" will show the root namespace "start" page even without the
redirection. Equally, this can be trivially fixed using mod_rewrite
rules, but I don't want to encode the start page name into my rewrite
rules. Finally, I like the consistency of always having the start page
name in the URL, rather than special-casing the root namespace.
(Actually, I'd prefer never to have it in the URL, but that looks more
complex to achieve).
Anyway, the attached patch makes the redirect happen for the root
namespace as well.
|
| |
|
|
|
|
| |
darcs-hash:20091115185611-f7d6d-14be959948386811a45c3026743204f4350b6b1a.gz
|
|
|
|
|
|
| |
Ignore-this: 259cb5773c3144c6c706d87298dcf674
darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz
|
|
|
|
| |
darcs-hash:20090528215438-6942e-bf1b875e689ade6bd1a17e3d812ce16bf35c84a6.gz
|
|
|
|
|
|
| |
Ignore-this: 2757dc089bd6c8465e5b0a4c1311cf85
darcs-hash:20090515184406-7ad00-cd124f30cd1c1b5b744e942e2279ff52cad6eb30.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
|
|
|
|
|
|
|
|
|
|
| |
Ignore-this: eb5adc80ab6a8789afd6cdeb4636f191
On getID() at send_redirect() 'Location :' is prefixed to the url.
But the prefix is added inside the function a second time, making the
request syntax illegal and not working.
To test, in Browser try "doku.php?id
darcs-hash:20090201230831-aad98-d069056088941479d2f2e1c635d35dfb67deedeb.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ignore-this: 37b33f575e4c0b31e4af93185bf74f0f
When IIS is running PHP in CGI mode it will not send cookie headers on 302
redirections. This is a known bug (KB176113).
This patch will detect affected servers. Instead of a 302 redirect a Refresh:
header is issued. This is supported by all known browsers should have the same
effect as a real redirect.
darcs-hash:20090127204506-7ad00-ce474f3b0db003e86e09d5e9a9bd7c96887ac01c.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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
- update fetch.php to use the new function
darcs-hash:20090118183600-f07c6-65c818bba58fab8856c9f353ff4953ead9b5221e.gz
|
|
|
|
| |
darcs-hash:20081226161244-7ad00-8c843ea6a06a0d36fc322d109497239ab6ea229c.gz
|
|
|
|
|
|
|
|
| |
This patch enhances the creation of section IDs for number only headlines. It
also moves section ID creation to a function in pageutils.php removing some
duplicate functionality in inc/action.php
darcs-hash:20081201215539-7ad00-48f3c153a2c126d9fb06aa90e4f1b857f76ebec7.gz
|
|
|
|
| |
darcs-hash:20081011162901-23886-c2ed10a43f6968703ac11be4e33d19af2b1137d8.gz
|
|
|
|
| |
darcs-hash:20081011153646-2b4f5-4e4320b4bcb819e96a1ac7b8a83755c659b901b8.gz
|
|
|
|
|
|
|
|
|
|
|
| |
Running the /bin/indexer.php or the searchindex plugin fails in php5
with several type cast errors. This can be fixed using explicite type casts.
Secondly the include plugin requires the auth.php to be present. As some other
plugins might use quick-acl or the $auth too, indexer.php should require the auth.php
just as the lib/exe/indexer.php does.
darcs-hash:20080804112444-f4337-e12f25329236689b05e31f0db2119e47660a9404.gz
|
|
|
|
| |
darcs-hash:20080326192614-23886-3e4ad4a2392e1ba4cc0dc7ce2a6a67e001a923a4.gz
|
|
|
|
| |
darcs-hash:20080313213021-f07c6-f81c4638918b6a9eafc594f10bb6383975333769.gz
|
|
|
|
| |
darcs-hash:20080122185828-1ec87-37d8149991d56d3b924634598e57ef2d0b6562a8.gz
|