| 3f6872b1 | 17-May-2020 |
Myron Turner <turnermm02@shaw.ca> |
Checks for PHP mail in install.php and warns if mail used after install (#3056)
* Checks for PHP mail in install.php and warns if mail used after install.
* fixed spacing in instal.php
* Recon
Checks for PHP mail in install.php and warns if mail used after install (#3056)
* Checks for PHP mail in install.php and warns if mail used after install.
* fixed spacing in instal.php
* Reconfigured warning message and code for PHP mail not existing or disabled. Removed the substitute mail function in inc/compatibility.php
* fixed some spacing errors in install.php
* Adds warning to error_log when call is made to unavailable PHP mail function and posts the warning to browser top if current user is admin.
* adds newline at end of compatibility.php and $lang global to Mailer.class.php
* Changes to handling of msg and `return false` as suggested by @phy25
* Removed tab from lilne 719
* removed additional tabs from Mailer.class.php
* Update inc/Mailer.class.php
removes unnecessary object
* Update inc/Mailer.class.php
changed msg styling for msg_managers_only warning for no PHP mail function
* Update inc/Mailer.class.php
* Update inc/Mailer.class.php
show more ...
|
| 04859738 | 16-May-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
strnatcasecmp() is the correct fallback for $collator->compare()
Fix of functions _sort_filenames_without_collator() and compare(). Updated documentation. |
| ec35f6f7 | 16-May-2020 |
Schplurtz le Déboulonné <Schplurtz@laposte.net> |
translation update |
| 3d31297c | 15-May-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Cleanup of function sort_keys()
Fixed behavior without collator: ksort() with flags SORT_NATURAL and SORT_FLAG_CASE. Fix of getAdditionalNamespacesFromResults() function in "Ui/Search.php".
Screens
Cleanup of function sort_keys()
Fixed behavior without collator: ksort() with flags SORT_NATURAL and SORT_FLAG_CASE. Fix of getAdditionalNamespacesFromResults() function in "Ui/Search.php".
Screens fixed: - Search (namespace selector below search field)
show more ...
|
| 7d8012ca | 15-May-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Cleanup of function sort_pagenames() [name changed]
Name changed from sort_pages() to sort_pagenames(). Fixed behavior without collator: sort() with flags SORT_NATURAL and SORT_FLAG_CASE.
Fix of ft
Cleanup of function sort_pagenames() [name changed]
Name changed from sort_pages() to sort_pagenames(). Fixed behavior without collator: sort() with flags SORT_NATURAL and SORT_FLAG_CASE.
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)
Fix of callSuggestions() function in "Ajax.php".
Screens fixed: - OpenSearch suggestions: /lib/exe/ajax.php?call=suggestions&q={query}
show more ...
|
| 15a1d63c | 15-May-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Cleanup of function compare() [name changed]
Name changed from strcompare() to compare().
Fix of ft_pagesorter() function in "fulltext.php". ft_pagesorter() is used by _ft_pageLookup(), which is us
Cleanup of function compare() [name changed]
Name changed from strcompare() to compare().
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)
Fix of menuSort() function in "Ui/Admin.php".
Screens fixed: - Administration
Fix of sort_search_fulltext() function in "search.php". This function does not seem to be used anywhere.
show more ...
|
| 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 |