- Sep 02, 2017
-
-
Andreas Gohr authored
No globals required anymore, somewhat more general approach to sending data to the test system. Clean access through keys.
-
- Aug 27, 2017
-
-
LarsDW223 authored
Test code for workflow 'show - sectionedit - save/cancel' (with modifications in test classes and 'send_redirect()' and 'act_dispatch()'.
-
- Aug 01, 2017
-
-
B_S666 authored
-
- Mar 31, 2017
-
-
Andreas Gohr authored
-
- Mar 01, 2017
-
-
Andreas Gohr authored
This partly fixes #1883
-
- Feb 10, 2017
-
-
Shota Miyazaki authored
-
- Feb 05, 2017
-
-
Andreas Gohr authored
-
- Feb 04, 2017
-
-
Andreas Gohr authored
This makes it more flexible to use on the expense of needing one echo more.
-
- Jan 31, 2017
-
-
Andreas Gohr authored
now comments and line breaks between tags are removed
-
- Jan 21, 2017
-
-
Andreas Gohr authored
-
Andreas Gohr authored
This introduces a new dokuwiki\Ui namespace and refactors the Admin screen into a Ui class. The ultimate goal is to split up the big, complex functions in inc\html.php in better maintainable classes in the Ui namespace. This is the first go at it. Others function->class conversions should follow. This also switches the icons for our base admin plugins to inline SVG. (files and styling not included, yet).
-
Andreas Gohr authored
This introduces an embedSVG() function that can be used at other places.
-
- Jan 01, 2017
-
-
Michael Hamann authored
This fixes saving the actually saved timestamp for deleted revisions in the change log. Before this, the change log got 0 as timestamp and therefore used the current time - which might be wrong if the current second changed in between touching the page and adding the entry to the changelog.
-
- Oct 21, 2016
-
-
Dmitry Katsubo authored
-
- Sep 21, 2016
-
-
Michael Große authored
The event COMMON_WIKIPAGE_SAVE offers the opportunity to save the content by modifying $data['newContent']. However saveWikiText still saves the original $text variable instead of the possibly modified $svdta['newContent'].
-
- Jul 01, 2016
-
-
Andreas Gohr authored
Using an HTML entitiy might be problematic in non HTML renderers or when the output is escaped again.
-
- Jun 14, 2016
-
-
Anders Sandblad authored
-
- May 22, 2016
-
-
Anika Henke authored
-
- Mar 31, 2016
-
-
Andreas Gohr authored
The header() method of PHP is vulnerable to HTTP Response Splitting attacks. This change makes sure the URL passed to send_redirect (and thus to header()) does not contain any control characters that would be needed to execute such an attack. Cleaning input is recommended anyway.
-
- Mar 19, 2016
-
-
Satoshi Sahara authored
fullpath processing here seems unnecessary, wikiFN($ID) returns a valid filepath for the page text file.
-
- Mar 18, 2016
-
-
Gerrit Uitslag authored
-
Gerrit Uitslag authored
-
Gerrit Uitslag authored
- handle all cases where not an old file exist, or when that old file is zero size. - When using old revision normally these files are compressed, use uncompressed size.
-
- Mar 15, 2016
-
-
Gerrit Uitslag authored
-
- Feb 19, 2016
-
-
Andreas Gohr authored
As discussed in #1471, an uninitialized variable will always be implicitly created when passed to the blank() function. Calling isset() is thus a no-op. A warning about this behavior has been added to the function comment.
-
- Feb 18, 2016
-
-
Andreas Gohr authored
This makes the saveWikiText() function a little easier to read and moves external edit handling to its own function. Behavior stays the same (tests are unchanged). In addition a new event COMMON_WIKIPAGE_SAVE is introduced that makes intercepting and acting on page saves much easier than possible before. Developers can: * prevent saves by either preventing the default action or overwriting the contentChanged field in a BEFORE hook * enforce saves even when no content changed by overwriting the contentChanged field in a BEFORE hook * Adjust the saved content by modifying the newContent field in a BEFORE hook * Adjust the stored change log information (summary, type, extras) in an AFTER hook * Easily know if a page was deleted, created or edited by inspecting the changeType field * what ever they want before or after a wiki page is saved
-
- Sep 25, 2015
-
-
Andreas Gohr authored
This allows to quickly check if a variable is empty but keeps strings and numbers evaluating to zero.
-
- Sep 02, 2015
-
-
Marius van Witzenburg authored
-
- Aug 21, 2015
-
-
Gerrit Uitslag authored
Implements https://bugs.dokuwiki.org/index.php?do=details&task_id=2525
-
- May 03, 2015
-
-
Anika Henke authored
-
- Jan 07, 2015
-
-
Andreas Gohr authored
We no longer support IE6, so hashes in URLs no longer need to be protected when redirecting.
-
Andreas Gohr authored
In an older version of PHP a file_exists() call would issue a warning when the file did not exist. This was fixed in later PHP releases. Since we require PHP 5.3 now, there's no need to supress any error here anymore. This might even give a minor performance boost.
-
- Dec 17, 2014
-
-
Andreas Gohr authored
-
- Oct 02, 2014
-
-
Gerrit Uitslag authored
-
- Oct 01, 2014
-
-
Gerrit Uitslag authored
-
Gerrit Uitslag authored
many PHPDocs some unused variables some dynamically declared variables declared
-
- Sep 29, 2014
-
-
Gerrit Uitslag authored
-
- Sep 28, 2014
-
-
Gerrit Uitslag authored
-
- Sep 01, 2014
-
-
Gerrit Uitslag authored
-
- Jul 15, 2014
-
-
Gerrit Uitslag authored
Restores vanished changes of #84
-