19 Commits

Author SHA1 Message Date
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
Jack Wilkinson
9cb42fc6ca
Add support for the Laravel asset() helpers (#426)
Related: https://github.com/wintercms/storm/pull/67
2022-02-13 10:52:47 -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
b160cfaae5 Add warning about re-using redis connections for the cache 2021-03-22 16:55:11 -06:00
Luke Towers
cfa763b714 Initial rebrand commit generated from the 1.0 rebrand branch patch file 2021-03-10 15:02:53 -06:00
Jim Cottrell
7fc01bb9ca Disable in-memory cache repository when running in CLI by default (#4323)
Fixes #4057. Related https://github.com/octobercms/library/pull/401. Credit to @jimcottrell
2019-05-07 12:34:46 -06:00
whsol
15cdf6e71f Make code parser data cache key configurable (#3373)
Credit to @whsol
2018-06-05 10:10:35 -06:00
Jonas Søndergaard
c85f8297d2 Make in-memory request cache configurable (#3477)
Related: octobercms/library#308, merged in 7e29489d87. Credit to @Josniii
2018-03-28 12:34:43 -06:00
Szabó Gergő
33a699e587 Add new lines (#3169) 2017-10-13 08:58:46 -06:00
Quezler
cc17b679f1 Code dusting (#2826)
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
Pásztor Gábor
7b174e6ce8 Add missing config file, remove php 5.4 support. 2016-01-02 15:41:27 +01:00
Samuel Georges
5a0d96af8d Minor 2015-02-07 13:27:01 +11:00
Samuel Georges
03eb949e71 Add illuminate/html package, DB -> Db, HTML -> Html 2015-02-04 20:03:44 +11:00
Samuel Georges
ed22cc9186 Migrate bootstrap process 2015-02-04 19:31:41 +11:00