| 34df7cb0 | 30-Apr-2011 |
Andreas Gohr <andi@splitbrain.org> |
make merge conflict labels completely customizable |
| a297e675 | 30-Apr-2011 |
Andreas Gohr <andi@splitbrain.org> |
Added 3way merge from PEAR Text_Diff3
This adds 3way merge functionality to our DifferenceEngine stack. The code was taken from the PEAR Text_Diff3 package and adapted to work with our implementatio
Added 3way merge from PEAR Text_Diff3
This adds 3way merge functionality to our DifferenceEngine stack. The code was taken from the PEAR Text_Diff3 package and adapted to work with our implementation.
For the curious: Here's a short Origin tree of the different versions of the Diff code to make clear how our implementation is related to the PEAR package.
-- original code Geoffrey T. Dairiki `-- Adaption for the Horde project |-- Adaption for phpwiki | `-- Adaption for MediaWiki | `-- Adaption for DokuWiki `-- Creation of PEAR Text_Diff
show more ...
|
| c67b1dab | 11-Apr-2016 |
Andreas Gohr <gohr@cosmocode.de> |
URI scheme is only relevant for TLS if not proxy connection #1526
This should fix the test problems errors in #1527. When requesting a HTTPS URI from a HTTP only proxy, the initial connection is *no
URI scheme is only relevant for TLS if not proxy connection #1526
This should fix the test problems errors in #1527. When requesting a HTTPS URI from a HTTP only proxy, the initial connection is *not* TLS secured. The URI scheme is only relevant when directly connecting.
This also changes the (wrong) assumption that everything on port 443 is always TLS secured. Only the URI scheme should decide that.
show more ...
|
| 4167de31 | 11-Apr-2016 |
Michael Grosse <grosse@cosmocode.de> |
use SSL if scheme is https
This is to ensure that we use SSL/TLS if a custom port is defined an no proxy is used.
Fixes #1526 |
| 95f42e65 | 02-Apr-2016 |
Adrian Vesa <adrianvesa@dotwikis.com> |
translation update |
| 98ca30d2 | 31-Mar-2016 |
Andreas Gohr <andi@splitbrain.org> |
avoid HTTP Response Splitting attacks via redirects #1513
The header() method of PHP is vulnerable to HTTP Response Splitting attacks.
This change makes sure the URL passed to send_redirect (and th
avoid HTTP Response Splitting attacks via redirects #1513
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.
show more ...
|
| c58f49ca | 24-Mar-2016 |
Viliam Dias <viliamjr@gmail.com> |
translation update |
| c83f69ba | 21-Mar-2016 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
remove unnecessary fullpath() |
| cc6e07d8 | 20-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
strlen does already calculate the right length |
| 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. |
| f6a5c864 | 19-Mar-2016 |
Myeongjin <aranet100@gmail.com> |
translation update |
| 42a2fb23 | 19-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Not needed due to use of more general functions |
| 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 ...
|
| f549be3d | 18-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
io_getSizeFile returns uncompressed size of given file
A bz2-file doesn't contain information about the size of its uncompressed content. Therefore it requires reading the whole file to obtain the f
io_getSizeFile returns uncompressed size of given file
A bz2-file doesn't contain information about the size of its uncompressed content. Therefore it requires reading the whole file to obtain the filesize.
show more ...
|
| 655ddc1d | 15-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
little reformat of saveWikiText |
| c276e9e8 | 15-Mar-2016 |
Marcel Pennewiss <github@pennewiss.de> |
Invalidate user session cache after profile data was changed |
| 924cc11c | 11-Mar-2016 |
Andreas Gohr <andi@splitbrain.org> |
add support for new Django hashing methods
New Python Django application default to PBKDF2 with SHA256 as a password mechanism. This adds support for that mechanism in our password hasher class. Thi
add support for new Django hashing methods
New Python Django application default to PBKDF2 with SHA256 as a password mechanism. This adds support for that mechanism in our password hasher class. This will be needed in the tests for the new PDO auth plugin.
show more ...
|
| dab290ef | 11-Mar-2016 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
usie a strict comparison === instead |
| 82f5f399 | 11-Mar-2016 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
use getNS() call instead of dirname() |
| 63cf4192 | 04-Mar-2016 |
sarehag <joakim.sarehag@gmail.com> |
#1477:Search heading still displayed although search disabled |
| 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 ...
|
| 014eefaa | 14-Feb-2016 |
Masoud Sadrnezhaad <masoud@sadrnezhaad.ir> |
translation update |