Commit Graph

7373 Commits

Author SHA1 Message Date
Matias Griese
a5d02a73b1 Merge branch 'develop' of github.com:getgrav/grav into feature/media
 Conflicts:
	composer.lock
2022-03-09 12:29:31 +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
Matias Griese
499b25aad8 Composer update 2022-03-08 19:07:55 +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
Djamil Legato
269d023987 Merge branch 'develop' into feature/media 2022-03-03 11:41:22 -08:00
Andy Miller
b80fcca0cf fixes for Utils::url() 2022-03-03 12:35:17 -07:00
Djamil Legato
0d7d39665f Merge branch 'develop' into feature/media 2022-03-03 10:26:29 -08:00
Andy Miller
879eb27540 updated changelog 2022-03-03 11:21:36 -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
Matias Griese
b93240e1f5 Touch fix for PHP 8 2022-02-26 19:20:13 +02:00
Djamil Legato
3dd0cabeac Fixed entity sanitization for XSS detection 2022-02-23 14:57:36 -08:00
Matias Griese
bac5c756fe Start using the new Image classes in Media 2022-02-23 22:09:09 +02:00
Matias Griese
035e533c02 Image classes: added support for dependencies and extra params 2022-02-22 11:47:36 +02:00
Matias Griese
987c43d03f Merge branch 'develop' of github.com:getgrav/grav into feature/media 2022-02-22 11:36:36 +02:00
Matias Griese
b992d7f185 Composer update 2022-02-22 11:33:27 +02: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
e92de67c68 Media fixes 2022-02-19 16:09:16 +02:00
Matias Griese
c6172cf4b2 Media docblock fixes 2022-02-19 15:44:59 +02:00
Matias Griese
9b4e7eb58d Fixed phpstan issues 2022-02-19 12:09:00 +02:00
Matias Griese
710e2122d5 Merge branch 'develop' of github.com:getgrav/grav into feature/media 2022-02-19 12:02:21 +02:00
Matias Griese
7e52112b21 Fixed phpstan issues (All level 2, Framework level 5) 2022-02-19 12:01:50 +02:00
Matias Griese
6d5f755335 Ignore missing class GdImage (PHP 8+) in phpstan tests 2022-02-19 11:32:37 +02:00
Djamil Legato
e9f047f783 Fixed params getting lost in MediumFactory 2022-02-18 21:39:22 -08:00
Matias Griese
b5d6478ce9 Improved thumbnail image creation 2022-02-18 20:24:38 +02:00
Matias Griese
093f16f350 Improve ImageOperationsTrait & co 2022-02-18 19:46:09 +02:00
xaver
a900b89795 Remove variable duplicate (#3539) 2022-02-18 08:39:20 -07:00
Matias Griese
1ffe2e13bf Fixed wrong construct order in ImageMedium 2022-02-18 14:01:49 +02:00
Matias Griese
5ea5153f97 Medium restructuring 2022-02-18 13:57:18 +02:00
Matias Griese
77ba86f9f7 Create ImageResizeInterface 2022-02-18 12:36:48 +02:00
Matias Griese
017c5aba20 No return type for __clone() and __destruct() 2022-02-18 12:35:54 +02:00
Matias Griese
ee9fa046a5 Do not update index on timeout if no need 2022-02-18 10:31:37 +02:00
Matias Griese
a8a1791fcc Move media methods around 2022-02-18 10:15:35 +02:00
Matias Griese
bba877a00a Added FileInterface::touch() method 2022-02-18 10:14:59 +02:00
Matias Griese
d96f9f2e11 Fixed bad wrong image showing in media['file.jpg'] 2022-02-18 09:29:14 +02:00
Matias Griese
3eb390d228 Lazy initialize media, deprecated __invoke() 2022-02-17 22:12:08 +02:00
Matias Griese
b4df948c5f Added readFile() and readStream() methods to MediaCollectionInterface and MediaFileInterface, removed getImageFileObject() 2022-02-17 16:04:15 +02:00
Matias Griese
420daa7432 Improved media index 2022-02-17 12:22:23 +02:00
Matias Griese
2eeae084ff Added readFile() and readStream() methods for MediaCollectionInterface 2022-02-16 16:55:07 +02:00