Commit Graph

2972 Commits

Author SHA1 Message Date
Greenkeeper
d150ebbaf0 chore(package): update ember-wormhole to version 0.4.1 (#258)
https://greenkeeper.io/
2016-10-10 11:05:31 +01:00
Greenkeeper
91bd4dc485 chore(package): update ember-cli-pretender to version 0.7.0 (#233)
https://greenkeeper.io/
2016-10-10 10:52:14 +01:00
Greenkeeper
8fd9cf1014 chore(package): update blueimp-md5 to version 2.4.0 (#319)
https://greenkeeper.io/
2016-10-10 09:53:54 +01:00
Greenkeeper
11b49f80af chore(package): update moment-timezone to version 0.5.6 (#318)
https://greenkeeper.io/
2016-10-10 09:23:46 +01:00
Hannah Wolfe
d0dab35f5a Move internal tags out of labs (#315)
refs TryGhost/Ghost#6165

- it's time to move internal Tags out of labs!
- remove the checkbox & all lab/feature flag code for internalTags
2016-10-10 09:23:26 +01:00
Greenkeeper
3875ce8e09 chore(package): update glob to version 7.1.1 (#316)
https://greenkeeper.io/
2016-10-10 08:58:25 +01:00
Greenkeeper
fa8003917b chore(package): update ember-cli-selectize to version 0.5.6 (#314)
https://greenkeeper.io/
2016-10-10 08:57:59 +01:00
Greenkeeper
e52b21f5c0 chore(package): update ember-light-table to version 1.4.3 (#320)
https://greenkeeper.io/
2016-10-10 08:39:12 +01:00
Ryan McCarvill
6f989f959f Upgraded editor (#313)
* refs #7429

Finally it's starting to feel like a real editor! Although there will be another version bump over the weekend which improves the toolbar behavior and usability, and enables image uploading.

- Added the start of a new toolbar, what we're (well I am) calling the Owesome bar, not to be confused with the Firefox Awesome bar. It's a cultural thing. (google "O for awesome" if you're curious 🎡 of 💰).
- The idea of dragging and dropping cards has been removed for now, although the code will still be in there as we will support dragging cards around within content fairly shortly. When apps are included a better card interface will be required for a large amount of app created content cards (Oh yeah!)
- Ghost Server now pulls in it's configuration from Ghost-Editor, this allows Ghost-Editor to:
A) Keep cards up to date, and
B) define what happens if a card is missing.
- The whole "cards in admin written in ember and cards in server written in javascript" thing is still very much a work in progress, it's kind of messy as we find the optimum solution (which isn't the current solution).

So yeah, this is a WIP not the final styling, not the final interactions, not the final anything... :)

* Added new toolbar and image uploading tests
* Includes an updated toolbar and basic image card.
2016-10-10 07:08:24 +01:00
Austin Burdine
4af9e8e3ff 🎨 fix path of nav menu ghost icon (#317)
refs TryGhost/Ghost#7503
2016-10-08 12:16:45 +01:00
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
Greenkeeper
1933f67620 chore(package): update moment to version 2.15.0 (#257)
https://greenkeeper.io/
2016-09-14 18:20:03 +01:00
Greenkeeper
4fe6d70deb chore(package): update glob to version 7.0.6 (#229)
https://greenkeeper.io/
2016-09-14 16:13:04 +01:00
Greenkeeper
5cabf1f591 chore(package): update blueimp-md5 to version 2.3.1 (#246)
https://greenkeeper.io/
2016-09-14 16:12:29 +01:00
Austin Burdine
93aac28fb3 🐛 fix typing a space in search input (#261)
closes TryGhost/Ghost#7369
- temporary fix for spacebar selecting until eps 1.0 is finalized
2016-09-14 16:11:41 +01:00
Austin Burdine
321a2970ea remove mime-type validations in favor of extension validation (#256)
refs TryGhost/Ghost#7292
- remove accept mime type validations
- validate on file extension only
- fix tests
2016-09-14 09:54:16 +01:00
Hannah Wolfe
00e0bc9a3f Version bump to 0.10.1 2016-09-06 17:15:49 +02:00
Kevin Ansfield
2a1584af16 🐛 fix duplicate server alerts + default alert bg color (#242)
closes https://github.com/TryGhost/Ghost/issues/7305

The `location` property of server-side notifications was being ignored by the client and so wasn't being used to de-duplicate alerts.

- adds `key` attribute to `Notification` model
- adds a serializer for notifications that renames the `location` key sent by the server to `key`
- set the default background color of alerts to white so that alerts with no `type` set do not inherit the background color (useful in Ghost Desktop which has a transparent background color set)
2016-09-01 11:01:54 -05:00
Austin Burdine
2306c25839 fix json db uploads and add checking for subscriber uploads (#241)
closes TryGhost/Ghost#7295
- check json content on db import if type is not specified
- ensure file type/extension is being checked in subscriber upload
2016-09-01 14:08:37 +01:00
Austin Burdine
312308aa98 allow windows zip type to be uploaded (#238)
refs TryGhost/Ghost#7292, TryGhost/Ghost#7293
- add 'application/x-zip-compressed' to allowed mime-types for import
  and theme
2016-09-01 08:50:34 +02:00
Greenkeeper
f177d857b3 chore(package): update ember-invoke-action to version 1.4.0 (#227)
https://greenkeeper.io/
2016-08-30 07:07:11 -05:00
Greenkeeper
ee2245bedb chore(package): update codemirror to version 5.18.2 (#224)
https://greenkeeper.io/
2016-08-30 06:36:10 -05:00
kirrg001
f34932b044 Version bump to 0.10.0 2016-08-29 19:11:51 +02:00
Aileen Nowak
9e4da27a3a 🐛 Allow .zip file upload for file import
closes TryGhost/Ghost#7277

Adds `application/zip` to supported import file types.
2016-08-26 18:23:55 +02:00
Aileen Nowak
e906432dd2 💄 Set max-width for theme uploader table
no issue

Theme uploader form in settings/general is now `max-width: 500px`, which is the same than any other form in settings.
2016-08-26 11:11:47 +02:00
Hannah Wolfe
e22b787cb6 💄 Adding id to themes title for inter-linking 2016-08-25 10:26:05 +01:00
Katharina Irrgang
334af8c302 revert: package.json to 0.9.0 (#230)
no issue
2016-08-25 10:25:29 +01:00
Kevin Ansfield
926f0283b5 detailed theme validation errors (#226)
no issue
- display the detailed validation errors that we get back from gscan so that users know how to fix their themes
2016-08-24 20:22:20 +02:00
Austin Burdine
7f089e1e47 fix font rendering in ie/edge (#225) 2016-08-24 16:44:02 +02:00
Kevin Ansfield
7886cdcb79 🐛 fix highlighted number of posts when deleting a user (#144)
closes https://github.com/TryGhost/Ghost/issues/7136
- pass user into the modal when displaying
- fix the user->model alias in the modal component
- update mirage user endpoints to respect `?include=count.posts` param
2016-08-24 07:26:29 -06:00
Kevin Ansfield
346cfc5c48 🐛 prevent task-buttons dropping clicks when multiple tasks enqueued simultaneously (#222)
refs https://github.com/TryGhost/Ghost/issues/7255
- adds a `.appear-disabled` CSS class that doesn't prevent pointer events like `.disabled`
- updates `gh-task-button`:
  - use `.appear-disabled` class instead of actually disabling button
  - add check to guard against the button's assigned task being run multiple times whilst the spinner is running

This resolves the [user profile slug issue](https://github.com/TryGhost/Ghost/issues/7255) where clicking the Save button whilst the slug input has focus would only trigger the input's focus-out event due to it immediately disabling the button.
2016-08-24 07:14:36 -06:00
Kevin Ansfield
e8ba1071a0 🐛 fix post-settings-menu slug input (#223)
refs https://github.com/TryGhost/Ghost/issues/7255
- adds missing `slugGenerator` service injection
2016-08-24 06:58:49 -06:00
Austin Burdine
ce58f6db33 Merge pull request #221 from kevinansfield/handle-duplicate-package-names
 add folder names to tell duplicate themes apart
2016-08-23 10:56:42 -06:00
Kevin Ansfield
6ba865cfdd indicate folder names to tell duplicate themes apart
refs https://github.com/TryGhost/Ghost-Admin/pull/210
- removes unused `activeTheme` property on `gh-theme-table`
- updates label generation in `gh-theme-table` to add folder names when there are duplicate package.json name+version combos
2016-08-23 16:55:32 +01:00
Kevin Ansfield
a255f937dd add final theme management acceptance tests
refs https://github.com/TryGhost/Ghost-Admin/pull/210
- adds missing acceptance tests for theme deletion
- adds theme deletion endpoint to mirage config
- fixes mirage settings update endpoint (was previously removing config that the client didn't send and also losing the `type` key for all entries preventing the `GET` request from working properly)
2016-08-23 15:27:46 +01:00
kirrg001
5c7e67ccaf Version bump to 0.10.0 2016-08-23 16:27:29 +02:00
Greenkeeper
a684280fd0 chore(package): update codemirror to version 5.18.0 (#217)
https://greenkeeper.io/
2016-08-23 06:30:53 -06:00
Kevin Ansfield
0abe447551 theme management UI
refs https://github.com/TryGhost/Ghost/issues/7204, requires https://github.com/TryGhost/Ghost/pull/7209

- replaces theme dropdown with a table
- adds theme upload modal
    - validates theme mime type
    - prevents upload of `casper.zip` (default Casper theme can't be overwritten)
    - warns if an upload will overwrite an existing theme
    - gives option of immediately activating the uploaded theme or closing after successful upload
- adds theme activation link/action
- adds theme download link/action
- adds theme deletion modal
    - warns about no undo possibility
    - offers possibility to download theme
- modifies mirage config to handle theme changes
2016-08-23 12:42:38 +01:00
Kevin Ansfield
3bfc342314 add fileSelected action to upload components
no issue
- upload components will now trigger a passed-in `fileSelected` action upon file selection - useful when users of the components want to utilise the file object without supplying a custom validation action
2016-08-23 12:32:11 +01:00
Kevin Ansfield
67b2a159a9 🐛 fix infinite spinner on failed save through SettingsSaveMixin 2016-08-23 12:32:10 +01:00
Aileen Nowak
11f569a051 ⬇️ 🐛 Downgrade to ember-one-way-controls 0.9.2 (#219)
closes Tryghost/Ghost#7245

Downgrades to `ember-one-way-controls` v0.9.2, as v1.0.1 had a bug when starting to type in the middle of the text inside of the input field.
2016-08-23 07:51:05 +01:00
Kevin Ansfield
508a473b43 validate file uploads against "accept" mime-type before uploading (#214)
closes https://github.com/TryGhost/Ghost/issues/7144
- allow the `accept` attr of `gh-file-uploader` and `gh-image-uploader` to be specified
- allows a `validate` action to be passed into `gh-image-uploader` and `gh-file-uploader` components that runs after a file is selected and before the upload starts
- adds a default `validate` action to `gh-image-uploader` and `gh-file-uploader` that triggers the normal `UnsupportedFileType` error when the selected file's mime-type does not match the `accept` attribute
- adds mime type validation to labs importer (basic implementation, should be replaced with uploader components once they have been refactored)
2016-08-22 05:45:33 -06:00
Greenkeeper
8cd8d7b4ed chore(package): update ember-route-action-helper to version 1.0.0 (#216)
https://greenkeeper.io/
2016-08-20 08:08:54 -06:00
Austin Burdine
a136875fa2 remove google font loading from index.html (#215) 2016-08-18 18:06:05 +02:00
John O'Nolan
52e34b530c Minor visual bug fixes (#212)
- Fix positioning bug introduced in #211
- Adjust search results max-height to be based on viewport height
2016-08-18 09:57:19 -06:00
John O'Nolan
642fbb7668 Merge pull request #213 from AileenCGN/7222-fix-arrow-positioning
🐛  Fix position of arrow in Apps UI
2016-08-18 17:15:14 +02:00
John O'Nolan
e5c6e7fac8 Fix font-family declaration 2016-08-18 17:02:56 +02:00
Aileen Nowak
e4fd6b71d6 🐛 Fix position of arrow in Apps UI
closes TryGhost/Ghost#7222

Adds `right: 0` to `.apps-configured > i`, so the arrow doesn't overlap with the letters.
2016-08-18 16:30:19 +02:00
John O'Nolan
22ef644463 Switch to new native system font stack (#211) 2016-08-18 12:42:42 +01:00
Kevin Ansfield
1abaa1de4a 💄 move grouped mirage config into separate files (#209)
no issue
- moves mirage config for grouped endpoints into separate files to cleanup the `app/mirage/config.js` file
- endpoints are now mocked via a single `mockX(this)` call allowing for quick/easy mocking in the dev environment as well as the test environment without cluttering `config.js`
2016-08-17 09:14:33 -06:00
Greenkeeper
02ee319404 chore(package): update ember-cli-babel to version 5.1.10 (#208)
https://greenkeeper.io/
2016-08-17 08:17:00 +01:00
Greenkeeper
9a62fe666c chore(package): update grunt-shell to version 1.3.1 (#207)
https://greenkeeper.io/
2016-08-12 21:38:49 -06:00
Greenkeeper
2112b09404 chore(package): update lodash to version 4.15.0 (#205)
https://greenkeeper.io/
2016-08-12 16:56:19 -06:00
Greenkeeper
72e73af68b chore(package): update ember-cli-babel to version 5.1.9 (#204)
https://greenkeeper.io/
2016-08-12 15:09:50 -06:00
Greenkeeper
3f87f1679b chore(package): update ember-cli-htmlbars-inline-precompile to version 0.3.5 (#202)
https://greenkeeper.io/
2016-08-12 10:01:00 -06:00
Greenkeeper
9ee59df4b6 chore(package): update ember-cli-htmlbars to version 1.1.0 (#200)
https://greenkeeper.io/
2016-08-12 09:17:20 -06:00
Austin Burdine
771416a3cc convert tagNames to use computed.mapBy (#203)
- fix travis test bug
2016-08-12 16:07:46 +01:00
Austin Burdine
9acef445ee Introducing Concurrency (#147)
* deps: ember-concurrency@0.7.8

* initial conversion of post & user actions to e-concurrency tasks

- add task button which handles auto-spinning of e-concurrency tasks
- fix tests
2016-08-11 07:58:38 +01:00
Greenkeeper
1958642502 chore(package): update ember-cli-sri to version 2.1.1 (#196)
https://greenkeeper.io/
2016-08-10 14:51:43 -06:00
Greenkeeper
2cebd0e85f chore(package): update ember-cli-htmlbars-inline-precompile to version 0.3.4 (#197)
https://greenkeeper.io/
2016-08-10 12:55:45 -06:00
Greenkeeper
cc0fe8908d chore(package): update broccoli-merge-trees to version 1.1.4 (#195)
https://greenkeeper.io/
2016-08-10 11:44:49 -06:00
Greenkeeper
8b7b6008bd chore(package): update ember-cli-app-version to version 2.0.0 (#193)
https://greenkeeper.io/
2016-08-10 10:40:14 -06:00
Greenkeeper
3f69fa93a8 chore(package): update broccoli-asset-rev to version 2.4.6 (#192)
https://greenkeeper.io/
2016-08-10 10:14:25 -06:00
Greenkeeper
36d9fe7da4 chore(package): update lodash to version 4.14.2 (#191)
https://greenkeeper.io/
2016-08-10 08:32:08 -06:00
David Balderston
1a91c1b2ed Fix new url field focus bug (#194)
Closes TryGhost/Ghost#7140

* Now checks to see if it is new or not before editing the url
2016-08-10 08:31:16 -06:00
Austin Burdine
98892c6934 remove ember-cli-release dep (#190) 2016-08-07 08:37:22 +02:00
Austin Burdine
6efab62dc1 remove test-loader asset from test html file (#188) 2016-08-07 08:29:37 +02:00
David Balderston
06558ca8e1 Post meta error style fixes (#189)
Closes TryGhost/Ghost#7138

* Fixes red error styling not showing up for meta title and meta
description on posts
2016-08-06 22:52:46 -05:00
Austin Burdine
dfad30c1ea move csscomb watch task from server repo (#177)
refs TryGhost/Ghost#6977
2016-08-06 11:26:24 +02:00
Greenkeeper
ed32d09cf1 chore(package): update ember-cli-app-version to version 1.0.1 (#187)
https://greenkeeper.io/
2016-08-06 02:55:42 -06:00
Greenkeeper
b3d77920fb chore(package): update ember-sortable to version 1.8.2 (#184)
https://greenkeeper.io/
2016-08-06 09:45:43 +02:00
Greenkeeper
7832e290be chore(package): update ember-cli-htmlbars to version 1.0.11 (#183)
https://greenkeeper.io/
2016-08-06 09:35:48 +02:00
Greenkeeper
3a097894d3 chore(package): update walk-sync to version 0.3.1 (#186)
https://greenkeeper.io/
2016-08-06 09:35:36 +02:00
Greenkeeper
7627fc43b6 chore(package): update ember-cli-jshint to version 1.0.5 (#182)
https://greenkeeper.io/
2016-08-06 09:18:31 +02:00
Greenkeeper
77928a5d60 chore(package): update broccoli-merge-trees to version 1.1.3 (#181)
https://greenkeeper.io/
2016-08-06 09:04:46 +02:00
Austin Burdine
877dc89ddb fix cross-browser support (#164)
closes https://github.com/TryGhost/Ghost/issues/7149
- fix tests in Safari
- fix template tag issue in IE and edge
- various IE css fixes
2016-08-06 09:04:06 +02:00
David Balderston
6b7591c2bd Fix url field focus (#174)
Closes #7140

* Even if the url was blank, it was always appending a `/` at the end
which would cause isBlank to return false. Added logic that if the url
was blank, don’t try to then add the trailing slash.
2016-08-06 08:59:52 +02:00
David Balderston
8f5d91f0c2 Add User Role to Invited Users (#173)
Closes #7130

* Adds the user role to the invited users template
* Adjusts some css to keep the role on the right side
2016-08-06 08:55:01 +02:00
Greenkeeper
8e402226d6 chore(package): update ember-one-way-controls to version 1.0.0 (#178)
https://greenkeeper.io/
2016-08-06 08:38:03 +02:00
Greenkeeper
3b3b91d5f4 chore(package): update loader.js to version 4.0.11 (#185)
https://greenkeeper.io/
2016-08-05 19:28:19 -06:00
Greenkeeper
abe83b7a5a chore(package): update broccoli-concat to version 3.0.2 (#179)
https://greenkeeper.io/
2016-08-04 08:11:59 -06:00
Austin Burdine
8be2b44807 move ember tasks over from main repository (#176)
refs TryGhost/Ghost#6977
- uses npm script's custom options to streamline ember commands
- add preferLocal to shell options to allow running of npm commands
2016-08-03 09:54:24 +02:00
Greenkeeper
5c7093a75b chore(package): update ember-one-way-controls to version 0.9.2 (#171)
https://greenkeeper.io/
2016-08-02 08:09:21 -06:00
David Balderston
6080d235b1 Fix subscriber height being too tall for viewport (#168)
Closes #7163

* With flex-column, setting height to 100% will make the child the same
as the full height of the flex container, not fill up the remaining
space, so it was bleeding down below the viewport
2016-08-01 17:49:12 -06:00
Kevin Ansfield
b67df80cf3 chore(package): update ember-invoke-action to version 1.3.1 (#167)
https://greenkeeper.io/
2016-08-01 05:48:52 -06:00
Austin Burdine
0f06ee1c46 copy LICENSE from main Ghost repository (#165) 2016-08-01 10:04:56 +01:00
Greenkeeper
ce035196d7 chore(package): update ember-one-way-controls to version 0.9.1 (#166)
https://greenkeeper.io/
2016-08-01 09:50:49 +01:00
Greenkeeper
8ff5b3de45 Update ember-cli to version 2.7.0 🚀 (#148)
* chore(package): update ember-cli to version 2.7.0

https://greenkeeper.io/

* update app from ember-cli blueprint

* deps: ember-cli-test-loader@1.1.0
2016-07-31 20:47:19 +01:00
Austin Burdine
5d41c1be4c remove zen styling (#160) 2016-07-31 20:35:19 +01:00
Austin Burdine
c56c6f38f4 lock glob version (#161) 2016-07-31 20:33:17 +01:00
Greenkeeper
c7d4190308 chore(package): update ember-one-way-controls to version 0.9.0 (#158)
https://greenkeeper.io/
2016-07-29 15:25:58 -06:00
Greenkeeper
d8f9e76687 chore(package): update lodash to version 4.14.1 (#159)
https://greenkeeper.io/
2016-07-29 10:35:39 -06:00
Greenkeeper
6683cb095a chore(package): update ember-cli-fastclick to version 1.3.0 (#155)
https://greenkeeper.io/
2016-07-29 09:21:52 -06:00
Austin Burdine
5091055466 lock walk-sync version (#157) 2016-07-29 07:40:40 +01:00
Greenkeeper
9528dec082 chore(package): update ember-cli-htmlbars to version 1.0.10 (#153)
https://greenkeeper.io/
2016-07-28 21:34:33 -06:00
Greenkeeper
c9aa2028e2 chore(package): update walk-sync to version 0.3.0 (#152)
https://greenkeeper.io/
2016-07-28 14:24:39 +01:00
Greenkeeper
403deeb211 chore(package): update lodash to version 4.14.0 (#141)
https://greenkeeper.io/
2016-07-28 07:24:36 -06:00
Greenkeeper
21525da9cd chore(package): update ember-cli-htmlbars-inline-precompile to version 0.3.3 (#154)
https://greenkeeper.io/
2016-07-28 06:15:57 -06:00
Greenkeeper
a52a251485 chore(package): update ember-cli-babel to version 5.1.7 (#143)
https://greenkeeper.io/
2016-07-28 11:33:31 +01:00
Greenkeeper
3874e7c2c1 chore(package): update ember-data to version 2.7.0 (#146)
https://greenkeeper.io/
2016-07-28 11:01:20 +01:00
Greenkeeper
3b85f06f5d chore(package): update moment-timezone to version 0.5.5 (#150)
https://greenkeeper.io/
2016-07-27 10:58:45 -06:00
Greenkeeper
bb7cdef7d2 chore(package): update broccoli-asset-rev to version 2.4.5 (#151)
https://greenkeeper.io/
2016-07-27 10:38:47 -06:00
Kevin Ansfield
78d5b6b848 Version bump to 0.9.0 2016-07-26 13:31:16 +01:00
Kevin Ansfield
d46cee25fe Handle automatic timezone override
refs https://github.com/TryGhost/Ghost/pull/7142, https://github.com/TryGhost/Ghost/pull/7143
- moves timezone selection template and logic into a component
- detect if the current `activeTimezone` is not in our pre-defined list of timezones, if it isn't:
  - add a line indicating that there has been an override with the current `activeTimezone` value
  - add a blank option to the timezone select list
2016-07-26 11:50:24 +01:00
Austin Burdine
93acca96fb fix image uploader text handling (again) (#140)
closes TryGhost/Ghost#7127
- image uploader now handles "text" and "alt text" differently
2016-07-24 10:19:49 +01:00
Austin Burdine
c0907d0867 fix upgrade notification font size (#138) 2016-07-22 15:03:41 +01:00
Kevin Ansfield
8d803d9862 Fix blank signup screen (#135)
closes https://github.com/TryGhost/Ghost/issues/7117
- adds guard to `sanitizeInput` method of `gh-trim-focus-input` for null/undefined values
- adds acceptance test for successful signup screen flow
- removes unneeded validation/update handling for a non-editable email field
- adds "At least 8 characters" placeholder to password field
- fixes enter key not submitting the form when name or password field has focus
2016-07-22 07:36:50 -06:00
Austin Burdine
899ccaea38 ensure validation errors are shown on post save (#136)
closes TryGhost/Ghost#7120
- fix error handling in editor-base-controller
- adds failing test fixed by this change
2016-07-22 10:14:32 +01:00
Vijay Kandy
b7dcda8f61 authentication fix for intermittent internet connection (#131)
closes TryGhost/Ghost#6868

- token is refreshed when internet connectivity is established provided the session is still active
- Added navigator.online handler which listens for browser's online status.
- _refreshAccessTokens() is explicitly called when browser becomes online
2016-07-20 22:52:15 -06:00
Greenkeeper
96b0fabfc9 chore(package): update ember-cli-node-assets to version 0.1.4 (#134)
https://greenkeeper.io/
2016-07-19 15:35:37 -06:00
Greenkeeper
626bbea2b3 chore(package): update ember-route-action-helper to version 0.3.3 (#133)
https://greenkeeper.io/
2016-07-19 09:22:36 -06:00
Greenkeeper
aeb8b91aa0 chore(package): update codemirror to version 5.17.0 (#132)
https://greenkeeper.io/
2016-07-19 09:14:13 -06:00
Kevin Ansfield
0b2345e635 Fix editor error handling (#128)
closes https://github.com/TryGhost/Ghost/issues/7099
- update editor base controller's `showErrorAlert` method to handle `AdapterError` or `AjaxError` objects
- update PSM's error handling so that we don't pass an error object wrapped in an array to `showAPIError`
- add missing title attribute to Mirage's Post factory
- remove some leftover `console.log`s
2016-07-18 17:23:43 -06:00
Vijay Kandy
b4e812db54 Added upgrade notification component to About page. (#102)
- Picked some fixes https://github.com/TryGhost/Ghost/pull/5670/files
- Destructured Ember properties
- Removed unused imports and fixed unit test errors.
2016-07-15 16:58:35 -06:00
Hannah Wolfe
cb30a834b7 Fix: travis exception for greenkeeper branches (#130)
- travis terminology is inconsistent :(
2016-07-15 10:51:00 -06:00
Greenkeeper
d3d0e3c942 chore(package): update broccoli-concat to version 3.0.1 (#129)
https://greenkeeper.io/
2016-07-15 10:17:24 -06:00
Aileen Nowak
2b20e6d3e1 Fixes curser changing to pointer on hover (#127)
closes #7100

Adds `:hover` pseudo-class to `gh-notification-schedule` that sets the curser to default to avoid having it as a pointer on hover.
2016-07-15 09:30:50 -06:00
Hannah Wolfe
4848955425 Recommend Node v4 & use as default (#126)
refs TryGhost/Ghost#7098

- Use Node v4 as our default build environment
- Change engines in package.json to match Ghost core
2016-07-15 12:12:17 +01:00
Greenkeeper
01546d7d1a chore(package): update broccoli-concat to version 3.0.0 (#124)
https://greenkeeper.io/
2016-07-15 11:24:12 +01:00
Greenkeeper
f5de858235 chore(package): update ember-cli to version 2.6.3 (#125)
https://greenkeeper.io/
2016-07-15 09:59:37 +01:00
Austin Burdine
5573d72e65 fix image component displaying alt text in uploader (#105)
closes TryGhost/Ghost#7064
- pull alt text from parsed markdown
- move text to image uploader component proper
2016-07-14 13:27:18 +01:00
Kevin Ansfield
b86da86de5 Add grunt clean task (#119)
refs #6977
- adds `grunt-contrib-clean` dependency
- adds `grunt clean` task that cleans the same client folders as core's `grunt clean` ready to be used via subgrunt
2016-07-14 12:43:49 +01:00
Greenkeeper
ce7b82d13a chore(package): update broccoli-merge-trees to version 1.1.2 (#118)
https://greenkeeper.io/
2016-07-13 11:16:08 -06:00
Greenkeeper
637f23731f chore(package): update liquid-fire to version 0.24.1 (#117)
https://greenkeeper.io/
2016-07-12 07:01:05 +01:00
Greenkeeper
b1cc631636 chore(package): update broccoli-concat to version 2.2.1 (#115)
https://greenkeeper.io/
2016-07-11 15:18:44 -06:00
Austin Burdine
8fc2107308 Merge pull request #112 from kevinansfield/503-maintenance
"503 Maintenance" error handling
2016-07-11 05:34:56 -06:00
Greenkeeper
67a33da1f9 chore(package): update liquid-fire to version 0.24.0 (#114)
https://greenkeeper.io/
2016-07-09 12:24:50 +01:00
Greenkeeper
ad8833015a chore(package): update ember-suave to version 4.0.0 (#113)
https://greenkeeper.io/
2016-07-09 08:06:05 +01:00
Kevin Ansfield
3c92c171f9 "503 Maintenance" error handling
refs https://github.com/TryGhost/Ghost/issues/6976
- adds custom `MaintenanceError` and associated error checking functions
- updates app route and notifications service to handle `503` errors via the `upgrade-status` service
2016-07-08 15:17:26 +01:00
Kevin Ansfield
eb2a0359cf Refactor error handling
closes https://github.com/TryGhost/Ghost/issues/6974
- update "change password" fields/process to use inline validations
- remove `notifications.showErrors` and update all uses of it to `showAPIError`
- display multiple API errors as alerts rather than toaster notifications
- refactor `notifications.showAPIError`
  - remove `notifications.showErrors`, use a loop in `showAPIError` instead
  - properly determine the message from `AjaxError` or `AdapterError` objects
  - determine a unique key if possible so that we don't lose multiple different alerts
- add `ServerUnreachable` error for when we get a status code of 0 (eg, when the ghost service has been shut down)
- simplify error messages for our custom ajax errors
2016-07-08 15:16:54 +01:00
Kevin Ansfield
b4cdc85a59 "400 Version Mismatch" error handling
refs https://github.com/TryGhost/Ghost/issues/6949

Handle version mismatch errors by:
- displaying an alert asking the user to copy any data and refresh
- disabling navigation so that unsaved data is not accidentally lost

Detailed changes:
- add `error` action to application route for global route-based error handling
- remove 404-handler mixin, move logic into app route error handler
- update `.catch` in validation-engine so that promises are rejected with the
  original error objects
- add `VersionMismatchError` and `isVersionMismatchError` to ajax service
- add `upgrade-status` service
  - has a method to trigger the alert and toggle the "upgrade required" mode
  - is injected into all routes by default so that it can be checked before
    transitioning
- add `Route` override
  - updates the `willTransition` hook to check the `upgrade-status` service
    and abort the transition if we're in "upgrade required" mode
- update notifications `showAPIError` method to handle version mismatch errors
- update any areas where we were catching ajax errors manually so that the
  version mismatch error handling is obeyed
- fix redirect tests in editor acceptance test
- fix mirage's handling of 404s for unknown posts in get post requests
- adjust alert z-index to to appear above modal backgrounds
2016-07-08 14:56:26 +01:00
Austin Burdine
bfe542b27d more shimming of controllers (#110)
refs #101, #95
- shim controllers that were missed initially
2016-07-06 20:47:30 +01:00
Austin Burdine
c0f21b37d3 lazy-load codemirror on code injection screen (#99)
refs TryGhost/Ghost#6149
- concats codemirror.js and css on build, keeping them out of vendor.js
- add lazy-loader service to enable loading of external scripts
2016-07-05 17:30:14 +01:00
Kevin Ansfield
8c8365720b Revert to ember-wormhole@0.3.6 (#108)
closes https://github.com/TryGhost/Ghost/issues/7073
- reverts `ember-wormhole` to 0.3.6
- adds working test that was broken under `ember-wormhole` 0.4.0
2016-07-05 08:29:05 -06:00
Austin Burdine
d7001e54c7 deps: moment@2.14.1 (#107)
no issue
- update moment manually because greenkeeper didn't pick it up for some reason
2016-07-05 14:56:14 +01:00
Greenkeeper
9ab38e3fa9 chore(package): update moment to version 2.14.0 (#106)
https://greenkeeper.io/
2016-07-04 06:38:56 +01:00
Kevin Ansfield
96e9e1f76b fix focusOut event on slug input in PSM (#103)
no issue
- ensures that the current slug value is passed to the action instead of a `jQuery.event` object
2016-07-01 08:30:13 -06:00
Austin Burdine
fb239054a0 convert remainder of components to use ember-cli-shims (#101)
follow up from #95
- converts components to use ember-cli-shims
2016-06-30 19:14:25 +01:00
Austin Burdine
93105d5cce only build parts of jquery-ui that we need (#100) 2016-06-30 14:42:00 +01:00
Austin Burdine
f53c7dfc88 convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
Greenkeeper
e77b4d141f chore(package): update broccoli-asset-rev to version 2.4.4 (#97) 2016-06-29 22:00:50 -06:00
Kevin Ansfield
861d79299f convert bower deps to npm deps
no issue
- convert moment + moment-timezone to npm dependencies
- convert password-generator to npm dependency
- convert keymaster.js to npm dependency
- convert blueimp-md5 to npm dependency
2016-06-29 11:52:10 +01:00
Kevin Ansfield
8192d6fd64 deps: jquery-deparam@0.5.2 as npm module 2016-06-29 11:28:53 +01:00
Kevin Ansfield
1650069bcb deps: codemirror@5.16.0 as npm module 2016-06-29 11:28:53 +01:00
Kevin Ansfield
0dccda345e deps: ember-cli-shims@0.1.3 2016-06-29 11:28:53 +01:00
Kevin Ansfield
e3167c9afd deps: ember@2.6.1
no issue
- bugfix release: https://github.com/emberjs/ember.js/releases/tag/v2.6.1
2016-06-29 11:28:53 +01:00
Kevin Ansfield
d9b7d11401 deps: ember-cli-node-assets@0.1.3
no issue
- allows easy switching of `bower` dependencies to `npm` dependencies
2016-06-29 10:25:02 +01:00
Austin Burdine
9c2e45c44d add buildAboutPage task to Gruntfile (#90) 2016-06-28 18:36:00 +01:00
Austin Burdine
13b78ae1f7 Merge pull request #91 from starcwl/master
fix meta-data problem, which will cause SEO of post fail.
2016-06-27 04:32:19 -06:00
starcwl
541c8e67ad fix meta-data problem, which will cause SEO of post fail.
no issue
- fixed focus-out action calls in post-settings-menu meta fields which miss arguments metaDescriptionScratch and metaTitleScratch.
2016-06-27 18:10:41 +08:00
Austin Burdine
22477ef71b deps: bower@1.7.9
refs TryGhost/Ghost#7039
- add bower dependency to client
2016-06-26 08:00:51 -06:00