| 741d531e | 15-May-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Cleanup of function sort_filenames() [name changed]
Name changed from natural_sort() to sort_filenames(). Fixed behavior without collator: page name sorting reflected in filename array. Fix of searc
Cleanup of function sort_filenames() [name changed]
Name changed from natural_sort() to sort_filenames(). Fixed behavior without collator: page name sorting reflected in filename array. Fix of search() function in "search.php".
Functions that call search() and now have the expected results: Ajax.php:188, callMedians(): Return subnamespaces for the Mediamanager Ajax.php:322, callIndex(): Return sub index for index view Ajax.php:392, callLinkwiz(): List matching namespaces and pages for the link wizard html.php:908, html_index(): Display page index media.php:713, media_filelist(): List all files in a given Media namespace media.php:1528, media_searchlist(): List all files found by the search request media.php:1966, media_nstree(): Build a tree outline of available media namespaces Remote\ApiCore.php:349, readNamespace(): List all pages in the given namespace (and below) Remote\ApiCore.php:432, listAttachments(): List all media files
Screens fixed: - Index - All media lists (including fullscreen) - Internal link suggestion when editing a page
show more ...
|
| ea0a5677 | 14-May-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Cleanup of function _init_collator()
Debug messages added. |
| 10396f77 | 12-May-2020 |
Andreas Gohr <andi@splitbrain.org> |
use serialized cache key for isAdmin/isManager cache
This avoids potential collisions. |
| 8d43d15e | 11-May-2020 |
Andreas Gohr <andi@splitbrain.org> |
fix tests for cached isAdmin/isManager |
| 96348f27 | 11-May-2020 |
Andreas Gohr <andi@splitbrain.org> |
Cache results of isAdmin and isManager
isAdmin() is called within the ACL check (and probably various other places in DokuWiki core). In a Wiki with lots of ACL checks (most noticable with the index
Cache results of isAdmin and isManager
isAdmin() is called within the ACL check (and probably various other places in DokuWiki core). In a Wiki with lots of ACL checks (most noticable with the indexmenu) and users with a lot of groups (as typical in corporate ActiveDirectory environments) this check can take a significant portion of the time of a request time doing exactly the same thing again and again.
This introduces a static request level cache for the result of the isAdmin and isManager checks based on the requested user and groups.
A new parameter allows to skip the cache, though I don't think there should be a good reason to skip the cache except for testing purposes.
show more ...
|
| 0f3b1a89 | 11-May-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Reimplementation of strcmp() [continued]
Fix of sort_search_fulltext() function in "search.php". This function does not seem to be used anywhere. |
| 49097b7b | 11-May-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Reimplementation of strcasecmp()
Reimplementation of strcasecmp() using collator. It uses the same implementation already made for strcmp(). Fix of menuSort() function in "Ui/Admin.php".
Screens fi
Reimplementation of strcasecmp()
Reimplementation of strcasecmp() using collator. It uses the same implementation already made for strcmp(). Fix of menuSort() function in "Ui/Admin.php".
Screens fixed: - Administration
show more ...
|
| 5f109073 | 10-May-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Reimplementation of ksort()
Reimplementation of ksort() using collator. Fix of getAdditionalNamespacesFromResults() function in "Ui/Search.php".
Screens fixed: - Search (namespace selector below se
Reimplementation of ksort()
Reimplementation of ksort() using collator. Fix of getAdditionalNamespacesFromResults() function in "Ui/Search.php".
Screens fixed: - Search (namespace selector below search field)
show more ...
|
| 49021f54 | 06-May-2020 |
DokuWiki Translation Tool <admin@dokuwiki.org> |
Translation update (zh) (#3071)
* translation update
* Update inc/lang/zh/lang.php
* Update lib/plugins/extension/lang/zh/lang.php
* Update lib/plugins/config/lang/zh/lang.php
Co-authored-by:
Translation update (zh) (#3071)
* translation update
* Update inc/lang/zh/lang.php
* Update lib/plugins/extension/lang/zh/lang.php
* Update lib/plugins/config/lang/zh/lang.php
Co-authored-by: Xin <chenxin1034@gmail.com>
show more ...
|
| de37beb4 | 06-May-2020 |
Thien Hau <thienhausoftware@gmail.com> |
translation update |
| 0e20480f | 04-May-2020 |
Phy <git@phy25.com> |
Trigger event for msg()
Triggers INFOUTIL_MSG_SHOW. |
| 00d9ae57 | 03-May-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Reimplementation of sort() [continued]
Fix of callSuggestions() function in "Ajax.php".
Screens fixed: - OpenSearch suggestions: /lib/exe/ajax.php?call=suggestions&q={query} |
| 6dbc2719 | 03-May-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Reimplementation of sort()
Reimplementation of sort() using collator. Fix of ft_backlinks() and ft_mediause() function in "fulltext.php".
Functions that call ft_backlinks() and now have the expecte
Reimplementation of sort()
Reimplementation of sort() using collator. Fix of ft_backlinks() and ft_mediause() function in "fulltext.php".
Functions that call ft_backlinks() and now have the expected results: html.php:1085, html_backlinks(): display backlinks Remote\ApiCore.php:456, listBackLinks(): Return a list of backlinks
Functions that call ft_mediause() and now have the expected results: media.php:222, media_inuse(): Convenience function to check if a media file is still in use media.php:1199, media_details(): Prints mediafile tags
Screens fixed: - Backlinks - List of pages that references a media file (View tab in the 3rd column of Media Manager)
show more ...
|
| 45d5cd9d | 03-May-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Reimplementation of strcmp()
Reimplementation of strcmp() using collator. Fix of ft_pagesorter() function in "fulltext.php". ft_pagesorter() is used by _ft_pageLookup(), which is used by ft_pageLook
Reimplementation of strcmp()
Reimplementation of strcmp() using collator. Fix of ft_pagesorter() function in "fulltext.php". ft_pagesorter() is used by _ft_pageLookup(), which is used by ft_pageLookup().
Functions that call ft_pageLookup() and now have the expected results: Action\Search.php:69, execute(): run the search Ajax.php:50, callQsearch(): Searches for matching pagenames Ajax.php:352, callLinkwiz(): List matching namespaces and pages for the link wizard
Screens fixed: - Search (list of Matching pagenames) - Quick search (when typing) - Internal link suggestion when editing a page (when nothing was typed)
show more ...
|
| b170ac85 | 29-Apr-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Bootstrap and reimplementation of natsort()
New file "sort.php" for sort functions. Inclusion of "sort.php" in the bootstrap ("load.php"). Reimplementation of natsort() using collator. Fix of search
Bootstrap and reimplementation of natsort()
New file "sort.php" for sort functions. Inclusion of "sort.php" in the bootstrap ("load.php"). Reimplementation of natsort() using collator. Fix of search() function in "search.php".
Functions that call search() and now have the expected results: Ajax.php:188, callMedians(): Return subnamespaces for the Mediamanager Ajax.php:322, callIndex(): Return sub index for index view Ajax.php:392, callLinkwiz(): List matching namespaces and pages for the link wizard html.php:908, html_index(): Display page index media.php:713, media_filelist(): List all files in a given Media namespace media.php:1528, media_searchlist(): List all files found by the search request media.php:1966, media_nstree(): Build a tree outline of available media namespaces Remote\ApiCore.php:349, readNamespace(): List all pages in the given namespace (and below) Remote\ApiCore.php:432, listAttachments(): List all media files
Screens fixed: - Index - All media lists (including fullscreen) - Internal link suggestion when editing a page
show more ...
|
| dce21824 | 02-May-2020 |
Andreas Gohr <andi@splitbrain.org> |
remove jQuery Migrate as outlined in #1546 |
| ab0a8902 | 01-May-2020 |
Andreas Gohr <andi@splitbrain.org> |
dependency upgrades
All composer dependencies have been updated |
| 656246ff | 01-May-2020 |
Andreas Gohr <andi@splitbrain.org> |
removed deprecated mail_send()
This has been replaced by the Mailer class some years ago. |
| c1ec88ce | 01-May-2020 |
Andreas Gohr <andi@splitbrain.org> |
remove calls to deprecated methods and classes |
| 3465db0c | 01-May-2020 |
Andreas Gohr <andi@splitbrain.org> |
remove iris color picker plugin from styling manager
Modern browsers know about type=color and show their own picker so there is no need for this jQuery plugin anymore.
Also the iris plugin isn't m
remove iris color picker plugin from styling manager
Modern browsers know about type=color and show their own picker so there is no need for this jQuery plugin anymore.
Also the iris plugin isn't maintained anymore and throws warnings in jQuery migrate.
show more ...
|
| 6086afb7 | 01-May-2020 |
Andreas Gohr <andi@splitbrain.org> |
Update jQuery to 3.5.0 and Migrate to 3.2.0 |
| 16c97090 | 01-May-2020 |
Mac <mac@easterncyber.com> |
translation update |
| 1336c080 | 30-Apr-2020 |
Thanushka Peiris <apps@thanushka.me> |
translation update |
| 980f9f38 | 29-Apr-2020 |
Andreas Gohr <andi@splitbrain.org> |
check exceptions before proxy use #3055
There are several places in the HTTPClient where we check if a proxy is set. But not all of them were checking the exceptions. |
| 86858d7e | 29-Apr-2020 |
Andreas Gohr <andi@splitbrain.org> |
replaced deprecated function call |