#
317a04c4 |
| 19-Mar-2016 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
remove fullpath() call
fullpath processing here seems unnecessary, wikiFN($ID) returns a valid filepath for the page text file.
|
#
3c48b1d0 |
| 19-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
wrong entry of revinfo used in detectExternalEdit
|
#
8c7319be |
| 19-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
rename variables in detectExternalEdit
|
#
4b5aebc1 |
| 18-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
filesize zero cases, compressed revisions
- 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 uncom
filesize zero cases, compressed revisions
- 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.
show more ...
|
#
655ddc1d |
| 15-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
little reformat of saveWikiText
|
#
2966355b |
| 15-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Merge remote-tracking branch 'origin/master' into revsizechange
Conflicts: inc/common.php
|
#
2a83ac60 |
| 24-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
Merge pull request #1472 from splitbrain/wikisave_event
refactor page saving and introduce COMMON_WIKIPAGE_SAVE
|
#
67234204 |
| 19-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
removed isset() from blank() function
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 warni
removed isset() from blank() function
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.
show more ...
|
#
b24d9195 |
| 18-Feb-2016 |
Andreas Gohr <gohr@cosmocode.de> |
refactor page saving and introduce COMMON_WIKIPAGE_SAVE
This makes the saveWikiText() function a little easier to read and moves external edit handling to its own function. Behavior stays the same (
refactor page saving and introduce COMMON_WIKIPAGE_SAVE
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
show more ...
|
#
5b571377 |
| 25-Sep-2015 |
Andreas Gohr <andi@splitbrain.org> |
add convenience function for empty check without 0
This allows to quickly check if a variable is empty but keeps strings and numbers evaluating to zero.
|
#
06c9ee33 |
| 02-Sep-2015 |
Marius van Witzenburg <info@mariusvw.com> |
Fixed several undefined errors.
|
#
ac3ed4af |
| 21-Aug-2015 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Store change of filesizes in revision log
Implements https://bugs.dokuwiki.org/index.php?do=details&task_id=2525
|
#
3a970889 |
| 03-May-2015 |
Anika Henke <anika@selfthinker.org> |
make it possible to remove entries from DOKU_PREFS cookie
|
#
326dd43a |
| 07-Jan-2015 |
Andreas Gohr <gohr@cosmocode.de> |
Remove IE6 workaround for redirects with hashes
We no longer support IE6, so hashes in URLs no longer need to be protected when redirecting.
|
#
79e79377 |
| 07-Jan-2015 |
Andreas Gohr <gohr@cosmocode.de> |
Remove error supression for file_exists()
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 PH
Remove error supression for file_exists()
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.
show more ...
|
#
81781cb6 |
| 17-Dec-2014 |
Andreas Gohr <gohr@cosmocode.de> |
never exit during test runs
|
#
8702de7f |
| 09-Dec-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Merge remote-tracking branch 'origin/master' into scrutinizerissues
Conflicts: inc/media.php inc/plugin.php inc/template.php lib/plugins/authplain/_test/escaping.test.php lib/plugins/syntax.php
|
#
7e8500ee |
| 02-Oct-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
PHPDocs and some improvements
|
#
e3710957 |
| 01-Oct-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
more phpdocs and minor check
|
#
42ea7f44 |
| 01-Oct-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Many PHPDocs, some unused and dyn declared vars
many PHPDocs some unused variables some dynamically declared variables declared
|
#
59bc3b48 |
| 29-Sep-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
more scrutinizer issue improvements
|
#
e0c26282 |
| 29-Sep-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
scrutinizer documentations issues
|
#
8d39e80d |
| 26-Sep-2014 |
lisps <stummp@loewen.de> |
Merge remote-tracking branch master into revisions
|
#
7b950f2d |
| 26-Sep-2014 |
Andreas Gohr <andi@splitbrain.org> |
Merge remote-tracking branch 'origin/auth_getUserData_improvements'
* origin/auth_getUserData_improvements: KISS - remove class constants for REQUIRE_GROUPS & IGNORE_GROUPS and replace with boolea
Merge remote-tracking branch 'origin/auth_getUserData_improvements'
* origin/auth_getUserData_improvements: KISS - remove class constants for REQUIRE_GROUPS & IGNORE_GROUPS and replace with boolean values use $requireGroups constants in auth classes; comments; code improvements fix comment errors, sp. & grammar code styling - add missing braces Allow user info to be retrieved without groups Restore correct public interface of getUserData() for authldap plugin
Conflicts: inc/common.php
show more ...
|
#
65833968 |
| 01-Sep-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
fix userlink title when no authplugin is available or no user is found
|