[dokuwiki] git changes 2020-08-27

  • From: DokuWiki Develtools <xref@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 27 Aug 2020 03:00:02 +0200


Good Morning!

This are the git changes for DokuWiki committed
yesterday. Please test them and report bugs.

---------------------------------------------------------------------

http://github.com/splitbrain/dokuwiki/commit/d267a3cb9d36268082b58b3c67135007a467af2d
Merge: 387e6f514 242e69314
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Aug 26 10:06:20 2020 +0200

    Merge pull request #3115 from moisesbr-dw/sort-with-collator
    
    Sort with collator


http://github.com/splitbrain/dokuwiki/commit/242e693141a9e32c7985842539b720420505fb1b
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Thu Aug 20 05:54:32 2020 -0300

    Thorough tests for EO, DE, PT and ES
    
    Correction for German collation; examples for German and Spanish; much 
better comments


http://github.com/splitbrain/dokuwiki/commit/d0fecb18d08d861cbe35e1c5f48df3230dc401fe
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Mon Aug 17 09:08:04 2020 -0300

    Tests for Portuguese and Spanish
    
    Collations for Portuguese and Spanish; examples for Portuguese; better 
comments


http://github.com/splitbrain/dokuwiki/commit/0489c64b7de1b71fdd124114dd18525156f26327
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Sun Aug 16 18:29:42 2020 -0300

    Changes according to revisions in 
https://github.com/moisesbr-dw/dokuwiki/pull/2
    
    Many minor details and use of Sort::xyz() instead of intl_xyz() in files 
outside the "inc" folder.


http://github.com/splitbrain/dokuwiki/commit/ec16ab528f14baaddbb747a16cd82e33ceac028a
Merge: 3649f7441 f9aa34a37
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Sun Aug 16 03:22:17 2020 -0300

    Merge pull request #2 from splitbrain/pr-3115
    
    Changes for the collator-based sort: sort functions as static methods; 
better testing


http://github.com/splitbrain/dokuwiki/commit/f9aa34a37441e1fedd970151f80edc3bd4223e7d
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Tue Aug 11 15:09:56 2020 +0200

    test the collator fallback always
    
    Now the use of the intl extension can be turned off, allowing for easy
    testing of the fallback. The test now inherits from the collator test so
    we avoid too much duplicate code


http://github.com/splitbrain/dokuwiki/commit/5d9cb4e188c4a7004ca937381383eef29de8318b
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Tue Aug 11 14:48:56 2020 +0200

    cleanup for collator tests
    
    The proper use of data providers now make it much easier to add
    addtional languages to the test


http://github.com/splitbrain/dokuwiki/commit/2d85e84158bfbe6ff83458824a787ddcc12db9c8
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Tue Aug 11 14:06:33 2020 +0200

    wrap sorting functions into their own class


http://github.com/splitbrain/dokuwiki/commit/3649f74412c79cf9d16a752d8595e2c2971741ae
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Tue Jun 16 18:27:06 2020 -0300

    Changes in sort.php to conform to PSR-2/PSR-12


http://github.com/splitbrain/dokuwiki/commit/47c5d56454d2f435340a45cce221fb8481880058
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Wed Jun 3 14:34:32 2020 -0300

    Changes to conform to PHP Code Style
    
    New function lang_has_changed() as wrapper for _get_collator(TRUE).


http://github.com/splitbrain/dokuwiki/commit/746611d807a2e65c278c7b816b07e4f054eb3f1f
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Wed Jun 3 04:05:04 2020 -0300

    Collator re-creation in unit test


http://github.com/splitbrain/dokuwiki/commit/90b57d56b67d4c026195b76345c40ab490c1bb94
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Mon Jun 1 12:55:14 2020 -0300

    Documentation update
    
    Minor changes.


http://github.com/splitbrain/dokuwiki/commit/0384d31de5e74fee3a45e1c8a61bda6016f4a18d
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Mon Jun 1 09:19:53 2020 -0300

    Test class for sort without collator


http://github.com/splitbrain/dokuwiki/commit/30ad1f25851fd658c668ffff4b3eb279fc83a8d7
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Mon Jun 1 02:53:17 2020 -0300

    Test class for sort with collator


http://github.com/splitbrain/dokuwiki/commit/169d12640ca5bffd23fd84c1ec131545be8bbfd7
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Sat May 30 20:43:22 2020 -0300

    Documentation update


http://github.com/splitbrain/dokuwiki/commit/f854b31ef487d2f714b54f3b158a5c8db75dc717
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Mon May 25 20:58:07 2020 -0300

    Comments with altered files removed


http://github.com/splitbrain/dokuwiki/commit/06281c9ced19e1401a58e4ed34ba606bd1e6678e
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Fri May 22 11:01:57 2020 -0300

    Page sort added in _ft_pageSearch()
    
    _ft_pageLookup() provided sorted results, but _ft_pageSearch() did not.


http://github.com/splitbrain/dokuwiki/commit/86125dda4ff87ce155fdac8e23298ac438bb166b
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Thu May 21 16:44:55 2020 -0300

    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.


http://github.com/splitbrain/dokuwiki/commit/aa422a52ada3fc651b38431897dd0769b6d6706a
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Thu May 21 13:28:50 2020 -0300

    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.


http://github.com/splitbrain/dokuwiki/commit/8371b182429166b34bb5c19e080ba219167441ae
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Wed May 20 13:17:14 2020 -0300

    Authorization plugins
    
    [enhancement] group sorting in authplain


