| 66de2ac1 | 05-Oct-2020 |
qezwan <qezwan@gmail.com> |
translation update |
| 8ae95f3d | 05-Oct-2020 |
qezwan <qezwan@gmail.com> |
translation update |
| 2927f24d | 05-Oct-2020 |
qezwan <qezwan@gmail.com> |
translation update |
| 0af56784 | 05-Oct-2020 |
qezwan <qezwan@gmail.com> |
translation update |
| 471830b4 | 05-Oct-2020 |
qezwan <qezwan@gmail.com> |
translation update |
| bfcf8009 | 30-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 ...
|
| 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 |
| 9d84533c | 28-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(). |
| 4d69838b | 28-Sep-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
add missing namespace to fallbacks |
| 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 ...
|
| b13c0e1a | 27-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 ...
|
| 09e982a8 | 27-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 |
| 72ebc99b | 26-Sep-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
dbglog() for SearchException |
| cc3a3cde | 26-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. |
| 1755450b | 26-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. |
| 5792814c | 25-Sep-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
fix scrutinizer claims |
| 725e8e5f | 25-Sep-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
instantiate *Index with numeric page id
will reduce access to static $pidCache |
| 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 ...
|
| 89e3dd38 | 22-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. |
| a16bd548 | 21-Sep-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
remove unnecessary if blocks
getPID(), saveIndex(), saveIndexKey(), getPageWords() return always true, otherwise exceptions. |
| 265e2c92 | 21-Sep-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
throw IndexWriteException in saveIndex()/saveIndexkey() |
| 2162df3a | 13-Sep-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
update phpdoc |
| 8a5f08af | 11-Sep-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
deprecate html_form()
encourage plugin devs to use new Form class |
| bafe7468 | 11-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 |