| #
8bc1a7be |
| 07-Sep-2020 |
John Brooks <john@fastquake.com> |
media: Fix media_resize_image cache check
The check was backwards, and it also caused a failure when there is no cache file (mtime=0) because the function would still return the path to the nonexist
media: Fix media_resize_image cache check
The check was backwards, and it also caused a failure when there is no cache file (mtime=0) because the function would still return the path to the nonexistent cache file.
show more ...
|
| #
d2bd34a5 |
| 01-Sep-2020 |
Andreas Gohr <andi@splitbrain.org> |
use Slika for image resizing and cropping
This replaces our own resize/crop function by the Slika library.
This is not yet ideal, as there is quite a bit duplicated code between media_resize and me
use Slika for image resizing and cropping
This replaces our own resize/crop function by the Slika library.
This is not yet ideal, as there is quite a bit duplicated code between media_resize and media_crop now. Ideally these two should be replaced by a single method handling both. I'm just not sure where to best put it yet.
Using Slika introduces two new features:
* auto rotation based on EXIF #3059 * support for webp #3238
show more ...
|
| #
a74a1f3f |
| 26-Aug-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
Merge branch 'master' into form
|
| #
c6977b3a |
| 26-Aug-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
change event naming scheme
FORM_*_OUTPUT scheme had been introduced since Apriil 2018, see #2286
|
| #
d267a3cb |
| 26-Aug-2020 |
Andreas Gohr <andi@splitbrain.org> |
Merge pull request #3115 from moisesbr-dw/sort-with-collator
Sort with collator
|
| #
bde2a644 |
| 19-Aug-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
fix Scrutinizer annotations
|
| #
e6adf5b7 |
| 19-Aug-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
tigger HTMLFORM_*_OUTPUT events
trigger events in Form::toHTML() instead of using Event::createAndTrigger()
|
| #
2d85e841 |
| 11-Aug-2020 |
Andreas Gohr <andi@splitbrain.org> |
wrap sorting functions into their own class
|
| #
23a8b8f8 |
| 24-Jul-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
Merge branch 'master' into form
|
| #
b960c74f |
| 23-Jul-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
rewrite forms in MediaManager using dokuwiki\Form\Form class
|
| #
499d9bcd |
| 23-Jul-2020 |
Andreas Gohr <andi@splitbrain.org> |
hide extensions only when javascript is available
Progressive enhancement asks for having information available fon nonJS users and transforming the interface by JS if available
|
| #
56fc6b15 |
| 22-Jul-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
More compact list of allowed file types in media uploader
|
| #
0b30f01b |
| 22-Jul-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Replace id with class in media uploader
|
| #
6ed7a26d |
| 21-Jul-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Display the list of allowed mime types in media uploader
|
| #
fd76e02a |
| 19-Jul-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
fix Ui\Diff::diffHead() scope public
html_diff_head() was used in inc/media.php
|
| #
9de2cebc |
| 07-Jun-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
Merge branch 'master' into Refactor_Fulltext
|
| #
46028c4c |
| 04-Jun-2020 |
Andreas Gohr <andi@splitbrain.org> |
Move defines to their own file
As described in https://github.com/dwp-forge/columns/issues/5#issuecomment-638467603 sometime the Lexer constants have not been (auto)loaded when a syntax plugin is in
Move defines to their own file
As described in https://github.com/dwp-forge/columns/issues/5#issuecomment-638467603 sometime the Lexer constants have not been (auto)loaded when a syntax plugin is invoked (I'm not sure why).
In general PSR2 discourages a mix of main code and function/class setup with the call to define() being considered main code.
This patch moves these the define calls to a separate new file, solving both of the above problems.
These are not all our defines. Instead I focused on the ones that are ENUM-like.
In the future we should think about what defines can be replaced by class constants and what other define() calls should be moved.
show more ...
|
| #
aa422a52 |
| 21-May-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Insertion of current namespace in Media Manager tree list
As the $data sort order has been fixed in search() (see "search.php"), utf8_encodeFN() must not be used in the comparison.
|
| #
22c4cfd1 |
| 14-Mar-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
Merge remote-tracking branch 'upstream/master' into Refactor_Fulltext
|
| #
3aa75874 |
| 18-Feb-2020 |
movatica <c0d3@movatica.com> |
Fixed inconsistent handling of falsy values on fperm setting
The $conf['fperm'] value was checked in multiple files using different methods. This can cause permission trouble with restricted environ
Fixed inconsistent handling of falsy values on fperm setting
The $conf['fperm'] value was checked in multiple files using different methods. This can cause permission trouble with restricted environments, i.e. when chmod is forbidden and file permissions are non-default. Now, all checks use implicit cast to boolean which leads to consistent behaviour.
Also, a misleading variable was renamed in context to better understand one of the checks.
show more ...
|
| #
4a90f94b |
| 02-Feb-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
move backlinks() and mediause() into MediaIndex class
|
| #
0cba610b |
| 14-Jan-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
rewrite deprecated ft_* functions
|
| #
83734cdd |
| 20-Oct-2019 |
Phy <git@phy25.com> |
Include rev_id in new revision link in notification email
Older versions have a "This is an old revision of the document!" message on the top of the page. By including rev_id, user can always see th
Include rev_id in new revision link in notification email
Older versions have a "This is an old revision of the document!" message on the top of the page. By including rev_id, user can always see the version the email is referring to, while knowing if it is the latest version by looking at the wiki page.
A hint about this is also added to email text.
This fixes #2196.
show more ...
|
| #
8cbc5ee8 |
| 10-Jun-2019 |
Andreas Gohr <andi@splitbrain.org> |
replaced deprecated utf8 functions
For now this uses full qualified namespaces, sensible imports may come later.
|
| #
820934dc |
| 19-May-2019 |
Andreas Gohr <andi@splitbrain.org> |
Merge branch 'psr2-pluginredux' into psr2
* psr2-pluginredux: Minor optimizations in PluginController Snake to Camel case fixes inn PluginController Fix snake->camel case, doc blocks minor c
Merge branch 'psr2-pluginredux' into psr2
* psr2-pluginredux: Minor optimizations in PluginController Snake to Camel case fixes inn PluginController Fix snake->camel case, doc blocks minor code simplification snake to camel case fixes in EventHandler Move list of plugin types to plugin controller constant Avoid accessing the evet system before it's intialized Avoid processing events before the Event System is intiialized isEnabled instead of isDisabled removed get_directory() method from PluginController fix type hints moved plugin controller to Extension namespace removed deleted file from autoloader deprecated trigger_event() in favor of a static method on Event First go at moving the plugin classes into their own namespace
show more ...
|