Skip to content

Tags: golem15com/wn-cms-module

Tags

v1.2.12

Toggle v1.2.12's commit message
Move Vite rendering to `styles` twig directive to prevent FOUC (#1447)

golem15-base-wip-1.3

Toggle golem15-base-wip-1.3's commit message
Merge branch 'develop' into wip/1.3

v1.2.11

Toggle v1.2.11's commit message
Fix codeeditor language detection for LESS, SASS, SCSS files

Fixes #1455

v1.2.10

Toggle v1.2.10's commit message
Replace Ace Editor with Monaco Editor (#801)

Co-authored-by: Luke Towers <git@luketowers.ca>
Co-authored-by: Luke Towers <github@luketowers.ca>

Read the PR for the details.

v1.2.9

Toggle v1.2.9's commit message
Improve PHP 8.4 support

v1.2.8

Toggle v1.2.8's commit message
Add support for Behaviour default views (#1312)

Co-authored-by: Marc Jauvin <marc.jauvin@gmail.com>
Co-authored-by: Luke Towers <luke@luketowers.ca>

Adds default views for the following backend controller behaviors:

- FormController
- ImportExportController
- ListController
- ReorderController

`Backend\Classes\ControllerBehavior` will now automatically append their `views` folder to the controller's view paths allowing them to provide fallbacks for any views required by the behavior.

The `create:controller` command will now no longer generate the views by default unless `--stubs` is also passed and the `--sidebar` flag is replaced with a `--layout=(standard|sidebar|fancy)` option to choose the form layout to use. 

Also:
- Added `appendViewPath()` and `prependViewPath()` to the `System\Traits\ViewMaker`. `addViewPath` is renamed to `prependViewPath()` and is for paths that have higher priority than the existing paths while `appendViewPath()` is for paths that should have lower priority than the existing paths (i.e. fallbacks). 
- Backend controllers will now automatically set their navigation context in the form of `Author.Plugin` as the author, `$pluginName` as the main menu code, and `$controllerName` as the side menu code. This means that you can remove calls to `BackendMenu::setContext()` and constructor overrides in your controllers if they follow that convention.
- Support for passing `new: true` as a parameter in the request body to `onSave()` calls that will return a redirect to the `create` action
- `formMakePartial(string $partial, array $params = [])` to the `FormController` behavior that will render a partial through the controller's `makePartial` using the following priority list of contextual names: `form_$context_$partial`, `form_$partial`, `$partial`).
- Support for `abort(403)` to return the access denied view in the backend
- Improved handling of `abort(404)` in the backend
- Improved styling of disabled fields in the fancy form layout
- Improved styling of file generated / updated status message in scaffolding commands

v1.2.7

Toggle v1.2.7's commit message
Tailwind theme create improvements (#1255)

v1.1.11

Toggle v1.1.11's commit message
Backport fb88e6fab to 1.1

* Harden theme objects, prevent certain properties from being passed through to ThemeData object

* Improve and properly scope Twig security policy

- Block methods that write, delete or modify records and attributes in Database/Eloquent and Halcyon models
- Block access to theme datasource
- Prevent extensions from being created or directly interacted with (models and properties provided to extended objects should still be OK)

Refs: wintercms/winter@fb88e6f#diff-347d3e6f6f84697f5be048027169529a5ed7e782fcf2dcf62dcdbf560a0a4f77

v1.2.6

Toggle v1.2.6's commit message
Replace deprecated usage of ${} for string interpolation (#1032)

Credit to @josephcrowell

v1.2.5

Toggle v1.2.5's commit message
Replace deprecated usage of ${} for string interpolation (#1032)

Credit to @josephcrowell