0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/test/utils
Lev Gimelfarb a013840503 Support for urlSSL config option and forceAdminSSL 403 response
closes #1838
- adding `forceAdminSSL: {redirect: true/false}` option to allow 403 over non-SSL rather than redirect
- adding `urlSSL` option to specify SSL variant of `url`
- using `urlSSL` when redirecting to SSL (forceAdminSSL), if specified
- dynamically patching `.url` property for view engine templates to use SSL variant over HTTPS connections (pass `.secure` property as view engine data)
- using `urlSSL` in a "reset password" email, if specified
- adding unit tests to test `forceAdminSSL` and `urlSSL` options
- created a unit test utility function to dynamically fork a new instance of Ghost during the test, with different configuration options
2014-04-27 17:01:49 -04:00
..
fixtures Adds additional fields to apps schema. 2014-04-16 18:16:10 +02:00
api.js Merge pull request #2641 from alarobric/feature/2607TagParentRelation 2014-04-23 12:47:37 +01:00
fork.js Support for urlSSL config option and forceAdminSSL 403 response 2014-04-27 17:01:49 -04:00
index.js Support for urlSSL config option and forceAdminSSL 403 response 2014-04-27 17:01:49 -04:00