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
Matias Griese
f25ea8f056
Updated unit tests
2020-12-04 20:01:28 +02:00
Stephan Strate
ae6f0b5505
Check exact extension in checkFilename utility ( #3061 )
...
* Fix uploads_dangerous_extensions checking (#3060 )
* Remove redundant prefixing of `.` to extension (#3060 )
2020-11-17 13:07:33 +02:00
Ricardo Verdugo
b94c4e775a
added optional options to noprocess ( #2954 )
...
* added optional options to noprocess
* fix minor bug with skip and better naming
* Added tests
Signed-off-by: Andy Miller <rhuk@mac.com>
* Added some tests
Signed-off-by: Andy Miller <rhuk@mac.com>
Co-authored-by: Ricardo <ricardo@urbansquid.london>
Co-authored-by: Andy Miller <rhuk@mac.com>
2020-07-07 12:27:32 -06:00
Matias Griese
d25014779d
Fixed some phpstan issues
2020-05-05 19:35:09 +03:00
Matias Griese
5f0380f547
Fixed unit test
2020-05-05 19:04:56 +03:00
Matias Griese
028bbf08c6
Grav 1.7 edition: Fixed validation: strict not working in blueprints [ #1273 ]
2020-02-18 13:09:14 +02:00
Matias Griese
a3812141dd
Fixed issues reported in phpstan
2020-02-17 14:04:31 +02:00
Matias Griese
4794097992
Phpstan rules update
2020-02-04 14:24:41 +02:00
Matias Griese
d589dbcbea
Fix phpstan issues
2020-02-03 11:19:22 +02:00
Matias Griese
67dd5f256d
Fixed unit test for parsedown link &
2020-01-30 09:15:26 +02:00
Matias Griese
2c3ced3fba
Merge branch 'develop' of github.com:getgrav/grav into 1.7
2020-01-30 09:11:53 +02:00
Matias Griese
a592f6fe0b
Fixed unit test for Uri::currentPage(): it only returns integers now
2020-01-30 09:11:19 +02:00
Matias Griese
33790dbb33
Merge branch 'develop' of github.com:getgrav/grav into 1.7
...
Conflicts:
system/src/Grav/Common/Data/BlueprintSchema.php
system/src/Grav/Common/Data/Validation.php
system/src/Grav/Framework/Session/Session.php
2020-01-14 15:11:50 +02:00
Matias Griese
8714aa9202
Fixed validation: strict not working in blueprints [ #1273 ]
2020-01-14 14:46:19 +02:00
Matias Griese
3f9ed2f344
Flex User: do not use deprecated method
2019-12-10 12:46:46 +02:00
Matias Griese
a65c468e81
Minor update on Twig tags
2019-12-09 12:53:17 +02:00
Matias Griese
8afe004a7f
Improve plugin testing
2019-12-06 18:49:10 +02:00
Matias Griese
b314ea13aa
Merge branch 'develop' of github.com:getgrav/grav into 1.7
2019-12-04 09:55:35 +02:00
Matias Griese
ad8d0a2ab1
Updated plugins phpstan to work with Gantry5 plugin
2019-12-03 19:29:04 +02:00
Matias Griese
9044721c89
Minor bug fixes
2019-11-18 12:05:31 +02:00
Matias Griese
571674a4f5
Fixed phpstan issues in all code up to level 3
2019-11-15 14:03:52 +02:00
Matias Griese
a06520337f
Fully comply phpstan level2!
2019-11-15 13:21:20 +02:00
Matias Griese
f0c12e6246
Fixed a few type hints
2019-11-15 09:00:48 +02:00
Matias Griese
f9f836959c
Reverting (git) moved folders leave empty folders which break Flex Pages
2019-10-24 12:36:14 +03:00
Matias Griese
c4ce2d1648
Misc minor code quality fixes
2019-10-24 11:26:04 +03:00
Matias Griese
913efdbd6a
Revert multiple changes as many of those break Grav functionality [ #2699 ]
2019-10-22 15:20:35 +03:00
Matias Griese
9c123f7d3d
Merge remote-tracking branch 'rlerdorf/1.7' into 1.7
2019-10-22 12:35:27 +03:00
Andy Miller
2b00e93f22
Merge branch 'develop' into 1.7
...
# Conflicts:
# composer.json
2019-10-17 10:02:36 -06:00