summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Fixed sorting in the acl manager treeviewMichael Hamann2010-04-03
| | | | | | | | 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.
* Corrected German translation in the acl pluginMichael Hamann2010-04-03
|
* Danish language updateRasmus Kinnerup2010-04-02
|
* Fix gzip compression in combination with buffer flushing FS#1927Andreas Gohr2010-04-02
| | | | | This introduces a new function called tpl_flush() which should be used by template authors in favor of the PHP flush() method.
* added support for plugin unittestsMichael Klier2010-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Better footnote popup positioningAdrian Lang2010-03-29
|
* Update syntax plugin base class (DOOM DO-OOM)Adrian Lang2010-03-29
|
* Allow plugins to specify that they have to be instantiatedAdrian Lang2010-03-29
| | | | | | | | 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).
* Rewrite footnote popupAdrian Lang2010-03-29
| | | | | | * 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
* Call act_edit for locked pagesAdrian Lang2010-03-29
| | | | | | 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.
* JavaScript syntax fixesAdrian Lang2010-03-29
|
* Fix and simplify p_get_metadata key loopingAdrian Lang2010-03-26
| | | | | explode converts $string (false) to string ("") and returns it if $delimiter is not found, therefor looking for the key "" in metadata array.
* Better code syntax parsing, less E_NOTICEAdrian Lang2010-03-26
|
* Do not try to save a draft in alternative editorsAdrian Lang2010-03-26
|
* Rewrite JavaScript change checkAdrian Lang2010-03-26
|
* Fix JavaScript for change detection after previewAdrian Lang2010-03-26
|
* replaced readdir() with glob() in metaFiles()Michael Klier2010-03-26
|
* moved plugincontroller and event handler creation to init.phpMichael Klier2010-03-26
|
* Limiting use of readdir in the idx_indexLengths function (v2).YoBoY2010-03-24
| | | | | | 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.
* Fixed selffail.Adrian Lang2010-03-24
|
* Keep edit target information for previewAdrian Lang2010-03-24
|
* Make tests PHP 5.3 compatibleAdrian Lang2010-03-23
|
* No warning for an undefined variableAdrian Lang2010-03-23
|
* Rewrite p_get_metadata to not issue a E_NoticeAdrian Lang2010-03-23
|
* Send edit target in HTML_EDITFORM_SELECTIONAdrian Lang2010-03-23
|
* Rewrite wikitext slicing for section editsAdrian Lang2010-03-23
| | | | | | | | | | | This commit adresses two issues: * rawWikiSlices used to drop the first byte of the suffix (usually a newline, but custom section edits may not be bound to newlines) * con used to insert way too much newlines: the newline that got dropped by the bug in rawWikiSlices and one additional newline in prefix and text each if they are not terminated by a newline. Now con only inserts newlines if there are absolutely no newlines between prefix and text and text and suffix.
* Replace vertical tabs befor parsing XML in XMLRPCAndreas Gohr2010-03-22
| | | | | | It seems that the 0x0B Vertical Tab character breaks the PHP XML parser. This workaround replaces the char with a space before parsing. Not ideal but good enough for now.
* fixed hashing in mediaSearch()Andreas Gohr2010-03-22
| | | | | | The hash option did not hash the correct content for the found media files. This causes troubles in the sync plugin http://github.com/splitbrain/dokuwiki-plugin-sync/issues#issue/1
* German language updateRobert Bogenschneider2010-03-22
|
* Esperanto language updateRobert Bogenschneider2010-03-22
|
* fixed Safari browser detectionGerry Weißbach2010-03-22
|
* Add missing global declarationAdrian Lang2010-03-22
|
* Do not trigger HTML_FORM_SELECTION in some casesAdrian Lang2010-03-22
| | | | | When the page is not editable or the section info is out of date, a custom editor should not be used.
* Really remove edit highlighting on mouseoutAdrian Lang2010-03-22
|
* typo fixedAndreas Gohr2010-03-18
|
* Polish language updatemaros2010-03-17
|
* Galician language updateJosé António Cidre Bardelás2010-03-17
|
* Interlingua language updateMartijn Dekker2010-03-17
|
* Use md5sum of id and client ip as temporary filename in XML-RPCMichael Hamann2010-03-16
| | | | | | | | | | | | Before this patch the temporary filename was the uncleaned id. This allowed everyone with upload-privileges (on the whole wiki) and XML-RPC privileges on a XML-RPC-enabled DokuWiki to (over)write any file PHP is allowed to write with any content he wants. If you have XML-RPC enabled and users with XML-RPC and upload privileges you don't trust in a way you would allow them to write any file PHP may write, consider this as an important security fix. By default XML-RPC is disabled, so if you don't know what I'm talking about you are probably not affected by the problem.
* added missing IXR_IntrospectionServer to autoload classesMichael Klier2010-03-16
|
* Merge branch 'master' of git@github.com:splitbrain/dokuwikiChristopher Smith2010-03-16
|\
| * Typo in ZipLib autoloaderAdrian Lang2010-03-16
| |
* | Make constants in TarLib.class.php class constantsChristopher Smith2010-03-16
|/ | | | | The constants are required by the class constructor, which effectively means before the autoloader is triggered. This change fixes that issue.
* Fix special link displaying in abstractAdrian Lang2010-03-16
|
* Various JavaScript fixesAdrian Lang2010-03-15
| | | | | | | | | * Syntax error fixed * lock refresh event is now attached to the whole edit form since it bubbles up and we cannot be sure that the wikitext input exists on all edit forms * Updated findPos(X|Y) * Easier and less error-prone way of getting the section edit button in the highlight mouseover event handler
* Load libraries after initAdrian Lang2010-03-15
|
* removed dead leftover code from media searchAndreas Gohr2010-03-12
|
* Merge branch 'requireall'Andreas Gohr2010-03-12
|\ | | | | | | | | Conflicts: inc/fulltext.php
| * some more load fixesAndreas Gohr2010-03-12
| |
| * removed require's in lib/exe/*Andreas Gohr2010-02-01
| |