History log of /dokuwiki/inc/media.php (Results 26 – 50 of 342)
Revision Date Author Comments
# dccd6b2b 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: function call spacing


# ed823bcd 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: PHP constant casing


# d868eb89 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: function declaration braces/spaces


# c1482d1c 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: function argument spacing


# 24870174 29-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector fixes to the rest of inc


# 5cefb623 22-Jun-2023 Eduardo Mozart de Oliveira <2974895+eduardomozart@users.noreply.github.com>

Update media.php


# a46cc3dc 11-Mar-2023 Andreas Gohr <andi@splitbrain.org>

Fix old revisions skipping one revision

This changes the UI to start counting at -1, which will instruct the
Revision Management to prepend the current revision to the list of old
revisions returned

Fix old revisions skipping one revision

This changes the UI to start counting at -1, which will instruct the
Revision Management to prepend the current revision to the list of old
revisions returned. This way no special handling for the current
revision has to be done in the UI class anymore and paging works
naturally.

Fixes #3897

show more ...


# ec88e837 31-Jan-2023 Andreas Gohr <andi@splitbrain.org>

fix deprecated ${var} usage


# 2b9be456 10-Nov-2022 Andreas Gohr <andi@splitbrain.org>

some more fixes for undefined vars

This makes more use of $INPUT to access $_SERVER and fixes a warning in
one of the search methods.


# d967ecd8 06-Jul-2022 Andreas Gohr <andi@splitbrain.org>

fix image resizing with width only. fixes #3707

When only a width is given, the image should be resized to this width
always. The code wrongly used the width to create a bounding box
instead.


# b021f0b4 27-Jan-2022 Andreas Gohr <andi@splitbrain.org>

correctly (re)cache modified images

The previous code used to cache the result of resize and crop image
operations indefinitely. They only time these caches were refreshed were
when the original sou

correctly (re)cache modified images

The previous code used to cache the result of resize and crop image
operations indefinitely. They only time these caches were refreshed were
when the original source changed.

This meant that changes in configuration (eg. the image quality setting)
were never applied to existing images, neither were changes/improvements
in the resizing code.

This patch introduces a new Cache class for these kind of modification
results.

It also removes more duplicated code in media_resize_image and
media_crop_image. Future refactorings may move this code into
File\MediaFile

This code should also fix currently weird results for plugin and
screenshot in the extension manager - TBH I am not 100% sure what
happened there but refreshing the cache once seems to solve the problem.

show more ...


# 79a2d784 05-Jan-2022 Gerrit Uitslag <klapinklapin@gmail.com>

import classes, replace dbglog, simplify, remove unused statements, and other warnings from IntelliJ

update phpdocs,
rename dokuwiki/Ui/Draft to PageDraft


# c1803f3d 29-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

Merge remote-tracking branch 'upstream/master' into Refactor_Fulltext


# 252acce3 23-Oct-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

coding style of functions using ChangeLog


# 700ab9fd 09-May-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

Merge branch 'master' into revisionHandle3


# 9453716d 06-Jan-2021 Andreas Gohr <andi@splitbrain.org>

readded $jump mechanism, removed unused functions


# 79b00823 06-Jan-2021 Andreas Gohr <andi@splitbrain.org>

reenable the option to display a relative namespace for media files

This is used when searching for media files


# 4f33babf 05-Jan-2021 Andreas Gohr <andi@splitbrain.org>

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

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.

show more ...


# 871895a7 05-Jan-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

check media_* used in UI\MediaDiff


# 297071be 02-Jan-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

fix phpdoc for deprecated functinos


# 11308c3b 16-Dec-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

fix typo


# 675f74fb 06-Dec-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

similarify MediaDiff and PageDiff classes


# 2db397b2 04-Dec-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

move media_diff() into Ui\MediaDiff class

deprecated functions:
media_diff()
_media_file_diff()
media_file_diff()
media_image_diff()


# edb50e6a 04-Dec-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

Ui\Diff hierarchy


# ccef1899 01-Dec-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

fix html missing closing div tag


12345678910>>...14