History log of /dokuwiki/lib/ (Results 576 – 600 of 4510)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
5312cb0b03-Oct-2019 Syntaxseed <825423+syntaxseed@users.noreply.github.com>

Fix PHP 7.3 deprecations in lib/ directory.

1b02711527-Oct-2019 Henry Pan <git@phy25.com>

clarified trustedproxy - empty = trust no proxy

8dd75a5c25-Oct-2019 C!own77 <clown77@posteo.de>

translation update

d89b5df623-Oct-2019 Michael Loßin <bugs@michael-lossin.de>

Update de, de-informal

9c3f55f823-Oct-2019 Satoshi Sahara <sahara.satoshi@gmail.com>

sort plugins in plugin_list()

69a5fafd23-Oct-2019 Satoshi Sahara <sahara.satoshi@gmail.com>

Revert "eliminate access to global $plugin_controller"

This reverts commit 2b1bb8ffafe5d72c35b81659b1d96b8dc19f0de3.

267a546323-Oct-2019 Satoshi Sahara <sahara.satoshi@gmail.com>

Revert "sort plugins in Config Manager"

This reverts commit d2a8ea656a16abfd37fe4ffb58d1cf7e4ddf2e15.

3faa643822-Oct-2019 HokkaidoPerson <dosankomali@yahoo.co.jp>

translation update

57d571a221-Oct-2019 Andreas Gohr <andi@splitbrain.org>

clarified trustedproxy setting

2b1bb8ff21-Oct-2019 Satoshi Sahara <sahara.satoshi@gmail.com>

eliminate access to global $plugin_controller

d2a8ea6521-Oct-2019 Satoshi Sahara <sahara.satoshi@gmail.com>

sort plugins in Config Manager

925105e821-Oct-2019 Phy <git@phy25.com>

clientIP: add trustedproxy, return first untrusted IP instead of the last one

This fixes #2828, where malicious clients passed in customized HTTP header to keep its IP address off records.

This is

clientIP: add trustedproxy, return first untrusted IP instead of the last one

This fixes #2828, where malicious clients passed in customized HTTP header to keep its IP address off records.

This is inspired by Sympony's Request::setTrustedProxies, but I don't want to implement everything including IP CIDR matching (IPv4 + IPv6), so I decided to reuse the local IP checker in place powered by regexp. Now admins can customize this "local" (trusted) proxy list using $conf['trustedproxy'], and by default it will allow any local IPs.

If in the future there is a need to implement array-based CIDR matching, $conf['trustedproxies'] can be used for the new config name.

show more ...

5fdc2ff217-Sep-2019 Phy <git@phy25.com>

css_compress: quote placeholder to simply quote protection

There are two ways of doing this:

1. "doku" > STR1 > "doku"
2. "doku" > "1" > "doku"

#1 is what I did before. I did replace STRN with a n

css_compress: quote placeholder to simply quote protection

There are two ways of doing this:

1. "doku" > STR1 > "doku"
2. "doku" > "1" > "doku"

#1 is what I did before. I did replace STRN with a new placeholder in the previous implementation so that there is no conflict. However #2 is more elegant, so this commit implements it.

Test is updated to address splitbrain's concern about placeholder string in the original text.

show more ...

ba234b1810-Jan-2019 Phy <git@phy25.com>

css_compress: use placeholder to keep quoted strings, fixes #2517

The idea mainly comes from https://github.com/matthiasmullie/minify/blob/97f118c4c745c7c8e47207f2daf3bab13ca65404/src/Minify.php#L343

7ecc081f15-Oct-2019 Andreas Gohr <gohr@cosmocode.de>

ACL Plugin: make item formatter public again

The formatter needs to be public to be called from html_buildlist()

49bcbaee15-Oct-2019 Andreas Gohr <gohr@cosmocode.de>

Do config backups with .php extension fixes #2446

d0c72da010-Oct-2019 Aleksandr Selivanov <alexgearbox@yandex.ru>

translation update

618a950408-Oct-2019 Bartek S <sadupl@gmail.com>

translation update

410dd8d208-Oct-2019 Bartek S <sadupl@gmail.com>

translation update

13eec64801-Oct-2019 Syntaxseed <825423+syntaxseed@users.noreply.github.com>

Check for null JS object on form field.

a162d64928-Sep-2019 Florian <florianmail55@gmail.com>

translation update

32168a7827-Sep-2019 Guillaume Turri <guillaume.turri@gmail.com>

Rename _acl_add to _acl_addOrUpdate

because that's what this method actually does now

3f1e003727-Sep-2019 Guillaume Turri <guillaume.turri@gmail.com>

Fix #1115

without this patch calling _acl_add may result in a corrupted acl.auth.php file.
This is the case when we're adding a config for a user and a scope with an
existing config.

The fix is jus

Fix #1115

without this patch calling _acl_add may result in a corrupted acl.auth.php file.
This is the case when we're adding a config for a user and a scope with an
existing config.

The fix is just to call the _acl_del method before perming the addition.

Note that this _acl_add method is currently called from two places:
- from admin_plugin_acl.handle() which was explicitely calling _acl_del before
- from remote_plugin_acl.addAcl, which can actually result in a corrupted file

show more ...

118b256824-Sep-2019 PaliPalo <palipalo@hotmail.fr>

translation update

be3146e321-Sep-2019 Mario AlexandTeixeira dos Santos <masterofclan@gmail.com>

translation update

1...<<21222324252627282930>>...181