Kevin Ansfield
c151be05de
Update client for tag.post_count -> tag.count.posts rename
...
refs #6105
- adds `raw` ember-data transform to handle standard JSON `count` attribute
- update mirage factory to return correct `count.posts` format
- rename all uses of `post_count` to `count.posts`
2015-11-23 19:57:56 +00:00
Kevin Ansfield
5c0b63f300
Ember-cli, Ember, & Ember Data 1.13.x upgrades
...
closes #5630
- upgrade ember-cli to latest version
- upgrade ember to latest 1.13.x release
- upgrade ember data to latest 1.13.x release
- update custom adapters and serialisers for new internal JSON-API compatible formats [(docs)][1]
- update all store queries to use new standardised query methods [(docs)][2]
- add ember-data-filter addon ready for store.filter removal in ember-data 2.0 [(docs)][3]
- remove use of prototype extensions for computed properties and observers
- consolidate pagination into a single route mixin and simplify configuration
[1]: http://emberjs.com/blog/2015/06/18/ember-data-1-13-released.html#toc_transition-to-the-new-jsonserializer-and-restserializer-apis
[2]: http://emberjs.com/blog/2015/06/18/ember-data-1-13-released.html#toc_simplified-find-methods
[3]: http://emberjs.com/blog/2015/06/18/ember-data-1-13-released.html#toc_ds-store-filter-moved-to-an-addon
2015-10-06 16:09:05 +01:00
Kevin Ansfield
5c9a824d53
Standardize on var-less export default
across ember app
...
no issue
- drops the `var Foo = Ember.Thing.extend({}); export default Foo;` syntax in favour of exporting directly, eg: `export default Ember.Thing.extend({})`
- discussion on this change [here](https://github.com/TryGhost/Ghost/pull/5340#issuecomment-105828423 ) and [here](https://github.com/TryGhost/Ghost/pull/5694#discussion-diff-37511606 )
2015-10-06 10:59:50 +01:00
Austin Burdine
c5535e0a1b
update Ember to 1.12.1/ember-data to 1.0.0-beta.18
...
No issue
- fixed "{{#each}}" helper in templates to use block syntax
- fixed deprecated ember.controller getter/setter function to use new syntax
- removed unnecessary pass-protect route view
2015-06-02 22:26:16 -06:00
Matt Enlow
56c691f93e
Normalize settings payloads in client serializer
...
Closes #5117
2015-04-08 13:03:56 -06:00
Matt Enlow
6d80907c99
Ember init, bower deps, es6 modules
2015-03-11 12:37:41 -06:00
Matt Enlow
589a563b30
The great migration (EAK -> ember-cli)
2015-03-11 12:37:41 -06:00