Commit Graph

131 Commits

Author SHA1 Message Date
Samuell c21c22e1ba Add option to disable UpdateManager after backend login (#4266)
Credit to @Samuell1. Fixes #3471.
2019-07-19 14:50:42 -06:00
Ben Thomson a59d3b83eb Code quality clean up (#4449)
Credit to @bennothommo
2019-07-18 08:50:37 -06:00
Ayumi Hamasaki 884042952f Block off SW running in backend and reduce lookups (#4385)
Credit to @ayumihamsaki. Related #4384
2019-06-25 17:15:11 +03:00
Luke Towers 37db70ab83 Config changes from 5.6 2019-06-12 02:26:21 -06:00
Luke Towers 15e3bd131a
Merge pull request #4358 from octobercms/wip/file-improvements
Use temporaryUrls for protected files if the storage driver supports them. Related: octobercms/library#406
2019-06-02 20:49:12 -06:00
Samuel Georges e7ec0be0c1
Merge pull request #3908 from octobercms/wip/halcyon-db-datasource
Database layer for the CMS objects
2019-06-01 14:28:34 +10:00
Samuel Georges 17cea816d8 enableDatabaseLayer -> databaseTemplates 2019-06-01 12:40:17 +10:00
Luke Towers ef4f1e49ee Added `temporaryUrlTTL` configuration option, switched is_a() to instanceof 2019-05-31 00:53:27 -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
Teranode cef21fc419 Improve documentation(#3573)
Connection refers to both database and redis connections if either one is chosen. (also present in 5.5). Credit to @Teranode
2019-04-19 14:44:37 -06:00
Luke Towers 630d543959 Merge branch 'develop' into wip/halcyon-db-datasource 2019-04-11 12:30:29 -06:00
Tomasz Strojny 956a234920 Add ability to specify the connection used for running tests (#4159)
Credit to @czerwonyd
2019-03-31 06:28:24 -06:00
Luke Towers abc3359273
Warn about the dangers of changing app.timezone 2018-11-15 13:45:57 -06:00
Luke Towers a4802d5036 Minor updates to config cms.enableDatabaseLayer docs 2018-11-05 13:39:55 -06:00
Luke Towers 5dbfa133e7 Config file change and cms_themes_contents table migration 2018-11-01 21:53:16 -06:00
Nathan van der Werf 80942fa2d7 Add Same-Site Cookie configuration option (#3688)
Adds the session.same_site config key in the default session.php config file from Laravel. Credit to @nathan-van-der-werf & @Teranode
2018-08-16 11:44:18 -06:00
pikanji ab9dcaf09c Add cookie configuration file (#3644)
Adds the cookie configuration file required by octobercms/library#335. Documented in octobercms/docs#3644.
2018-07-19 22:38:45 -04:00
Lucas Thurston 85dd0b9968 Add config flag for disabling basedir restrictions for local development only (#3626)
Fixes #3619. Credit to @lthurston
2018-07-05 17:07:38 -04: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
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 6c5a83de89
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 7b174e6ce8 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
Samuel Georges 54fe8452e5 uploadsPath -> cms.storage.uploads.path 2015-02-23 19:55:41 +11:00
Samuel Georges a4418aeab8 Various minor touch ups 2015-02-21 19:16:14 +11:00
Samuel Georges a9a3336d11 * Build 199 *** NB: /uploads -> /storage/app/uploads
The /uploads directory has been moved to /storage/app/uploads to make way for CDN support. This directory should be moved on the file system and the config (cms.uploadsPath) updated.
2015-02-19 19:12:36 +11:00
Samuel Georges 7145aac457 Prepare for CDN, config rename cms.plugins|themes|uploadsDir -> cms.plugins|themes|uploadsPath
Deprecate data-trigger-type on triggerapi
Fixes ref to Util class
2015-02-17 20:58:38 +11:00
Samuel Georges 47eff923e5 *** REMOVED RELATIVE LINK POLICY ***
A relative link policy was a bad idea, Laravel/Redirects did not play nicely at all.
2015-02-14 13:26:13 +11:00
Samuel Georges 3d04f06ad1 Various fixes 2015-02-12 21:04:05 +11:00
Samuel Georges f6371d532b Fixes unit tests 2015-02-10 17:45:27 +11:00
Samuel Georges 5055adfab2 Update various configs 2015-02-07 19:42:40 +11:00
Samuel Georges 8e1b4c2f68 Remove cms.tempDir - use temp_path() 2015-02-07 15:42:20 +11: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