| #
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
|
| #
08500ab3 |
| 27-Nov-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
create UI\MediaRevisions class
Create new Ui\MediaRevisions class created by copying from Ui\Revisons and customize its methods to use media only (methods args are changed). Replace deprecated html_
create UI\MediaRevisions class
Create new Ui\MediaRevisions class created by copying from Ui\Revisons and customize its methods to use media only (methods args are changed). Replace deprecated html_revisions() with Ui\MediaRevisions->show() method.
show more ...
|
| #
8b07fee4 |
| 19-Nov-2020 |
Andreas Gohr <andi@splitbrain.org> |
Merge pull request #3251 from splitbrain/slika
use Slika for image resizing and cropping
|
| #
9e7aeeba |
| 10-Nov-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
Merge branch 'master' into Refactor_Fulltext
|
| #
a32da6dd |
| 25-Sep-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
change Index objects to non-singleton
Indexer, FulltextIndex, MetadataIndex uses common directory to store *.idx files, but this does not mean they should be singleton objects to avoid lock confrict
change Index objects to non-singleton
Indexer, FulltextIndex, MetadataIndex uses common directory to store *.idx files, but this does not mean they should be singleton objects to avoid lock confrictions.
show more ...
|
| #
b9c8f036 |
| 10-Sep-2020 |
Andreas Gohr <andi@splitbrain.org> |
Merge branch 'master' into Refactor_Fulltext
* master: (111 commits) Update translation translation update don't crush tables too narrow. fixes #3250 translation update Thorough tests for
Merge branch 'master' into Refactor_Fulltext
* master: (111 commits) Update translation translation update don't crush tables too narrow. fixes #3250 translation update Thorough tests for EO, DE, PT and ES translation update Optimized pageRestoreConfirm function Tests for Portuguese and Spanish Changes according to revisions in https://github.com/moisesbr-dw/dokuwiki/pull/2 adjust callstack depth for deprecation message further better deprecation messages for self required plugin base files don't test on old PHP releases anymore increase minimum PHP version to 7.2 fixed tests for cleanID and romanization for Greeklish Improved the transliteration from greek to latin. extension cli: do not try to upgrade bundled plugins Public access to patterns in external link parser test the collator fallback always cleanup for collator tests wrap sorting functions into their own class ...
show more ...
|