[dokuwiki] git changes 2021-02-17

  • From: DokuWiki Develtools <xref@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 17 Feb 2021 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/ec1cd64c2c49ccf4fbdfaa6ae398c6e0afa240fd
Merge: 8004d999f 4732b1974
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Tue Feb 16 21:45:25 2021 +0100

    Merge branch 'lazyload'
    
    * lazyload:
      lazy load images


http://github.com/splitbrain/dokuwiki/commit/8004d999f123e7e9649e1992c64130446f6f3aef
Merge: c2bbc4b49 390b51156
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Tue Feb 16 21:41:15 2021 +0100

    Merge pull request #3390 from splitbrain/imageInTable
    
    fix: better max-width for images in tables


http://github.com/splitbrain/dokuwiki/commit/c2bbc4b4906d8c2f0fb4abcbc9b61e846189b413
Merge: c4faa1ad3 8d670f35f
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Tue Feb 16 21:38:33 2021 +0100

    Merge branch 'pr/3386'
    
    * pr/3386:
      dwpage: output meta data as JSON
      dwpage: rename gmeta into getmeta
      dwpage.php: add an option to get metadata


http://github.com/splitbrain/dokuwiki/commit/8d670f35f59ace4a7e3d54b75cb3800c4000d619
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Tue Feb 16 21:37:20 2021 +0100

    dwpage: output meta data as JSON
    
    json shows the same nested data but is easier to process by other tools


http://github.com/splitbrain/dokuwiki/commit/3fe0184449a57225839cf88769a9f9fd43e310ef
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Tue Feb 16 21:10:16 2021 +0100

    dwpage: rename gmeta into getmeta


http://github.com/splitbrain/dokuwiki/commit/c4faa1ad315402067ed96141a2954f2b7b55ef1f
Merge: e7d0243eb 0603f506f
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Tue Feb 16 21:02:20 2021 +0100

    Merge pull request #3372 from splitbrain/mediaitems
    
    Media Manager Refactoring


http://github.com/splitbrain/dokuwiki/commit/390b511563bb92d413829cff8ce4e76b4d823bb4
Author: Michael Große <mic.grosse[at]googlemail.com>
Date:   Tue Jan 26 22:22:11 2021 +0100

    fix: better max-width for images in tables
    
    Tables are very aggressive with how they size the contents of their
    cells. That leads to sometimes extremely small images with
    max-width:100%, especially for images that already have a small
    intrinsic size.
    
    Setting the max-width to 50vw, i.e. half the view-port, is chosen as a
    trade-off between:
    * letting small images keep their full size in most view-ports
    * keeping large images still pretty large on large view-ports
    * prevent scrolling in most circumstances (scrolling a table is really
      bad user experience, this is the goal of the browser)
    
    Fixes #2059


http://github.com/splitbrain/dokuwiki/commit/2c23659d6e83d6ac514e643a43ce5e9fbef62b2f
Author: Robin Getz <robin.getz[at]analog.com>
Date:   Thu Jan 21 14:21:08 2021 -0500

    dwpage.php: add an option to get metadata
    
    This adds an option to ./bin/dwpage.php, to display metadata about a
    page. This is useful in maintenance shell scripts, and debugging plugins.
    There is no ability to write metadata, only read them.
    
    ./bin/dwpage.php -u <user> gmeta [page] <meta tag>
    
    where <meta tag> can be "date modified" (in quotes) or "last_change date"
    an empty <meta tag> returns all metadata.
    
    Signed-off-by: Robin Getz <robin.getz[at]analog.com>


http://github.com/splitbrain/dokuwiki/commit/0603f506f0268170ae59481c161bf882d14307f9
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Jan 13 19:23:43 2021 +0100

    rename namespace Media to File
    
    This is a bit more generic and allows us to have additional File
    abstractions in here later.


http://github.com/splitbrain/dokuwiki/commit/24115d4272bd0e03b95139e41c743d8cdb058328
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Thu Jan 7 11:17:25 2021 +0100

    use SVG icons for media file links
    
    The dokuwiki template should probably be adjusted a bit. Old png files
    are not yet removed as they may be used elsewhere still.


http://github.com/splitbrain/dokuwiki/commit/9453716dc4e120c7e2ebc01fba4d27c53f881e0c
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Jan 6 22:11:42 2021 +0100

    readded $jump mechanism, removed unused functions


http://github.com/splitbrain/dokuwiki/commit/0a47efcd61763bd60dacfea1b0c7e806833e2a31
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Jan 6 21:55:52 2021 +0100

    fix use of $rev parameter


http://github.com/splitbrain/dokuwiki/commit/9a1a86fb4c4dc988a0ae52a94b833ea5663fc319
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Jan 6 20:32:49 2021 +0100

    fix entity definition


http://github.com/splitbrain/dokuwiki/commit/79b008230541e34a988cd3273ba7267a1eef6d28
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Jan 6 20:19:36 2021 +0100

    reenable the option to display a relative namespace for media files
    
    This is used when searching for media files


http://github.com/splitbrain/dokuwiki/commit/17409362b5692ff27ff29702912adcf1e33741fe
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Jan 6 20:00:54 2021 +0100

    simplified the media_searchlist tests


http://github.com/splitbrain/dokuwiki/commit/4f33babf5709281d9b8753c9620d1257ced36f67
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Tue Jan 5 21:37:38 2021 +0100

    make use of the new media file classes
    
    This just crudely replaces the calls to the old functions with usage of
    the new classes. This however already works and makes (manual) testing
    of these classes easier.
    
    Next steps: remove the old media_printfile and media_printfile_thumbs
    methods and fix/drop/replace the tests depending on them. search_media
    might be obsolete, too already.
    
    For search results the display classes need to show full namespaces.
    This needs to be fixed again. No idea about the jump mechanism, yet.


http://github.com/splitbrain/dokuwiki/commit/8f7d0e1180e5f499a5af3acc8664032d141a7f17
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Tue Jan 5 20:54:58 2021 +0100

    SVG based file icons
    
    To be used in the new code. Courtesy of https://fileicons.org/


http://github.com/splitbrain/dokuwiki/commit/bf9684bcc7bd75b3f7fdb046fa31df49d9ff65e4
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Tue Jan 5 20:52:15 2021 +0100

    first go a refactoring the media manager
    
    For now this only adds code. This takes care of encapsulating media file
    information and has some UI classes to display those files in the
    fullscreen media manager and the popup.
    
    The code is untested and not integrated to run, yet. Next step is to
    replace the parts in the media manager to call this new code (and fix
    any bugs).
    
    I tried not to change much HTML yet. This can be done later. For now the
    goal is to just make it run again.


http://github.com/splitbrain/dokuwiki/commit/4732b19747d89666c7c03e9a5a521b58d72df65e
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Tue Jan 5 09:12:09 2021 +0100

    lazy load images
    
    This adds the loading="lazy" attribute to embedded images and the
    thumbnails in the media manager. This instructs modern broswers to load
    images on demand when they come into view. It can reduce used bandwith
    and improve perceived speed.

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

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 2021-02-17 - DokuWiki Develtools