Commit Graph

2812 Commits

Author SHA1 Message Date
Austin Burdine
0b743890af Merge pull request #272 from kevinansfield/ember-2.8.0
Update ember & ember-cli to version 2.8.x
2016-10-07 18:51:52 -05:00
Hannah Wolfe
05940b7b83 🎨 Change asset path to /ghost/assets (#309)
refs #7503

- Having assets served from the same directory as the admin makes this tricky to refactor server side
- It's also much harder to optimise for 404s
2016-10-07 16:16:26 -05:00
Kevin Ansfield
02bc150e6d deps: ember-mocha@0.9.1 2016-10-07 17:32:30 +01:00
Kevin Ansfield
006b9420bf deps: ember-power-select@1.0.0-beta.22 2016-10-07 17:32:30 +01:00
Kevin Ansfield
ef0c7a2bf3 deps: ember@2.8.2 2016-10-07 17:32:30 +01:00
Kevin Ansfield
3b466973f7 deps: ember-cli@2.8.0 2016-10-07 17:32:30 +01:00
Kevin Ansfield
2844c896a8 refactor gh-fullscreen-modal component to use liquid-wormhole directly (#281)
no issue

- remove `liquid-tether` dependency
- add `liquid-wormhole` dependency (previously a dependency of liquid-tether)
- refactor `gh-fullscreen-modal` to simplify and use `liquid-wormhole` directly instead of `liquid-tether` as we don't need the positioning ability that `liquid-tether` provides
- fixes broken View/Component tree in Ember Inspector 🎉
2016-10-07 14:27:39 +01:00
Kevin Ansfield
7c7f869bc1 deps: ember-light-table@1.4.2 (#307)
no issue

- update `ember-light-table` to 1.4.2
- remove `gh-light-table` override component as scrolling has been fixed
- disable the infinite scroll acceptance test for now because Chrome has issues detecting the position of the scroll trigger when the app is rendered into the zoomed container during testing
2016-10-07 13:58:53 +01:00
Greenkeeper
6b9aa618d5 chore(package): update lodash to version 4.16.4 (#310)
https://greenkeeper.io/
2016-10-06 17:34:01 +01:00
Greenkeeper
137a253151 chore(package): update broccoli-concat to version 3.0.4 (#306)
https://greenkeeper.io/
2016-10-05 19:35:36 +01:00
Greenkeeper
b5bf4e6d37 chore(package): update lodash to version 4.16.3 (#302)
https://greenkeeper.io/
2016-10-05 17:53:14 +01:00
Greenkeeper
ae69ec449e chore(package): update ember-concurrency to version 0.7.10 (#305)
https://greenkeeper.io/
2016-10-05 12:41:55 +01:00
Kevin Ansfield
47ae25e74e Version bump to 1.0.0-alpha.3 2016-10-03 19:19:21 +01:00
Kevin Ansfield
ad656a6f10 🐛 fix file uploads (#301)
no issue
- pin `ember-ajax` on a version that contains related fixes (https://github.com/ember-cli/ember-ajax/issues/147)
- update our `ajax` service so that it defaults to `application/json` content-type rather than forcing it
2016-10-03 13:08:23 -05:00
Ryan McCarvill
e921e335ce Update Ghost-Editor to 0.0.8 (#299)
refs TryGhost/Ghost#7429

Ghost Editor includes:
- Responsive toolbars
- Both Ember and Plain javascript cards
- An embeded HTML card

This is still an early release, but things are moving in the right direction. :)

We're still defining the spec for the UI, so expect drastic changes over the next couple of weeks.

This is going to be a great writing experience and we can't wait to show what we have planned.
2016-10-03 15:41:14 +01:00
Hannah Wolfe
d83bce52ea 🛠 Make greenkeeper ignore grunt dependencies (#296)
closes #290

- We're moving away from grunt, so lets not worry about version bumps for now
2016-10-01 09:10:58 +01:00
Austin Burdine
8f90674739 remove unused gh-select-native template (#297)
no issue
- removes template that was missed in #286
2016-10-01 09:10:21 +01:00
Kevin Ansfield
a258e3d881 Ghost.org OAuth support (#278)
issue TryGhost/Ghost#7452, requires TryGhost/Ghost#7451
- use a `ghostOAuth` config flag to switch between the old-style per-install auth and centralized OAuth auth based on config provided by the server
- add OAuth flows for:
  - setup
  - sign-in
  - sign-up
  - re-authenticate
- add custom `oauth-ghost` authenticator to support our custom data structure
- add test helpers to stub successful/failed oauth authentication
- hide change password form if using OAuth (temporary - a way to change password via oauth provider will be added later)
2016-09-30 13:43:40 +02:00
Greenkeeper
0b14b91789 chore(package): update ember-suave to version 4.0.1 (#295)
https://greenkeeper.io/
2016-09-28 17:46:50 +01:00
Greenkeeper
15f24c9588 chore(package): update ember-cli-mirage to version 0.1.14 (#294)
https://greenkeeper.io/
2016-09-28 17:46:06 +01:00
kirrg001
483ac49ea9 Version bump to 1.0.0-alpha.2 2016-09-26 19:22:11 +02:00
Kevin Ansfield
43bf325800 use ember-ajax in place of ember-data's networking (#283)
closes #7014
- uses the `AjaxServiceSupport` mixin from `ember-ajax` to replace Ember Data's internal `ajax` method with our own ajax service
- normalizes all error handling to use `ember-ajax` style errors
- default to the `application/vnd.api+json` content-type so that we don't have a mix of urlencoded and plain JSON content
- fix `normalizeErrorResponse` in our `ajax` service so that it doesn't add an empty `errors` array to payloads
2016-09-26 11:59:04 -05:00
Kevin Ansfield
c296437366 replace gh-select-native with one-way-select (#286)
no issue
- removes `gh-select-native` component as ember-one-way-control's `one-way-select` component offers the same one-way-binding but also allows element attributes to be set
2016-09-26 11:39:43 -05:00
Kevin Ansfield
467ee93b21 Separate invites and users (#277)
closes https://github.com/TryGhost/Ghost/issues/7420, requires https://github.com/TryGhost/Ghost/pull/7422
- adds a new `Invite` model with associated serializer and test setup
- updates team screen to use invites rather than existing users with the "invited" property
- updates signup process to work with new invite model
- updates setup process to create invites instead of users
- swaps usage of `gh-select-native` for `one-way-select` in the invite modal so that attributes can be set on the `select` element
- updates resend invite process to account for server returning a new model
- rewrites the invite management tests and fixes mirage mocks for invite endpoints
- sorts invites by email address to avoid jumping invites when re-sending
2016-09-26 18:03:53 +02:00
Kevin Ansfield
91d6097d9e deps: ghost-editor@0.0.7 (#293)
no issue
- fixes missing dependency issues, temporarily points at git repo until version can be published on npm
2016-09-26 17:02:50 +02:00
Kevin Ansfield
166fce1e63 deps: ember-ajax@2.5.1 (#282)
no issue
- update ember-ajax to 2.5.1
- replace custom error checking in setup/two with ember-ajax's `isInvalidError`
- update error normalisation and associated parsing tests to ensure all error types result in the same object structure
2016-09-26 08:07:18 -05:00
Ryan McCarvill
17dfc726b9 Mobile-Doc based editor (#291)
refs TryGhost/Ghost#7429, requires TryGhost/Ghost#7437

Added Ghost-Editor (based on mobiled doc).
-------------------
- Added mobiledoc editor
- Fixed problems with workflow and auto saves
- Integrated basic toolbar
- Removed all editor related tests, everything bar the most basic acceptance tests will be in the ghost-editor repository.
- Commented out tests which relied on Ember Helpers that are not compatable with mobile-doc, workarounds are inbound shortly.

This is the first integration of ghost-editor. It's styled enough to work, however it is not anywhere approaching something that looks remotely like what the finished thing will be.

Early ALPHA, development build. Tread cautiously.
2016-09-26 15:04:20 +02:00
Greenkeeper
5d921ef3e8 chore(package): update lodash to version 4.16.2 (#292)
https://greenkeeper.io/
2016-09-26 08:10:39 +02:00
Kenneth Ashley
30cebae22c Safari doesn't show dragged-over state for file uploads (#288)
closes TryGhost/Ghost#7310
- Removes double dashes from modifier classes as safari won’t allow this.
2016-09-24 11:10:08 +02:00
Greenkeeper
d6c6745f34 chore(package): update ember-data to version 2.8.1 (#287)
https://greenkeeper.io/
2016-09-24 10:25:10 +02:00
Greenkeeper
0b436898e0 chore(package): update ember-concurrency to version 0.7.9 (#284)
https://greenkeeper.io/
2016-09-23 13:07:11 +02:00
Greenkeeper
4c017a42a7 chore(package): update glob to version 7.1.0 (#276)
https://greenkeeper.io/
2016-09-21 22:12:11 +02:00
Greenkeeper
480c289ae7 chore(package): update moment to version 2.15.1 (#279)
https://greenkeeper.io/
2016-09-21 14:55:04 +02:00
Greenkeeper
06e9698e31 chore(package): update lodash to version 4.16.1 (#275)
https://greenkeeper.io/
2016-09-21 10:20:14 +02:00
Hannah Wolfe
3f24ca586c Version bump to 1.0.0-alpha.1 2016-09-20 16:39:30 +01:00
Hannah Wolfe
4689dc9910 Version bump to 1.0.0-alpha.0 2016-09-20 15:57:07 +01:00
Kevin Ansfield
397b378709 Revert "Update ember-one-way-controls to version 1.1.1 🚀" (#273) 2016-09-20 08:05:41 -05:00
Greenkeeper
36d7faadaa chore(package): update ember-one-way-controls to version 1.1.1 (#252)
https://greenkeeper.io/
2016-09-20 11:23:02 +02:00
Greenkeeper
eba14b823e chore(package): update lodash to version 4.16.0 (#270)
https://greenkeeper.io/
2016-09-20 10:47:36 +02:00
Greenkeeper
f7048c4fb9 chore(package): update liquid-fire to version 0.26.1 (#269)
https://greenkeeper.io/
2016-09-20 09:26:53 +02:00
Greenkeeper
f8d6a90ef2 chore(package): update ember-watson to version 0.8.3 (#266)
https://greenkeeper.io/
2016-09-20 08:46:02 +02:00
Greenkeeper
404c8b1232 chore(package): update ember-cli-jshint to version 2.0.1 (#264)
https://greenkeeper.io/
2016-09-20 08:45:21 +02:00
Greenkeeper
86626656c1 chore(package): update ember-data to version 2.8.0 (#250)
https://greenkeeper.io/
2016-09-20 08:44:34 +02:00
Greenkeeper
9519b00781 chore(package): update bluebird to version 3.4.6 (#243)
https://greenkeeper.io/
2016-09-20 08:43:42 +02:00
Greenkeeper
ea8181c22e chore(package): update ember-resolver to version 2.1.0 (#245)
https://greenkeeper.io/
2016-09-20 08:41:56 +02:00
Greenkeeper
5dd59ff84c chore(package): update emberx-file-input to version 1.1.0 (#237)
https://greenkeeper.io/
2016-09-20 08:39:42 +02:00
John O'Nolan
a9917f0edf Double default gravatar size (#268) 2016-09-19 14:38:42 +01:00
Hannah Wolfe
49de4b5b59 Version bump to 0.11.0 2016-09-15 10:23:15 +01:00
Kevin Ansfield
8119be7610 display warnings after theme upload (#262)
refs TryGhost/Ghost#7362, requires TryGhost/Ghost#7367
- display any gscan warnings we get back from a successful upload to cater for the downgrade of missing `{{asset}}` helpers from an error to a warning
2016-09-14 18:34:07 +01:00
Ryan McCarvill
a93ea7ee92 Replaces non ascii characters to dashes so that it's consistent with … (#260)
refs #7313

- theme name normalisation
- detect duplicates to show a popup to override a theme
2016-09-14 17:23:04 +00:00