Ben Thomson
f487b1368b
Code smell
2022-02-25 13:38:52 +08:00
Ben Thomson
ce3a913708
Merge branch 'wip/1.2' of github.com:wintercms/winter into wip/1.2
2022-02-25 13:33:34 +08:00
Ben Thomson
c21130ef2e
Suppress exception when mix:watch is terminated
2022-02-25 13:33:26 +08:00
Luke Towers
c187a0813b
Update modules/system/classes/VersionManager.php
2022-02-24 23:26:36 -06:00
Luke Towers
5e1905623a
Update modules/system/classes/UpdateManager.php
2022-02-24 23:25:15 -06:00
Luke Towers
4d409cfe41
Update modules/system/classes/PluginBase.php
2022-02-24 23:23:07 -06:00
Ben Thomson
401af9244e
Prevent mix:install from timing out prematurely
2022-02-25 13:20:41 +08:00
Jack Wilkinson
cdd2f3833a
Added check to ensure filesystem is writable before executing mkdir ( #475 )
...
Fixes the System Status widget on readonly filesystems
2022-02-24 22:25:41 -06:00
Jack Wilkinson
efbc5e2e92
Switched file to storage for plugin disabled ( #474 )
...
Simple fix to allow for disabled.json to use the storage facade rather than file, this creates support for read only filesystems
2022-02-24 22:06:40 -06:00
Luke Towers
680fe81539
Ensure that mix:watch cleans up after itself
2022-02-24 22:02:38 -06:00
Luke Towers
b1aa0fce60
Cleanup console docblocks
2022-02-24 22:02:01 -06:00
Luke Towers
3152265c81
Cleanup scaffolding stubs
2022-02-24 21:58:25 -06:00
Luke Towers
f060c7f983
Move the winter:passwd command into the Backend module
...
Also add suggestion support for the username argument (last 20 most recently updated records)
2022-02-24 20:53:25 -06:00
Luke Towers
183661d0e3
Improve confirmation behavior for destructive actions
2022-02-24 20:29:53 -06:00
Luke Towers
2368afc981
Improved support for autocompletion for the plugin:* commands
...
Also added System\Console\Traits\HasPluginArgument that can be added to any CLI commands that interact with plugins to provide autocompletion for the plugin argument.
2022-02-23 22:13:34 -06:00
Ben Thomson
e3fecdb9c2
Move scaffold commands ( #471 )
...
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.
2022-02-23 14:54:17 -06:00
Ben Thomson
f58633cd45
Re-compile Snowboard
2022-02-23 21:14:40 +08:00
Ben Thomson
59b055c9e1
Don't apply data attribute functionality if there's no element
2022-02-23 20:48:04 +08:00
Ben Thomson
98ca545718
Correctly handle if element is "null" or "false" for requests
2022-02-23 20:47:19 +08:00
Ben Thomson
defb57f59c
Re-establish full YAML processor with tweaks.
...
Should hopefully handle most cases of pre-YAML 4.x version schemas.
Co-Authored-By: Marc Jauvin <marc.jauvin@gmail.com>
2022-02-23 10:40:47 +08:00
Ben Thomson
f594d44537
Restore original YAML processor, merge changes
2022-02-23 10:09:09 +08:00
Luke Towers
f24a6388cf
WIP test adjustments
2022-02-22 19:52:48 -06:00
Luke Towers
8e766dce58
Don't attempt to setup the ThemeLog if the settings table can't be found.
2022-02-22 19:34:18 -06:00
Marc Jauvin
f38f38f02f
fix assetic modules path
2022-02-22 17:33:16 -05:00
Luke Towers
7026baf4b7
Switch to using Assetic v3 instead of embedded Assetic v1 ( #470 )
2022-02-22 16:17:08 -06:00
Luke Towers
d0c7b5982a
Replaces october/ssstem
2022-02-22 13:58:39 -06:00
Marc Jauvin
9a6f71e0d4
Fix route order with new system.beforeRoute and system.route events ( #465 )
...
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.
2022-02-21 12:28:09 -06:00
Luke Towers
d3d49181fc
Add asset alias for Snowboard extras css ( #464 )
...
Co-authored-by: Marc Jauvin <marc.jauvin@gmail.com>
2022-02-20 12:59:07 -06:00
Luke Towers
9b1154ba31
Temporarily disable extra functionality in the VersionYamlProcessor
2022-02-19 16:06:14 -06:00
Luke Towers
7edb3e02c5
Temporarily disable VersionYamlProcessor
2022-02-19 15:34:36 -06:00
Luke Towers
3147d97cf0
Compile client side translations
2022-02-19 14:49:25 -06:00
Luke Towers
661110276c
Fix support for | page filter.
...
Credit to @mjauvin
2022-02-19 14:44:05 -06:00
Marc Jauvin
7130a80997
Fix support for morphOne/hasOne relations in FormModelSaver ( #463 )
...
Fixes #413
2022-02-18 15:52:47 -06:00
Luke Towers
8132617357
Merge pull request #455 from wintercms/wip/twig-environments
...
Refactor Twig registration and usage
2022-02-18 14:23:04 -06:00
Luke Towers
b568f36f1f
Add tests for polyfilled {% filter %} Twig tag
2022-02-18 12:01:24 -06:00
Luke Towers
c2ad6b309f
Code style fix and replaced use of {% filter %} in the demo theme
2022-02-18 09:50:18 -06:00
der_On
62c30c30d7
Improve German translation ( #457 )
...
Thanks to @der-On!
2022-02-18 09:42:30 -06:00
Luke Towers
cdffe6d179
Add AssetCombiner aliases for Snowboard ( #459 )
2022-02-18 09:41:43 -06:00
Luke Towers
c713c7d8d5
Polyfill {% filter %} token removed in Twig v3
2022-02-18 09:33:22 -06:00
Ben Thomson
f4efb897ac
Retain spaceless tag in Twig ( #456 )
...
Keeps the {% spaceless %} ... {% endspaceless %} tag available in Twig 3.x for Winter CMS backwards compatibility.
While it was deprecated and removed in Twig 3.x, it appears to work still, but may need some more testing.
2022-02-18 09:25:12 -06:00
Luke Towers
a8160d017e
Fix Twig type hints
2022-02-18 09:14:32 -06:00
Luke Towers
895c032196
loadTemplate($name) -> load($name)
...
Required as of Twig v3
2022-02-18 09:13:53 -06:00
Luke Towers
77ef563f43
Refactor CMS Twig environment.
...
Credit to @SeriousKen for the original work in https://github.com/octobercms/october/pull/3575
2022-02-18 01:44:36 -06:00
Luke Towers
3fec059a74
Initial work on refactoring the Twig usage to use separate environments as required
2022-02-17 21:28:37 -06:00
Luke Towers
33441c0987
Revert changes to winter:install, ConfigWriter uses ArrayFile internally
2022-02-17 20:20:43 -06:00
Luke Towers
674ee32947
Fix winter:env test
2022-02-17 12:36:15 -06:00
Luke Towers
d5871f3b2e
Fix botched merge
2022-02-17 11:25:49 -06:00
Luke Towers
eaf3d51669
Bring in line with changes to the storm PR
2022-02-17 11:17:33 -06:00
Luke Towers
5be10dd941
Merge branch 'wip/1.2' into wip/config-file
...
# Conflicts:
# modules/system/console/WinterEnv.php
2022-02-17 10:51:59 -06:00
Luke Towers
79aaaeee4d
Only normalize plaintext files when generating FileManifests
2022-02-17 07:51:18 -06:00