6688 Commits

Author SHA1 Message Date
Jack Wilkinson
1a8fb449a9 Added Carbon cache timer 2023-02-27 14:34:43 +00:00
Luke Towers
ffa6f99210
Fix plugin:install call inside of winter:install
Also remove Winter.Drivers recommendation
2023-02-26 09:01:14 -06:00
Jack Wilkinson
5414c6256a Added support to the theme filter to validate parent theme for assets 2023-02-24 17:33:47 +00:00
Luke Towers
f37569b5de
Revert 4ed9b10
This reverts 4ed9b10b4e because it breaks the use of local file disks. We will need to just bite the bullet and refactor the CMS storage config to use proper filesystem disks in general instead of the current hacky approach that's causing these problems.

See https://laravel.com/docs/10.x/filesystem#scoped-and-read-only-filesystems
2023-02-21 15:14:04 -06:00
wpjscc
4ed9b10b4e
Return correct URLs from File->getPublicPath for non-local disks (#841) 2023-02-20 16:12:22 -06:00
Luke Towers
c95c950d19 Pass the active theme code to the cms.theme.getActiveTheme event
Required for Winter.Blocks datasource registration and generally a good idea.
2023-02-17 13:13:12 -06:00
Luke Towers
b2ac754622 Add "metadata" column to backend users 2023-02-15 21:32:41 -06:00
Jack Wilkinson
24f875db7e
Add support for extending head block on dashboard (#836) 2023-02-11 09:10:03 +08:00
WebVPF
034668497f
Formatting Tabs UI Document (#834)
Documentation page: https://wintercms.com/docs/ui/tab
2023-02-05 18:54:02 +08:00
WebVPF
a73b942223
Pluralize the number of items in a folder (#830)
Also fixed the icon for Return to the parent folder
2023-02-04 14:32:36 -06:00
Ben Thomson
5199f65420 Allow settings model cache TTL to be configurable 2023-02-02 15:14:13 +08:00
Ben Thomson
c2542b632d Fix issue with JSON parser treating datetimes as floats 2023-01-31 15:43:43 +08:00
Arvis Lācis
ff3ee998c9
Updated and improved Latvian translations (#828) 2023-01-30 09:05:20 +08:00
Ben Thomson
5866f62864 Further form widget adjustments and tweaks
- Improve documentation of data attributes for color picker
- Convert sensitive widget to Snowboard
- Remove unneeded asset bundles from Backend service provider
2023-01-25 10:32:07 +08:00
Ben Thomson
8ec792346c Add Vue to global scope 2023-01-25 09:38:36 +08:00
Luke Towers
ac87005866 Improve handling of plugins stored in mixed case folders 2023-01-24 13:21:23 -06:00
Ben Thomson
e304c28292 Import CSS within widgets, make IconPicker assets consistent 2023-01-24 20:49:04 +08:00
Ben Thomson
bcb7817e03 Fix issue where icon picker widget buttons don't appear within fancy layout 2023-01-24 20:31:39 +08:00
Ben Thomson
45e2acc795 Rewrite color picker widget as a Snowboard widget 2023-01-24 14:21:21 +08:00
Ben Thomson
64e1e31fb8 Add mutation observer to automatically destroy widgets
This will track nodes being removed from the DOM, and if any widgets are active in these nodes, they will automatically be destructed. This will be more reliable than just tracking AJAX updates, as it should also apply to elements/widgets being removed by JS, such as widgets within modals.
2023-01-24 11:47:18 +08:00
Ben Thomson
2dff8adf25 Significantly refactor backend widget loading
- Move most shared vendor files used in Backend widgets and UI to separate vendor file
- Remove Vue embedding in Icon Picker (now uses shared vendor instance of Vue)
- Add Widget and Event handlers
- Upgraded Babel Loader to version 5 to fix potential security issue with JSON5 library (not that we used it)
2023-01-24 11:03:37 +08:00
Ben Thomson
68b9a55abd
Fix tests badge 2023-01-18 14:41:43 +08:00
Luke Towers
18e3893f7f
Update README.md 2022-12-23 12:35:57 -06:00
Teranode
fc541b56c8
Fix TagList nullable type hint. (#806)
This is causing an error when using relation mode and you have an empty relation and try to save. The method expects an array, but in some cases can be null.
2022-12-17 15:55:32 +08:00
Damien MATHIEU
864d3fbdcf
Allow removeField() on contextual field names (#790)
The addFields() method already filters out fields that don't match the current context. As such, the normalized field name should be used when adding the field to the tab containers instead of the name with the context included. This matches the definition in allFields.
2022-12-13 08:09:46 -06:00
Luke Towers
cfb02c43e1
Merge pull request #791 from wintercms/wip/child-theme-autodatasource-caching
[FIX] Added fix to allow nested AutoDatasource instances to manage their own populateCache
2022-12-13 08:04:31 -06:00
Ben Thomson
f61da3e800 Remove workshop from repo 2022-12-13 19:58:32 +08:00
Ben Thomson
c563f20f87 Allow sorting of lists by invisible columns
A previous bug fix applied here (18af35d928) forced only visible columns to be sortable to prevent an error from occurring if someone sorts by a column that is then removed from the columns list.

This change results in the same fix, but simply checks that the column is sortable (which would be false if the column no longer exists). This would  allow columns that are invisible but are also sortable to still be used for sorting purposes.

Fixes #796, #709
Refs:
- https://github.com/octobercms/october/issues/5227
2022-12-12 15:07:41 +08:00
Luke Towers
fe5f754566 Merge branch 'develop' into wip/child-theme-autodatasource-caching
* develop:
  Fix issue with autoloading modules (#792)
  Add support for icon picker (#725)
  Classloader improvements (#779)
  Update Markdown content test
  Improved Ukrainian translation (#766)
  Add AJAX form validation to Snowboard (#777)
  Improve theme scaffolding (#778)
2022-12-08 14:42:29 -06:00
Robert Alexa
d0d066f6c2
Fix issue with autoloading modules (#792) 2022-12-08 14:41:10 -06:00
Jack Wilkinson
5540dadaaf Added fix to allow nested AutoDatasource instances to manage their own populateCache 2022-12-08 18:08:59 +00:00
Robert Alexa
34d13ca0d8
Add support for icon picker (#725)
This took inspiration from https://github.com/hasinhayder/vue3-icon-picker but was modified greatly in the end. Credit to @robertalexa
2022-12-07 23:10:31 -06:00
Luke Towers
0aed0b4b02
Classloader improvements (#779)
See wintercms/storm#72
2022-11-29 21:06:46 -06:00
Ben Thomson
596f8cc98d Update Markdown content test
The CommonMark implementation of Markdown specifies that a newline should follow block-level elements
2022-11-30 10:39:19 +08:00
WebVPF
07bec10876
Improved Ukrainian translation (#766) 2022-11-29 14:26:59 -06:00
Ben Thomson
1ee713afae
Add AJAX form validation to Snowboard (#777)
Refs:
- https://wintercms.com/docs/snowboard/extras#ajax-validation
- Workshop Theme examples: 431e761c05
2022-11-28 09:37:00 +08:00
Matteo Trubini
9b2282b280
Improve theme scaffolding (#778)
If gtag() is undefined an error is raised.
2022-11-27 18:59:32 -06:00
Luke Towers
4f0da6cd0c
Set the AutoDatasource's cache key based on the current theme 2022-11-23 23:13:29 -06:00
Luke Towers
3d77c7a03a
Add ability to specify the cache key of the AutoDatasource 2022-11-23 23:12:50 -06:00
Luke Towers
62d48808c8 Merge branch 'develop' into wip/child-theme
* develop:
  Fix broken return type
2022-11-23 11:30:33 -06:00
Luke Towers
6a99274461 Fix broken return type 2022-11-23 11:30:17 -06:00
Luke Towers
9b035c20e9 Merge branch 'develop' into wip/child-theme
* develop:
  Fix AuthManager tests
2022-11-23 11:12:13 -06:00
Luke Towers
554dd0e726 Fix AuthManager tests 2022-11-23 11:12:00 -06:00
Luke Towers
7a215c7baa Merge branch 'develop' into wip/child-theme
* develop:
  Improved Russian translation (#767)
  Remove empty widget width option (#772)
  Fix overlooked reference to App facade instead of local instance
  Use local app instance rather than facade
  Don't register backend permissions in the testing suite
  Type hinting and style tweaks
  Use the model instance returned by getRelationModel directly rather than as a static class reference
  Clone the form model before passing it to the RelationController

# Conflicts:
#	modules/cms/ServiceProvider.php
2022-11-23 10:35:54 -06:00
Luke Towers
7296aab7b2
Merge pull request #771 from wintercms/wip/improve-multidbconnection-support
Improve multidbconnection support
2022-11-23 10:27:57 -06:00
WebVPF
f44f79a5b7
Improved Russian translation (#767) 2022-11-22 10:42:54 -06:00
Robert Alexa
618350a757
Remove empty widget width option (#772) 2022-11-22 10:41:18 -06:00
Luke Towers
1d8af5964c Fix overlooked reference to App facade instead of local instance 2022-11-21 15:44:45 -06:00
Luke Towers
f2447bb136 Use local app instance rather than facade 2022-11-21 15:40:39 -06:00
Luke Towers
5be4454c44 Don't register backend permissions in the testing suite 2022-11-21 15:34:18 -06:00