Commit Graph

3085 Commits

Author SHA1 Message Date
Greenkeeper
fde8ee8cf6 chore(package): update ember-sortable to version 1.9.1 (#418)
https://greenkeeper.io/
2017-01-04 13:31:48 +00:00
Greenkeeper
b849647f59 chore(package): update loader.js to version 4.1.0 (#442)
https://greenkeeper.io/
2017-01-04 13:01:18 +00:00
Greenkeeper
8331263547 chore(package): update ember-cli-htmlbars to version 1.1.1 (#422)
https://greenkeeper.io/
2017-01-04 13:00:52 +00:00
Greenkeeper
498c728be2 chore(package): update codemirror to version 5.22.0 (#457)
https://greenkeeper.io/
2017-01-04 13:00:24 +00:00
Greenkeeper
1e937caa9f chore(package): update ember-cli-eslint to version 3.0.2 (#467)
https://greenkeeper.io/
2017-01-04 12:59:31 +00:00
Greenkeeper
e09a9a865e chore(package): update ember-light-table to version 1.8.0 (#452)
https://greenkeeper.io/
2017-01-04 12:59:09 +00:00
Greenkeeper
cf226d80c1 chore(package): update ember-cli-babel to version 5.2.1 (#439)
https://greenkeeper.io/
2017-01-04 12:58:29 +00:00
Kevin Ansfield
0d2f0bd7b6 remove ember-watson dependency (#470)
no issue
- ember-watson does not need to be included in our dependency list, it has limited one-time usage and is better used as a global install for developers who want to run any of it's codemods
2017-01-04 05:43:55 -07:00
Greenkeeper
8a0c3f3c2e chore(package): update ember-resolver to version 2.1.1 (#464)
https://greenkeeper.io/
2017-01-04 11:50:10 +00:00
Greenkeeper
11e5e8b7f1 chore(package): update ember-cli-test-loader to version 1.1.1 (#456)
https://greenkeeper.io/
2017-01-04 11:49:27 +00:00
Greenkeeper
70559bef78 chore(package): update ember-concurrency to version 0.7.17 (#453)
https://greenkeeper.io/
2017-01-04 11:48:53 +00:00
Greenkeeper
dfb0ba0358 chore(package): update moment-timezone to version 0.5.11 (#460)
https://greenkeeper.io/
2017-01-04 11:47:38 +00:00
Greenkeeper
4c7092a95f chore(package): update liquid-fire to version 0.27.0 (#443)
https://greenkeeper.io/
2017-01-04 11:47:16 +00:00
Greenkeeper
ffc0e57798 chore(package): update ember-ajax to version 2.5.3 (#449)
https://greenkeeper.io/
2017-01-04 11:44:37 +00:00
Greenkeeper
c0e7994fe2 chore(package): update ember-load-initializers to version 0.6.3 (#437)
https://greenkeeper.io/
2017-01-04 11:36:33 +00:00
Greenkeeper
22371006e9 chore(package): update ember-sinon to version 0.6.0 (#435)
https://greenkeeper.io/
2017-01-04 11:35:38 +00:00
Greenkeeper
64d9114fa5 chore(package): update password-generator to version 2.0.6 (#432)
https://greenkeeper.io/
2017-01-04 11:33:35 +00:00
Greenkeeper
ff3941110c chore(package): update moment to version 2.17.1 (#430)
https://greenkeeper.io/
2017-01-04 11:31:44 +00:00
Greenkeeper
d4fec472f4 chore(package): update broccoli-merge-trees to version 1.2.1 (#428)
https://greenkeeper.io/
2017-01-04 11:31:21 +00:00
John O'Nolan
79601ebece 2017
* Dat copyright
* bro do u even 2017
2017-01-04 10:32:54 +00:00
Tobias Bieniek
7265d0ae67 tests/acceptance/editor: Restore clock early
This was never restored *after* the andThen() since that is async
2016-12-09 18:58:55 +01:00
Tobias Bieniek
d9552fa052 Update "ember-cli-chai" to v0.3.0 2016-12-09 18:27:24 +01:00
Austin Burdine
d7630295ce deps: ember-cli-chai@0.2.0 2016-12-09 18:26:56 +01:00
greenkeeperio-bot
66926fa82c chore(package): update ember-cli-mocha to version 0.13.1
https://greenkeeper.io/
2016-12-09 21:35:04 +07:00
Kevin Ansfield
106be90416 🐛 fix oAuth login for blog urls which contain /ghost (#429)
no issue
- use the configured `blogUrl` value rather than using `window.location.href` with a poor regex that was incorrectly matching on domains containing multiple `/ghost` parts such as `http://ghost.local:2368/ghost`
2016-12-03 15:56:51 +07:00
Greenkeeper
413ea7de18 chore(package): update ember-cli to version 2.10.0 (#423)
https://greenkeeper.io/
2016-12-01 00:05:13 -06:00
Greenkeeper
8b7b89d792 chore(package): update ember-data to version 2.10.0 (#420)
https://greenkeeper.io/
2016-12-01 00:04:08 -06:00
Tobias Bieniek
351083bb0d Update "ember-cli-mocha" to v0.12.1 2016-11-28 06:04:33 +01:00
Tobias Bieniek
d59859df90 tests: Convert to new testing API 2016-11-27 15:26:05 +01:00
Tobias Bieniek
616926eb8f Update "ember-cli-mocha" to v0.12.0 2016-11-27 11:15:48 +01:00
Greenkeeper
c52eb8ca82 chore(package): update blueimp-md5 to version 2.6.0 (#414)
https://greenkeeper.io/
2016-11-26 20:54:54 -07:00
Greenkeeper
7bd59924e5 chore(package): update liquid-fire to version 0.26.5 (#413)
https://greenkeeper.io/
2016-11-26 20:46:30 -07:00
Greenkeeper
2710770bc8 chore(package): update ember-route-action-helper to version 2.0.0 (#254)
https://greenkeeper.io/
2016-11-26 20:20:33 -07:00
Greenkeeper
cf57ea67b0 chore(package): update moment to version 2.17.0 (#410)
https://greenkeeper.io/
2016-11-26 16:12:06 -07:00
Greenkeeper
ca7901e68c chore(package): update ember-cli-node-assets to version 0.1.6 (#409)
https://greenkeeper.io/
2016-11-26 15:08:12 -07:00
Greenkeeper
f72048cfb4 chore(package): update codemirror to version 5.21.0 (#408)
https://greenkeeper.io/
2016-11-26 11:29:47 -07:00
Greenkeeper
1e3ffe68c2 chore(package): update liquid-wormhole to version 2.0.2 (#407)
https://greenkeeper.io/
2016-11-26 11:13:09 -07:00
Greenkeeper
f79cb38845 chore(package): update broccoli-merge-trees to version 1.1.5 (#403)
https://greenkeeper.io/
2016-11-26 10:53:21 -07:00
Greenkeeper
bff795b47f chore(package): update ember-one-way-controls to version 1.1.2 (#402)
https://greenkeeper.io/
2016-11-26 10:47:19 -07:00
Kevin Ansfield
2fb671235c Version bump to 1.0.0-alpha.9 2016-11-17 20:15:18 +00:00
Kevin Ansfield
308c9b5fc3 Fix inability to write posts as an author (#405)
closes TryGhost/Ghost#7730
- treat `Post.authorID` as a string not a number as it's now an objectid
- update `isAuthoredByUser` method so that author's posts aren't hidden from them
- update the post compare method so that it doesn't try to parse objectids as integers (may need revisiting now that we don't have auto-increment IDs to fall back on)
2016-11-17 20:08:11 +00:00
Kevin Ansfield
186a8ae70c Remove UUID attrs from all models except Post (#404)
refs https://github.com/TryGhost/Ghost/issues/7494
- remove `uuid` attrs from all models except Post
- remove uuids from mirage factories and fixtures
- add a workaround for tags where the selectize-based tags input on the PSM relies on a unique identifier for each tag which doesn't get sent back to the server when saving (fixes the broken tags input caused by uuid removal in https://github.com/TryGhost/Ghost/pull/7495)
2016-11-17 11:38:47 -06:00
Kevin Ansfield
9b47d91be2 💄remove final jscs references 2016-11-16 12:27:30 +00:00
Katharina Irrgang
8205d3b8d6 🎨 invites roles table into a field on the invites table (#394)
refs https://github.com/TryGhost/Ghost/issues/7432
- invite.role instead of invite.roles
- be able to serialize/deserialize response from and request to server
- server returns role_id
2016-11-16 11:01:58 +00:00
Greenkeeper
2818658438 chore(package): update lodash to version 4.17.2 (#401)
https://greenkeeper.io/
2016-11-16 10:32:13 +00:00
Aileen Nowak
dc4a1cde86 🔥 Remove grunt contributor (#331)
refs TryGhost/Ghost#7427

Removes unneccessary grunt dependencies from `package.json` and deletes contributor part in `Gruntfile.js`
2016-11-15 16:17:08 +00:00
Greenkeeper
4d896e6bca chore(package): update ember-light-table to version 1.6.1 (#399)
https://greenkeeper.io/
2016-11-15 16:08:42 +00:00
Greenkeeper
4a6d61b1f1 chore(package): update lodash to version 4.17.1 (#400)
https://greenkeeper.io/
2016-11-15 16:08:03 +00:00
Kevin Ansfield
8e70e71850 Merge pull request #398 from JohnONolan/style-updates
Editor and 1.0 style updates
2016-11-14 20:18:51 +00:00
Kevin Ansfield
80a617d3a6 Merge pull request #396 from TryGhost/greenkeeper-ghost-editor-0.1.5
Update ghost-editor to version 0.1.5 🚀
2016-11-14 20:09:53 +00:00
Kevin Ansfield
193bdcc8da chore(package): update ember-light-table to version 1.6.0 (#387)
https://greenkeeper.io/
2016-11-14 20:01:29 +00:00
Austin Burdine
1d7723e858 Merge pull request #357 from kevinansfield/eslint
Switch from jshint/jscs to eslint
2016-11-14 07:44:44 -06:00
Katharina Irrgang
6bd596c4ad Fix empty subscribers import modal (#378)
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-14 14:34:39 +01:00
Kevin Ansfield
e74e2e039e Update code to match eslint rules
no issue
- switch `jscs` and `jshint` inline config to `eslint` config
- fix eslint errors, predominantly in tests where the config now the main app config more closely
2016-11-14 13:26:00 +00:00
Kevin Ansfield
91dfd0cbf7 switch from jshint/jscs to eslint
no issue
- drop `jshint`, `jscs`, and `ember-suave` dependencies
- remove `grunt` related linting dependencies and tasks
- remove linting build from Travis so that linting can be performed as part of the normal test suite (refs TryGhost/Ghost#7427)
- add `ember-cli-eslint` and `eslint-plugin-ember-suave` dependencies
- configure `eslint` to match our previous coding style
- update config to run eslint tests as part of the normal test run
- add `npm run lint` command to only run linter tests
2016-11-14 13:25:36 +00:00
Katharina Irrgang
2b0d0f841c support object id's (#390)
refs TryGhost/Ghost#7494

- remove id validation
2016-11-14 10:53:15 +00:00
Greenkeeper
a1707f3832 chore(package): update lodash to version 4.17.0 (#395)
https://greenkeeper.io/
2016-11-14 10:46:40 +00:00
John O'Nolan
838e16a1d3 Editor and 1.0 style updates 2016-11-14 16:55:08 +07:00
greenkeeperio-bot
ff9656ff5a chore(package): update ghost-editor to version 0.1.5
https://greenkeeper.io/
2016-11-14 09:53:26 +00:00
Tobias Bieniek
4ff887c326 Update "ember-cli-mocha" to v0.11.0 (#393)
no issue
- chore(package): update ember-cli-mocha to version 0.11.0
- bower.json: Cleanup "ember-cli-mocha" dependencies
2016-11-14 09:06:00 +00:00
greenkeeperio-bot
f41bff9ded chore(package): update ember-light-table to version 1.6.0
https://greenkeeper.io/
2016-11-14 09:02:41 +00:00
Greenkeeper
819f48d916 chore(package): update ember-cli-selectize to version 0.5.11 (#389)
https://greenkeeper.io/
2016-11-14 09:02:24 +00:00
Greenkeeper
e68f631031 chore(package): update ember-wormhole to version 0.5.1 (#392)
https://greenkeeper.io/
2016-11-14 08:45:33 +00:00
Greenkeeper
891e559385 chore(package): update moment to version 2.16.0 (#388)
https://greenkeeper.io/
2016-11-14 08:28:36 +00:00
Greenkeeper
f4c01fb4a5 chore(package): update bower to version 1.8.0 (#386)
https://greenkeeper.io/
2016-11-14 08:25:11 +00:00
kirrg001
56f3b9bf49 Version bump to 1.0.0-alpha.8 2016-11-08 15:26:37 +01:00
Ryan McCarvill
13eefe0243 Removed local markdown editor within ghost (#379) 2016-11-07 15:59:48 +00:00
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