History log of /dokuwiki/inc/ (Results 901 – 925 of 6646)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
66de2ac105-Oct-2020 qezwan <qezwan@gmail.com>

translation update

8ae95f3d05-Oct-2020 qezwan <qezwan@gmail.com>

translation update

2927f24d05-Oct-2020 qezwan <qezwan@gmail.com>

translation update

0af5678405-Oct-2020 qezwan <qezwan@gmail.com>

translation update

471830b405-Oct-2020 qezwan <qezwan@gmail.com>

translation update

bfcf800930-Sep-2020 Andreas Gohr <andi@splitbrain.org>

refactor page and media resolving, introduce ~ shortcut

This moves the resolve_id() type of functions into their own class
hierarchy.

A new shortcut to be used in links is introduced. The tilde ~ c

refactor page and media resolving, introduce ~ shortcut

This moves the resolve_id() type of functions into their own class
hierarchy.

A new shortcut to be used in links is introduced. The tilde ~ can be
used to reference the current page as a namespace. This is useful to
dynamically create a new namespace from an existing page, effectively
making that page the start page. It allows for a more dynamic growth of
the wiki and makes use of the rarer used "startpage named like the
namespace" method for start pages.

The existing code has not been modified, yet and continues to use the
old, now deprecated methods. Some tests are still failing - before they
are fixed, the expected behaviour needs to be discussed.

show more ...

b75887c829-Sep-2020 AdaKaleh <31895292+adakaleh@users.noreply.github.com>

Remove $match, as it's no longer used

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

Simplify clientIP() function

Replace regexps with FILTER_VALIDATE_IP

9d84533c28-Sep-2020 AdaKaleh <31895292+adakaleh@users.noreply.github.com>

Remove HTTP_ACCEPT from auth_browseruid()

The Accept header changes based on requested resource type,
so it is not suited for auth_browseruid().

4d69838b28-Sep-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

add missing namespace to fallbacks

c0dd391427-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 ...

b13c0e1a27-Sep-2020 AdaKaleh <31895292+adakaleh@users.noreply.github.com>

Improve auth_browseruid()

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

- remove the deprecated HTTP_ACCEPT_CHARSET
- add HTTP_ACCEPT_LANGUAGE
- add HTTP_ACCEPT_ENCOD

Improve auth_browseruid()

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

- remove the deprecated HTTP_ACCEPT_CHARSET
- add HTTP_ACCEPT_LANGUAGE
- add HTTP_ACCEPT_ENCODING
- add HTTP_ACCEPT
- use half of the IP address
- add support for IPv6
- use SHA256 instead of MD5

Also:

- remove `$uid = strtolower($uid)`, as it doesn't seem to help

show more ...

09e982a827-Sep-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

use EDIT_FORM_ADDTEXTAREA

change event name to prevent breaks in old HTML_EDIT_FORMSELECTION or early proposed EDIT_FORM_ALTERNATE event handler, such as edittable plugin

72ebc99b26-Sep-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

dbglog() for SearchException

cc3a3cde26-Sep-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

change MetadataSearch and FulltextSearch to non-singleton

singleton is not effective to reduce multiple instantiations, especially for MetadataSearch which is frequently used in ajax call.

1755450b26-Sep-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

change Tokenizer static utility

frequently used in ajax call, singleton is not effective to reduce multiple instantiations.

5792814c25-Sep-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

fix scrutinizer claims

725e8e5f25-Sep-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

instantiate *Index with numeric page id

will reduce access to static $pidCache

a32da6dd25-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 ...

89e3dd3822-Sep-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

avoid null in addMetaKeys()

Just ignore $value argument if $key argument is array .
Ignore enpty key of $key argument.
Ensure to treat any null value of $key array as empty string.

a16bd54821-Sep-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

remove unnecessary if blocks

getPID(), saveIndex(), saveIndexKey(), getPageWords() return always true, otherwise exceptions.

265e2c9221-Sep-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

throw IndexWriteException in saveIndex()/saveIndexkey()

2162df3a13-Sep-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

update phpdoc

8a5f08af11-Sep-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

deprecate html_form()

encourage plugin devs to use new Form class

bafe746811-Sep-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

use new event EDIT_FORM_ALTERNATE

to prevent breaks in old HTML_EDIT_FORMSELECTION event handler, such as edittable plugin

1...<<31323334353637383940>>...266