| 8b68e0b8 | 08-Mar-2020 |
Phy <git@phy25.com> |
use install.php $LC and en default for license url language code
install.php includes license.php without $conf array so we need to determine the value.
This fixes #2999. |
| 4bdfdb32 | 08-Mar-2020 |
Phy <git@phy25.com> |
separate some test AuthPlugins to single files
created AuthDeletePlugin and AuthCaseInsensitivePlugin under dokuwiki\test\mock |
| 7a0654be | 08-Mar-2020 |
Phy <git@phy25.com> |
check RemoteException code in unit tests |
| b98368cc | 16-Aug-2019 |
Schplurtz le Déboulonné <Schplurtz@laposte.net> |
fix typo in phpdoc comment |
| b53267d3 | 17-Jun-2019 |
Phy <git@phy25.com> |
Change cases of assertTrue in tests |
| 862a2eae | 10-Jun-2019 |
Schplurtz le Déboulonné <Schplurtz@laposte.net> |
fix missing $ in variable use |
| 0f43ea44 | 10-Jun-2019 |
Schplurtz le Déboulonné <Schplurtz@laposte.net> |
add drupal and seafile hash methods |
| 7d3a1fc9 | 06-Mar-2020 |
bleistivt <me@bleistivt.net> |
Add test for video titles |
| 6d7829a7 | 03-Mar-2020 |
Phy <git@phy25.com> |
add alternative support for PHP not throwing ArgumentCountError in remote/APi
PHP 5.6 and 7.0 won't throw ArgumentCountError. In this case, we use set_error_handler on E_WARNING and throw exceptions
add alternative support for PHP not throwing ArgumentCountError in remote/APi
PHP 5.6 and 7.0 won't throw ArgumentCountError. In this case, we use set_error_handler on E_WARNING and throw exceptions if it's about argument missing.
show more ...
|
| 2fc08911 | 03-Mar-2020 |
Phy <git@phy25.com> |
suppress argument missing warnings on remote API test
This makes sure PHPUnit won't convert warnings into exceptions, and thus behaves as the same as regular DokuWiki where E_NOTICE is suppressed. |
| 5c6412cc | 03-Mar-2020 |
Phy <git@phy25.com> |
rename vague AuthPlugin used by remote and authdelete tests |
| 81f50a50 | 03-Mar-2020 |
Phy <git@phy25.com> |
add unit tests that check exception type on remote args missing for #2545 |
| e1215f13 | 03-Mar-2020 |
Phy <git@phy25.com> |
catch ArgumentCountError and return XML error message for remoteAPI, fixes #2545
This is caused by a PHP 7.1 change: https://www.php.net/manual/en/migration71.incompatible.php #migration71.incompati
catch ArgumentCountError and return XML error message for remoteAPI, fixes #2545
This is caused by a PHP 7.1 change: https://www.php.net/manual/en/migration71.incompatible.php #migration71.incompatible.too-few-arguments-exception
Previously call_user_func_array will make those missing arguments to NULL without throwing an exception.
show more ...
|
| a9284ce8 | 03-Mar-2020 |
Phy <git@phy25.com> |
set default argument value for some of remote methods
most are array params and one int. Note that before if they were not present from the remote request, a null will be applied to the argument, so
set default argument value for some of remote methods
most are array params and one int. Note that before if they were not present from the remote request, a null will be applied to the argument, so this is actually applying the correct data type on the arguments.
show more ...
|
| 2ae2e001 | 02-Mar-2020 |
Phy <git@phy25.com> |
relax Revert permission to EDIT from manager
Revert is another type of edit, which may be simulated by manual editing without using this shortcut. This patch thus relaxes the permission check.
Than
relax Revert permission to EDIT from manager
Revert is another type of edit, which may be simulated by manual editing without using this shortcut. This patch thus relaxes the permission check.
Thank you @Klap-in for pointing this out.
show more ...
|
| 59305168 | 02-Mar-2020 |
Phy <git@phy25.com> |
Remove obsolete attributes at <script> tag
Nowadays it is not necessary to specify "type" or "charset" attribute at <script> tag:
1. "type" attribute defaults to "application/javascript", so there
Remove obsolete attributes at <script> tag
Nowadays it is not necessary to specify "type" or "charset" attribute at <script> tag:
1. "type" attribute defaults to "application/javascript", so there is no need to specify that. The recent value "text/javascript" is obsolete in favor of the default "application/javascript", as stated e.g. here: https://www.iana.org/assignments/media-types/media-types.xhtml#text
2. "charset" attribute of the <script> tag defaults to encoding be the same as the encoding of the script element's node document. As DokuWiki's default encoding is "utf-8", there is no need to specify this encoding in external resources. See: https://html.spec.whatwg.org/multipage/scripting.html#the-script-element
Manual merging, closes #2921.
Co-Authored-By: petrkajzar <58340153+petrkajzar@users.noreply.github.com>
show more ...
|
| a8dcb874 | 29-Feb-2020 |
bleistivt <bleistivt@users.noreply.github.com> |
Prevent double encoding audio/video titles |
| 30ee8867 | 29-Feb-2020 |
kalenpw <kalenpwilliams@gmail.com> |
Use getters instead of deprecated property |
| 387250ef | 29-Feb-2020 |
Phy <git@phy25.com> |
Add random_bytes check in installer
Fixes #1892. This will be triggered by:
- PHP 7+: "If an appropriate source of randomness cannot be found, an Exception will be thrown" - paragonie/random_compat
Add random_bytes check in installer
Fixes #1892. This will be triggered by:
- PHP 7+: "If an appropriate source of randomness cannot be found, an Exception will be thrown" - paragonie/random_compat: PHP 5.6 support will fail if urandom is not readable
show more ...
|
| 033eb35b | 29-Feb-2020 |
kalenpw <kalenpwilliams@gmail.com> |
Consistent capilization of io_saveFile and psr-2 formatting |
| 2f19acc2 | 28-Feb-2020 |
bleistivt <bleistivt@users.noreply.github.com> |
Show pencil symbol on preview |
| 35253a83 | 28-Feb-2020 |
Torgeir Blesvik <bletor@banenor.no> |
translation update |
| 050990ca | 24-Feb-2020 |
Phy <git@phy25.com> |
jquery-migrate: replace on()/trigger() shorthand and use prop() for disabled attr
Related to #1546. |
| 649a2725 | 22-Feb-2020 |
Phy <git@phy25.com> |
calculate content min-height based on height of aside and pagetool
Fixes #1716. Before it will only set min-height based on aside height.
I added a current height check before applying min-height,
calculate content min-height based on height of aside and pagetool
Fixes #1716. Before it will only set min-height based on aside height.
I added a current height check before applying min-height, because there might be a min-height CSS on .page in stylesheet, and I want to respect that and only apply if necessery.
show more ...
|
| f11bfd36 | 20-Feb-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
check linktype of bugtrackerURL
The "report bugs" link in the plugin's home page may be located to the same page in some extensions. |