This fixes#578 by adding the ability to pass the CMS Controller instance to the CMS Twig Extension removing the reliance on context variables as well as making the expected "global" twig variables inside of the CMS Twig environment actually global within that environment.
Replaces #598 & #593.
Credit to @RomainMazB for the initial implementation.
This splits the testing suite into the separate modules as appropriate in order to improve the reliability of the testing suite as a whole and make it easier for developers to have an up to date testing suite from the core to build off of. Additionally the tests are now namespaced and some minor improvements to the PluginManager were made.
Now the PluginManager will internally treat plugin identifiers as lower case strings, only transforming them to their normalized versions when requested by methods like getPlugins() & getAllPlugins(). The idea behind this is that it provides a much simpler way to internally handle checking, especially for plugin replacement where casing could cause issues.
Replaces #576. Fixes#575.
This PR establishes a base Snowboard framework in the Backend. While we won't likely have any specific Snowboard widgets or functionality in the 1.1 branch, it will allow people to use Snowboard in the Backend should they wish.
Fixes#541.
Co-authored-by: Luke Towers <github@luketowers.ca>
- Copied restructure from the "wip/inspector-rewrite" branch.
- Added manifest and vendor files in "{% snowboard %}" tag.
- Used standard Mix config path to auto-register the module.
* 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
- Combine the PR and push code quality check.
- Remove the Commander action, as we don't use it.
- Remove Splitsh executable - we were going to use it for automated split builds, but this is now done through the Winter CLI.