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
Jérôme Nadaud
ab6b82eaaa
Fix cache image generation when using cropresize ( #2639 )
2019-10-17 05:56:46 -06:00
Rasmus Lerdorf
32a9acc62e
Add a .phan config file and stubs for Phan static analysis
...
I fixed some small inconsistencies here and there. There are still
a little over 200 to go. This time against the 1.7 branch.
To try it, checkout this PR and run:
composer require phan/phan
It doesn't have to be in the Grav tree. You can install it anywhere.
Then from the top-level Grav dir:
/vendor/bin/phan -p
You can see the ones that are left to address here:
https://gist.github.com/69eac9b37ced1cadc08ed4be0ee84f40
Also, and the main reason I added it, was to get some nice
dependency graphs from Phan to help me understand the Grav code. Some
examples:
http://pdep.lerdorf.com/?mode=class&node=\Grav\Common\File\CompiledFile&d=3
http://pdep.lerdorf.com/?mode=class&node=\Grav\Common\Filesystem\Folder&d=1
http://pdep.lerdorf.com/?mode=class&node=\Doctrine\Common\Cache\Cache&d=2
http://pdep.lerdorf.com/?mode=class&node=\RocketTheme\Toolbox\ArrayTraits\Export&d=1
Move the slider to change the number of dependency levels shown.
2019-10-16 10:38:08 -07:00
Matias Griese
467c33d3e1
More phpstan issues
2019-10-16 09:48:22 +03:00
Patric Johansson
4bba284bf5
Update Core to follow PSR-2 standard
2019-10-15 13:33:48 +03:00
Matias Griese
90c2079529
Fixed wrong Pages::dispatch() calls (with redirect) when we really meant to call Pages::find()
2019-09-13 22:39:46 +03:00
Matias Griese
22acffac5c
Update Pages unit tests
2019-08-22 15:16:27 +03:00
Andy Miller
3ac785b9ce
Fix for changed location of phpdebug CSS
2019-06-28 14:47:13 -06:00
Matias Griese
94494c3c96
Merge branch 'develop' of github.com:getgrav/grav into 1.7
2019-06-28 13:37:39 +03:00