| dcee16d6 | 04-Apr-2010 |
Christopher Smith <chris@jalakai.co.uk> |
Update SafeFN class, simplify and improve performance |
| f03fd957 | 04-Apr-2010 |
Andreas Gohr <andi@splitbrain.org> |
new fnencode option FS#1649
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 st
new fnencode option FS#1649
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).
show more ...
|
| 70e083ce | 04-Apr-2010 |
Christopher Smith <chris@jalakai.co.uk> |
class for safely encoding filenames
This class tries to satisfy the following requirements:
* all ASCII alphanumeric chars in the input should stay the same ASCII alphanumeric chars in the ou
class for safely encoding filenames
This class tries to satisfy the following requirements:
* all ASCII alphanumeric chars in the input should stay the same ASCII alphanumeric chars in the output * the resulting string should be as short as possible * the operation needs to be reversable without any data loss * the resulting ASCII string should be case insensitive * there should be no restriction on the input length * the whole UTF-8 range should be allowed
using it creates a way to store UTF-8 in filenames even if the underlying filesystem does not support UTF-8. It is also pretty robust when files are moved between various filesystems and it creates shorter filenames than the currently used urlencoding.
show more ...
|
| 29586873 | 04-Apr-2010 |
Michael Hamann <michael@content-space.de> |
Fixed Arabic password reset
The replacements (@...@) were partially translated and had spaces in between. Please don't translate the text between @...@. |
| 40307ce6 | 03-Apr-2010 |
Michael Hamann <michael@content-space.de> |
Preserve selected item in the acl manager during ajax requests
There are two new parameters submitted that contain the currently selected namespace and page id so it can be selected again indenpende
Preserve selected item in the acl manager during ajax requests
There are two new parameters submitted that contain the currently selected namespace and page id so it can be selected again indenpendently from the opened namespace.
show more ...
|
| d74913c6 | 03-Apr-2010 |
Michael Hamann <michael@content-space.de> |
Fixed sorting in the acl manager treeview
Previously the content of expanded namespaces was displayed below all other pages, now it is placed below it's parent namespace. The new comparison function
Fixed sorting in the acl manager treeview
Previously the content of expanded namespaces was displayed below all other pages, now it is placed below it's parent namespace. The new comparison function is quite complex. Please have a look at it if it can done easier or if there are cases I haven't considered where the function produces incorrect results.
show more ...
|
| 6e00e8be | 03-Apr-2010 |
Michael Hamann <michael@content-space.de> |
Corrected German translation in the acl plugin |
| c0c4ef98 | 02-Apr-2010 |
Rasmus Kinnerup <rasmus@kinnerup.com> |
Danish language update |
| d059ba9b | 02-Apr-2010 |
Andreas Gohr <andi@splitbrain.org> |
Fix gzip compression in combination with buffer flushing FS#1927
This introduces a new function called tpl_flush() which should be used by template authors in favor of the PHP flush() method. |
| d535a2e9 | 31-Mar-2010 |
stretchyboy <martyn.eggleton@gmail.org> |
Fixes variable replacement during _template.txt parsing |
| 08d7babf | 30-Mar-2010 |
Michael Klier <chi@chimeric.de> |
added support for plugin unittests
This patch adds support to include plugin tests in the DokuWiki testsuite. Plugin tests are located in a dedicated directory _test/within a plugin directory. Th
added support for plugin unittests
This patch adds support to include plugin tests in the DokuWiki testsuite. Plugin tests are located in a dedicated directory _test/within a plugin directory. The naming convention of the test files follows the one used in DokuWikis testsuite.
<plugin>/_test/*.test.php -> single test <plugin>/_test/*.group.php -> group test
The plugin tests are accessible via the web interface of the test suite and via the cli interface. It is recommend to bundle plugin test in a plugin group test. The webinterface also allows to run all plugin tests at once.
Test files must include:
<dokuwiki>/_test/lib/unittest.php
Example Test:
require_once(DOKU_INC.'_test/lib/unittest.php'); class plugin_test extends Doku_UnitTestCase { function test() { $this->assertEqual(1,1); } }
Example Group Test:
require_once(DOKU_INC.'_test/lib/unittest.php'); class plugin_group_test extends Doku_GroupTest { function group_test() { $dir = dirname(__FILE__).'/'; $this->GroupTest('plugin_grouptest'); $this->addTestFile($dir . 'plugin.test1.php'); $this->addTestFile($dir . 'plugin.test2.php'); $this->addTestFile($dir . 'plugin.test3.php'); } }
At the moment unittest.php contains only two meta classes so plugins tests don't have to inherit from the simpletest classes.
This patch should be treated as intermediate step to allow for plugin tests. The testsuite wasn't designed to include plugin tests. It should probably be refactored at a later point.
show more ...
|
| 2a98590b | 29-Mar-2010 |
Adrian Lang <lang@cosmocode.de> |
Better footnote popup positioning |
| 187b5536 | 29-Mar-2010 |
Adrian Lang <lang@cosmocode.de> |
Update syntax plugin base class (DOOM DO-OOM) |
| f6ec8df8 | 29-Mar-2010 |
Adrian Lang <lang@cosmocode.de> |
Allow plugins to specify that they have to be instantiated
Plugins may return false in isSingleton to let plugin_load return a new instance every time it is called. Renderer plugins are not loaded w
Allow plugins to specify that they have to be instantiated
Plugins may return false in isSingleton to let plugin_load return a new instance every time it is called. Renderer plugins are not loaded with $new set to true, but instead specify themself that they are not singletons. This behaviour allows the odt renderer to keep working (see #1598).
show more ...
|
| ea6dfbca | 26-Mar-2010 |
Adrian Lang <lang@cosmocode.de> |
Rewrite footnote popup
* Popup now shows up relative to the link, not the mouse position * Easier handling of mouseout’s bubbling * Factor out popup creation to allow plugins to use it |
| c9d5430b | 29-Mar-2010 |
Adrian Lang <lang@cosmocode.de> |
Call act_edit for locked pages
50e988b accidentally stopped act_dispatch from calling act_edit for locked pages, thus showing a generic »page not writable« message instead of a page lock message. |
| cd12dcad | 02-Feb-2010 |
Adrian Lang <lang@cosmocode.de> |
JavaScript syntax fixes |
| 569a0019 | 26-Mar-2010 |
Adrian Lang <lang@cosmocode.de> |
Fix and simplify p_get_metadata key looping
explode converts $string (false) to string ("") and returns it if $delimiter is not found, therefor looking for the key "" in metadata array. |
| 0139312b | 26-Mar-2010 |
Adrian Lang <lang@cosmocode.de> |
Better code syntax parsing, less E_NOTICE |
| 7d54a99f | 25-Mar-2010 |
Adrian Lang <lang@cosmocode.de> |
Do not try to save a draft in alternative editors |
| 26ee1edf | 25-Mar-2010 |
Adrian Lang <lang@cosmocode.de> |
Rewrite JavaScript change check |
| 2e61e4df | 25-Mar-2010 |
Adrian Lang <lang@cosmocode.de> |
Fix JavaScript for change detection after preview |
| 7733c314 | 26-Mar-2010 |
Michael Klier <chi@chimeric.de> |
replaced readdir() with glob() in metaFiles() |
| f1986589 | 26-Mar-2010 |
Michael Klier <chi@chimeric.de> |
moved plugincontroller and event handler creation to init.php |
| 22952965 | 23-Mar-2010 |
YoBoY <yoboy.leguesh@gmail.com> |
Limiting use of readdir in the idx_indexLengths function (v2).
Each searches on the wiki use this function. Scanning the index directory eachtime is time consuming with a constant series of disk acc
Limiting use of readdir in the idx_indexLengths function (v2).
Each searches on the wiki use this function. Scanning the index directory eachtime is time consuming with a constant series of disk access. Switching a normal search to use file_exists 1 or more times, and not readdir all the directory. Switching a wildcard search to use a lengths.idx file containing all the word lengths used in the wiki, file generated if a new configuration parameter $conf[readdircache] is not 0 and fixed to a time in second. Creation of a new function idx_listIndexLengths to do this part.
show more ...
|