Commit Graph

302 Commits

Author SHA1 Message Date
Andy Miller
51623ee0da
Added custom_base test 2024-05-08 12:35:16 +01:00
Andy Miller
ee8d783d05
better support for external urls in Utils::url() 2024-04-20 15:42:42 +01:00
Andy Miller
0b16401a91
fix special-chars in titleize - fixes #732 2024-01-19 12:39:24 +00:00
Andy Miller
6df03063c8
remove test 2024-01-05 12:34:59 +00:00
Andy Miller
e5990f431d
Revert "Added 'outdated' option to scheduler command (#3771)"
This reverts commit a71403f158.

# Conflicts:
#	tests/unit/Grav/Common/Scheduler/SchedulerTest.php
2024-01-05 12:31:53 +00:00
Andy Miller
b3d55ca81a
remove a debug 2024-01-05 12:26:08 +00:00
maelanleborgne
a71403f158
Added 'outdated' option to scheduler command (#3771) 2024-01-05 11:46:14 +00:00
Jeremy Angele
80ce87e4a9
Update dangerous extensions (#3756)
Thanks for this!
2023-10-24 10:20:22 +01:00
Andy Miller
93755c7329
fix UtilsTest for PHPUnit 10 2023-02-19 13:48:13 -07:00
Matias Griese
62c4f3c768 Ignore phpstan error 2022-06-14 20:08:04 +03:00
Matias Griese
f31541250f Fixed broken phpstan tests 2022-06-13 19:29:42 +03:00
Andy Miller
0abde01442
better fix 2022-03-05 09:22:12 -07:00
Andy Miller
03f71fa49d
rolled back but fixed the Utils::url() functionality 2022-03-04 15:37:03 -07:00
Andy Miller
b80fcca0cf
fixes for Utils::url() 2022-03-03 12:35:17 -07:00
Matias Griese
61061220d7 Compoer update, fixed phpstan errors 2022-01-17 09:37:59 +02:00
Matias Griese
0f85b831b5 Minor fixes 2021-12-16 13:55:36 +02:00
Matias Griese
236c068d70 Improve typehints 2021-12-09 14:06:58 +02:00
Matias Griese
3bfbb1a4ef Composer 2 checks for minimum PHP version, remove duplicated checks 2021-12-08 15:17:28 +02:00
Matias Griese
70c0dc6419 Improve Framework code 2021-12-07 13:10:19 +02:00
Matias Griese
f04f13723d Silence PHP 8.1 deprecation notices for Twig 1 2021-12-03 14:52:52 +02:00
Matias Griese
ecb2d31df0 PHP 8.1 2021-12-02 13:52:51 +02:00
Matias Griese
589f75b60d Phpstan test updates 2021-12-01 17:03:41 +02:00
Matias Griese
4c3daf6e6f PHP 8.1 return type fixes 2021-11-30 21:20:17 +02:00
Matias Griese
a57c18f63f Fixed some phpstan errors 2021-11-30 15:26:21 +02:00
Matias Griese
ad003a0fc4 Updated phpstan to v1.0 2021-11-04 08:55:53 +02:00
Matias Griese
c220aa746a Phpstan fix for Deferred Twig extension compat mode 2021-09-24 12:26:05 +03:00
Andy Miller
d90b28a399
fix jquery in tests 2021-06-15 10:20:57 -06:00
Djamil Legato
acf8724402
Added tests for new params support in collections (#3358) 2021-06-14 16:03:22 -07:00
Matias Griese
defb793b0b Hide phpstan deprecation errors on Doctrine Cache 2021-04-26 10:54:39 +03:00
Matias Griese
5efe447861 Fixed The "Grav/Common/Twig/TwigExtension" extension is not enabled when using markdown twig tag [#3317] 2021-04-19 10:20:26 +03:00
Matias Griese
75c63704f6 Further improve defined paths #3297 2021-04-13 12:05:01 +03:00
pamtbaau
e02d298ff4
Add option images.defaults.size to set default height/width (#3272)
* Add option images.defaults.size to set default height/width

- Add option to config/system.yaml
- Add option to blueprints/config/system.yaml
- Add ImageSizeTrait.php
- Add ImageSizeTrait to ImageMedium.php
- Add Unit tests

* moved width/height to rendering phase

* Add test: height/width should be of resized image.

* Added optional apsect-ratio variable

* more improvements

* Added aspectRatio and retinaScale image functions

* remove use for old trait

* reset the CLS variables after calling reset on the image

Co-authored-by: Andy Miller <rhuk@mac.com>
2021-04-05 11:21:03 -06:00
Matias Griese
67f172b741 Phpstan fixes 2021-03-31 22:11:55 +03:00
Matias Griese
38b1556ee0 Fix unit test #2184 2021-03-31 21:29:59 +03:00
Matias Griese
644a54e441 Added Utils::getPathFromToken() method which works also with Flex Objects 2021-03-17 21:54:26 +02:00
pamtbaau
898759b3b9 Add unit tests for system.images.defaults.loading 2021-03-10 14:58:58 +02:00
Pierre Joye
6c3c068485 add test for multiple parts using folder 2021-02-02 07:27:54 +07:00
Pierre Joye
caf431d22e add faker for multiple parts with folder 2021-02-02 07:27:21 +07:00
Pierre Joye
2044a649ba add another test with subfolder 2021-02-02 07:25:58 +07:00
Pierre Joye
b20838531c Resolved merge conflict 2021-02-01 22:43:28 +07:00
Matias Griese
55241864bc Removed fzaninotto/faker library 2021-02-01 11:27:08 +02:00
Matias Griese
a8a960d10b Updated unit tests 2021-02-01 11:14:53 +02:00
Pierre Joye
4ce3ff52bf Add the test translated pages 2021-01-31 07:21:44 +07:00
Pierre Joye
10be5d5a7c fix text if language is found and is part as enabled languages 2021-01-31 07:14:33 +07:00
Pierre Joye
711d7b122d Add fixture for translatedLanguages 2021-01-30 21:22:39 +07:00
Pierre Joye
ea758e9dca Add test for this translatedLanguages 2021-01-30 20:50:20 +07:00
Matias Griese
59a70e0077 Fix phpstan tests for gantry 2021-01-22 20:39:41 +02:00
Matias Griese
23fa2324a8 Minor tweaks on phpstan 2021-01-09 09:58:03 +02:00
Matias Griese
0948e9db9d Fixed Filesystem::normalize() with dot-dot paths 2020-12-23 13:46:49 +02:00
Matias Griese
8f7dc43e1f Changelog update [#3101] 2020-12-10 21:46:57 +02:00