0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server
Harry Wolff be37070fb6 This aims to speed up both the ghost application and tests by
migration from usage of config() to just an object of config.

no relevant issue

- Change 'loadConfig' task to 'ensureConfig' to more accurately reflect
what it is actually doing.  Its sole purpose is to make sure a `config.js`
 file exists, and as such the name now reflects that purpose.

- Update config/index.js to export the ghostConfig object directly
so that it can be accessed from other modules

- Update all references of config(). to config.
This was a blind global find all and replace, treat it as such.

- Fixes to tests to support new config access method

- Allow each test to still work when invoked invidually
2014-07-22 22:37:44 -04:00
..
api This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
apps This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
config This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
controllers This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
data This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
errors This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
helpers This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
middleware This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
models This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
permissions Add edit roles 2014-07-21 22:50:43 +02:00
routes This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
storage This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
utils Export 003 2014-07-19 22:38:21 +01:00
views Remove inline script from default.hbs 2014-07-21 20:00:54 +02:00
api.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00
filters.js Implement filter context 2014-04-06 15:43:11 +00:00
index.js This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
mail.js This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
middleware.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00
require-tree.js Error handling for require-tree 2014-03-25 22:38:48 +00:00
update-check.js This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
xmlrpc.js Add distinct error classes 2014-05-09 12:11:29 +02:00