History log of /dokuwiki/inc/common.php (Results 76 – 100 of 546)
Revision Date Author Comments
# 056bf31f 06-Feb-2021 Damien Regad <dregad@mantisbt.org>

Fix various errors in PHPUnit tests on PHP 8


# 98fe1ac9 27-Jan-2021 Damien Regad <dregad@mantisbt.org>

Remove ! operator causing unit tests to fail


# 357c9a39 27-Jan-2021 Damien Regad <dregad@mantisbt.org>

Fix undefined array keys when displaying images


# c10f256a 26-Jan-2021 Damien Regad <dregad@mantisbt.org>

Fix Undefined array key "DOKU_PREFS" in common.php


# 0a5f08e5 27-Oct-2020 AdaKaleh <31895292+adakaleh@users.noreply.github.com>

Minor optimization of clientIP()

Remove unnecessary assignment, check the output of filter_var() directly.


# b75887c8 29-Sep-2020 AdaKaleh <31895292+adakaleh@users.noreply.github.com>

Remove $match, as it's no longer used


# 6a3c8020 29-Sep-2020 AdaKaleh <31895292+adakaleh@users.noreply.github.com>

Simplify clientIP() function

Replace regexps with FILTER_VALIDATE_IP


# c0dd3914 27-Sep-2020 AdaKaleh <31895292+adakaleh@users.noreply.github.com>

Remove clientIP() verification from page locking

For editing without a user account, session_id() verification is
more appropriate.

This will make page locking work for people editing the wiki from

Remove clientIP() verification from page locking

For editing without a user account, session_id() verification is
more appropriate.

This will make page locking work for people editing the wiki from
the same IP (which can happen in an office space, for example).

As discussed in https://forum.dokuwiki.org/d/18284-dont-store-ip-addresses/5

show more ...


# a32da6dd 25-Sep-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

change Index objects to non-singleton

Indexer, FulltextIndex, MetadataIndex uses common directory to store *.idx files, but this does not mean they should be singleton objects to avoid lock confrict

change Index objects to non-singleton

Indexer, FulltextIndex, MetadataIndex uses common directory to store *.idx files, but this does not mean they should be singleton objects to avoid lock confrictions.

show more ...


# 9de2cebc 07-Jun-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

Merge branch 'master' into Refactor_Fulltext


# 46028c4c 04-Jun-2020 Andreas Gohr <andi@splitbrain.org>

Move defines to their own file

As described in
https://github.com/dwp-forge/columns/issues/5#issuecomment-638467603
sometime the Lexer constants have not been (auto)loaded when a syntax plugin
is in

Move defines to their own file

As described in
https://github.com/dwp-forge/columns/issues/5#issuecomment-638467603
sometime the Lexer constants have not been (auto)loaded when a syntax plugin
is invoked (I'm not sure why).

In general PSR2 discourages a mix of main code and function/class setup
with the call to define() being considered main code.

This patch moves these the define calls to a separate new file, solving
both of the above problems.

These are not all our defines. Instead I focused on the ones that are
ENUM-like.

In the future we should think about what defines can be replaced by
class constants and what other define() calls should be moved.

show more ...


# e36bcee7 25-May-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

Merge branch 'master' into Refactor_Fulltext


# c8cc4053 04-May-2020 Andreas Gohr <andi@splitbrain.org>

Merge branch 'nomailerrors'

* nomailerrors:
replaced deprecated function call
suppress errors messages in Mailer for non-admins #3014
more tests and a fix for #3036
added failing test for #3

Merge branch 'nomailerrors'

* nomailerrors:
replaced deprecated function call
suppress errors messages in Mailer for non-admins #3014
more tests and a fix for #3036
added failing test for #3036

show more ...


# c1ec88ce 01-May-2020 Andreas Gohr <andi@splitbrain.org>

remove calls to deprecated methods and classes


# 3314f3f5 01-May-2020 Andreas Gohr <andi@splitbrain.org>

Merge pull request #3007 from splitbrain/only-new

implemented only_new option for RSS feed


# 86858d7e 29-Apr-2020 Andreas Gohr <andi@splitbrain.org>

replaced deprecated function call


# 9efb6f4a 25-Mar-2020 Phy <git@phy25.com>

check if user is empty in userSubscription, fixes #2003

This makes sure SubscriberRegexBuilder is used properly and won't throw exception in userSubscription.


# 08e9b52f 16-Jun-2019 Phy <git@phy25.com>

Renamed constant to RECENTS_ONLY_CREATION

This clarifies that it also works when requesting media changelog.


# 68f43bcf 26-Oct-2018 Tero Kivinen <kivinen@iki.fi>

Implemented only_new option for RSS feed, so you can request RSS feed that contains only new files.


# 4a90f94b 02-Feb-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

move backlinks() and mediause() into MediaIndex class


# e9d278b7 31-Jan-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

Merge remote-tracking branch 'upstream/master' into Refactor_Fulltext


# 246d3337 29-Jun-2018 Michael Große <grosse@cosmocode.de>

♻️ Rename flag to better show actual effect

This flag only causes parameters with empty strings to be skipped,
not all empty() values.


# 2cbd2b9a 16-Jan-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

Merge branch 'master' into Refactor_Fulltext


# 0cba610b 14-Jan-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

rewrite deprecated ft_* functions


# 68491db9 01-Dec-2019 Phy <git@phy25.com>

PHP8 fix part 5: Trying to access array offset on value of type bool/null


12345678910>>...22