5532 Commits

Author SHA1 Message Date
Luke Towers
5a843bc909 Fix support for updating belongsTo relationships with the RelationController.
Fixes #5198, #5243; replaces #5217. Related: 6e25c5a8d0#
2020-08-23 23:57:05 -06:00
Web-VPF
f708754f07
Update Russian translation (#5247) 2020-08-23 02:51:48 -06:00
Luke Towers
edae0c2476 Allow aliased non-compound use statements in the code section.
Follow up to: c1bb695f4b (diff-2040a96d3a0b43fe38675a7ee54fd8d6)
2020-08-23 01:23:06 -06:00
Luke Towers
c23daf13f3 Add storage/app/resized to base structure 2020-08-23 01:11:07 -06:00
Luke Towers
4ba5126d5f Allow the resized directory through .htaccess 2020-08-21 20:46:12 -06:00
Luke Towers
c1c728e413
Merge pull request #5231 from octobercms/wip/image-resizing
Implement core support for `| resize(width, height, options)` filter
2020-08-21 18:01:47 -06:00
Luke Towers
779a87999c Added support for new "image" column type that uses the ImageResizer class 2020-08-21 17:54:31 -06:00
Luke Towers
38718e0b5d Fixed bug where FileModel images wouldn't properly store their config after being retrieved from the cache 2020-08-21 17:53:28 -06:00
Luke Towers
a25567c750 Use the same resizing process for FileModels that's used for everything else. 2020-08-21 16:22:14 -06:00
Luke Towers
825075a19b Fix support for Windows 2020-08-21 16:07:48 -06:00
Luke Towers
1e6573cc62 Cleaned up inline docs for ImageResizer, fixed tests 2020-08-21 14:07:23 -06:00
Luke Towers
444069da00 Finished implement imageWidth & imageHeight filters 2020-08-21 13:39:45 -06:00
Luke Towers
3864e5b1c6 Allow plugin view & configuration files to be registered on protected routes
Fixes #5245
2020-08-19 09:57:57 -06:00
Luke Towers
3f58951855 wip on imageWidth / imageHeight filter 2020-08-19 09:49:13 -06:00
Ben Thomson
b795ba6a28
Add URL sources tests 2020-08-19 11:02:00 +08:00
Ben Thomson
1f5350b0b2
Test falsey width/height values 2020-08-19 10:11:42 +08:00
Luke Towers
05731b1069 Fix bug 2020-08-18 13:41:53 -06:00
Ben Thomson
5b5a15b4c6
Ensure theme cache is rest to the "test" theme for ImageResizer 2020-08-17 16:54:16 +08:00
Ben Thomson
aeae1bd0f5
Remove trailing commas in commands
PHP 7.2 doesn't like them, apparently.
2020-08-17 16:45:41 +08:00
Ben Thomson
0020809634
Additional work on tests, should pass now 2020-08-17 16:41:49 +08:00
Ben Thomson
1fd9529786
Add 'auto' height and width options 2020-08-17 12:07:52 +08:00
Ben Thomson
096f5fdce5
Initial unit tests - WIP 2020-08-17 12:06:10 +08:00
Ben Thomson
c25e41d51a
Remove unneeded use case 2020-08-17 10:32:52 +08:00
Luke Towers
f29562023d Disable HTML5 form validation on backend Settings pages
Fixes #5239.
2020-08-15 20:59:53 -06:00
Luke Towers
f346312266 Minor improvements 2020-08-15 00:55:17 -06:00
Luke Towers
7fde924ec1 Finish implementing october:util purge uploads command.
Only works for uploads stored on the local disk right now, support for remote disks may be added in the future at some point.

Replaces #4518 & #4029. Credit to @LukeTowers, @BennoThommo, & @austinderrick.
2020-08-15 00:33:08 -06:00
Luke Towers
ca386e2dd1 tweak to default config for resized disk 2020-08-14 15:46:06 -06:00
Luke Towers
545b899ef5 Removed unnecessary design doc 2020-08-14 15:41:52 -06:00
Luke Towers
75e6633926 Merge branch 'wip/image-resizing' of github.com:octobercms/october into wip/image-resizing 2020-08-14 15:39:48 -06:00
Luke Towers
288918a7d7 Finished initial implementation of resizer for all supported input image sources, added the storage/app/resized directory to the mirror command 2020-08-14 15:39:30 -06:00
Ben Thomson
d52893dd43
Will need to use PluginTestCase for FileModel to be supported 2020-08-14 16:10:05 +08:00
Ben Thomson
064fc1fe36
Merge branch 'develop' into wip/image-resizing 2020-08-14 15:14:48 +08:00
Luke Towers
2351f2104d Implemented resizing logic for File models, fixed bugs 2020-08-13 20:58:48 -06:00
Ben Thomson
d98526f639
Change deprecated PHPUnit calls in MediaLibrary tests 2020-08-14 10:20:03 +08:00
Ben Thomson
a6fca1e317
Disable automatic running of scripts in Composer during tests 2020-08-14 08:26:23 +08:00
Ben Thomson
c7ed0ffa1a
Implement improved testing procedure (#5238)
Refs: 5feb7b872f
2020-08-14 08:00:39 +08:00
Luke Towers
04de6ef0e2 Play nicer with tests 2020-08-13 03:15:53 -06:00
Luke Towers
f54b167f00 Merge branch 'develop' into wip/image-resizing 2020-08-13 03:11:20 -06:00
Luke Towers
17664dce6c Reorganized the ImageResizer class 2020-08-13 03:10:30 -06:00
Luke Towers
9cb8a0861b Finished implementing support for retrieving thumb URLs from FileModels, initial support for detecting completed resize operations 2020-08-13 03:02:06 -06:00
Ben Thomson
3a1f547adb
Use new PathResolver methods for handling file Asset / Object paths 2020-08-13 12:48:07 +08:00
moisessepulveda
cdb8acd214
Improvements to Spanish translations (#5237) 2020-08-13 12:03:35 +08:00
Ben Thomson
8bc440defa
Revert "Change File model to use fillable as opposed to guardable attributes"
This reverts commit abfe156d8d18483f265a264c9769063cbfde8ba2.
2020-08-10 09:17:32 +08:00
Ben Thomson
abfe156d8d
Change File model to use fillable as opposed to guardable attributes 2020-08-10 09:07:24 +08:00
Luke Towers
b4dd25534e Merge branch 'develop' into wip/image-resizing 2020-08-09 04:26:48 -06:00
Luke Towers
0ce104b169
Merge pull request #5234 from octobercms/wip/laravel-6
Rebase October CMS on Laravel 6
2020-08-09 03:50:31 -06:00
Luke Towers
60afd41cc2 Revert "Rebase October CMS on Laravel 6 (#4893)"
This reverts commit ee0065d353099fb0de0bf6d0b361a71b4f799de1.
2020-08-09 03:48:03 -06:00
Ben Thomson
ee0065d353
Rebase October CMS on Laravel 6 (#4893)
Rebase October CMS on Laravel 6
2020-08-09 03:44:16 -06:00
Luke Towers
871c27b8f3 L6 finalizing for merging to develop 2020-08-09 03:31:32 -06:00
Luke Towers
cbd30af543 Merge branch 'develop' into wip/laravel-6 2020-08-09 03:12:18 -06:00