6255 Commits

Author SHA1 Message Date
Jack Wilkinson
fb142e61ca Merge branch 'wip/config-file' into wip/config-write-replacement 2022-03-04 13:52:42 +00:00
Jack Wilkinson
745b4f6ea3 Merge branch 'wip/1.2' into wip/config-write-replacement 2022-03-04 13:50:43 +00:00
Luke Towers
f6c5bbfaba Merge branch 'wip/1.2' into wip/config-write-replacement 2022-03-03 19:03:27 -06:00
Luke Towers
8013a57074 Revert "Run default config files through ConfigWriter to minimize changed lines on future uses"
This reverts commit 897263e2813596e116ed0b1350e1a9034a646cb0.
2022-03-03 18:59:46 -06:00
Luke Towers
8dc6fd5e54 Merge branch 'develop' into wip/1.2 2022-03-02 15:10:20 -06:00
Luke Towers
3f19cb4cc8 Replaces october/*: 1.1.* 2022-03-02 15:09:27 -06:00
Luke Towers
896105e652 Merge branch 'develop' into wip/1.2
# Conflicts:
#	modules/cms/classes/Controller.php
2022-03-02 15:02:49 -06:00
Luke Towers
3de45535a9
Allow partials to override their vars through PHP
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.
2022-03-02 15:00:22 -06:00
Ben Thomson
8258df322b Fix unit tests 2022-03-01 09:09:34 +08:00
Ben Thomson
9a800ad656 Additional test cases and fixes for Version Yaml parser 2022-03-01 09:05:45 +08:00
Luke Towers
05b941e72b More fixes to the mailer 2022-02-28 18:53:15 -06:00
Luke Towers
0e53ff27c8 Fix missing import 2022-02-28 18:29:59 -06:00
Luke Towers
77f79f6c2b Add missing import 2022-02-28 00:08:51 -06:00
Luke Towers
fde586aba0 Merge branch 'develop' into wip/1.2 2022-02-24 23:41:27 -06:00
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
Ben Thomson
d2f986daab Fix failing tests due to plugin:refresh command change 2022-02-25 13:17:28 +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
05b3a35e79
Remove plugins and themes from last commit 2022-02-23 20:49:31 +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
040c6b936b Let's try this... 2022-02-23 10:55:52 +08:00
Ben Thomson
2a47cec76f Further debugging 2022-02-23 10:51:53 +08:00
Ben Thomson
30a4f80cf3 Debug branches in action 2022-02-23 10:49:40 +08:00
Ben Thomson
89397eb85d Prevent testing direct pushes to wip/1.2 - test the PR instead 2022-02-23 10:46:03 +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
Luke Towers
687b44145c Temporarily avoid testing problematic YAML 2022-02-22 19:10:54 -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