| 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 ...
|
| 2e9d5716 | 26-Feb-2019 |
Benjamin Molitor <bmolitor@uos.de> |
translation update |
| 27cff898 | 25-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Remove PHP user deprecation errors
Remove these errors pending proper discussion. These errors could be a problem for installations that have HTML errors on in production. Since DokuWikis is often
Remove PHP user deprecation errors
Remove these errors pending proper discussion. These errors could be a problem for installations that have HTML errors on in production. Since DokuWikis is often used in smaller and private contexts, this is a scenario that should be considered.
show more ...
|
| 0c5eb5e2 | 25-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Refactor deprecation logging into its own class
This gives us the flexibility to handle both deprecated properties and methods/functions properly. |
| 792cbafa | 25-Feb-2019 |
eiroca <39483731+eiroca@users.noreply.github.com> |
Fix issue #2396 |
| e24a74c0 | 24-Feb-2019 |
Andreas Gohr <andi@splitbrain.org> |
PSR2 style fixes
These are some simple whitespace/arrangement things that apparantly can't be fixed automatically |
| c472ace4 | 24-Feb-2019 |
Andreas Gohr <andi@splitbrain.org> |
PSR2 cleanup for the feedparser override
It might be a good idea to namespace the FeedParser class itself in the future |
| 963c6934 | 24-Feb-2019 |
Andreas Gohr <andi@splitbrain.org> |
PSR2 adjustments for SafeFN
the renamed methods were not used in any known plugin |
| 43452e67 | 23-Feb-2019 |
HokkaidoPerson <dosankomali@yahoo.co.jp> |
translation update |
| b4b0b31b | 22-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Use deprecation helper
Instead of writing our own magic getters and setters for all variables that used to be public, this adds a trait that does that in a generic way. This trait was copied from Me
Use deprecation helper
Instead of writing our own magic getters and setters for all variables that used to be public, this adds a trait that does that in a generic way. This trait was copied from MediaWiki and adjusted to DokuWiki. The original author seems to be @tgr Tisza Gergő
The downside of this trait is that the properties keep their (potentially undesired) name. While that could be fixed within the helper, that might add unnecessary complexity. The name can change when support is dropped.
show more ...
|
| e180e453 | 21-Feb-2019 |
Phy <git@phy25.com> |
use utf8_strtolower instead of strtolower |
| 395b0e16 | 09-Jan-2019 |
Phy <git@phy25.com> |
compare cleaned pageid case-insensitive in search, fixes #2613 |
| 2ed72d06 | 19-Feb-2019 |
Andreas Gohr <andi@splitbrain.org> |
rename Ajax Callbacks for PSR2 |
| ccc4c71c | 19-Feb-2019 |
Andreas Gohr <andi@splitbrain.org> |
adjusted the Input clases for PSR2
They are now in their own namespace. |
| 68571b77 | 15-Feb-2019 |
En Matt <heartattack@free.fr> |
translation update |
| fec08cc9 | 14-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Use DokuWiki's own deprecation reporters
DokuWiki has its own way to report deprecation notifications. Let's use it! |
| 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 ...
|
| ad985d51 | 09-Feb-2019 |
velmyshanovnyi <velmyshanovnyi@gmail.com> |
translation update |
| 43ff1056 | 04-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Adjust comment to better reflect method
That method cannot be private or protected, since it has to be used by the event handler. Thus adjust the method comment to internal to better represent that
Adjust comment to better reflect method
That method cannot be private or protected, since it has to be used by the event handler. Thus adjust the method comment to internal to better represent that it shouldn't be used by other classes.
show more ...
|
| 72c2bae8 | 04-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Fix typo and rename method in comments too |
| 42c00b45 | 02-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Rename methods to conform with PSR 2
The method _useCache doesn't seem to be in use outside the core cache classes[0], thus no deprecation placeholder was created.
[0]: https://codesearch.dokuwiki.
Rename methods to conform with PSR 2
The method _useCache doesn't seem to be in use outside the core cache classes[0], thus no deprecation placeholder was created.
[0]: https://codesearch.dokuwiki.org/search?project=dokuwiki&project=plugin&project=template&q=&defs=&refs=_useCache&path=&hist=&type=php
show more ...
|
| 0db5771e | 02-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Refactor cache.php into different files |
| b3c891f4 | 01-Feb-2019 |
Torgeir Blesvik <bletor@banenor.no> |
translation update |
| 3f074cb5 | 31-Jan-2019 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix regression in third-party JSON utility |
| 094ba72a | 27-Jan-2019 |
HokkaidoPerson <dosankomali@yahoo.co.jp> |
translation update |