| 5c844bb3 | 05-Apr-2021 |
Andreas Gohr <andi@splitbrain.org> |
fix exists check in deprecated resolve_mediaid
This was copy'n'pasted from resolve_pageid. To correctly handle the date_at parameter a media_exists() function had to be introduced. |
| 4756d8a3 | 01-Apr-2021 |
Gerrit Uitslag <klapinklapin@gmail.com> |
add unit test for namespace exclusion in ft_pageLookup() |
| 248d652b | 01-Apr-2021 |
Gerrit Uitslag <klapinklapin@gmail.com> |
exclude ns in pagelook ups
Enables excluding namespaces in the quick search of the searchform https://github.com/Klap-in/dokuwiki-plugin-searchform/issues/7 |
| a332d288 | 31-Mar-2021 |
Thien Hau <thienhau.9a14@gmail.com> |
translation update |
| 1525c228 | 28-Mar-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Simplify code for checking user groups |
| de1dc35b | 27-Mar-2021 |
Nicolas Friedli <nicolas@theologique.ch> |
Obsolete attribute
According the W3 HTML validator: Warning: The charset attribute on the script element is obsolete. |
| 8d7a31bc | 26-Mar-2021 |
Markus Glaser <glaser@hallowelt.com> |
translation update |
| 4f582736 | 20-Mar-2021 |
Guillaume Turri <guillaume.turri@gmail.com> |
Add tests on sectionID and fixes #3436
This commit fixes a bug on sectionID which could lead to having duplicated id.
Note that this commit changes the API a bit $check used to be a key-value array
Add tests on sectionID and fixes #3436
This commit fixes a bug on sectionID which could lead to having duplicated id.
Note that this commit changes the API a bit $check used to be a key-value array (with key=the origin id, and value=the number of time this id has been generated) and is now just an array of string. That's because the previous structure couldn't work.
As far as Dokuwiki sources are concerned, this change should have no impact because: - most call to sectionID are done with $check=false (and the behavior in this case isn't changed - only Doku_Renderer->_headerToLink passes an actual array to this method. But this array is initialized empty, it is only filled and read by sectionID itself. (this Doku_Renderer->headers array is protected but the classes which extends it aren't referring this array).
It could still break usages of pluging that would call sectionID and rely on the format of this array. But even if this commits kept $check as an array<string, bool> (for instance setting the values to 1) the semantic wouldn't be the same.
To put it in a nutshell: - this change of API has 0 impact on the core of Dokuwiki - there is no evidence that it would impact other code - there doesn't seem to be a clean way to avoid this change
This commit fixes #3436
show more ...
|
| 3078c453 | 19-Mar-2021 |
Olivier Humbert <trebmuh@tuxfamily.org> |
translation update |
| 72a969d4 | 18-Mar-2021 |
Olivier Humbert <trebmuh@tuxfamily.org> |
translation update |
| a1ef6903 | 18-Mar-2021 |
Nicolas Friedli <nicolas@theologique.ch> |
translation update |
| 056469f9 | 12-Mar-2021 |
Gustavo B. Schenkel <gustavo.schenkel@gmail.com> |
translation update |
| 834b0b20 | 06-Mar-2021 |
Anika Henke <anika@selfthinker.org> |
Add semantic section elements to dokuwiki template
This changes the divs for the main content, header, footer, sidebar and page tools to their semantic equivalent (main, header, footer, nav and nav
Add semantic section elements to dokuwiki template
This changes the divs for the main content, header, footer, sidebar and page tools to their semantic equivalent (main, header, footer, nav and nav again) and adds ARIA labels where appropriate. The media manager popup changes to have a main and a nav.
show more ...
|
| c8241b3b | 06-Mar-2021 |
Damien Regad <dregad@mantisbt.org> |
Add missing `;` causing syntax error in js.php |
| a417911a | 04-Mar-2021 |
Andreas Gohr <andi@splitbrain.org> |
Run tests on PHP 8.0 now |
| 3e555995 | 24-Feb-2021 |
MaWi <drmaxxis@gmail.com> |
translation update |
| b7fa23a3 | 23-Feb-2021 |
Nikita <obraztsov568@gmail.com> |
translation update |
| 9dcfcc15 | 20-Feb-2021 |
Michael Große <mic.grosse@googlemail.com> |
test: run test in separate process in case of error
If there is an error when executing the method under test, then this test caused the downstream test \remoteapicore_test::test_getBacklinks to une
test: run test in separate process in case of error
If there is an error when executing the method under test, then this test caused the downstream test \remoteapicore_test::test_getBacklinks to unexpectedly fail. Probably, because the global plugin controller would not have been reset to its original value.
Running this test in its own process ensures that it won't affect any other test, even if it messes with the global state and doesn't clean up.
show more ...
|
| e855b7ed | 20-Feb-2021 |
Michael Große <mic.grosse@googlemail.com> |
test: fix two tests on PHP8
On PHP8 trying to access a non-existing array key leads to a warning, which we might treat as errors?
This incidentally also fixes another test downstream which broke be
test: fix two tests on PHP8
On PHP8 trying to access a non-existing array key leads to a warning, which we might treat as errors?
This incidentally also fixes another test downstream which broke because this rendering test changes the global plugin controller, but doesn't clean it up that if the test errors.
-9000 is used as the position to make it obvious that this number is meaningless for this test.
show more ...
|
| 5805f15a | 20-Feb-2021 |
Michael Große <mic.grosse@googlemail.com> |
style: fix test code style
This makes all the basic phpcs style fixes and adds visibility to the class methods. |
| f7acdb5e | 16-Feb-2021 |
Andreas Gohr <andi@splitbrain.org> |
fix method handling for RPC_CALL_ADD
This event seems not to be used by any plugin, which explains why this bug hasn't surfaced yet. Access is always checked against a full method name in the form o
fix method handling for RPC_CALL_ADD
This event seems not to be used by any plugin, which explains why this bug hasn't surfaced yet. Access is always checked against a full method name in the form of plugin.<pluginname>.<method> Such a full method was not passed when using an event as described in the documentation.
show more ...
|
| 01c53a65 | 16-Feb-2021 |
Andreas Gohr <andi@splitbrain.org> |
destroy the JPEGMeta object after use
On windows systems a file can not be deleted while processes still have a handle on them. JPEGMeta seems not to close its file handle correctly. Usually thats n
destroy the JPEGMeta object after use
On windows systems a file can not be deleted while processes still have a handle on them. JPEGMeta seems not to close its file handle correctly. Usually thats not a problem in short lived processes where everything is garbage collected at the end, however within a test request the object may live on a little longer causing problems.
show more ...
|
| c85f645e | 16-Feb-2021 |
Andreas Gohr <andi@splitbrain.org> |
upgrade simplepie to 1.5.6 |
| 8d670f35 | 16-Feb-2021 |
Andreas Gohr <andi@splitbrain.org> |
dwpage: output meta data as JSON
json shows the same nested data but is easier to process by other tools |
| 3fe01844 | 16-Feb-2021 |
Andreas Gohr <andi@splitbrain.org> |
dwpage: rename gmeta into getmeta |