62 Commits

Author SHA1 Message Date
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
Luke Towers
b5009fde11
Typo 2018-03-27 13:23:03 -06:00
Luke Towers
9277b771e0
Removed default Laravel config value that doesn't apply
Fixes #3473, Fixes #3459. Credit to @vevers for reporting and suggesting fix.
2018-03-27 11:24:17 -06:00
Matteo
678916854e Add config to enable Twig strict_variables (#3370)
Adds the cms.enableTwigStrictVariables config option to enable strict_variables in Twig for debugging purposes. See https://twig.symfony.com/doc/2.x/api.html#environment-options. Credit to @matteotrubini
2018-01-26 10:59:45 -06:00
Luke Towers
cf01254b2b
Use utf8mb4 as the default character set
Will properly support emojis and other multibyte characters being stored. Laravel implemented as default in 5.4: 9d01389ce3
2018-01-26 09:44:27 -06:00
Panagiotis Koursaris
90635dd3b9 Add default ports on database config (#3308)
Credit to @panakour
2017-12-20 14:13:03 -06:00
Osman Zeki
fbf482a3f4 Change default environment to development (#3288)
Fixes #3287
2017-12-08 10:37:15 -06: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
4a6e0e1e0e Implement CSRF token by default
Implement CSRF protection on CMS for postback handling
2017-10-30 09:00:17 +11:00
Szabó Gergő
33a699e587 Add new lines (#3169) 2017-10-13 08:58:46 -06:00
Samuel Georges
1db67af8e8 Merge remote-tracking branch 'remotes/origin/develop' into l55upgrade
Conflicts:
	modules/system/lang/en/lang.php
2017-07-11 10:48:54 +10:00
Christophe Vuagniaux
e3a567cb78 Enable configuration of backend login session persistence (#2924)
Thanks to @ChVuagniaux. Fixes #2394
2017-06-22 14:34:16 -06:00
Samuel Georges
84597b95ce Multitenancy 2017-05-19 22:47:26 +10:00
Samuel Georges
7e76f39e6c Add app.name config
Various other refittings
2017-05-16 18:50:41 +10: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
c7eb965af8 Introduce ignorePatterns to Media Library, ignoring dot files by default
Roll back some changes from #2692
2017-03-20 17:42:17 +11:00
Samuel Georges
b447b8e056 Merge pull request #2692 from ctf0/regex-hide
use regex to hide files under media manger
2017-03-19 19:28:40 +11:00
Samuel Georges
1ec2b69924 Revert 6c5a83de89dfb0704ed2b0d2b83ad90ecd65c15f
This has caused performance issues for some people, will need to write a known error about using 127.0.0.1 in some environments instead
2017-02-26 12:57:40 +11:00
Muah
bcd75c84c0 use regex to hide files under media manger 2017-02-20 13:54:30 +02:00
Samuel Georges
f608b1ac78 Remove query caching config
Refs https://github.com/octobercms/library/pull/253#issuecomment-279944594
2017-02-15 20:57:42 +11:00
Samuel Georges
d0d45f839c Disable db memory cache for tests
Refs https://github.com/octobercms/library/pull/253
2017-02-15 08:12:25 +11:00
Samuel Georges
d19f0a1229 Add config for duplicate database query cache
Refs https://github.com/octobercms/library/pull/253
2017-02-11 08:18:42 +11:00
Samuel Georges
dc85993584 Minor improvements
Add navbar-default styling out of the box
2017-02-03 05:40:24 +11:00
Samuel Georges
b2301a8056 Add new config cms.forceBytecodeInvalidation
Refs #2385
2017-01-31 07:23:58 +11:00
Samuel Georges
6c5a83de89 Use 127.0.0.1 in favor of localhost
- Speed improvement
- Consistency with redis config
- Fixes issue with XAMPP on macOS, see: http://stackoverflow.com/questions/20723803/pdoexception-sqlstatehy000-2002-no-such-file-or-directory
2017-01-24 08:36:50 +11:00
Samuel Georges
6af6ebe733 Added config backendForceSecure used to force HTTPS
Refs https://security.googleblog.com/2016/09/moving-towards-more-secure-web.html
2016-12-17 10:16:02 +11:00
Scott Bedard
a12ed5e19e Break apart run-on sentence 2016-11-30 19:11:40 -07:00
Samuel Georges
b08e2c4912 Introduce deep hashing on asset combiner
Added cms.enableAssetDeepHashing config item, disabled by default
Recompile assets
Refs #2248
Refs https://github.com/octobercms/library/pull/225
2016-07-30 15:06:50 +10:00
Samuel Georges
5fef21e892 Minor reorg 2016-06-23 07:37:29 +10:00
Samuel Georges
4df7c6704e Introduce locale variants
Australia
Canada
UK
2016-04-23 13:13:52 +10:00
Samuel Georges
6c081d9265 Combine editor preferences and backend preferences
Add backend timezone setting used for converting display dates
2016-04-23 05:31:05 +10:00
Samuel Georges
3cac52afd4 Default is null, not false 2016-03-25 10:42:14 +11:00
Samuel Georges
f1aa720086 Create a safe mode to disable code field in the CMS
Fixes #1756
2016-03-25 10:05:04 +11:00
Samuel Georges
a6b007e55c Rejigg the config so backendUri is more prominent 2016-03-09 20:48:18 +11:00
Pásztor Gábor
f98bc30072 Add missing option to redis config. 2016-02-05 09:31:17 +01:00
Samuel Georges
09bbf668a6 Key must be 32 chars 2016-01-29 16:22:04 +11:00
Samuel Georges
e554586f8f Update encryption cipher in config 2016-01-29 16:15:55 +11:00
Samuel Georges
43e4a23161 Rollback changes from 7b174e6ce866deaa53a913bf3fa9851342601e26 2016-01-04 18:46:23 +11: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
606892143b Added new security config option cms.enableCsrfProtection 2015-07-04 09:31:28 +10:00
Samuel Georges
06ec662131 Update Chinese (China) language - Fixes #1237 without 10 commits 2015-06-27 09:46:05 +10:00
Vojta Svoboda
b4609a930e Logging configuration comment update 2015-06-10 10:01:09 +02:00
Samuel Georges
c9cf2b4352 Roll back redirection function
This is a magical solution to a non-issue (aesthetic), it could easily be introduced by a plugin and is not a good substitute for proper web server configuration. Eg, Apache:

    ##
    ## Directory Listing attempts
    ##
    DirectorySlash Off
    RewriteOptions AllowNoSlash

    ##
    ## Redirect Trailing Slashes...
    ##
    RewriteRule ^(.*)/$ /$1 [L,R=301]
2015-05-18 19:09:03 +10:00
Samuel Georges
bb6910a068 Add internal redirects (cms.enableRedirects)
The application will now perform redirects to prevent duplicate content and enforce the linking policy.
Fixes #665
Fixes #1023
2015-05-16 12:19:11 +10:00
Samuel Georges
e1b23941ba Change default path 2015-03-14 15:12:43 +11:00
Samuel Georges
dbe1dafb28 Fixes typo in #998 2015-03-12 09:13:04 +11:00
Pásztor Gábor
b3dcce6d2a Updates on Brand Settings 2015-03-11 20:30:41 +01:00
Samuel Georges
1ab8858271 Minor touch ups 2015-03-03 18:38:36 +11:00
Samuel Georges
83b54c043c Fixes unit tests so they pass 2015-03-02 16:02:13 +11:00