Andy Miller
a86e0d4b96
Update copyright date
2023-01-02 11:09:32 -07:00
Matias Griese
84a1ab6ca5
Added unicode-safe Utils::basename() and Utils::pathinfo() methods and use them everywhere
2022-01-26 13:54:33 +02:00
Andy Miller
3b7921b698
updated copyright year
2022-01-03 09:14:00 -07:00
Matias Griese
30b55ae150
Phpstan fixes
2021-09-24 12:19:41 +03:00
Matias Griese
67f172b741
Phpstan fixes
2021-03-31 22:11:55 +03:00
Matias Griese
e767e00a82
Clearing cache now deletes all clockwork files
2021-02-26 13:47:09 +02:00
travis00001
51cc9cd13e
Support selecting Redis database ID ( #3208 )
2021-02-06 13:35:50 -07:00
Djamil Legato
25f8b787b6
Oh, don’t mind me… just bringing Grav to 2021! 🎆
2021-02-04 21:09:42 -08:00
Djamil Legato
0a601f10c0
Fixed Purge successful message only working in Scheduler but broken in CLI and Admin ( fixes #1935 )
2020-11-20 12:16:37 -08:00
Matias Griese
819e412e09
Improve docblocks in Grav\Common, improve code readability
2020-09-20 22:04:40 +03:00
Andy Miller
7d7590b914
Added a new onAfterCacheClear event
...
Signed-off-by: Andy Miller <rhuk@mac.com>
2020-06-28 12:54:35 -06:00
Andy Miller
a6f7637134
Updated copyright dates to 2020
2020-01-02 16:54:14 -07:00
Matias Griese
1aa69e61ac
Add a lot of missing docblocks (variables)
2019-11-18 10:53:21 +02:00
Matias Griese
2fd5492286
Updated to Symfony 4.3, use Symfony EventDispatcher directly and not rockettheme/toolbox wrapper
2019-10-29 20:56:31 +02:00
Patric Johansson
4bba284bf5
Update Core to follow PSR-2 standard
2019-10-15 13:33:48 +03:00
Matias Griese
565f26db8e
Code quality improvements
2019-10-08 16:58:59 +03:00
Matias Griese
90ca9f9d49
Fixed/improved Flex caching
2019-08-26 22:51:59 +03:00
Matias Griese
288b2a1953
Fixed fatal error 'Expiration date must be an integer, a DateInterval or null, "double" given' [ #2529 ]
2019-07-09 13:43:51 +03:00
Matias Griese
ec1fc1f1e3
Change cache touch parameter to invalidate, added CLI option for it
2019-04-26 09:54:14 +03:00
Matias Griese
0850c2f362
Added Cache::clearCache('touch') parameter for just forcing simple cache clear
2019-04-25 21:08:07 +03:00
Matias Griese
ac2a4e1c06
Try fixing cache issue with media
2019-04-02 20:28:43 +03:00
Matias Griese
8d9ceb5d99
MediaTrait: Use PSR-15 cache
2019-04-01 19:49:15 +03:00
Matias Griese
b0b6c1dd17
Fixed some more phpstan level 2 issues
2019-03-13 15:21:09 +02:00
Matias Griese
8564524984
Fixed some bugs found by phpstan
2019-03-13 09:49:08 +02:00
Andy Miller
3c680cd8e8
Added support for a backlink in scheduler
2019-02-18 13:18:01 -07:00
Andy Miller
72016d7e7c
Fixed purgeJob() and added clearJob()
2019-02-18 12:59:47 -07:00
Matias Griese
993db32652
Console commands: add method for invalidating cache
2019-02-14 15:32:42 +02:00
Matias Griese
ba2c37c216
Removed apc and xcache support, made apc alias of apcu
2019-01-31 17:51:04 +02:00
Matias Griese
1141dabbd8
Code cleanup
2019-01-31 17:32:06 +02:00
Matias Griese
4f80a1567d
Update PHP file headers and copyrights
2019-01-31 10:04:57 +02:00
Andy Miller
23098a6b02
Revert "Grav 1.6 copyright updates and cleanup (PHP files only) ( #2351 )"
...
This reverts commit 0566185c4f .
2019-01-30 17:54:37 -07:00
Matias Griese
0566185c4f
Grav 1.6 copyright updates and cleanup (PHP files only) ( #2351 )
...
* Framework: update copyrights to 2019
* Some code cleanup (Assets, Backup, Config, Session)
* Continue code cleanup, update copyrights
* Fixed exception issues in scheduler, code cleanup
* Remove apc and xcache support, make apc alias of apcu
* Fixed Getters::count() method not returning anything
* More code cleanup, copyright updates
* Copyright updates for Grav\Console
2019-01-30 13:44:19 -07:00
Andy Miller
68ee0f7580
changed text.. need to move to. lang file
2018-09-20 11:24:51 -06:00
Andy Miller
178193ab1a
Added a deleteAll() method and also renamed CLI command
2018-09-20 11:07:39 -06:00
Andy Miller
12c3c6c472
tooltip work
2018-09-19 22:02:08 -06:00
Andy Miller
eaac77881f
Force clearing PHP clearstatcache and opcache-reset on Cache::clear()
2018-03-08 14:52:49 -07:00
Andy Miller
7ec66b2bf2
Transferred copyright
2017-12-11 15:08:05 -07:00
Wensheng Yan
72f3a01abf
Update Cache.php ( #1745 )
...
make sure find resource return valid path.
2017-11-15 18:35:44 -07:00
Andy Miller
cc8a20537e
Added support for redis password option #1620
2017-08-24 09:17:25 -06:00
Andy Miller
633a2a750f
option to configure image cache clearing #1481
2017-07-26 12:53:16 -06:00
Matias Griese
77b44f83e1
Add missing APCu
2017-05-11 13:37:24 +03:00
Flavio Copes
cdc6b910cb
Bump year
2017-05-05 17:21:59 +02:00
Matias Griese
030b020add
Add some missing docblocks and typehints
2017-02-08 11:59:34 +02:00
Andy Miller
9100c54244
Fixes to allow not just ‘default/file’ cache in CLI ( #1294 )
...
* Fixes to allow not just ‘default/file’ cache in CLI
* vendor updates
* Better solution
* Added cli_compatibility to system blueprint
* Fall back to ‘file’ if cli_compatibility and (auto or volatile)
2017-02-07 13:48:50 -07:00
Andy Miller
060f21f83d
Skip symlinks in cache clearing if found - #1269
2017-01-24 20:36:22 -07:00
Matias Griese
625f3d3a34
Better error handling in cache clear
...
Added new parameter `remove` for `onBeforeCacheClear` event
2016-12-08 12:57:18 +02:00
Andy Miller
74c005d39c
Added new onBeforeCacheClear event
2016-12-07 14:48:00 -07:00
Andy Miller
9bd058e319
Added ability to set cache.enabled via plugin
2016-09-30 07:51:06 -06:00
Bernhard Altendorfer
584f4efcb1
Added possiblity to connect to redis via a unix socket ( #1055 )
...
* Added possiblity to connect to redis via a unix socket
* Improved redis via socket config usage and added config option to blueprints
* Updated Changelog
* Improved redis via socket by adding a default value and a placeholder in the blueprint
2016-09-21 10:45:13 -06:00
Andy Miller
76f5b99c52
Quietly skip missing streams on clear
2016-09-08 09:09:15 -06:00