- Sep 20, 2010
-
-
Adrian Lang authored
Neither I nor Andi has any idea what this file is for and why it explicitly //grants// permission and why its documentation is wrong.
-
- Aug 31, 2010
-
-
Adrian Lang authored
-
Adrian Lang authored
-
- Jul 01, 2010
-
-
Andreas Gohr authored
includes unit tests. Extensions welcome.
-
- Jun 09, 2010
-
-
Andreas Gohr authored
Since the specs aren't 100% clear, dates might be passed in different formats by various XMLRPC clients. This patch makes date parsing a bit more flexible. Unit tests included.
-
- Apr 04, 2010
-
-
Christopher Smith authored
-
- Mar 30, 2010
-
-
Michael Klier authored
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.
-
- Mar 24, 2010
-
-
YoBoY authored
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.
-
- Mar 23, 2010
-
-
Adrian Lang authored
-
- Mar 02, 2010
-
-
Michael Hamann authored
-
Michael Hamann authored
$_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.
-
- Feb 28, 2010
-
-
Andreas Gohr authored
-
Michael Hamann authored
-
- Feb 04, 2010
-
-
Adrian Lang authored
-
- Feb 01, 2010
-
-
Adrian Lang authored
-
Adrian Lang authored
-
- Jan 29, 2010
-
-
Adrian Lang authored
-
- Dec 01, 2009
-
-
Chris Smith authored
Ignore-this: c5a934d8bce1c2b5953632bedd0c4f64 darcs-hash:20091201205426-f07c6-e21cbc5f84a8702f074069eae3cab1aa4bdb50ea.gz
-
Andreas Gohr authored
Ignore-this: 49e3a74cd437da3f65d66e1bf56b8ec darcs-hash:20091201192449-7ad00-d0327043c4eee729003f101f53b836f4564539a0.gz
-
Andreas Gohr authored
Ignore-this: d14f492efbb4ef316895ef402308176e darcs-hash:20091201191622-7ad00-19deabc9820a59b447e891b7576c19641d554487.gz
-
- Nov 05, 2009
-
-
Pierre Paysant-Le Roux authored
Ignore-this: ffb20375a09483502d61241d76877a8d darcs-hash:20091105213452-533a7-f09aca121cf24a8b6ad2d3448d058a846cb52182.gz
-
- Nov 03, 2009
-
-
hakan.sandell authored
darcs-hash:20091103161002-9a5f4-2114938a7e62a924b9fe424b63584a4747286563.gz
-
- Oct 22, 2009
-
-
Adrian Lang authored
The Doku_Form constructor used to take up to four arguments setting specific parameters of the resulting form HTML element. Instead, a generic array is passed to the constructor specifying HTML parameters. darcs-hash:20091022120138-e4919-3a42baf8c12b15e6df20e1f28152a992e347859d.gz
-
- Oct 04, 2009
-
-
Chris Smith authored
Ignore-this: 5621e4ff0eb5b759a2176a417bf6779e includes updated unit tests darcs-hash:20091004101720-f07c6-5700a40065a496b38ba83c73d4ebcb86388aaabc.gz
-
- May 15, 2009
-
-
Andreas Gohr authored
Ignore-this: 2757dc089bd6c8465e5b0a4c1311cf85 darcs-hash:20090515184406-7ad00-cd124f30cd1c1b5b744e942e2279ff52cad6eb30.gz
-
- May 14, 2009
-
-
michael authored
Ignore-this: d38dd22b55ddb7ac94d28fa048130672 darcs-hash:20090514155859-074e0-c9a5eecc8295c1de748b67ec517798d88bf4119e.gz
-
- Apr 19, 2009
-
-
Chris Smith authored
darcs-hash:20090419160351-f07c6-2f439fb7f291331e93c64324878aef0c94d09810.gz
-
Chris Smith authored
add unit tests for correct pattern selection when patterns contain non-captured elements (e.g. boundaries, lookaheads & lookbehinds) darcs-hash:20090419134450-f07c6-4ff7d226fcba002c840828336e73fb89cf48e3db.gz
-
- Mar 08, 2009
-
-
Chris Smith authored
darcs-hash:20090308163855-f07c6-8d8253e36fe2dff481043bd087355793eaf7bc2d.gz
-
Chris Smith authored
additional emphasis test cases, plus add includes for init.php and confutils.php into parser test setup darcs-hash:20090308161937-f07c6-754e74ffafdfbb7df93cc61a36c43c966f1c531e.gz
-
- Mar 07, 2009
-
-
Chris Smith authored
darcs-hash:20090308041259-f07c6-dcba687b160e30b2dbcfa02d4526c0a3adb4e324.gz
-
- Feb 05, 2009
-
-
Andreas Gohr authored
Ignore-this: 7059284786889a3ead12f5a4b3873bdf darcs-hash:20090205170449-7ad00-63f9459819a355abc7a154e07b487d8431097614.gz
-
- Feb 03, 2009
-
-
Andreas Gohr authored
Ignore-this: 75cdd558fc40a114961d2fca76e0bcdd darcs-hash:20090203191311-7ad00-bd6b96193f188afb5f26b6ca781dd5ea9eb8f0ef.gz
-
- Jan 25, 2009
-
-
Andreas Gohr authored
Ignore-this: 261098274bce329f446fc8768c25b9e5 Most failing tests were just out of date, because certain behavior was changed. There is one test failing for parsing italic tests. This can probably not be fixed without larger changes at the parser to catch runaway lines at the paragraph end. FS#1574 darcs-hash:20090125221855-7ad00-968655d609945aae764c3124fb906ce086025df4.gz
-
Andreas Gohr authored
Ignore-this: d1c6f55bfb7edcdb40c6b69a219d8291 darcs-hash:20090125144648-7ad00-94e0d4a6b153f193841317851cb3d6e8f2744cb0.gz
-
- Oct 11, 2008
-
-
Andreas Gohr authored
darcs-hash:20081011184717-7ad00-0f910f4d061e00ccfdf722a3f971656da1b7979b.gz
-
Andreas Gohr authored
darcs-hash:20081011173245-7ad00-578e03ca701fc4443ba91329be6ac1ca9344c7a7.gz
-
Andreas Gohr authored
very simple unit test added. Still needs *real world* testing! darcs-hash:20081011141442-7ad00-13378a7a14f81b0799102f0d53d6db8e1078b3e0.gz
-
Andreas Gohr authored
Some characters are deaccented/romanized different in different languages, we now do one way in deaccent and the other way in romanize. Giving the user a choice what she prefers. (Currently affects a handful scandinavian letters). darcs-hash:20081011091034-7ad00-08535e03639b0b0c634e2438609ac10545f14f48.gz
-
- Oct 07, 2008
-
-
Andreas Gohr authored
darcs-hash:20081007211409-7ad00-d64410ecef91ac4f35ad84fcb98097e8b3d211dc.gz
-