Commit Graph

2968 Commits

Author SHA1 Message Date
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