6733 Commits

Author SHA1 Message Date
Damien MATHIEU
8010cf1084
Add support for batched jobs (#1009)
Refs: laravel/framework#32830
2023-11-15 13:03:30 -06:00
Luke Towers
539ad66b4b Support showSetup in list views of the RelationController 2023-11-04 01:32:19 -06:00
Marc Jauvin
9486aca1a0
Populate migration file with actual model fields (#935)
Documented by https://github.com/wintercms/docs/pull/165
2023-10-31 21:30:06 -06:00
Damien MATHIEU
e1d2853ebb
Improve progress bar styles (#1002)
General :
Added striped background to active progress bar
The background was animated, but without stripes it wasn't visible.
In list :
Set default height equal to cell line-height, maked use of css variable so than the user can still set a différent height.
Added background color
Added a slight box shadow for better visibility of progress bars at 0%.
Preferred to border for greater smoothness.
Added a background color when hovering over a line in the list to match the hover color.

Fixes #1000
2023-10-29 14:41:39 -06:00
Marc Jauvin
80ef162f1a
Add backend.list.extendColumnsBefore event (#998)
Add missing event fired before the list columns are created.
2023-10-25 18:53:59 -06:00
Marc Jauvin
05000d2663
Added RelationManager FormWidget (#904)
Co-authored-by: Luke Towers <luke@luketowers.ca>

Documented by https://github.com/wintercms/docs/pull/131
2023-10-19 10:24:53 -06:00
Denis Yantarev
f69164ac23
Fix install error for some paths (#989)
Fixes #988.

Instead of str_replace (which instead of truncating the leading directory from the path might replace some random inner part of it) use substr to remove it.
2023-10-19 10:15:28 -06:00
Arvis Lācis
2ba6a1c5f1
Added soft deleting to Backend User Groups (#972)
Fixes #386. Related: wintercms/storm#156 PR
2023-10-19 09:37:37 -06:00
Marc Jauvin
8f7c6561df
Save / Restore initial list showTree config value (#987) 2023-10-14 12:47:57 -06:00
AIC BV
f986a5691f
Further tweaks to the fileupload thumbnail styles (#991)
Co-authored-by: Luke Towers <github@luketowers.ca>
2023-10-14 12:37:55 -06:00
Marc Jauvin
10b55d8384
Fix issue when page has no components (#993)
Triggered when getComponentProperties() called on a page with no components present.
2023-10-14 12:25:33 -06:00
AIC BV
751545f092
Fix fileupload thumbnail preview (#985)
Avoids weird cropping / stretching issues.
2023-10-10 08:51:59 -06:00
Marc Jauvin
2bd7cf290e
Hide toolbar when no content available (#983) 2023-10-08 02:27:20 -06:00
Luke Towers
cfb8cdfc06 Add methods to append / prepend datasources to an AutoDatasource instance
Used by the Blocks plugin to avoid nesting an autodatasource inside of another autodatasource.
2023-09-26 20:19:48 -06:00
Ben Thomson
f01103ad0b
Add Frostbyte Foundation backing 2023-09-26 11:17:29 +08:00
andyhethers
f731cbadc8
Add indexes to sessions table (#978)
Refs: 113ade3d55
2023-09-25 10:11:00 -06:00
Luke Towers
23ba829f19 Stop RichEditor from firing unnecessary change events
Fixes https://github.com/wintercms/wn-pages-plugin/issues/35
2023-09-20 22:22:18 -06:00
Arvis Lācis
c0065747e8
Updated Latvian translations (#975) 2023-09-16 14:36:25 -06:00
Luke Towers
c714d80b22
Fix namespace 2023-09-16 01:21:08 -06:00
Luke Towers
cf03a55ab4
Cache bust asset URL generation per host / scheme combination 2023-09-15 11:08:40 -06:00
Ben Thomson
090562a5ea
Share variables shared via View::share() with Twig templates (#969)
Fixes #630

This allows global variables populated by the View::share('name', 'value') method to be used in Twig templates. The values will only be populated if they have not been specified as a global previously, to prevent overriding system globals such as this.page. It will also allow the pages themselves to still override the values if need be.
2023-09-06 21:25:06 -06:00
Luke Towers
0aaefeb817
Improve support for BackedEnums in backend lists
See also 32f25ef755
2023-09-04 00:35:21 -06:00
Luke Towers
32f25ef755
Improve support for BackedEnums 2023-09-02 19:47:53 -06:00
Luke Towers
ca85e3c491
Don't include null results in CmsObject::listInTheme() 2023-08-25 14:34:28 -06:00
Ben Thomson
6c074473d3
Fix deprecation in backend DB seeder
The "${var}" variable format inside strings is deprecated as of PHP 8.2.
2023-08-25 08:21:11 +08:00
Luke Towers
5a2e397348 Don't fallback to app.develop for develop.debugSnowboard, disable by default. 2023-08-24 14:02:42 -06:00
Luke Towers
cf4cb1ce2b Fix issue with styling for nested repeaters under a repeater in grid mode 2023-08-24 13:59:20 -06:00
Luke Towers
40a23e4f34 Add "refresh" button to the RelationController 2023-08-14 12:57:39 -06:00
Luke Towers
eeb71496d8 Add support for scrollPastEnd on the codeeditor FormWidget 2023-08-13 15:04:12 -06:00
Luke Towers
a394f3f8bf
Support limit property on list column relation value queries 2023-08-13 11:43:14 -06:00
Luke Towers
e8a1285ff3 Fix User Impersonation notice styles
The LESS files weren't included in 857d42101e for some reason.
2023-08-07 22:43:44 -06:00
Luke Towers
c95b425a02
Improve error reporting of invalid Twig extensions 2023-08-04 20:12:53 -06:00
Marc Jauvin
6d641af3be
Allow extending the default relationcontroller modal footers (#954) 2023-08-04 16:50:42 -06:00
Luke Towers
a43e97afec
Store MediaManager view preferences as a UserPreference
This persists the user's selection of sort method, sort direction, and view mode to their user preferences so that they retain their view preferences across sessions. The selections are keyed by the widget's alias, which effectively out of the box means that the main mediamanager instance and most if not all mediafinder popup widgets will have separate settings for this.

Implemented from user feedback complaining about the minor annoyance having to switch to sorting by the Last Modified Desc every time they opened the media manager.
2023-08-04 00:12:55 -06:00
Ben Thomson
6cec80d950
Recompile Snowboard 2023-08-02 16:17:34 +08:00
Ben Thomson
d792becc1d
Allow request to disable stripe loader
Set the "stripe" option to false in the request options.
2023-08-02 16:17:05 +08:00
Ben Thomson
43594b4103
Defensive programming tweaks for some Snowboard extras
Fixes some intermittent errors with certain requests - mainly JS-driven requests that have no element attached.
2023-08-02 16:16:30 +08:00
Ben Thomson
02f16acf16
Resolve promise if "beforeUpdate" event is cancelled
This provides a way to cancel the updating of partials, but still allow the rest of the request lifecycle to proceed.
2023-08-02 16:15:37 +08:00
Luke Towers
0db059db56
Fix allowed types for Repeater Form configuration
System\Traits\ConfigMaker() is used to process the input provided to this property.
2023-07-30 13:35:20 -06:00
Luke Towers
32ea11837c
Add Ringer paid support link 2023-07-28 14:16:48 -06:00
Marc Jauvin
a32b6b7cae
Use localization strings for dropdown-like field options. (#910)
Documented by https://github.com/wintercms/docs/pull/133
2023-07-27 11:21:24 -06:00
Romain 'Maz' BILLOIR
71479dd51d
Put mail template style tags in the head (#951) 2023-07-26 11:17:02 -06:00
Marc Jauvin
646621cee8
Apply filterFields before saving the form (#927) 2023-07-25 15:04:43 -06:00
Ben Thomson
529ded7cb6
Fix URL regex for detecting absolute URLs in Snowboard URL utility
The previous iteration broke if someone was using a single domain (ie. "localhost")
2023-07-24 10:17:45 +08:00
Ben Thomson
842db82b99 Update block language in default settings 2023-07-19 20:59:28 +08:00
Luke Towers
725306c7ef Use the new Url().asset() helper for loading snowboard extras styling 2023-07-18 15:13:08 -04:00
Luke Towers
4566d8a15c Typo fix and recompile snowboard assets 2023-07-18 14:53:58 -04:00
Luke Towers
49f69e706a Merge branch 'develop' of github.com:wintercms/winter into develop 2023-07-18 14:21:39 -04:00
Luke Towers
1890091565 Added support for Asset URLs in Snowboard
- Added url().asset() method to the Url Snowboard plugin
- Switched the AssetLoader Snowboard plugin to use url().asset()
2023-07-18 14:21:26 -04:00
Ben Thomson
7ad522fc89
Add support for "grid" repeater (#926)
By setting "mode" to "grid" in the repeater config, the repeater will be formatted as a grid and will add items horizontally, crossing to a new row when the "columns" amount is met.

Docs: https://github.com/wintercms/docs/pull/134
Refs: https://github.com/wintercms/wn-blocks-plugin/pull/17
2023-07-17 20:02:09 +08:00