Ghost/core/client/models
Jacob Gable 5abeadf80d Ember Data with Posts
Ref #2699

- Introduce ember data dependency
- Add loadInitializers and refactor most initializers into one combined
- Add Post ember data model
- Refactor generateSlug to use title of post and ghostPaths
- Refactor post controller to not reference model.property everywhere
- Use RESTAdapter for posts, users and tags
- Setup author and tag relations in Post model
- Fix broken API calls by adding CSRF header
- Add initiaizer for csrf value
- Use actual User model for current user initializer
- Add action for setting featured post, test with actual api call
- Fix the sending of UUID's up to the server
- Refactor current-user to use ember-data store
- If a user is preloaded in the application, use pushPayload to put it
in the store
- Do a lookup on the store to get an actual User model for injection
- Fix posts/post controllerName in route/new.js
- Alter signup process to push user into ember data store
2014-05-29 07:42:51 -05:00
..
base.js Add ghostPaths util and initializer 2014-05-24 08:52:47 +02:00
post.js Ember Data with Posts 2014-05-29 07:42:51 -05:00
settings.js Ported logic to settings: Debug Tab closes #2424 2014-05-07 20:48:29 +01:00
tag.js Ember Data with Posts 2014-05-29 07:42:51 -05:00
user.js Ember Data with Posts 2014-05-29 07:42:51 -05:00