Ricardo
2813934d21
fix for when no valid link attributes are present
2021-04-26 21:20:19 +01:00
Matias Griese
1fd2162d4f
Fixed broken exif_imagetype() twig function, composer update
2021-04-26 10:50:35 +03:00
Matias Griese
2cf7a5f281
Fixed broken numeric language codes in Flex Pages [ #2131 ]
2021-04-26 09:53:21 +03:00
Andy Miller
ed7e51480b
prepare for release
2021-04-23 12:55:28 -06:00
Matias Griese
3e91be9a4d
Added support for getting translated collection of Flex Pages using $collection->withTranslated('de')
2021-04-23 15:14:02 +03:00
Matias Griese
3e9bfad78f
Added support for user provided folder in Flex $page->copy()
2021-04-23 15:10:43 +03:00
Matias Griese
fd34fce3c1
Fixed a bug in Flex Object refresh() method
2021-04-22 13:49:11 +03:00
Matias Griese
0cf684300d
Fixed text field maxlength validation newline issue [ #3324 ]
2021-04-22 11:44:11 +03:00
Djamil Legato
fe1c808dfd
Have folder field for pages blueprints use the new folder-slug filed type
2021-04-20 15:53:51 -07:00
Andy Miller
8e8de1eeec
minor improvement in XSS invalid_protocol regex - #3298
2021-04-20 14:36:53 -06: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
Andy Miller
1a97986bd2
prepare for release
2021-04-15 12:03:32 -06:00
Matias Griese
a2bb650518
Improve JSON support for the request
2021-04-15 15:28:22 +03:00
Matias Griese
b44a1ce939
Fixed absolute path support for Windows [ #3297 ]
2021-04-14 17:04:40 +03:00
Andy Miller
ad50017235
prepare for release
2021-04-13 12:27:42 -06:00
Matias Griese
aeb2e3a715
Add back alias for moved class
2021-04-13 21:11:05 +03:00
Matias Griese
3d10282567
Merge remote-tracking branch 'security/advisory-fix-1' into develop
2021-04-13 20:51:21 +03:00
Matias Griese
9e89666a24
Composer update, rename clearcache
2021-04-13 20:41:35 +03:00
Matias Griese
953cf65223
Added some documentation #3297
2021-04-13 12:40:08 +03:00
Matias Griese
371eb76b2b
Typo #3297
2021-04-13 12:12:05 +03:00
Matias Griese
75c63704f6
Further improve defined paths #3297
2021-04-13 12:05:01 +03:00
Matias Griese
16dab2c9f1
Redirect /admin/groups to /admin/accounts/groups and blacklist it for admin controller
2021-04-12 18:38:12 +03:00
Matias Griese
7fdaf62684
Restrict filesystem Twig functions to accept only local filesystem and grav streams
2021-04-12 16:07:36 +03:00
Matias Griese
312c11b8da
Allow GRAV_WEBROOT to be devined in env, USER_DIR is always under webroot
2021-04-10 11:14:11 +03:00
Matias Griese
2ef4c28401
Added configuration options to allow PHP methods to be used in Twig functions
2021-04-09 21:31:45 +03:00
Matias Griese
27dc8ffb45
Fixed fatal error if system.pages.types is not an array [ #2984 ]( https://github.com/getgrav/grav/issues/2984 )
2021-04-09 14:45:05 +03:00
Matias Griese
c5296cd7e0
Fixed system.languages.session_store_active not having any effect [ #3269 ]
2021-04-09 13:11:08 +03:00
Matias Griese
029b408915
Fixed fatal error when using markdown links with image:// stream [ #3285 ]
2021-04-09 12:53:05 +03:00
Matias Griese
f3e4f9d311
Fixed deleting page with language code not removing the folder if it was the last language [ #3305 ]
2021-04-09 11:13:51 +03:00
Matias Griese
74a667bbef
Merge remote-tracking branch 'origin/develop' into develop
...
# Conflicts:
# CHANGELOG.md
2021-04-09 10:34:18 +03:00
Matias Griese
7f8263318e
Minor code cleanup in Utils
2021-04-09 10:33:32 +03:00
Djamil Legato
e0fc832621
Better GPM detection of unauthorized installations
2021-04-08 21:21:27 -07:00
Matias Griese
34aea14ff9
Fixed nxinx appending repeating ?url= in some redirects
2021-04-08 10:24:55 +03:00
Andy Miller
aa81350b6f
prepare for release
2021-04-06 11:16:02 -06: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
e97fe9de86
Fixed phpstan generics
2021-03-31 22:11:11 +03:00
Matias Griese
0af33850a6
Fixed incorrect routing if url path looks like a domain name [ #2184 ]
2021-03-31 20:08:39 +03:00
Matias Griese
edafa68414
Revert "Plugin class phpstan fix"
...
This reverts commit f78debe7
2021-03-31 14:29:50 +03:00
Matias Griese
f78debe768
Plugin class phpstan fix
2021-03-31 14:02:57 +03:00
Matias Griese
4f0f7876a8
Better support absolute GRAV_SYSTEM_PATH [ #3297 ]
2021-03-31 10:26:46 +03:00
Matias Griese
2a4376b7cb
Fixed undefined variable (regression)
2021-03-31 08:55:19 +03:00
Andy Miller
1d3d2a0bf9
Merge branch 'develop' of github.com:getgrav/grav into develop
...
# Conflicts:
# CHANGELOG.md
2021-03-30 11:53:44 -06:00
Andy Miller
bbddb0a036
system blueprints not getting scanned. Fixes #3296
2021-03-30 11:53:27 -06:00
Matias Griese
a8e6aedd04
Fixed missing onAdminAfterDelete event call in Flex Pages
2021-03-30 19:14:49 +03:00
Matias Griese
1b9fd6276e
Added initial support for running Grav library from outside the webroot [ #3297 ]
2021-03-30 16:58:19 +03:00
Matias Griese
e229ab191f
Improved password handling when saving a user
2021-03-26 10:53:14 +02:00
Matias Griese
42084ea0cb
Fixed UserIndex not implementing UserCollectionInterface
2021-03-23 12:58:11 +02:00
Matias Griese
35468bb417
Minor docblock fix
2021-03-23 10:31:10 +02:00
Matias Griese
9eb20e37c8
Fixed Folder::move() deleting the folder if you move folder into itself, created empty file instead
2021-03-23 10:16:26 +02:00