Luke Towers
0eac129003
Improve support for invalid inputs provided to the resize filter.
2020-08-24 15:24:40 -06:00
Luke Towers
2126cd3a0b
Added $sourceDisk and $sourcePath as parameters to the image resizing events for better logging
2020-08-24 11:00:54 -06:00
Web-VPF
f708754f07
Update Russian translation ( #5247 )
2020-08-23 02:51:48 -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
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
Luke Towers
05731b1069
Fix bug
2020-08-18 13:41:53 -06: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
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
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
Luke Towers
2351f2104d
Implemented resizing logic for File models, fixed bugs
2020-08-13 20:58:48 -06: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
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
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
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
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
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
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
Luke Towers
d17b6eaf32
Merge branch 'develop' into wip/laravel-6
2020-07-17 00:47:32 -06:00
Ben Thomson
70eac9b0e2
Recompile assets
2020-07-16 18:00:19 +08:00
Ruben van Erk
3be6e26e84
Clear input after creating tag ( #5053 )
...
When using the taglist field type, the input isn't cleared after a tag has been created. This problem is described here: https://github.com/select2/select2/issues/4698
This change fixes that issue.
2020-07-16 17:26:49 +08:00
Ben Thomson
8fd1ddf7aa
Provide an accessor for the form widget of the Settings controller ( #5212 )
...
Co-authored-by: Luke Towers <github@luketowers.ca>
2020-07-15 14:04:01 +08:00
Ben Thomson
bb3d018590
Add fallback alias for Illuminate\Support\Facades\Input
...
This will redirect any instances of the now-removed Input facade from Laravel to the Rain library's Input facade.
2020-07-10 15:56:11 +08:00
Ben Thomson
4950edc196
Add sensitive field input ( #5201 )
...
A field widget that allows for entering of sensitive information that can be revealed at the user's request - ie. API keys, secrets.
When a sensitive field that has been previously populated is loaded again, a placeholder is used instead of the real value, until the user opts to reveal the value. The real value is loaded via AJAX.
Credit to @tomaszstrojny for the original implementation.
Replaces #5062 . Fixes #5061 , #1850 , perhaps #1061 .
Co-authored-by: Tomasz Strojny <tomasz@init.biz>
Co-authored-by: Luke Towers <github@luketowers.ca>
2020-07-08 16:26:38 +08:00
Ben Thomson
9412a2bb20
Merge remote-tracking branch 'origin/develop' into wip/laravel-6
2020-07-01 10:42:33 +08:00
Meysam
9082a231a6
Document Select2's dynamic option creation ( #5052 )
2020-07-01 10:11:16 +08:00
Ben Thomson
47ca69e1f4
Merge remote-tracking branch 'origin/develop' into wip/laravel-6
2020-06-23 11:01:21 +08:00