Commit Graph

2878 Commits

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