Commit Graph

2968 Commits

Author SHA1 Message Date
Ryan McCarvill
6f1a3f0261 Updated ghost-editor to 0.1.4 (#385) 2016-11-07 11:50:08 +01:00
Kevin Ansfield
e7399ab7c1 🛠 remove ghost-editor from greenkeeper ignore list
no issue
- reverts change added in c3d994c9da
- `ghost-editor` has stabilised now and updates will be unlikely to require additional changes inside of Ghost
2016-11-07 10:37:17 +00:00
Greenkeeper
6b34151cc2 chore(package): update torii to version 0.8.1 (#381)
https://greenkeeper.io/
2016-11-05 09:12:59 +00:00
Greenkeeper
30b1912128 chore(package): update ember-cli-htmlbars-inline-precompile to version 0.3.6 (#380)
https://greenkeeper.io/
2016-11-05 09:12:36 +00:00
Greenkeeper
228e1ad99b chore(package): update moment-timezone to version 0.5.9 (#383)
https://greenkeeper.io/
2016-11-05 09:12:04 +00:00
Greenkeeper
920abaa2d8 chore(package): update ember-cli-selectize to version 0.5.10 (#377)
https://greenkeeper.io/
2016-11-03 13:54:14 +00:00
ivan sebastian
06e3cbaa27 Fix delete post (#372)
closes TryGhost/Ghost#7599
- when deleting a post we don't have a pluralised root in the response, adds a guard to ensure we don't throw an error
2016-11-03 13:39:40 +00:00
Greenkeeper
20d5091412 chore(package): update blueimp-md5 to version 2.5.0 (#376)
https://greenkeeper.io/
2016-11-03 13:17:18 +00:00
Greenkeeper
7362a5e61c chore(package): update fs-extra to version 1.0.0 (#375)
https://greenkeeper.io/
2016-11-03 13:16:59 +00:00
Greenkeeper
0eac5a0f14 chore(package): update ember-light-table to version 1.5.2 (#371)
https://greenkeeper.io/
2016-11-03 13:14:53 +00:00
Kevin Ansfield
6e9c70d262 Fix empty subscribers import modal
no issue
- recent changes to the way our modals work has resulted in the subscribers import modal appearing blank. The `liquid-if` used for transitioning between upload and result state of the doesn't run properly and the styles end up hiding it's contents
- this PR is a quick-fix that removes the animated transition so that imports are still possible
2016-11-03 13:07:25 +00:00
Greenkeeper
1111b9401e chore(package): update ember-sortable to version 1.9.0 (#369)
https://greenkeeper.io/
2016-11-03 12:46:28 +00:00
Greenkeeper
41f43b98b0 chore(package): update liquid-wormhole to version 2.0.0 (#364)
https://greenkeeper.io/
2016-11-03 09:52:07 +00:00
Greenkeeper
0d937adc67 chore(package): update ember-cli to version 2.9.1 (#361)
https://greenkeeper.io/
2016-11-03 09:51:40 +00:00
Hannah Wolfe
b0d7e104ef Version bump to 1.0.0-alpha.7 2016-10-31 13:55:09 +00:00
Greenkeeper
b75b739166 chore(package): update lodash to version 4.16.5 (#374)
https://greenkeeper.io/
2016-10-31 13:30:18 +00:00
Greenkeeper
79c51263bc chore(package): update moment to version 2.15.2 (#363)
https://greenkeeper.io/
2016-10-31 13:30:11 +00:00
Ryan McCarvill
8feed885d2 Ghost Editor 0.1.1 (#373)
- Added slash menu (kinda)
- Updated toolbars
- Added soft return
- Improved performance
- Added code block ` ` ` support
- Improved Link functionality
2016-10-31 11:46:21 +00:00
Kevin Ansfield
6c317054c1 Fetch config from endpoint rather than meta tags (#368)
refs TryGhost/Ghost#7628 (issue), refs TryGhost/Ghost#7631 (required)

- update `config` service to fetch from public configuration endpoint
- add `beforeModel` to `application` route to fetch config and pause further processing until the request is complete
- remove `<meta name="env-*">` tags from generated `default.hbs` and internal testing `index.html`
- add mirage config to simulate configuration endpoint and helper to simulate enabled oauth config
- update `ghost-oauth2` torii provider to use auth server URL from server-provided config
2016-10-28 14:07:50 +01:00
Greenkeeper
87212146e3 chore(package): update ember-cli-app-version to version 2.0.1 (#366)
https://greenkeeper.io/
2016-10-26 09:12:50 +01:00
Kevin Ansfield
28d2fc62bb Version bump to 1.0.0-alpha.6 2016-10-24 12:51:55 +01:00
Ryan McCarvill
ec597f0296 New editor layout (#355)
- the title is now part of the content
- new ways to navigate from the title to the content
- the new editor contains updated toolbar behavior
- the new editor contains markdown like commands
2016-10-24 11:55:55 +01:00
Greenkeeper
a1daa359b0 chore(package): update moment-timezone to version 0.5.7 (#362)
https://greenkeeper.io/
2016-10-22 11:11:09 +01:00
Kevin Ansfield
22e76b15c2 deps: ember-ajax@2.5.2 (#358)
no issue
- the changes for which we had pinned to a specific commit are now part of a proper release
2016-10-21 16:46:59 +02:00
Kevin Ansfield
389357db6c deps: ember@2.9.0 (#359)
no issue
- Glimmer2 was backed out of the 2.9 branch as it wasn't considered ready yet, 2.9 is therefore safe to upgrade to as changes are very minimal from the previous 2.8.2 version
2016-10-21 11:45:11 +02:00
Greenkeeper
4449e5b52c chore(package): update broccoli-concat to version 3.0.5 (#349)
https://greenkeeper.io/
2016-10-21 10:35:03 +01:00
Greenkeeper
564e79d51b chore(package): update codemirror to version 5.20.2 (#356)
https://greenkeeper.io/
2016-10-21 10:34:34 +01:00
Greenkeeper
49478b4ec9 chore(package): update ember-concurrency to version 0.7.15 (#348)
https://greenkeeper.io/
2016-10-21 10:32:13 +01:00
Greenkeeper
0ed9970330 chore(package): update ember-wormhole to version 0.5.0 (#346)
https://greenkeeper.io/
2016-10-21 10:31:53 +01:00
Greenkeeper
9d04306eeb chore(package): update liquid-fire to version 0.26.4 (#353)
https://greenkeeper.io/
2016-10-21 10:13:49 +01:00
Greenkeeper
8c326e5085 chore(package): update ember-cli-selectize to version 0.5.9 (#343)
https://greenkeeper.io/
2016-10-21 09:55:21 +01:00
Kevin Ansfield
79ea7ad4e7 🐛 fix more asset paths (#360)
no issue
- #309 introduced a change to our asset path but some images, particularly around the team page and user avatars were missed, this fixes those URLs to use the new `ghostPaths.assetRoot` helper
2016-10-21 09:44:25 +01:00
Greenkeeper
69d32acfe5 chore(package): update ember-data to version 2.9.0 (#344)
https://greenkeeper.io/
2016-10-21 09:09:15 +01:00
Greenkeeper
df7ab2995c chore(package): update ember-cli to version 2.9.0 (#354)
https://greenkeeper.io/
2016-10-21 09:07:49 +01:00
kirrg001
9c45469d5d Version bump to 1.0.0-alpha.5 2016-10-18 14:10:32 +02:00
Kevin Ansfield
a224154420 attempt expired session restore on network request (#327)
refs TryGhost/Ghost#5202

We can get into a situation where the app is left open without a
network connection and the token subsequently expires, this will
result in the next network request returning a 401 and killing the
session. This is an attempt to detect that and restore the session
using the stored refresh token before continuing with the request

- wrap ajax requests in a session restore request if we detect an expired `access_token`
2016-10-17 15:32:22 +02:00
Ryan McCarvill
ce945fbc91 Markdown card (#333)
Refs TryGhost/Ghost#7429
- Added mobiledoc card, this uses the mobiledoc editor from within Ghost. In the future we'll pull this out and replace it with a textarea as the preview is too small to fit in the content.
- Made the HTML editor a codemirror editor (pulled in from ghost-admin to save duplicating libraries).
- Ghost-Admin now passes the paths for the ghost-api and the image directory for tools.
- Fixed the scrolling issue.
2016-10-17 12:16:26 +01:00
Kevin Ansfield
527fa181c7 remove custom token endpoint when using Ghost OAuth (#335)
issue TryGhost/Ghost#7562
- removes the custom endpoint so that we always use `/authentication/token`
- adds missing `grant_type` attribute to our auth data so that the server can switch appropriately
2016-10-17 12:50:00 +02:00
Aileen Nowak
ce5ed95604 ✍ Change contributors on about page to be manually (#330)
refs TryGhost/Ghost#7427

Removes `-contributors.hbs` and `public/assets/img/contributors` from `.gitignore`.
Removes `buildAboutPage` from `grunt init` task.
Updates `contributors.hbs` and adds images for each contributor.
Changes the `max-width` of `.gh-credits` wrapper to be 700px instead of 650px, so we'll fit them all in two rows.
2016-10-17 09:58:44 +01:00
Kevin Ansfield
c3d994c9da 🛠 add ghost-editor to greenkeeper ignore list
no issue
- `ghost-editor` is in active development and is being updated manually for the time-being
2016-10-17 09:49:18 +01:00
Greenkeeper
4437f0d27a chore(package): update broccoli-asset-rev to version 2.5.0 (#336)
https://greenkeeper.io/
2016-10-17 09:20:09 +01:00
Greenkeeper
fb163b518c chore(package): update ember-cli-selectize to version 0.5.8 (#328)
https://greenkeeper.io/
2016-10-13 17:38:28 +01:00
Greenkeeper
0805a6865d chore(package): update ember-light-table to version 1.4.4 (#326)
https://greenkeeper.io/
2016-10-12 09:11:47 +01:00
Greenkeeper
b0ebd23626 chore(package): update ember-export-application-global to version 1.1.1 (#324)
https://greenkeeper.io/
2016-10-11 10:06:37 +01:00
Greenkeeper
f98cd1745d chore(package): update ember-cli-selectize to version 0.5.7 (#322)
https://greenkeeper.io/
2016-10-11 10:05:03 +01:00
Hannah Wolfe
c58974dc55 Version bump to 1.0.0-alpha.4 2016-10-10 17:08:53 +01:00
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