Commit Graph

5584 Commits

Author SHA1 Message Date
Andy Miller
2412115f41
TwigDeferredExtension updates 2023-05-08 17:26:22 -06:00
Andy Miller
598836d656
fix parsedown dynamic properties 2023-05-08 12:39:35 -06:00
Andy Miller
e1019c4420
remove FILTER_SANITIZE_STRING as deprecated 2023-05-08 12:21:09 -06:00
Andy Miller
1e2792874d
prepare for release 2023-03-22 11:29:52 -06:00
Andy Miller
0a061ce95e
bugfix for timestamp logic 2023-03-22 10:18:07 -06:00
Andy Miller
3b83c8204d
Merge branch 'develop' of github.com:getgrav/grav into develop 2023-03-22 10:07:18 -06:00
Andy Miller
9ab7a4759a
Added timestamp: true|false option for assets 2023-03-22 10:07:14 -06:00
Vilius Šumskas
c261d0d3f7
Fix force_ssl redirect in case of undefined hostname (#3702) 2023-03-17 08:53:45 -06:00
Andy Miller
60506e6f34
fixed duplicate page paths 2023-03-07 10:45:01 -07:00
Djamil Legato
bd7a74d79e
Coerce ignore validation to array to cover both array/non-array values 2023-03-06 11:01:15 -08:00
Djamil Legato
5fcf690918
Fixed BlueprintSchema:flattenData to properly handle ignored fields 2023-03-06 10:40:36 -08:00
Vilius Šumskas
259c148edb
Fix whoami command usage (#3695)
Passing process as a string is deprecated since Symfony 4.2.
2023-03-06 10:19:23 -07:00
Rotzbua
0ae980062f
Remove outdated setting xcache (#3615)
Already removed in commit ba2c37c216
2023-03-06 10:18:57 -07:00
Ari Cooper Davis
a888f19ad1
Fix LogViewer regex to reduce greediness (#3684) 2023-03-06 09:25:12 -07:00
Andy Miller
ec115a6a64
prepare for release 2023-02-22 09:20:07 -07:00
Andy Miller
2d9df03766
Revert "move account info under account section"
This reverts commit 1fae4504a2.
2023-02-22 09:16:54 -07:00
Andy Miller
88350d9090
prepare for release 2023-02-21 15:12:24 -07:00
Andy Miller
b2f27fbdf2
cleaner fix for template bug 2023-02-21 12:55:50 -07:00
Andy Miller
72b769aa63
fix for rendering specific templates fixes #3698 2023-02-21 09:39:14 -07:00
Andy Miller
8efb000801
prepare for release 2023-02-20 14:31:30 -07:00
Andy Miller
6d6e92048e
flex accounts session fix 2023-02-20 14:02:13 -07:00
Andy Miller
ee6448c307
prepare for release 2023-02-20 11:51:36 -07:00
Andy Miller
f8c9e9ada4
css fix for phpdebugbar 2023-02-20 11:49:47 -07:00
Andy Miller
9e5ed10925
typo in types 2023-02-19 14:50:16 -07:00
Andy Miller
e1950e985b
prepare for release 2023-02-19 14:44:10 -07:00
Andy Miller
81a911572c
more PHP 8.2 fixes 2023-02-19 13:26:17 -07:00
Andy Miller
c56bb86b61
php 8.2 fixes 2023-02-19 12:07:58 -07:00
Andy Miller
ea010f19f0
Fix for bad rendering of modules 2023-02-17 16:00:46 -07:00
Andy Miller
1fae4504a2
move account info under account section 2023-02-15 15:24:03 -07:00
Andy Miller
4f0fee684a
fix for email validation 2023-01-11 16:16:52 -07:00
Andy Miller
0bc0e58707
prepare for release 2023-01-02 11:23:56 -07:00
Andy Miller
a86e0d4b96
Update copyright date 2023-01-02 11:09:32 -07:00
Andy Miller
44c819b021
Added new onBeforeSessionStart() Event 2023-01-02 10:46:32 -07:00
Andy Miller
3f13d81c6f
Get around a bug where messages were not always being set on session during redirect 2023-01-01 13:10:58 -07:00
Andy Miller
ad33a63ad2
Revert "dont’ fail hard if pages recurse with same path"
This reverts commit 9c5b8b6496.

# Conflicts:
#	system/src/Grav/Common/Page/Pages.php
2022-10-25 18:20:08 -06:00
Andy Miller
f7b7f3337d
fix 2022-10-25 18:01:42 -06:00
Andy Miller
9c5b8b6496
dont’ fail hard if pages recurse with same path 2022-10-25 17:47:03 -06:00
Andy Miller
7e5ff71623
prepare for release 2022-10-05 15:06:11 -06:00
Andy Miller
5e379bfa39
prepare for release 2022-10-05 11:31:38 -06:00
Matias Griese
fb1e31d0e4 Force user index file to be updated to fix email addresses [getgrav/grav-plugin-login#229] 2022-10-05 19:16:18 +03:00
Andy Miller
8e6b823833
massive change! 2022-10-05 06:38:32 -06:00
Andy Miller
6fcc4ec5d0
Added Pages:: getSimplePagesHash() method 2022-10-05 06:34:16 -06:00
Andy Miller
3a00ca0457
temp workaround for windows issue - Fixes #2299 2022-10-04 17:55:21 -06:00
Andy Miller
51a386e252
Fix bad default page stream 2022-09-22 17:40:35 -06:00
Andy Miller
01264ef70d
initial commit 2022-09-22 12:36:36 -06:00
Andy Miller
de642df06e
Added new onPageHeaders() event 2022-09-13 14:28:58 -06:00
Andy Miller
840862c26d
prepare for release 2022-09-08 11:59:44 -06:00
Matias Griese
f799a71001 Fixed loggin with a capitalised email address when using old users [getgrav/grav-plugin-login#229] 2022-09-05 21:14:37 +03:00
Matias Griese
3f10c05840 Added support for flex-ignore@ to hide all the nested fields in the blueprint 2022-09-02 19:36:22 +03:00
Matias Griese
6882037b85 Added authorize-*@: support for Flex blueprints 2022-09-02 13:16:19 +03:00
Andy Miller
2258adcb05
prepare for release 2022-08-04 15:29:22 -06:00
Matias Griese
aba6382f2e Added variables $environment (string), $request (PSR-7 ServerRequestInterface|null) and $uri (PSR-7 Uri|null) to be used in setup.php 2022-06-30 12:56:31 +03:00
Matias Griese
32dd550178 Fixed FlexDirectory::reloadIndex() to actually get the items from the filesystem 2022-06-29 21:32:50 +03:00
Matias Griese
37e92e4f55 Merge branch 'feature/api' of github.com:getgrav/grav into develop 2022-06-29 13:07:19 +03:00
Matias Griese
1b0c3d1fce Fix phpstan error 2022-06-29 13:06:43 +03:00
Matias Griese
00cb9c3540 Make the new relationships code to work in PHP 7.3 2022-06-29 12:45:16 +03:00
Paweł Bogusławski
b9800b7c35
Allow to configure syslog tag (#3596)
* Allow to configure syslog tag

Author-Change-Id: IB#1120629

* Update InitializeProcessor.php
2022-06-15 10:38:59 -06:00
Matias Griese
b5ab00639b Merge branch 'develop' of github.com:getgrav/grav into feature/api 2022-06-15 14:38:39 +03:00
Andy Miller
f8d736b24a
prepare for release 2022-06-14 11:09:20 -06:00
Matias Griese
62c4f3c768 Ignore phpstan error 2022-06-14 20:08:04 +03:00
Matias Griese
b18b49a239 Fixed login and user search by email not being case-insensitive when using Flex Users 2022-06-14 10:43:46 +03:00
Matias Griese
9d6a2dba09 Fixed Twig |filter() allowing code execution 2022-06-13 21:11:33 +03:00
Matias Griese
de4af5dbcc Fixed bin/grav install command with arbitrary destination folder name 2022-06-13 20:38:16 +03:00
Matias Griese
f570cea3bd Fixed alias class references 2022-06-13 19:19:00 +03:00
Matias Griese
0b54a7b4bc Ignore upcoming media.json file in media 2022-06-13 18:22:03 +03:00
Yankl-Peretz Blum
6b57f29511 Add Eastern Yiddish
'yi' actually refers to a macrolanguage. The only language in current use in this category is Eastern Yiddish, with language code 'ydd'
2022-06-06 11:14:17 +03:00
yankl
74296a80d0 Add back Yiddish to Language Codes 2022-06-06 11:14:17 +03:00
Matias Griese
89709a7190 Merge branch 'develop' of github.com:getgrav/grav into feature/api
 Conflicts:
	CHANGELOG.md
	composer.lock
2022-05-20 16:41:30 +03:00
Matias Griese
6fa96ca554 Regression: Fixed saving page with a new language causing cache corruption [#2282] 2022-05-20 15:55:38 +03:00
Matias Griese
60ce105fa5 Improved flash media handling in MediaIdentifier 2022-05-20 11:58:09 +03:00
Matias Griese
ec16b5184e Fixed creating empty uploaded file 2022-05-20 10:59:53 +03:00
Matias Griese
a7a9b5d132 Fixed a potential fatal error when using watermark in images 2022-05-13 17:04:56 +03:00
Matias Griese
32a486f1d4 Added ToManyRelationship::getNthIdentifier() 2022-05-05 11:03:06 +03:00
Matias Griese
1237f0a6d6 Added support for multipart/form-data content type in PUT and PATCH requests 2022-05-04 14:45:59 +03:00
Matias Griese
9ec3e7d731 Minor fix on account relationships 2022-05-03 16:28:02 +03:00
Matias Griese
d6dcd96301 Added relationships support for user accounts 2022-05-03 13:18:57 +03:00
Matias Griese
2957077935 Added relationship logic for flex 2022-05-03 10:27:50 +03:00
Matias Griese
6ba1cff114 Added classes for defining relationships 2022-04-28 13:55:25 +03:00
Andy Miller
c2a8145f2c
prepare for release 2022-04-25 14:50:34 -06:00
Matias Griese
26e4768bc5 Fixed default collection ordering in pages admin 2022-04-25 18:27:21 +03:00
Matias Griese
4464f29169 Composer update 2022-04-19 10:56:41 +03:00
Matias Griese
2ea39309b6 Composer update 2022-03-31 11:30:35 +03:00
Matias Griese
1c0ed43afa Fixed XSS check not detecting onX events without quotes 2022-03-30 13:26:11 +03:00
Matias Griese
a092aed4ed When saving yaml and markdown, create also a cached version of the file and recompile it in opcache 2022-03-30 12:00:59 +03:00
Matias Griese
7c2b21fb60 Fixed missing changes in yaml & markdown files if saved multiple times during the same second because of a caching issue 2022-03-29 21:35:02 +03:00
Andy Miller
2830ba9120
prepare for release 2022-03-28 11:36:48 -06:00
Matias Griese
5a355fb94e Fixed page search not working with selected language [#3316] 2022-03-25 10:33:05 +02:00
Matias Griese
b0add67cdd Flex search() optimizations 2022-03-25 10:32:34 +02:00
Matias Griese
c9c23c6c4f Better fix for system.cache.gzip: true 2022-03-23 15:47:45 +02:00
Matias Griese
8f0443a73d Fixed phpstan issues, composer update 2022-03-23 13:05:54 +02:00
Matias Griese
c9271c80a7 Create method cleanOutputBuffers() and use it 2022-03-23 10:49:19 +02:00
Andy Miller
62d9db7650
gzip fixes for downloading 2022-03-22 17:30:55 -06:00
Andy Miller
57d6be0f78
Expose parse_url via parseurl() Twig function 2022-03-20 19:02:36 -06:00
Andy Miller
ae55b4794f
Fix for multi-lang issues with Security report 2022-03-20 18:22:12 -06:00
Andy Miller
730231b8b7
Merge branch 'develop' of github.com:getgrav/grav into develop 2022-03-18 13:15:44 -06:00
Andy Miller
82015d4ae7
gzip enabled breaking in close() 2022-03-18 13:15:37 -06:00
Matias Griese
4376c8ce57 Better multi-byte support for replace_last() filter 2022-03-18 20:39:10 +02:00
Matias Griese
aa1e1bc0ad Optimization for Utils::url() 2022-03-18 20:38:33 +02:00
Matias Griese
35d4d00429 Better fix for multilang URLs in Utils::url() 2022-03-17 16:55:34 +02:00
Matias Griese
3e7f67f589 Set default maximum length for text fields 2022-03-17 13:04:06 +02:00
Matias Griese
c08341046b Added |replace_last(search, replace) filter 2022-03-17 12:15:05 +02:00
Andy Miller
d36bc4b8a2
Fix for multilang URLs in Utils::url() 2022-03-16 14:28:07 -06:00
Andy Miller
0d19bc6e97
prepare for release 2022-03-14 11:34:33 -06:00
Matias Griese
492cc1d2f1 Added XSS check for uploaded SVG files before they get stored (in Form plugin) 2022-03-14 18:55:56 +02:00
Matias Griese
4d4efb31e3 Escape root url pattern in Utils::url() 2022-03-09 12:25:46 +02:00
Andy Miller
c7bc5f5b59
hash for multiavatar only 2022-03-08 14:00:06 -07:00
Andy Miller
41b8fbb0e0
Update changelog + Accounts in sidebar 2022-03-08 10:45:44 -07:00
Djamil Legato
e60ba13d75
Fixed issue with URL method not escaping subpaths slashes 2022-03-08 09:32:28 -08:00
Matias Griese
e0deeeb551 Make new avatar logic more robust 2022-03-08 19:15:46 +02:00
Andy Miller
9fd580c49b
Alternative Multiavatar Approach (#3551)
* Support multiavatar by default

* Support custom hash string
2022-03-08 09:45:41 -07:00
Andy Miller
e09bae918c
fix for empty $root 2022-03-05 11:20:54 -07: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
4f92568171
Added system config option legacy_url_root_behavior 2022-03-03 13:16:48 -07:00
Andy Miller
b80fcca0cf
fixes for Utils::url() 2022-03-03 12:35:17 -07:00
Andy Miller
7b7235297e
Merge branch 'develop' of github.com:getgrav/grav into develop 2022-03-03 11:21:06 -07:00
Andy Miller
34ab8408fa
fix for url() function breaking when path contains root 2022-03-03 11:21:03 -07:00
Matias Griese
f19297d5f7 Added XSS check for uploaded SVG files before they get stored 2022-03-02 13:37:51 +02:00
Matias Griese
78b8051627 Fixed avatar save location when account:// stream points to custom directory 2022-03-02 12:24:27 +02:00
Djamil Legato
3dd0cabeac
Fixed entity sanitization for XSS detection 2022-02-23 14:57:36 -08:00
Matias Griese
a7e82f279a Fixed non-standard video html atributes generated by {{ media.html() }} [#3540] 2022-02-22 11:30:33 +02:00
Matias Griese
6d0d6c22d3 Fixed new Utils::pathinfo() and Utils::basename() being too strict for legacy use [#3542] 2022-02-22 09:46:29 +02:00
Matias Griese
7e52112b21 Fixed phpstan issues (All level 2, Framework level 5) 2022-02-19 12:01:50 +02:00
xaver
a900b89795
Remove variable duplicate (#3539) 2022-02-18 08:39:20 -07:00
Matias Griese
ec884997ef Improve vector image code [#3533] 2022-02-12 10:49:52 +02:00
Matias Griese
3a45748ce6 Added auto_sizes support for SVG vector images [#3533] 2022-02-12 10:41:34 +02:00
Xaver Maierhofer
c4e10cf59f Add Vector image auto_sizes support 2022-02-12 10:26:18 +02:00
Andy Miller
b1938c9790
prepare for release 2022-02-07 12:12:03 -07:00
Rotzbua
0323a898cb Normalize variable names 2022-02-07 11:20:16 +02:00
Rotzbua
d275532cf8 Fix documentation of return type 2022-02-07 11:20:16 +02:00
Matias Griese
7306f164e9 Fixed groups filter not matching against readableName [getgrav/grav-plugin-admin#2224] 2022-02-07 10:30:25 +02:00
Matias Griese
88219fbf0e Fixed accounts filter only matches against email address [getgrav/grav-plugin-admin#2224] 2022-02-07 10:07:00 +02:00
Djamil Legato
5eefc91781
Fixed "Page Authors" field in Security tab, wrongly loading and saving the value (fixes #3525) 2022-02-04 11:23:09 -08:00
Matias Griese
67ef9b221a Fixed error while deleting retina image in admin 2022-02-04 19:58:23 +02:00
Matias Griese
c82a35cea0 Added twig filter |field_parent to get parent field name 2022-02-03 19:51:46 +02:00
Andy Miller
5248519c37
prepare for release 2022-01-31 11:52:12 -07:00
Matias Griese
5b9a0fb237 Fixed Call to undefined method error when upgrading from Grav 1.6 [#3523] 2022-01-31 11:26:35 +02:00
Andy Miller
96df7deaf4
prepare for release 2022-01-28 13:08:36 -07:00
Matias Griese
7666651324 Fixed error on thumbnail image creation 2022-01-28 19:13:26 +02:00
Djamil Legato
b9db2f3322
Fixed MimeType for gzip (application/x-gzip) 2022-01-27 16:24:50 -08: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
Matias Griese
3b89377570 Improved Filesystem::basename() and Filesystem::pathinfo() to be UTF-8 safe 2022-01-26 13:16:35 +02:00
Matias Griese
c3c31880b0 Added support for registering assets from HtmlBlock 2022-01-26 11:06:05 +02:00
Andy Miller
9bb6f5366e
prepare for release 2022-01-24 11:40:25 -07:00
Matias Griese
6f2fa9311a Fixed XSS check not detecting escaped &#58 2022-01-18 12:34:52 +02:00
Matias Griese
61061220d7 Compoer update, fixed phpstan errors 2022-01-17 09:37:59 +02:00
Matias Griese
aa7e64f2b7 Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	CHANGELOG.md
2022-01-14 11:25:40 +02:00
Matias Griese
b58210de1a Added HtmlBlock support for {% style %}, {% script %} and {% link %} tags 2022-01-14 11:25:21 +02:00
Andy Miller
0bb52c75ce
page-level override for redirect_default_route 2022-01-13 06:20:38 -07:00
Matias Griese
da6b41f8a6 Added twig tag for links: {% link icon 'theme://images/favicon.png' priority: 20 with { type: 'image/png' } %} 2022-01-13 13:06:19 +02:00