Ghost/core/server
Hannah Wolfe b03ecd9ebc Use bookshelf's model registry plugin
Refs #2170

This removes the circular dependency problem from our models thanks to
https://github.com/tgriesser/bookshelf/issues/181
- add the registry plugin
- switch all models and collections to be registered
- switch relationships to be defined using a string, which calls from the registry
2014-07-13 18:18:25 +01:00
..
api Move setup to API 2014-07-11 14:17:09 +02:00
apps correct settings.edit call signature for installedApps 2014-05-24 08:21:17 +02:00
config Move creation of knex instance to config module 2014-07-10 08:00:24 -04:00
controllers Move setup to API 2014-07-11 14:17:09 +02:00
data Merge pull request #3213 from hswolff/lazy-load-models 2014-07-11 15:29:46 +01:00
errors Invite user API 2014-07-02 16:22:18 +02:00
helpers Replace the old admin with the ember admin 2014-07-01 08:33:17 +01:00
middleware Move setup to API 2014-07-11 14:17:09 +02:00
models Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
permissions Only reference model properties through the models module. 2014-07-10 08:04:32 -04:00
routes Move setup to API 2014-07-11 14:17:09 +02:00
storage Update when.js dependency to version 3.2.3 2014-06-16 04:11:22 +00:00
utils Invite user API 2014-07-02 16:22:18 +02:00
views Replace the old admin with the ember admin 2014-07-01 08:33:17 +01:00
api.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00
bookshelf-session.js Upgrade to Express 4.0 2014-06-08 17:41:25 -04:00
filters.js Implement filter context 2014-04-06 15:43:11 +00:00
index.js Only reference model properties through the models module. 2014-07-10 08:04:32 -04:00
mail.js Update when.js dependency to version 3.2.3 2014-06-16 04:11:22 +00: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 Move creation of knex instance to config module 2014-07-10 08:00:24 -04:00
xmlrpc.js Add distinct error classes 2014-05-09 12:11:29 +02:00