[dokuwiki] git changes 2022-10-20

  • From: DokuWiki Develtools <xref@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 20 Oct 2022 03:00:03 +0200


Good Morning!

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

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

http://github.com/splitbrain/dokuwiki/commit/ac2b3d9ee6c60ff91cda8cbd44a8de77a50a1c50
Merge: 48c8628b5 bbe6b3a78
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Oct 19 15:42:34 2022 +0200

    Merge pull request #3798 from splitbrain/nofootshoot
    
    Remove the htmlok and phpok embedding options


http://github.com/splitbrain/dokuwiki/commit/48c8628b58f40e2f7fe338931a59772ec0e2f3d4
Merge: 0ba8a0dee 5a10fbce3
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Oct 19 15:40:16 2022 +0200

    Merge pull request #3721 from splitbrain/multiopts
    
    Support the multiple attribute in Form selects


http://github.com/splitbrain/dokuwiki/commit/0ba8a0dee01c9502e8a3004cc15bd69648391f4a
Merge: 3c30dcfbc ec34bb300
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Oct 19 15:39:05 2022 +0200

    Merge pull request #3754 from splitbrain/sexplode
    
    introduce sexplode() as a PHP8 safe explode()


http://github.com/splitbrain/dokuwiki/commit/ec34bb300b254ecd0dba0fac22d8115635141cc5
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Oct 19 15:18:31 2022 +0200

    Update core code to make use of sexplode()
    
    This makes use of our own explode mechanism everywhere were we expect a
    fixed number of results.


http://github.com/splitbrain/dokuwiki/commit/bbe6b3a78bfaae7c3435ed2f909108be642b4684
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Oct 12 13:22:27 2022 +0200

    Remove the htmlok and phpok embedding options
    
    Both options have grave security implications and novice users seem to
    ignore advice about them. In the last decades I never came across a wiki
    that had legitimate use of these options.
    
    If someone needs the functionality, it can easily be added back using a
    plugin. But I prefer to give users one less option to shoot themselves
    in the foot.
    
    Removal of the translations for the config strings can follow after this
    has been merged.


http://github.com/splitbrain/dokuwiki/commit/12dd3cbcf3c49223eacbd75f1d4ae9c83b326deb
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Fri Aug 26 10:57:01 2022 +0200

    introduce sexplode() as a PHP8 safe explode()
    
    We often have constructs like
    
    list($foo, $bar) = explode(',', $input, 2);
    
    In PHP8+ this will throw warnings when the explode returns fewer than 2
    elements. Our code usually (always?) will anticipate missing elements so
    the construct isn't really problematic.
    
    The implementation here wraps the solution suggested at
    https://stackoverflow.com/a/56971347 into a new utility function.
    
    I anticipate that people might object to the function name. It was
    chosen as a short form of "safe explode". This makes fixing the warning
    easy by simply adding a single letter. I also find it slightly amusing
    and would be open to change it to just sex() just for the fun of it.


http://github.com/splitbrain/dokuwiki/commit/5a10fbce331993a3912ae78e8acb99ca44be19c1
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Jul 27 12:10:35 2022 +0200

    Support the multiple attribute in Form selects
    
    This should fix a problem mentioned in
    
https://github.com/splitbrain/dokuwiki-plugin-data/pull/229#issuecomment-1196367602
    
    Note that prefilling from $INPUT is still only supported for single
    value selects.

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

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-10-20 - DokuWiki Develtools