Commit Graph

7330 Commits

Author SHA1 Message Date
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
Matias Griese
e3e30e4717 Improve LocalMedia::readImageSize() 2022-02-16 15:43:37 +02:00
Matias Griese
c984e0a78e Improved image size support 2022-02-16 14:12:05 +02:00
Matias Griese
70ef4efdcb Added image size support for svg images 2022-02-16 13:44:40 +02:00
Matias Griese
a4df3cf88d Merge branch 'develop' of github.com:getgrav/grav into feature/media
 Conflicts:
	CHANGELOG.md
2022-02-16 09:54:12 +02:00
Matias Griese
7cafeb2870 Composer update 2022-02-16 09:53:11 +02:00
Matias Griese
b3b5fca16c Fixed 'mbstring' extension is not loaded error, use Polyfill instead [#3504] 2022-02-14 09:38:22 +02:00
Matias Griese
37d3a18d3c More medium improvements 2022-02-12 17:11:13 +02:00
Matias Griese
a9c4d2b770 Added Grav\Framework\Image classes 2022-02-12 17:08:58 +02: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
Matias Griese
46f8b5b17d Improve medium classes/trait 2022-02-08 14:00:23 +02:00
Matias Griese
12670f6b44 Merge branch 'develop' of github.com:getgrav/grav into feature/media 2022-02-08 12:16:05 +02:00
Matias Griese
2c252c43b4 Composer update 2022-02-08 12:15:17 +02:00
Matias Griese
382756f79b Fixed pimple link #3527 2022-02-08 08:40:59 +02:00
Djamil Legato
201eb05b04 Merge branch 'develop' into feature/media 2022-02-07 11:27:34 -08:00
Andy Miller
2377be9a2b Merge tag '1.7.30' into develop
Release v1.7.30
2022-02-07 12:12:11 -07:00
Andy Miller
11013cbb57 Merge branch 'release/1.7.30' 1.7.30 2022-02-07 12:12:11 -07:00
Andy Miller
b1938c9790 prepare for release 2022-02-07 12:12:03 -07:00
Rotzbua
5d842349e5 add composer suggestion for exif extension 2022-02-07 13:43:23 +02: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
9af0f1f35e Merge branch 'develop' of github.com:getgrav/grav into feature/media 2022-02-07 10:12:20 +02:00
Matias Griese
3ca58e9ae1 Composer update 2022-02-07 10:11:45 +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
2307fcb492 Fixed error while deleting retina image in admin (pt 2) 2022-02-04 20:14:47 +02:00
Matias Griese
1959232df4 Merge branch 'develop' of github.com:getgrav/grav into feature/media 2022-02-04 19:58:43 +02:00
Matias Griese
67ef9b221a Fixed error while deleting retina image in admin 2022-02-04 19:58:23 +02:00
Matias Griese
c93b9414fe Minor media improvements 2022-02-04 19:21:28 +02:00
Matias Griese
815423ce44 Rework Media classes 2022-02-04 13:51:26 +02:00
Matias Griese
d6f0f6ba67 MediaTrait::getMedia() should always return media 2022-02-03 20:53:32 +02:00
Matias Griese
69b2552d53 Merge branch 'develop' of github.com:getgrav/grav into feature/media 2022-02-03 19:52:08 +02:00
Matias Griese
c82a35cea0 Added twig filter |field_parent to get parent field name 2022-02-03 19:51:46 +02:00
Matias Griese
840441bc9b Composer update 2022-02-03 19:50:02 +02:00
Matias Griese
d4cb9d3f98 Media improvements 2022-02-03 19:47:46 +02:00
Matias Griese
81e2751849 Media should ignore media.json file 2022-02-03 10:12:02 +02:00
Matias Griese
5d9d929c3f By default, add media to only pages which have been initialized in pages loop 2022-02-02 19:44:41 +02:00
Matias Griese
ba698e9fa9 Docblock fix 2022-02-02 18:29:13 +02:00
Matias Griese
3b1ed4514e Keep abstracting Media 2022-02-02 16:44:48 +02:00
Matias Griese
3022d06bf1 Restructure Media classes for more abstraction 2022-02-01 14:53:50 +02:00