[dokuwiki] git changes 2022-01-03

  • From: DokuWiki Develtools <xref@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 03 Jan 2022 03:00:02 +0100


Good Morning!

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

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

http://github.com/splitbrain/dokuwiki/commit/b5b12e446f420be6305d55841704207096b889db
Merge: 8e7694e09 2cd6cc0ae
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Sun Jan 2 11:39:42 2022 +0100

    Merge pull request #3272 from splitbrain/refactorResolving
    
    refactor page and media resolving, introduce ~ shortcut


http://github.com/splitbrain/dokuwiki/commit/2cd6cc0aee287817853b56fa39a11b9eecd6da90
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Sun Jan 2 11:22:30 2022 +0100

    move resolvers into File namespace


http://github.com/splitbrain/dokuwiki/commit/b469737aef969dbd2b79ca3bc106c12ca8dbb031
Merge: ee78287db 8e7694e09
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Sun Jan 2 11:09:43 2022 +0100

    Merge branch 'master' into refactorResolving
    
    * master: (142 commits)
      authPDO: extend mysql test to ensure multiple groups are read
      update DokuWiki install URL
      update smtp plugin URL
      update flashplayer URL
      Revert "Merge pull request #3039 from takuy/video-attributes"
      Revert "fixed video attribute handling in php8"
      Revert "more php8 fixes for the video attributes"
      guard against unsert user name. fixes #3455
      remove remaining X-UA-Compatible headers. fixes #3434
      more php8 fixes for the video attributes
      fixed video attribute handling in php8
      fix test for draft file
      fix security problems in draft handling. fixes #3565
      fix handling of loading auth backend
      check CSRF token in draftdel action. fixes #3563
      ignore another PSR12 style check for now
      authplain: properly clean user names
      Removes use of deprecated create_function() in teests. Replaces them with 
anonymous functions. Refs #3545
      check security token on logout. fixes #3561
      create SECURITY.md fixes #3558
      ...


http://github.com/splitbrain/dokuwiki/commit/ee78287dbefed9b27be070a4ce4868701224dfcc
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Sun Jan 2 10:55:56 2022 +0100

    added autoplural tests for PageResolver


http://github.com/splitbrain/dokuwiki/commit/093aec3dc8994ad06d28ddc3b8050aa798774d94
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Sun Jan 2 10:41:29 2022 +0100

    added pageresolver tests for tilde+startpage behaviour


http://github.com/splitbrain/dokuwiki/commit/8e7694e09b852a01b431ebce2c1c99e4945f23b8
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Sun Jan 2 10:00:28 2022 +0100

    authPDO: extend mysql test to ensure multiple groups are read
    
    I noticed that all our tests basically only ever used one group per
    user. This makes sure multiple groups work as intended.


http://github.com/splitbrain/dokuwiki/commit/ed1d7c897064821cbd52e4bbc55f49776bb52eda
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Thu Nov 11 15:56:12 2021 +0100

    removed wrong test
    
    See
    https://github.com/splitbrain/dokuwiki/pull/3272#issuecomment-966367900
    for reasoning


http://github.com/splitbrain/dokuwiki/commit/54611a7a6e7af290525dd263f03b7293f20df91a
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Thu Nov 11 15:42:59 2021 +0100

    fix fallback implementation for resolve_pageid()
    
    When an empty link was given, the old implementation fell back to $ID,
    this was handled incorrectly in the deprecated method.


http://github.com/splitbrain/dokuwiki/commit/01f039b615c23cdd2c8717f50abe78cfb11ab085
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Thu Nov 11 14:59:24 2021 +0100

    simplify relative resolver and add tests


http://github.com/splitbrain/dokuwiki/commit/1c0978727f9c75249c3917fc29f418f278bae79b
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Thu Nov 11 14:13:55 2021 +0100

    make resolveStartPage easier to understand
    
    This dosn't really change the behaviour but makes the code easier to
    grasp. A simple unit test has been added.


http://github.com/splitbrain/dokuwiki/commit/dc23fc9a4a335f0a8bc02f7cf3eb80abfd2d0577
Merge: 30903c8d5 89c597ea9
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Thu Nov 11 13:54:21 2021 +0100

    Merge branch 'master' into refactorResolving
    
    * master: (37 commits)
      disable jit compiling to avoid broken pcre lib #3507
      Remove phpunit cache.
      Fix PHPUnit fatal errors compatibility with void.
      Method names with leading double underscore are reserved by PHP.
      fix named access to the sha hashing mechanisms
      adjust help text of extension cli
      move IXR XML RPC to composer dependency #1970
      translation update
      :fire: fix the calculation of file permissons
      Do not duplicate the foreach ($installed...
      translation update
      Allow installing extenions from URL via the CLI
      Add support for SHA256 encrypted passwords
      plugins/extension: Fix git recognition for plugin installations via 
git-submodules.
      HTTPClient: Fix missing processing of redirections with status code 303, 
307, 308.
      SVG for interwiki links
      translation update
      manifest: add NOSESSION to not require auth
      add missing google interwiki link. fixes #3502
      translation update
      ...


http://github.com/splitbrain/dokuwiki/commit/30903c8d509f210fd9cc4774be745cfd14f1e7d9
Merge: 8c6be208d f09650da9
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Mon Apr 5 11:50:40 2021 +0200

    Merge branch 'master' into refactorResolving
    
    * master: (257 commits)
      add unit test for namespace exclusion in ft_pageLookup()
      exclude ns in pagelook ups
      translation update
      Obsolete attribute
      translation update
      translation update
      translation update
      translation update
      translation update
      Add missing `;` causing syntax error in js.php
      Run tests on PHP 8.0 now
      translation update
      translation update
      test: run test in separate process in case of error
      test: fix two tests on PHP8
      style: fix test code style
      fix method handling for RPC_CALL_ADD
      destroy the JPEGMeta object after use
      upgrade simplepie to 1.5.6
      dwpage: output meta data as JSON
      ...


http://github.com/splitbrain/dokuwiki/commit/8c6be208dcb4734cf5ad7e62ab5df1d42d46ad76
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Mon Apr 5 11:49:45 2021 +0200

    replace deprecated function calls
    
    Replaces the use of resolve_pageid() and resolve_mediaid() with the
    proper class invocations


http://github.com/splitbrain/dokuwiki/commit/5c844bb3459a3b146c907b624f8a4c8af16ce19d
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Mon Apr 5 11:02:15 2021 +0200

    fix exists check in deprecated resolve_mediaid
    
    This was copy'n'pasted from resolve_pageid. To correctly handle the
    date_at parameter a media_exists() function had to be introduced.


http://github.com/splitbrain/dokuwiki/commit/bfcf8009182fabb89cbae83d9b5117faf0035ede
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Sep 30 17:23:20 2020 +0200

    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.

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

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 2022-01-03 - DokuWiki Develtools