Ghost/core/server/models
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
..
accesstoken.js Server side cleanup 2014-07-14 21:50:12 +01:00
app.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
appField.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
appSetting.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
base.js This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
basetoken.js Server side cleanup 2014-07-14 21:50:12 +01:00
client.js Extending context concept to models 2014-07-18 15:32:56 +01:00
index.js Server side cleanup 2014-07-14 21:50:12 +01:00
permission.js Extending context concept to models 2014-07-18 15:32:56 +01:00
post.js Add edit roles 2014-07-21 22:50:43 +02:00
refreshtoken.js Server side cleanup 2014-07-14 21:50:12 +01:00
role.js Added /roles/ API endpoint 2014-07-21 15:02:25 +01:00
settings.js Extending context concept to models 2014-07-18 15:32:56 +01:00
tag.js Extending context concept to models 2014-07-18 15:32:56 +01:00
user.js Update Users API to handle role objects or ids 2014-07-22 05:48:16 +00:00