aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Cache
Commit message (Collapse)AuthorAge
* code style: line breaksAndreas Gohr2023-08-31
|
* coding style: control flow line breaksAndreas Gohr2023-08-31
|
* coding style: control flow whitespacesAndreas Gohr2023-08-31
|
* address issues mention in PR#4045Andreas Gohr2023-08-30
|
* codestyle adjustments: class declaration bracesAndreas Gohr2023-08-30
|
* Apply rector fixes to inc/CacheAndreas Gohr2023-08-29
|
* update ParserCache dependency to reflect new file locationAndreas Gohr2023-01-26
|
* some more fixes for undefined varsAndreas Gohr2022-11-10
| | | | | This makes more use of $INPUT to access $_SERVER and fixes a warning in one of the search methods.
* correctly (re)cache modified imagesAndreas Gohr2022-01-27
| | | | | | | | | | | | | | | | | | | | | 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.
* remove calls to deprecated methods and classesAndreas Gohr2020-05-01
|
* Use getters instead of deprecated propertykalenpw2020-02-28
|
* Consistent capilization of io_saveFile and psr-2 formattingkalenpw2020-02-28
|
* Check code style against PSR12Michael Große2020-01-06
| | | | | In 2019 PSR-12 was officially released and PSR-2 deprecated. We should adapt to that and check our files against that new coding standard.
* some more PSR2 cleanupAndreas Gohr2019-05-21
| | | | mostly overlong lines and more exclude patterns
* deprecated trigger_event() in favor of a static method on EventAndreas Gohr2019-04-20
|
* Use deprecation helperMichael Große2019-02-22
| | | | | | | | | | | | | Instead of writing our own magic getters and setters for all variables that used to be public, this adds a trait that does that in a generic way. This trait was copied from MediaWiki and adjusted to DokuWiki. The original author seems to be @tgr Tisza Gergő The downside of this trait is that the properties keep their (potentially undesired) name. While that could be fixed within the helper, that might add unnecessary complexity. The name can change when support is dropped.
* Use DokuWiki's own deprecation reportersMichael Große2019-02-14
| | | | | DokuWiki has its own way to report deprecation notifications. Let's use it!
* Rename fields and add deprecated __get/__setMichael Große2019-02-14
| | | | | | These fields might still be accessed from the outside, so in order to not break backwards compatibility, this uses magic methods that emit deprecation errors.
* Adjust comment to better reflect methodMichael Große2019-02-04
| | | | | | That method cannot be private or protected, since it has to be used by the event handler. Thus adjust the method comment to internal to better represent that it shouldn't be used by other classes.
* Fix typo and rename method in comments tooMichael Große2019-02-04
|
* Rename methods to conform with PSR 2Michael Große2019-02-02
| | | | | | | The method _useCache doesn't seem to be in use outside the core cache classes[0], thus no deprecation placeholder was created. [0]: https://codesearch.dokuwiki.org/search?project=dokuwiki&project=plugin&project=template&q=&defs=&refs=_useCache&path=&hist=&type=php
* Refactor cache.php into different filesMichael Große2019-02-02