Commit Graph

5456 Commits

Author SHA1 Message Date
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 abfe156d8d.
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 ee0065d353.
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
Luke Towers a992fb44bc Support the resized URL as a route param instead of GET variable, initial WIP on supporting File models 2020-08-09 03:07:07 -06:00
Luke Towers 6926908dad required code from last commit 2020-08-08 20:18:11 -06:00
Luke Towers 263ae871b7 More WIP on image resizer
Refactored resizer URLs to support custom disks, switched to using a signed version of the resized image's URL as the identifier for the configuration
2020-08-08 20:17:35 -06:00
Luke Towers 7b9408e394 More WIP, moved logic in the appropriate locations 2020-08-07 23:27:32 -06:00
Luke Towers cdc45b000b Further WIP on resizer implementation, moving towards resizer object instead of static methods on a helper class 2020-08-07 04:45:15 -06:00
Ben Thomson 46b0389678
Remove IRC link. 2020-08-07 15:56:42 +08:00
Ben Thomson 69fef086cb
Add Discord to our contributor guidelines, minor tweaks 2020-08-07 15:52:55 +08:00
Luke Towers f56d1eebe8 Further work on the new resizing functionality 2020-08-06 18:18:28 -06:00
Ben Thomson 50e61df10e
Fix path validation for CmsObjects & Assets (#5229)
Instead of using a temporary file to allow checks with `realpath()` to succeed, use the new `resolve_path()` helper added in a9a629b012 to replace the `realpath()` usage and allow for path resolution of files that don't exist yet.

This will allow new asset files to still be saved correctly, whilst still preventing paths outside of the assets directory to be used.

Replaces b1954e9258.
2020-08-05 12:00:22 -06:00
Ben Thomson 40f9d7e40c
Revert "Update content of script fixture files"
This reverts commit 3051018aff.
2020-08-03 23:17:10 +08:00
Ben Thomson 3051018aff
Update content of script fixture files 2020-08-03 23:11:30 +08:00
Luke Towers c3fbc130dc wip dump on image resizing functionality 2020-08-03 03:01:33 -06:00
Luke Towers 0a9c751e1b Merge branch 'develop' into wip/laravel-6 2020-08-03 01:49:06 -06:00
Ben Thomson df2b8b5817
Recompile Storm UI JS asset 2020-08-03 11:07:55 +08:00
Luke Towers 18af35d928 Prevent error from occurring when the active sorting column is hidden from the results.
Fixes #5227
2020-07-30 10:54:09 -06:00
Luke Towers b1954e9258 Fix creating asset files
Fixes #5228
2020-07-30 10:35:02 -06:00
Ben Thomson 7f7bc04288
Merge remote-tracking branch 'origin/develop' into wip/laravel-6 2020-07-26 15:02:08 +08:00
Ben Thomson d49266ad90
Make popup textarea HTML5-compliant in Inspector editor.
Previously, this was a self-closing tag with a value attribute. Neither are supported for the textarea tag in HTML5. It appears that browsers now are actually checking this and/or won't work with it.

Fixes #5222.
2020-07-25 22:52:23 +08:00
Ben Thomson 0dee0e54b1
Alias Illuminate\Support\Debug\HtmlDumper to Symfony's HtmlDumper 2020-07-20 10:40:50 +08:00
Luke Towers 6ea06b3d8e restore original password min length value 2020-07-19 02:07:09 -06:00
Luke Towers 18714ae9f0 Add L6 as a dep to the modules to prevent people with older Laravel versions from accidentally pulling in the L6 update 2020-07-19 01:42:58 -06:00
Luke Towers 1aab58d1e4 Merge branch 'develop' into wip/laravel-6 2020-07-19 01:35:37 -06:00
Luke Towers a56e0cdf61 Use Arabic numerals instead of Indic ones for Arabic date translations.
Fixes #5213
2020-07-19 01:15:07 -06:00
Luke Towers 5a5208bd0b Document caveat with uploaded file URL generation when installing October in a subfolder
Fixes #5204
2020-07-19 01:08:01 -06:00
Luke Towers c1fd1b9346 Fix support for ignoreTimezone in date filter types
Fixes #5197
2020-07-19 01:01:09 -06:00
Klaas Poortinga 517c588ef7
Fix filter type "group" when 500+ options are available (#5141)
When 500 options or more are presented in a group filter, PHP `max_input_vars` limits may prevent the filter from working. This fix passes selected options through as a JSON string to get around the limits.
2020-07-17 17:12:41 +08:00