History log of /dokuwiki/inc/ (Results 951 – 975 of 6436)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
06281c9c22-May-2020 Moisés Braga Ribeiro <moisesbr@gmail.com>

Page sort added in _ft_pageSearch()

_ft_pageLookup() provided sorted results, but _ft_pageSearch() did not.

84e1c54021-May-2020 Jacob Palm <jacobpalmdk@icloud.com>

translation update

86125dda21-May-2020 Moisés Braga Ribeiro <moisesbr@gmail.com>

Page sort added in listPages()

getPagelist(), getAttachments() and getBackLinks() provided sorted results, but listPages() did not.
[bug fix] Added missing 'doc' keys in lines 145 and 149.

aa422a5221-May-2020 Moisés Braga Ribeiro <moisesbr@gmail.com>

Insertion of current namespace in Media Manager tree list

As the $data sort order has been fixed in search() (see "search.php"), utf8_encodeFN() must not be used in the comparison.

8371b18220-May-2020 Moisés Braga Ribeiro <moisesbr@gmail.com>

Authorization plugins

[enhancement] group sorting in authplain

d00f852320-May-2020 Moisés Braga Ribeiro <moisesbr@gmail.com>

Command line tool wantedpages.php

44eedca819-May-2020 Moisés Braga Ribeiro <moisesbr@gmail.com>

Access Control List Management

All sortable lists:
- tree list of namespaces and pages
- drop-down list with users and groups
- rule list by page/namespace (main sort)
- [enhancement] rule list by u

Access Control List Management

All sortable lists:
- tree list of namespaces and pages
- drop-down list with users and groups
- rule list by page/namespace (main sort)
- [enhancement] rule list by user/group (secondary sort)

show more ...

9b065b6119-May-2020 Moisés Braga Ribeiro <moisesbr@gmail.com>

Affected files outside doc comments

41161b4d19-May-2020 Moisés Braga Ribeiro <moisesbr@gmail.com>

Collator not visible on global scope

efc2a4c419-May-2020 Moisés Braga Ribeiro <moisesbr@gmail.com>

Functions renamed with "intl" prefix

Better naming of functions to help future maintenance.
- compare() renamed to intl_strcmp()
- sort_pagenames() renamed to intl_sort()
- sort_keys() renamed to in

Functions renamed with "intl" prefix

Better naming of functions to help future maintenance.
- compare() renamed to intl_strcmp()
- sort_pagenames() renamed to intl_sort()
- sort_keys() renamed to intl_ksort()
- new function intl_asort()
- sort_filenames() renamed to intl_asortFN()
Updated documentation.

show more ...

0577ab0a17-May-2020 Moisés Braga Ribeiro <moisesbr@gmail.com>

Documentation

f3a130cf17-May-2020 Moisés Braga Ribeiro <moisesbr@gmail.com>

Rearrangement of function order in "sort.php"

6de61e3c17-May-2020 Moisés Braga Ribeiro <moisesbr@gmail.com>

Rearrangement of "sort.php" in the bootstrap ("load.php")

651e547517-May-2020 Moisés Braga Ribeiro <moisesbr@gmail.com>

Debug message in one line

3f6872b117-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 ...

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

3d31297c15-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 ...

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

15a1d63c15-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 ...

741d531e15-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 ...

ea0a567714-May-2020 Moisés Braga Ribeiro <moisesbr@gmail.com>

Cleanup of function _init_collator()

Debug messages added.

10396f7712-May-2020 Andreas Gohr <andi@splitbrain.org>

use serialized cache key for isAdmin/isManager cache

This avoids potential collisions.

96348f2711-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 ...

0f3b1a8911-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.

49097b7b11-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 ...

1...<<31323334353637383940>>...258