History log of /dokuwiki/lib/plugins/config/settings/config.metadata.php (Results 1 – 25 of 134)
Revision Date Author Comments
# 19d5ba27 09-Jan-2025 Andreas Gohr <andi@splitbrain.org>

rename trustedproxy option to trustedproxies

We use a new format (array instead of regex) and need a sure way to
recognize it. Zebra's approach would not have survived the editing via
config manager

rename trustedproxy option to trustedproxies

We use a new format (array instead of regex) and need a sure way to
recognize it. Zebra's approach would not have survived the editing via
config manager.
As a side effect this also introduces a new languange string, which is
good because the old one did no longer apply.

show more ...


# df9e4a18 22-Dec-2023 Andreas Gohr <andi@splitbrain.org>

automatically prune old logs

This adds a new configuration that allows to define how many logfiles
per facility should be kept. Old files are pruned daily via the task
runner.


# d4f83172 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: line breaks


# 467c1427 29-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector fixes to config plugin


# 486f82fc 21-Aug-2023 Andreas Gohr <andi@splitbrain.org>

add setting to define the samesite cookie policy

As mentioned in
https://github.com/dokuwiki/dokuwiki/pull/3994#pullrequestreview-1473052428
there might be occasions when users might want to change

add setting to define the samesite cookie policy

As mentioned in
https://github.com/dokuwiki/dokuwiki/pull/3994#pullrequestreview-1473052428
there might be occasions when users might want to change the policy to a
stricter one or the somewhat more lenient Lax implementation of current
browsers.

show more ...


# bbe6b3a7 12-Oct-2022 Andreas Gohr <andi@splitbrain.org>

Remove the htmlok and phpok embedding options

Both options have grave security implications and novice users seem to
ignore advice about them. In the last decades I never came across a wiki
that had

Remove the htmlok and phpok embedding options

Both options have grave security implications and novice users seem to
ignore advice about them. In the last decades I never came across a wiki
that had legitimate use of these options.

If someone needs the functionality, it can easily be added back using a
plugin. But I prefer to give users one less option to shoot themselves
in the foot.

Removal of the translations for the config strings can follow after this
has been merged.

show more ...


# be6462f4 13-Aug-2022 Andreas Gohr <andi@splitbrain.org>

log warnings to error log

This introduces an error handler that will log warnings, including a
stack trace in the error log. This should help plugin and core authors with
identifying cases of uninit

log warnings to error log

This introduces an error handler that will log warnings, including a
stack trace in the error log. This should help plugin and core authors with
identifying cases of uninitilized variables in PHP8+ environments.

A feature flag (default off) will let users temporarily disable the
display of warnings in the frontend. This should allow the usage of not
yet upgraded plugins in many cases. In the future the flag can be
removed again.

show more ...


# 3df364a3 25-Apr-2022 Timo Richter <timo.richter@richter-leiterplatten.de>

CORS on XMLRMPC API

This allows setting a CORS header to make the xmlrpc API accessible from
JavaScript clients directly in the browser.


# d8ab8746 26-Dec-2021 Andreas Gohr <andi@splitbrain.org>

Revert "Merge pull request #3039 from takuy/video-attributes"

This reverts commit 408d79f78505248f9ccb44bd2561cedc250ce5a1, reversing
changes made to b7c67f83bd81eff3186e4ebd2d9e86cd2c32468d.


# 408d79f7 20-Dec-2021 Andreas Gohr <andi@splitbrain.org>

Merge pull request #3039 from takuy/video-attributes

Add handling for video embed attributes


# cad4fbf6 13-Aug-2020 Andreas Gohr <andi@splitbrain.org>

added logging configuration

Log facitlities can now be disabled. By default only debug is disabled.
It might make sense to by default disable deprecated as well?

Debug logging is now independend of

added logging configuration

Log facitlities can now be disabled. By default only debug is disabled.
It might make sense to by default disable deprecated as well?

Debug logging is now independend of the allowdebug method. allowdebug
was often used in two ways: for displaying errors directly to the user
and for logging to the debug log. Now it only controls the former.

