Ghost/core/server/models
Jacob Gable a9cc252b45 Invalidate cache header only for published posts
Closes #1563

- Add new updatedAttributes() functionality to base models
- Update Post.edit(...) to pass along _updatedAttributes values
- Update Post.delete to set statusChanged to true
- Add checking for statusChanged to cacheInvalidationHeader()
- Update route tests that check for cache invalidation header
2014-04-23 09:28:45 -05:00
..
app.js Add new permissions to fixtures 2014-04-16 18:16:10 +02:00
appField.js Add new permissions to fixtures 2014-04-16 18:16:10 +02:00
appSetting.js Add new permissions to fixtures 2014-04-16 18:16:10 +02:00
base.js Invalidate cache header only for published posts 2014-04-23 09:28:45 -05:00
index.js Implements Models & Data API for Apps 2014-04-16 18:14:56 +02:00
permission.js Add new permissions to fixtures 2014-04-16 18:16:10 +02:00
post.js Invalidate cache header only for published posts 2014-04-23 09:28:45 -05:00
role.js Add validation from schema.js 2014-02-19 18:32:23 +01:00
session.js Use current user in models 2014-04-16 18:20:09 +02:00
settings.js Use current user in models 2014-04-16 18:20:09 +02:00
tag.js Tag API response to use parent rather than parent_id 2014-04-22 23:46:53 -07:00
user.js Update & grunt-groc and fix docs errors 2014-04-21 19:04:20 +01:00