Ghost/core/server/models
Hannah Wolfe 6e48275160 Extending context concept to models
fixes #3275, fixes #3290, ref #3086, ref #3084

- Ensure that we use the current logged in user and not just user 1 when
- removing hard coded user: 1 except where absolutely necessary
- passing context, rather than user to models
- base model has a new function to determine what id to use for created_by etc
2014-07-18 15:32:56 +01: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 Extending context concept to models 2014-07-18 15:32:56 +01: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 Extending context concept to models 2014-07-18 15:32:56 +01:00
refreshtoken.js Server side cleanup 2014-07-14 21:50:12 +01:00
role.js Extending context concept to models 2014-07-18 15:32:56 +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 Extending context concept to models 2014-07-18 15:32:56 +01:00