Fixes an issue where if the underlying data behind a datasource changes through manual intervention (either in the database or the filesystem) before running theme:sync it wasn't being detected by the theme:sync command.
This PR add a `multiple` property to fields in [theme customization](https://wintercms.com/docs/themes/development#customization).
If `multiple: true`, the field is added to `attachMany` and allow multiple files selection, in all other cases the current behaviour is applied.
Follow up to ec03b7b2f8, this allows any changes to $this->vars made within the Partial's PHP code section to persist to when the partial content is actually rendered.
Fixes#270. See c4cd4402c0
Moves the Scaffolding commands out of Storm, and into the modules that the scaffold generates code for.
As discussed in the issue above, this makes more sense to keep Storm agnostic, and allows for the commands to be hidden if a particular module is not used in a Winter instance.
With the recent change to module routes being registered in their boot methods the Backend & CMS modules were registering their routes before the System module could.
Due to the greedy nature of the CMS module's route it must always be registered last.
* develop: (25 commits)
Use the asset helper for static assets
Added asset filter & function versions of all System Twig filters (#428)
Improve Japanese Translation (#435)
Improved Latvian translation (#434)
Improved Ukrainian translation (#433)
Redirect to the myaccount page as a final fallback
Improve Persian translations (#423)
typo fix (#424)
Improved Russian translation (#422)
Tidy up
Style fix
Go to User's details page when clicking on related user from the roles update page
Update recommend format for implementing controller behaviors
Add support for default configuration file names for controller behaviors
Attach default permissions to the publisher role
Only show role user management in the update context
Improve UserRole editing experience
Fix support for readOnly on the datepicker formwidget.
Sort assets alphabetically in the CMS Theme Editor (#420)
VSCode recommended extensions (#417)
...
* develop: (90 commits)
Define signature for "defineProperties" method
Add definition of "componentDetails" method
Update `system` french lang files (#366)
Update `backend` french lang file (#364)
Update `cms` french lang file (#365)
Fix clear color picker function, allow empty value
Trigger "change" event on color picker when value changes
Use better cursors for readonly color picker
Adjust "force" option for plugin:remove
Require explicit confirmations for CLI deletions
Add PHP 8.1 option, drop other details field
Add md_line Twig filter to expose Markdown::parseLine() (#370)
Don't use the Cache facade in the service provider registration process.
Fix return type hints for CMS Page and Controller (#362)
Fixes typo in list of available encodings for importing
Improved Ukrainian translation (#360)
Constrain PHP version >= 7.2.9 and 8.0.x (#361)
Improve Latvian translation (#358)
Docs UI Fix paths to screenshots of diagrams (#359)
Coerce Inspector set values to string
...
# Conflicts:
# composer.json
# modules/backend/composer.json
# modules/cms/composer.json
# modules/system/composer.json