http://github.com/splitbrain/dokuwiki/commit/d00f852337c7294f9b1c2aba9eaf188331f66622
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Tue May 19 21:26:03 2020 -0300

    Command line tool wantedpages.php


http://github.com/splitbrain/dokuwiki/commit/44eedca83bebeb73458fb21ec10fa3b2efdda7c2
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Tue May 19 17:06:51 2020 -0300

    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)


http://github.com/splitbrain/dokuwiki/commit/9b065b6199dd9304e9423ec7acb6e778dd22eb1c
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Tue May 19 11:16:58 2020 -0300

    Affected files outside doc comments


http://github.com/splitbrain/dokuwiki/commit/41161b4de1ad1745159ad32ce03f0a2d8e7dc67c
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Tue May 19 10:57:33 2020 -0300

    Collator not visible on global scope


http://github.com/splitbrain/dokuwiki/commit/efc2a4c4ab637615fb216b7a52266131a1dcc9ab
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Tue May 19 09:55:05 2020 -0300

    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.


http://github.com/splitbrain/dokuwiki/commit/0577ab0a9c504a66ed058c8db85e76b648e956d9
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Sun May 17 10:10:07 2020 -0300

    Documentation


http://github.com/splitbrain/dokuwiki/commit/f3a130cf36dcf0195c21d0b90bee2195c4bbb02f
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Sun May 17 06:25:09 2020 -0300

    Rearrangement of function order in "sort.php"


http://github.com/splitbrain/dokuwiki/commit/6de61e3c72a7764a51d6b97735d6fd08a64d0810
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Sun May 17 06:10:32 2020 -0300

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


http://github.com/splitbrain/dokuwiki/commit/651e54758184893813ba396570e89ed082a85dc0
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Sun May 17 05:44:38 2020 -0300

    Debug message in one line


http://github.com/splitbrain/dokuwiki/commit/04859738ad7d2f2efec03c6851163b8b3021c10d
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Sat May 16 20:18:15 2020 -0300

    strnatcasecmp() is the correct fallback for $collator->compare()
    
    Fix of functions _sort_filenames_without_collator() and compare().
    Updated documentation.


http://github.com/splitbrain/dokuwiki/commit/3d31297c6a3ed65a2baeb684b97a90141a3d1865
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Fri May 15 12:54:47 2020 -0300

    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)


http://github.com/splitbrain/dokuwiki/commit/7d8012cac0197e7a63269287bae0d7d73221148f
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Fri May 15 10:50:48 2020 -0300

    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}


http://github.com/splitbrain/dokuwiki/commit/15a1d63cf13d73af70ce3f988d14ae7b8c92009b
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Fri May 15 06:40:04 2020 -0300

    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.


http://github.com/splitbrain/dokuwiki/commit/741d531ee572eda66465ac062777089d302a2bc5
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Fri May 15 06:15:55 2020 -0300

    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


http://github.com/splitbrain/dokuwiki/commit/ea0a56776267553f548e005d056dcc7547401390
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Thu May 14 03:23:20 2020 -0300

    Cleanup of function _init_collator()
    
    Debug messages added.


http://github.com/splitbrain/dokuwiki/commit/0f3b1a89520da5eba38d68985b2b3e4daa77ff47
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Mon May 11 09:55:02 2020 -0300

    Reimplementation of strcmp() [continued]
    
    Fix of sort_search_fulltext() function in "search.php".
    This function does not seem to be used anywhere.


http://github.com/splitbrain/dokuwiki/commit/49097b7b077afc609d5935ae1d74744cf8731720
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Sun May 10 21:49:04 2020 -0300

    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


http://github.com/splitbrain/dokuwiki/commit/5f109073e533d66358c436d746a0ef2cd5921ad8
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Sun May 10 16:07:36 2020 -0300

    Reimplementation of ksort()
    
    Reimplementation of ksort() using collator.
    Fix of getAdditionalNamespacesFromResults() function in "Ui/Search.php".
    
    Screens fixed:
    - Search (namespace selector below search field)


http://github.com/splitbrain/dokuwiki/commit/00d9ae576fc01b6898700da84b581daff5292438
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Sun May 3 04:19:04 2020 -0300

    Reimplementation of sort() [continued]
    
    Fix of callSuggestions() function in "Ajax.php".
    
    Screens fixed:
    - OpenSearch suggestions: /lib/exe/ajax.php?call=suggestions&q={query}


http://github.com/splitbrain/dokuwiki/commit/6dbc271966493de62d95a12099c565e7dd50e98c
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Sun May 3 02:35:48 2020 -0300

    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)


http://github.com/splitbrain/dokuwiki/commit/45d5cd9dd2dac6f7aaa0369d21db48bd68e576a2
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Sun May 3 01:37:34 2020 -0300

    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)


http://github.com/splitbrain/dokuwiki/commit/b170ac85a15913412c3a0e74cb08b75190fa6b3a
Author: Moisés Braga Ribeiro <moisesbr[at]gmail.com>
Date:   Wed Apr 29 19:18:02 2020 -0300

    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

---------------------------------------------------------------------

You can download individual diffs or patches by appending .diff or
.patch to the given commit URLs above.

Bye,
your git changelog mailer


-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts:

  • » [dokuwiki] git changes 2020-08-27 - DokuWiki Develtools