| 4f9b023c | 14-Mar-2019 |
Phy <git@phy25.com> |
add $ID = '0' test against wl() and getID() |
| df69dada | 12-Mar-2019 |
Phy <git@phy25.com> |
more definition tests of doku_pref, for #1129 |
| 5833995a | 12-Mar-2019 |
Phy <git@phy25.com> |
add tests for get/set_doku_pref #2721 |
| 031cbb02 | 12-Mar-2019 |
Phy <git@phy25.com> |
fix Windows tests for #2702
Currently DOKU_INC, DOKU_CONF in test bootstrap is not consistent with our `fullpath()`, causing the concatenated expected string in styleutils_cssstyleini_test not corre
fix Windows tests for #2702
Currently DOKU_INC, DOKU_CONF in test bootstrap is not consistent with our `fullpath()`, causing the concatenated expected string in styleutils_cssstyleini_test not correct in Windows; this patch use str_replace to turn Windows separator into Linux ones.
show more ...
|
| c3cc6e05 | 06-Mar-2019 |
Andreas Gohr <andi@splitbrain.org> |
PSR2 adjustments for the PassHash class
I opted for ignoring the camel case funtion check not because the public hash_* methods are widely used but because I find this style actually cleaner in this
PSR2 adjustments for the PassHash class
I opted for ignoring the camel case funtion check not because the public hash_* methods are widely used but because I find this style actually cleaner in this case where the method name is auto-built from the hash type name.
show more ...
|
| 4593dbd2 | 28-Feb-2019 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Use config cascade for style.ini files
This simplifies style loading and allows the plugins like farmer to extend the the loading of style files. Also adds some first unit tests.
Originally discuss
Use config cascade for style.ini files
This simplifies style loading and allows the plugins like farmer to extend the the loading of style files. Also adds some first unit tests.
Originally discussed in FS#2703 and #134
Squashed commit of the following:
commit 5ed550f6ba61a1d475b7572cbff18f0d790c78c2 Merge: 0cefed65e cab1833b0 Author: Andreas Gohr <gohr@cosmocode.de> Date: Thu Feb 28 13:38:46 2019 +0100
Merge branch 'styleConfCascade' of https://github.com/annda/dokuwiki into annda-styleConfCascade
* 'styleConfCascade' of https://github.com/annda/dokuwiki: Clean up StyleUtils Update StyleUtils test Fix array to boolean conversion Use better placeholder string in config cascade Calls to StyleUtils use the new constructor Add test for StyleUtils Refactor StyleUtils WIP add temporary test comparing two implementations of StyleUtils WIP add new style config cascade side by side with the old one
commit cab1833b09a59331a5580fe0e3e6f36d743dea09 Author: Anna Dabrowska <dabrowska@cosmocode.de> Date: Thu Feb 21 17:54:27 2019 +0100
Clean up StyleUtils
commit 766e3907cf7b234c3f2fa7bf86f205c1c8c7c6e1 Author: Anna Dabrowska <dabrowska@cosmocode.de> Date: Thu Feb 21 17:51:15 2019 +0100
Update StyleUtils test
commit f5c08787ddf9db60e3429421e5c627d5c81d876a Author: Anna Dabrowska <dabrowska@cosmocode.de> Date: Thu Feb 21 12:51:53 2019 +0100
Fix array to boolean conversion
commit c9671698992328d5671a43b2707ffc6c5b117423 Author: Anna Dabrowska <dabrowska@cosmocode.de> Date: Thu Feb 21 12:38:55 2019 +0100
Use better placeholder string in config cascade
commit 4845eff54d227325476bb00b7c8402ce58cf72df Author: Anna Dabrowska <dabrowska@cosmocode.de> Date: Thu Feb 21 12:24:16 2019 +0100
Calls to StyleUtils use the new constructor
commit 7a6337a8f8f2cc0cedbf54ae0b43e94033192cb8 Author: Anna Dabrowska <dabrowska@cosmocode.de> Date: Thu Feb 21 12:22:44 2019 +0100
Add test for StyleUtils
commit 5ae9e8f69e076ab2a18b24aa178cca15fea6b000 Author: Anna Dabrowska <dabrowska@cosmocode.de> Date: Thu Feb 21 12:16:57 2019 +0100
Refactor StyleUtils
commit a2adcc9f37be93f4bcf90fdba4089ea4b0d6436e Author: Anna Dabrowska <dabrowska@cosmocode.de> Date: Sat Feb 16 23:58:04 2019 +0100
WIP add temporary test comparing two implementations of StyleUtils
commit 845c40c4faf379a65134e171514a09d47ffe95f1 Author: Anna Dabrowska <dabrowska@cosmocode.de> Date: Sat Feb 16 23:59:41 2019 +0100
WIP add new style config cascade side by side with the old one
show more ...
|
| dd8af038 | 24-Feb-2019 |
Andreas Gohr <andi@splitbrain.org> |
ignore more files in code sniffer configuration |
| 1bf10e51 | 21-Feb-2019 |
Phy <git@phy25.com> |
add test for utf8 capital letters in search #2613
Thanks @micgro42 for pointing out German and Russian that has these characters! |
| ff857cbe | 09-Jan-2019 |
Phy <git@phy25.com> |
add tests for #2613 |
| ccc4c71c | 19-Feb-2019 |
Andreas Gohr <andi@splitbrain.org> |
adjusted the Input clases for PSR2
They are now in their own namespace. |
| b196d8de | 19-Feb-2019 |
Andreas Gohr <andi@splitbrain.org> |
don't apply any memory limits when running code sniffer |
| d2f1d7a1 | 14-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Rename fields and add deprecated __get/__set
These fields might still be accessed from the outside, so in order to not break backwards compatibility, this uses magic methods that emit deprecation er
Rename fields and add deprecated __get/__set
These fields might still be accessed from the outside, so in order to not break backwards compatibility, this uses magic methods that emit deprecation errors.
show more ...
|
| 0db5771e | 02-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Refactor cache.php into different files |
| debc52aa | 11-Jan-2019 |
Phy <git@phy25.com> |
obfuscate: use utf8_tohtml for hex mode encoding, fixes #2665
Note that its output for "regular" char (codepoint < 2bytes) has also changed (before hex, now decimal), due to the current behavior of
obfuscate: use utf8_tohtml for hex mode encoding, fixes #2665
Note that its output for "regular" char (codepoint < 2bytes) has also changed (before hex, now decimal), due to the current behavior of utf8_tohtml. In this case, the config value "hex" doesn't mean "hex" anymore, but it still obfuscates characters as numbers, as expected. This might need doc update.
show more ...
|
| df81ca99 | 11-Jan-2019 |
Phy <git@phy25.com> |
utf8_tohtml: add $all param to encode everything (default false)
This is useful when every character needs to be converted to HTML entities, e.g. (email) `obfuscate()`. Respective test has also been
utf8_tohtml: add $all param to encode everything (default false)
This is useful when every character needs to be converted to HTML entities, e.g. (email) `obfuscate()`. Respective test has also been added.
show more ...
|
| ad1ea089 | 11-Jan-2019 |
Phy <git@phy25.com> |
add test for utf-8 obfuscate #2665 |
| 6f9868d5 | 07-Jan-2019 |
Phy <git@phy25.com> |
fix sha512 failing test, and add test to crypt-style sha512 hash |
| 48ca2703 | 13-Dec-2018 |
Andreas Gohr <gohr@cosmocode.de> |
isAccessibleByCurrentUser() can run without $INFO
Because the isAccessibleByUser method can be run in contexts where $INFO is not available, an explicit check is needed. |
| 32adf586 | 30-Oct-2018 |
Andreas Gohr <gohr@cosmocode.de> |
fix test for adjusted minimum permissions |
| 211d00a0 | 30-Oct-2018 |
Andreas Gohr <gohr@cosmocode.de> |
fix unit test
The permissions are now checked also when trying to the title of the plugin. |
| 4069409e | 22-Sep-2018 |
peterfromearth <coder@peterfromearth.de> |
add test for hasRevision() |
| 102cdbd7 | 15-Sep-2018 |
LarsGit223 <lars_paulsen@web.de> |
Auth/Mailer: properly handle usernames including a comma
Prevent splitting of e-mail addresses at the wrong point by enclosing a username in '"'. The "To" e-mail address in the notification mail was
Auth/Mailer: properly handle usernames including a comma
Prevent splitting of e-mail addresses at the wrong point by enclosing a username in '"'. The "To" e-mail address in the notification mail was malformed if a new user was added and included a ',' in it's name. Fixes #1569.
show more ...
|
| d443762b | 27-Jul-2018 |
Andreas Gohr <andi@splitbrain.org> |
deprecated JSON class
JSON is natively supported since years. This makes 2145bd4c56435f829a19aad843172f8ddffbc69b obsolete again. |
| 2145bd4c | 27-Jul-2018 |
Andreas Gohr <andi@splitbrain.org> |
upgraded JSON class to latest (2006) version
from http://mike.teczno.com/JSON/JSON.phps
This fixes a problem on PHP 7.2. However ultimately this class should be dropped in favor of the native json_
upgraded JSON class to latest (2006) version
from http://mike.teczno.com/JSON/JSON.phps
This fixes a problem on PHP 7.2. However ultimately this class should be dropped in favor of the native json_decode/json_encode functions.
show more ...
|
| 91a976ff | 21-Jun-2018 |
Christopher Smith <chris@jalakai.co.uk> |
Revert previous commit (made in error)
This reverts commit 4da13513aa3cd524af47ebe8f387ea892240a3b2.
|