6475 Commits

Author SHA1 Message Date
Luke Towers
36a42a650c
Merge pull request #404 from wintercms/wip/config-file
[Enhancement] Refactor winter:env, winter:install to use new EnvFile & ArrayFile parsers
2022-03-16 14:55:14 -06:00
Luke Towers
f2d9526d29 Support new mail config file structure 2022-03-16 14:51:21 -06:00
Luke Towers
c137760498 Run all config files through ArrayFile parser
This will minimize changes when ConfigWriter is used to set config values through PHP.
2022-03-16 10:55:07 -06:00
Luke Towers
cd9f9097e8 Style fix 2022-03-15 21:52:46 -06:00
Luke Towers
3da0a32393 Merge branch 'wip/config-write-replacement' into wip/config-file
# Conflicts:
#	config/app.php
#	config/auth.php
#	config/cms.php
#	config/database.php
2022-03-15 21:52:10 -06:00
Luke Towers
520190f5e0 Tweaks to be more friendly with the ArrayFile parser 2022-03-15 21:26:52 -06:00
Luke Towers
140d388008 Merge branch 'wip/1.2' into wip/config-write-replacement 2022-03-15 21:05:47 -06:00
Luke Towers
70cfd902bd Revert "Run the default config through ArrayFile parser"
This reverts commit c3bdfae664c1cdde2ea1403027fc38b0822a0cf5.
2022-03-15 21:05:08 -06:00
Luke Towers
cb382a0be0
Added missing return statement 2022-03-14 21:01:08 -06:00
Luke Towers
765f55e84e
Merge pull request #491 from Flynsarmy/uploadFilepath
Strip double / prefix when uploading to Media root directory
2022-03-13 19:56:32 -06:00
flynsarmy
86938196de Make getMediaPath public 2022-03-14 09:24:14 +10:00
flynsarmy
7a0a41d05c Make getMediaPath and getStorageDisk methods public 2022-03-14 09:23:38 +10:00
flynsarmy
82dc1071ba Strip double / prefix when uploading to Media root directory 2022-03-12 16:16:17 +10:00
Luke Towers
f14642cc58 Fix scope overreach of migration from 2016.
Backend migrations should only touch the backend tables, same for the system module. This was added for build 345 in 2016 in the wrong migrations. See d7cfe61e67
2022-03-11 22:17:27 -06:00
Luke Towers
50417b2cb1 Remove support for varcharmax
This was originally added in bd9f88587f (and further refined in 160ae441ff) as a workaround for issues in MySQL < 5.7 and MariaDB < 10.2 related to the default string length when using the recommended utf8mb4 database encoding.

As of Laravel 8 the minimum supported versions of MySQL and MariaDB are not affected by this issue so we're now removing this configuration / workaround in Winter v1.2.
2022-03-09 16:05:58 -06:00
Luke Towers
ae5b0c2a54 Fix issue with refactored Symfony component 2022-03-08 19:43:13 -06:00
Luke Towers
574c7d4ef3 Initial work on re-aligning the scaffolding commands with Laravel 2022-03-08 19:42:36 -06:00
Luke Towers
86cfbfa98b
Fix module controller filetype association 2022-03-08 16:13:52 -06:00
Marc Jauvin
bb67f3ef11
Use env() settings by default in config/cms.php (#484) 2022-03-08 09:03:09 +08:00
Luke Towers
1288d35ecb Merge branch 'wip/config-write-replacement' of github.com:wintercms/winter into wip/config-write-replacement 2022-03-05 11:06:13 -06:00
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