17 Commits

Author SHA1 Message Date
Marc Jauvin
9e1a02cad0
Update MailSettings for new Laravel mail config structure. (#522)
Requires wintercms/storm#79

Removed the following drivers configs not native in Laravel:
- Mailgun
- Mailchimp (Mandrill)
- Postmark
- SparkPost
- Amazon SES

Credit to @mjauvin
2022-04-05 14:40:49 -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
70cfd902bd Revert "Run the default config through ArrayFile parser"
This reverts commit c3bdfae664c1cdde2ea1403027fc38b0822a0cf5.
2022-03-15 21:05:08 -06:00
Luke Towers
897263e281 Run default config files through ConfigWriter to minimize changed lines on future uses 2022-02-17 10:46:22 -06:00
Luke Towers
f6510979cc Sync config defaults with Laravel 9.x skeleton
Changed from Laravel defaults:
- Array configuration items should have their assigner operators aligned and keys should be sorted alphabetically

Removed:
- database.fetch: Removed from the default in Laravel 5.4 (and originally changed to FETCH_OBJ in 5.3) see 770c41552f & https://github.com/laravel/laravel/pull/3815
- filesystems.cloud: Removed from the default in Laravel 8.4.4 since it's not good practice to use Storage::cloud(), should use explicit disk configurations instead. See 82213fbf40
- services.mandrill: No longer officially supported since < Laravel 6.x; can use the SMTP driver instead
- services.sparkport: No longer officially supported in Laravel since < Laravel 6.x or Winter since v1.2 (third party package to reprovide driver is available but config should be manually added when desired.)
- services.stripe: Removed in Laravel v5.8.35, see 83d2ecc0e9

Explicitly not synced:
- Some calls to env(), will be addressed by future work on the ConfigWriter
- auth.php, will be addressed by future work to bring the Winter auth system more in line with the Laravel one
- cors.php, not implemented by default in Winter at the moment, plugins are available
- filesystems.php: storage.links & storage.disks.public not included because storage:link is not supported by Winter yet and further thought is needed for its inclusion.
- mail.php: markdown - Laravel's markdown mail functionality not verified to work within Winter which has it's own set of email templating logic. May be investigated and included later down the road if desired.
- sanctum.php: Laravel Sanctum is an authentication system for Laravel that is completely untested with Winter. Can be evaluated at a later date for inclusion.
2022-02-14 14:42:24 -06:00
Ben Thomson
fdc8a7a993
Synchronise config files with Laravel 6 (#179) 2021-05-17 16:17:17 +08:00
Luke Towers
8c4297af4b Merge branch 'october-develop' into develop
* october-develop:
  Support readonly and disabled fields when value is an array (#4683)
  Exception handling
  Improve configuration files (#5544)
  Update Dutch (nl) translations (#5543)

# Conflicts:
#	config/mail.php
#	modules/system/classes/MailManager.php
2021-03-31 10:20:40 -06:00
Alwin Drenth
675a90daa1
Improve configuration files (#5544)
* Improve config indentation

* Add missing new lines in config

* Add trailing comma to cms configuration file
2021-03-24 16:55:28 +11:00
Luke Towers
cfa763b714 Initial rebrand commit generated from the 1.0 rebrand branch patch file 2021-03-10 15:02:53 -06:00
Ben Thomson
6aeb079f8b Add support for Postmark mail transport configuration 2020-01-23 12:28:17 +08:00
Ben Thomson
86351cec7f Revert "Add Composer scripts"
This reverts commit a1cfc2aa58c2fa88c186a4306381fdcf1cd4f269.
2020-01-20 16:14:00 +08:00
Ben Thomson
a1cfc2aa58 Add Composer scripts 2020-01-20 16:08:15 +08:00
Samuel Georges
a099e4e086 Change default mail driver to smtp
The "mail" driver has been removed completely from the underlying libraries due to serious security concerns.
Refs #3256
2017-11-23 11:51:56 +11:00
Samuel Georges
30289f03f3 Mail::pretend is gone 2017-05-12 07:18:02 +10:00
Quezler
cc17b679f1 Code dusting (#2826)
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
Samuel Georges
5055adfab2 Update various configs 2015-02-07 19:42:40 +11:00
Samuel Georges
ed22cc9186 Migrate bootstrap process 2015-02-04 19:31:41 +11:00