show more ...


# 4a572c5a 06-Apr-2020 Sam <1631095+takuy@users.noreply.github.com>

add options & defaults to config, no* counterparts


# 7b299f22 21-Sep-2017 Aurélien Martin <01aurelien@gmail.com>

Add option rss_show_deleted


# fc6b11d2 26-Jan-2020 Michael Große <mic.grosse@googlemail.com>

Add feature flag for deferred javascript

This adds a feature flag for the jQuery and main-js requests added in
#2786 and #2958. This adds only a single feature flag since deferring
jQuery without d

Add feature flag for deferred javascript

This adds a feature flag for the jQuery and main-js requests added in
#2786 and #2958. This adds only a single feature flag since deferring
jQuery without deferring the main javascript request is likely to cause
errors and confusion.

The feature flag defaults to "on" as this should be unproblematic except
for a few plugins. Also, with this flag being on by default, it should
see more usage and is more likely to uncover existing issues.

This feature flag should be removed once this feature is deemed safe.

show more ...


# 6527515c 15-Jan-2020 Michael Große <mic.grosse@googlemail.com>

Fix one remaining line being too long for PSR-12

This slipped in with #2957 between the checks on #2945 being run and
that pull request being merged.


# 38a4a86e 09-Jan-2020 Christian Marg <marg@rz.tu-clausthal.de>

Added password change support for argon2i/argon2id, added matching config options and hash_X functions


# 925105e8 21-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 ...


# 277113f1 27-Jul-2018 Andreas Gohr <andi@splitbrain.org>

Merge branch 'master' into psr2

* master:
upgraded JSON class to latest (2006) version
continue is break in switch
translation update
reference existing proper progress gif. fixes #2441
Fi

Merge branch 'master' into psr2

* master:
upgraded JSON class to latest (2006) version
continue is break in switch
translation update
reference existing proper progress gif. fixes #2441
Fix missing ui-bg_glass_95_fef1ec_1x400.png and be/jquery.ui.datepicker.js for jquery
removed accidental merges of outdated translations
Change `const` use to `var` for Safari 9 (on iOS)
Fix .htaccess files for Apache 2.4 (and 2.2)
add logic if the server uses unlimited memory settings in is_mem_available()
removed safemode hack

show more ...


# fe227084 07-Jun-2018 Andreas Gohr <gohr@cosmocode.de>

removed safemode hack

Safemode has been removed in PHP 5.4.0. We finally no longer need to
deal with this insanity.


# 4667676b 01-Jun-2018 Andreas Gohr <andi@splitbrain.org>

clean settings data


# c6639e6a 11-May-2018 Andreas Gohr <andi@splitbrain.org>

start of refactoring the config plugin

split up all the files and added namespaces. everything broken


# 64159a61 27-Apr-2018 Andreas Gohr <andi@splitbrain.org>

line lengths shortened

This makes sure all files use line lenghts shorter than 120 characters.

This is a quick fix. It might not always be the nicest change.


# 13ce475d 11-Apr-2018 Andreas Gohr <gohr@cosmocode.de>

shortened new search configs

shorter names are more in line with what we already use, makes less
layout problems in the documentation and is easier to type when telling
people about it.


# d09b5b64 22-Mar-2018 Michael Große <grosse@cosmocode.de>

feat(search): add config options to adjust default behavior

This adds two new config options:

`search_limit_to_first_ns`:
Limit the search to the current X namespaces. When a search is executed
fro

feat(search): add config options to adjust default behavior

This adds two new config options:

`search_limit_to_first_ns`:
Limit the search to the current X namespaces. When a search is executed
from a page within a deeper namespace, the first X namespaces will be
added as filter.
Possible use case could be with language namespaces to ensure that the
default search is initially within the current language.

`search_default_fragment_behaviour`:
Option to specify the default fragment search behavior

show more ...


# 5f43dcf4 28-Oct-2017 Lukas Rademacher <lukas@rademacher.ac>

Support for configurable e-mail return path


123456