| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
bool page_exists($id, $rev
darcs-hash:20070930021040-d26fc-e3847bfdd20a36154685262eca94211cfd461e83.gz
|
|
|
|
| |
darcs-hash:20070709183346-7ad00-1bac56195b99f05017a2c3623ae84b61769da85b.gz
|
|
|
|
|
|
|
|
|
| |
Fix infinite page redirects in getID
Loading "start:" was causing a loop of page redirects.
Page IDs like "start:" now resolve correctly
to an ID like "start".
darcs-hash:20070526094501-05dcb-eac8e908ecda8820aa0ef66760786b2094395fe2.gz
|
|
|
|
|
|
| |
<fritzn@crown.edu>
darcs-hash:20070331213401-d5083-2c30028ab1c81465b0295106ce6a52ce18ad87cf.gz
|
|
|
|
|
|
| |
You can now request doku.php?id
darcs-hash:20070330212802-19e2d-d1988ade1a9cd5f898ecb0a55d09860d0193a84d.gz
|
|
|
|
| |
darcs-hash:20070224122418-7ad00-df595caf9d861bc6b4e5bf2d478df890b6f5bf7a.gz
|
|
|
|
| |
darcs-hash:20070217220746-19e2d-76c857902d24301707eb783ced96f25c00526659.gz
|
|
|
|
|
|
|
|
| |
Suppress any errors from set_time_limit,
unlink, and file_exists functions.
see: http://www.freelists.org/archives/dokuwiki/09-2006/msg00004.html
darcs-hash:20060908193433-05dcb-013617431870ab5bfb2ce8c6e99ba5af13493228.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- remove initialisation of caches in inc/pageutils.php
- add global declaration to init.php to support init.php
being included from within a function, e.g. unit testing
;-)
- minor change to utf8_substr, remove non-essential brackets
added as part of an earlier patch
darcs-hash:20060829134806-9b6ab-ab15191344a83be664c412403dc84a24fa2253a2.gz
|
|
|
|
|
|
|
|
| |
Update to 'add function result caching for cleanID and wikiFN'.
Makes certain that arrays exist for the caches, without checking on each function call.
Properly create multidimensional arrays in wikiFN().
darcs-hash:20060828071205-05dcb-7c8dbdb5ea4e7b73808ec3bd9222df1b837d3a1f.gz
|
|
|
|
|
|
|
| |
- move caches into global scope (they were static in function scope)
- add teardown() method to clean_id unit test - to clear its cache
darcs-hash:20060827183327-9b6ab-cf9beb2ca6c47142dfaad3117d7c86748a54312c.gz
|
|
|
|
| |
darcs-hash:20060827153352-9b6ab-651decb2566f16334218c6782edc6c7d47b41e13.gz
|
|
|
|
|
|
|
|
|
|
| |
value defaults to true
patch also includes an update to idx_parseIndexLine to make use of the
new parameter - the index file (if built by DokuWiki's methods) will
contain already "clean" IDs.
darcs-hash:20060825144112-9b6ab-55adc71cf55bb58468fb3f0b03b9001ab149a82b.gz
|
|
|
|
| |
darcs-hash:20060823211149-9c1ae-569f295c33dc798a429a373f48cb09122334ea29.gz
|
|
|
|
| |
darcs-hash:20060804142243-9b6ab-d208f7f1a67a9958fda05c519c8407ad5e733cea.gz
|
|
|
|
| |
darcs-hash:20060801041118-b3fbc-9240577694a28b3d4829a9c7ae1014f69d6422a9.gz
|
|
|
|
|
|
| |
sha1 may not be available in all installs and md5 is sufficient for the job
darcs-hash:20060707115543-7ad00-c7216f7c5f5a3908124c8cc13a06e31cb1eb883d.gz
|
|
|
|
| |
darcs-hash:20060705114601-05dcb-e8fda6653d8d085591d578f24d3677b29f09fa01.gz
|