Commit Graph

4630 Commits

Author SHA1 Message Date
Renovate Bot
3e3bd97f3d Update dependency walk-sync to v2 2019-07-01 09:16:37 +01:00
Renovate Bot
c1bd70c75c Update ember addons 2019-07-01 09:16:01 +01:00
Renovate Bot
dc1767e344 Update dependency fs-extra to v8.1.0 2019-07-01 09:14:59 +01:00
Fabien O'Carroll
577db1bc2f Version bump to 2.25.4 2019-07-01 13:31:22 +07:00
Renovate Bot
859e1c77fa Update dependency walk-sync to v1.1.4 2019-07-01 01:28:29 +00:00
Kevin Ansfield
d436184106 Version bump to 2.25.3 2019-06-26 14:02:07 +01:00
Kevin Ansfield
83a5a54801 Removed "Unsupported browser" warning for Chromium-based Edge
no issue

- Edge is dropping it's own engine and switching to Chromium which has full support in the editor
2019-06-25 14:52:09 +01:00
Kevin Ansfield
dc57e6557b Version bump to 2.25.2 2019-06-25 13:22:54 +01:00
Renovate Bot
17c9dc7ee8 Lock file maintenance 2019-06-24 17:18:47 +01:00
Kevin Ansfield
a2bb7c95f2 Update dependency eslint-plugin-ghost to v0.3.0 (#1247)
no issue

- update dependency `eslint-plugin-ghost` to v0.3.0
  - includes new rules from `eslint-plugin-ember` 6.3.0-6.7.0
- fixed linting failures for new rules
2019-06-24 16:33:21 +01:00
Paul Perkins
209c37f6bb Updated links to editor FAQ page (#1245)
closes https://github.com/TryGhost/Ghost/issues/10803

- updated links to editor usage FAQ to point to new location to avoid a redirect
2019-06-24 11:30:49 +01:00
Kevin Ansfield
411efee080 Update Codemirror dependency in simplemde-markdown-editor to v5.48.0
no issue

- keeps Codemirror version the same between the markdown card editor and Ghost's other Codemirror based inputs
2019-06-24 09:53:06 +01:00
Renovate Bot
56e0562d9b Update dependency ember-cli-string-helpers to v3 2019-06-24 09:08:53 +01:00
Renovate Bot
ceba3fda97 Update dependency ember-cli-babel to v7.8.0 2019-06-24 09:08:11 +01:00
Renovate Bot
2c9fb4d586 Update dependency codemirror to v5.48.0 2019-06-24 09:07:42 +01:00
Fabien O'Carroll
9e53fff840 Renamed "Preview site" to "View site" (#1235)
no-issue

Preview implies something which is not-yet-live, but this feature only shows the live site.
2019-06-24 09:07:02 +01:00
Paul Perkins
a4e18e9bfe 🎨 Changed post/page date picker format to 'YYYY-MM-DD' (#1213)
refs https://github.com/TryGhost/Ghost/issues/10767

The use of the date format 'MM/DD/YYYY' is confusing to those not in American English locations. In the absence of being able to dynamically determine full locale data, using 'YYYY-MM-DD' seems to the least ambiguous date format which would be intuitive to most users.
2019-06-24 09:06:39 +01:00
Renovate Bot
3f6bd3d92e Update dependency postcss-custom-properties to v8.0.11 2019-06-24 03:27:47 +00:00
Renovate Bot
bcb5daf7af Update dependency ember-source to v3.10.2 2019-06-24 02:26:01 +00:00
Renovate Bot
5e01fce4c5 Update dependency ember-exam to v3.0.3 2019-06-24 01:27:39 +00:00
Zimo
ca1644afc0 Night shift visual refinements
no refs.

- fixed visual bugs with buttons
- fixed background color of the SEO preview in night shift
2019-06-21 14:20:37 +02:00
Peter Zimon
208eae6c07 Admin style refinements (#1234)
refs. c51bce7358

* Refine form inputs and button styles
* Refined Forget link and buttons
* Remove green icon success indicator from login screen
2019-06-21 13:52:39 +02:00
Fabien O'Carroll
8cb0732864 Version bump to 2.25.1 2019-06-19 13:58:12 +07:00
Kevin Ansfield
a066a505bd 🐛 Fixed error when opening editor after abandoning a new tag
no issue

- the new tag that is added to the store when opening the new tag route was not being cleaned up when leaving the new tag route
- blank tags have a name value of `undefined` which causes errors when calling `localeCompare()` on them as is done when ordering tag names for display in the tags input
2019-06-18 15:16:22 +01:00
Fabien O'Carroll
d2d4b0f644 Version bump to 2.25.0 2019-06-18 19:38:28 +07:00
Fabien O'Carroll
29c3af3da8 Version bump to 2.24.0 2019-06-18 19:25:06 +07:00
Rishabh Garg
6450def041 Fixed missing ghost-dark.css causing crash (#1233)
no issue

Gracefully falls back to light theme in case ghost-dark is unavailable
2019-06-18 18:54:36 +07:00
Renovate Bot
c72face0fc Lock file maintenance 2019-06-18 11:47:48 +01:00
Peter Zimon
c51bce7358 🎨 Updated admin area design and usability (#1232)
refs. https://github.com/TryGhost/Team/issues/205

Major update to Ghost Admin UI including:
- improved general consistency (typography, colors and contrast, UI components, icons)
- new design for post and pages lists, improved discoverability of filters 
- search moved to modal
- account menu is decoupled from ghost logo
- further usability fixes
2019-06-18 11:47:20 +01:00
Renovate Bot
9925a02793 Update dependency ember-mocha to v0.16.0
no issue

- removes now-unneeded `adapter-error` override helper
- comments out the `gh-post-settings-menu` unit tests because the top-level `describe.skip` was causing all further unit tests to be skipped
2019-06-17 15:32:09 +01:00
Kevin Ansfield
fbda677944 Inline password-generator to fix auto-import issues
no issue

- copies `password-generator` npm module functionality into a utility function because the way it was trying to use the `crypto` core library was tripping up webpack which no longer has `node: true` config set by `ember-auto-import`
2019-06-17 11:47:14 +01:00
Renovate Bot
9354d3e20d Update ember addons 2019-06-17 11:47:14 +01:00
Renovate Bot
489474283b Update dependency autoprefixer to v9.6.0 2019-06-17 11:05:04 +01:00
Renovate Bot
e5191b749f Update dependency ember-power-select to v2.3.4 2019-06-17 05:26:26 +00:00
Renovate Bot
0551938d11 Update dependency @tryghost/timezone-data to v0.2.5 2019-06-17 03:25:54 +00:00
Renovate Bot
56ecf8ae83 Update dependency @tryghost/kg-parser-plugins to v0.5.1 2019-06-17 02:28:00 +00:00
Renovate Bot
3bb1ee9beb Update dependency @tryghost/helpers to v1.1.6 2019-06-17 01:28:53 +00:00
Rish
0cc8c81c0b Version bump to 2.23.4 2019-06-11 16:51:41 +05:30
Renovate Bot
930ae28d04 Update ember addons 2019-06-10 05:27:09 +00:00
Renovate Bot
f72f4e4eef Update dependency ember-source to v3.10.1 2019-06-10 04:28:09 +00:00
Renovate Bot
5b5a850894 Update dependency ember-exam to v3.0.2 2019-06-10 03:25:25 +00:00
Renovate Bot
c57b31fb08 Update dependency @tryghost/timezone-data to v0.2.4 2019-06-10 02:33:18 +00:00
Renovate Bot
87f37494fb Update dependency @tryghost/helpers to v1.1.5 2019-06-10 01:31:45 +00:00
Kevin Ansfield
27e13ca6fc Version bump to 2.23.3 2019-06-06 11:15:46 +01:00
Nazar Gargol
4f85d8b5aa Version bump to 2.23.2 2019-06-04 13:01:40 +02:00
Rishabh Garg
7ac21eed0e 🔥 Dropped Node v6 support (#1218)
no issue

- Node v6 has come to EOL as of 2019-04-30 (ref. https://github.com/nodejs/Release#end-of-life-releases)
2019-06-04 09:40:50 +05:30
Kevin Ansfield
83400f6f47 🐛 Fixed markdown text expansion behaviour when similar unexpanded text is present
closes https://github.com/TryGhost/Ghost/issues/10770

- ensure text expansions only occur on the last match before the cursor
- fix subscript text expansion
2019-06-03 21:43:04 +01:00
Kevin Ansfield
f36bd730e8 Updated dependency @tryghost/mobiledoc-kit to v0.11.2-ghost.4
no issue

- correctly bumps to our custom version rather than base 0.11.2 version
- adds fix for text content being obliterated in certain circumstances when pasting content
2019-06-03 12:10:57 +01:00
Renovate Bot
31a82455d4 Lock file maintenance 2019-06-03 09:28:07 +01:00
Renovate Bot
50353050ad Update dependency ember-concurrency to v1 2019-06-03 09:15:36 +01:00
Renovate Bot
0ed5d76c65 Update dependency ember-cli-string-helpers to v2.1.0 2019-06-03 09:14:54 +01:00
Renovate Bot
6ca4f8a1a3 Update dependency ember-concurrency to v0.10.1 2019-06-03 01:27:33 +00:00
Kevin Ansfield
8ad5e469af Version bump to 2.23.1 2019-05-28 18:36:10 +01:00
Kevin Ansfield
9116e5cc24 Hid "feature this post" toggle when logged in as an Author or Contributor
no issue
- hides the "Featured this post" toggle in the post settings menu when the currently logged in user is an Author or Contributor
- https://forum.ghost.org/t/remove-the-permission-to-set-posts-to-featured/7441/5?u=kevin
2019-05-28 09:39:22 +01:00
Kevin Ansfield
c552be58c7 Version bump to 2.23.0 2019-05-27 10:57:22 +01:00
Kevin Ansfield
c578ca48ec Upgraded our Zapier integration to use API Keys and allow post creation
no issue
- move the Zapier API Key details out of developer experiments because our Zapier 2.0.0 version is now public and requires an API Key when connecting
2019-05-27 10:53:18 +01:00
Renovate Bot
83a482f4be Lock file maintenance 2019-05-27 10:32:38 +01:00
Kevin Ansfield
27c4459334 Updated for breaking changes in ember-cli-mirage@1.0.0 2019-05-27 09:58:33 +01:00
Renovate Bot
e8d3980678 Update ember addons 2019-05-27 09:58:33 +01:00
Renovate Bot
e7822af59d Update dependency ember-cli-dependency-checker to v3.2.0 2019-05-27 09:14:23 +01:00
Renovate Bot
cd39815182 Update dependency codemirror to v5.47.0 2019-05-27 09:11:07 +01:00
Renovate Bot
1965e29304 Update dependency ember-infinity to v1.4.7 2019-05-27 03:22:23 +00:00
Renovate Bot
368732576e Update dependency @tryghost/timezone-data to v0.2.3 2019-05-27 02:23:26 +00:00
Renovate Bot
e820ec2099 Update dependency @tryghost/helpers to v1.1.4 2019-05-27 01:23:19 +00:00
John O'Nolan
7db837e0e5 Fix egregious typo. 2019-05-24 18:47:53 +02:00
Kevin Ansfield
78458f320e Version bump to 2.22.3 2019-05-23 13:49:23 +01:00
Kevin Ansfield
c722c83a6e 🐛 Fixed editor crashing when leaving a markdown card's edit mode
no issue
- a change in Ember 3.10's rendering has resulting in the component's element being removed before the `{{gh-markdown-editor}}`'s cleanup action is run which meant that we were trying to run `.querySelector` on `undefined`
- removes the code which moved toolbar elements around because it hasn't been used since we moved to Koenig, this meant that the cleanup action could also be removed
2019-05-23 13:43:01 +01:00
Aileen Nowak
af5aeaf444 Updated link to Marketplace (#1203)
no issue

- Marketplace moved to https://ghost.org/marketplace
2019-05-22 16:55:03 +08:00
Fabien O'Carroll
6537cf6c11 Version bump to 2.22.2 2019-05-21 12:09:14 +02:00
Kevin Ansfield
3653cfbfbf Refactored document-title handler
no issue
- moved `document-title` Route extension's functionality into the `ui` service
  - updates the title each time the router service emits a route changed event
  - `ui.updateDocumentTitle()` can now be called directly from components rather than the confusing `this.send('updateDocumentTitle')` bubbling behaviour
- refactored the `titleToken` implementation to use the now-formalised `RouteInfo`'s `metadata` field (https://github.com/emberjs/rfcs/blob/master/text/0398-RouteInfo-Metadata.md#appendix-a)
2019-05-20 16:16:19 +01:00
Kevin Ansfield
da92eadecd Added ability to set <main> class using route metadata
no issue
- modified `ui` service's `routeDidChange` handler to update it's `mainClass` property based on the new route's metadata
- used in the future for switching screen background colours

To use the feature, modify or add a `buildRouteInfoMetadata` hook in the route which you'd like to change, eg:

```js
export default AuthenticatedRoute.extend({
    ...

    buildRouteInfoMetadata() {
        return {
            bodyClasses: ['my-body-class'],
            mainClasses: ['grey-bg'] // <--------
        };
    }
});

```

The route hierarchy is taken into consideration with classes being added for all currently shown routes. For example if you wanted to add an `editor` class to all editor routes you could use the hook in `routes/editor.js` then if you added an `editor-new` class in `routes/editor/new.js` the resulting HTML output on the "New story" screen would be:

```html
<main class="gh-main editor editor-new">
```
2019-05-20 15:33:12 +01:00
Kevin Ansfield
bb7df76af0 Refactored styleBody mixin
no issue
- removed `styleBody` mixin in favour of using Ember's `buildRouteInfoMetadata` hook and router events in the `ui` service
- refactored separate CSS classes for each unauthenticated route into a single `.unauthenticated-route` class because hiding mobile nav whilst unauthenticated was the only use for body classes
2019-05-20 14:57:21 +01:00
Kevin Ansfield
9186c84e64 Removed unused body classes added by using the StyleBody mixin
no issue
- many routes were attaching classes to the `<body>` tag via the `StyleBody` mixin but those classes were never used and applied inconsistently throughout the app
2019-05-20 14:15:46 +01:00
Renovate Bot
a0081a438c Lock file maintenance 2019-05-20 11:42:58 +01:00
Kevin Ansfield
8aba726bc8 Fixed gh-search-input tests failing on Ember 3.10 2019-05-20 11:32:08 +01:00
Renovate Bot
cfb54feb15 Update ember core 2019-05-20 11:32:08 +01:00
Renovate Bot
d16f3e40cc Update dependency fs-extra to v8 2019-05-20 09:29:30 +01:00
Fabien O'Carroll
1b318eb249 Version bump to 2.22.1 2019-05-14 11:16:04 +02:00
Renovate Bot
1a9430af08 Lock file maintenance 2019-05-13 16:10:02 +01:00
Renovate Bot
e58ac4ab32 Update dependency glob to v7.1.4 2019-05-13 16:02:49 +01:00
Renovate Bot
af3a20515a Update dependency ember-exam to v3 2019-05-13 15:55:11 +01:00
Kevin Ansfield
d193317bbd Refactored deprecated usage of this.$() in rendering tests
no issue

- https://emberjs.com/deprecations/v3.x#toc_jquery-apis
2019-05-13 15:31:32 +01:00
Kevin Ansfield
a96e942c4b Refactored deprecated usage of [files] option param for triggerEvent 2019-05-13 15:31:32 +01:00
Kevin Ansfield
1520122483 Refactored deprecated usage of setupTest* methods
no issue

- https://github.com/emberjs/ember-mocha/blob/master/docs/migration.md#upgrading-to-the-new-testing-apis
- deleted tests files which had no specific tests
- migrated unskipped component unit tests to integration tests
2019-05-13 15:31:32 +01:00
Kevin Ansfield
67360b5f71 Updated test-helper.js to use explicit start() call
no issue

- this was a breaking change introduced in ember-mocha@0.15.0 https://github.com/emberjs/ember-mocha/blob/master/CHANGELOG.md#v0150-2019-05-11
2019-05-13 15:31:32 +01:00
Renovate Bot
0eaf9e0247 Update ember testing 2019-05-13 15:31:32 +01:00
Kevin Ansfield
cf4246dd5e Bumped waitFor timeouts in gh-uploader tests
no issue

- Travis was randomly failing here
2019-05-13 09:59:05 +01:00
Renovate Bot
320d228efd Update dependency ember-infinity to v1.4.5 2019-05-13 02:30:27 +00:00
Renovate Bot
82f5eec067 Update dependency ember-data to v3.9.3 2019-05-13 01:29:00 +00:00
Kevin Ansfield
e6d03e9904 Fixed deprecated computed().volatile() usage
no issue

- https://deprecations.emberjs.com/v3.x/#toc_computed-property-volatile
2019-05-07 14:54:41 +01:00
Peter Zimon
ccbc26d6bc Sidebar refinements and view site in new tab button (#1192)
no refs.

- added view site in new tab button to sidebar
- show secondary actions on sidebar only on mouseover
- replaced labs icon
- refined spacing for view site
- unified colors of secondary icons
2019-05-07 15:29:59 +02:00
Kevin Ansfield
d0c2caec9e Fixed transition-state deprecation on Integration screen
no issue

- https://deprecations.emberjs.com/v3.x/#toc_transition-state
2019-05-07 14:04:16 +01:00
Kevin Ansfield
b7b51bbb0f Fixed deprecated usage of new EmberObject in <GhUploader>
no issue

- https://deprecations.emberjs.com/v3.x/#toc_object-new-constructor
- `UploadTracker` is extended from `EmberObject` so we should use the `.create` method
2019-05-07 13:26:32 +01:00
Kevin Ansfield
320908d64d Removed unused code in posts route 2019-05-07 12:55:19 +01:00
Kevin Ansfield
a7f4610381 Removed usage of ember-light-table in subscribers screen (#1191)
no issue

`ember-light-table` is falling behind Ember.js and other addon development and is increasingly causing issues with Ember deprecations and addon incompatibility.

- swaps `ember-light-table` usage for a straightforward table using `vertical-collection` for occlusion
- uses the same loading mechanism as the members screen with a slight optimisation where the initial load will fetch subscribers in batches of 200 until they are all loaded
- removes now-unused pagination mixin
- fixes duplicate subscriber validation handling
2019-05-07 12:39:56 +01:00
Nazar Gargol
3afcbf0c39 Version bump to 2.22.0 2019-05-07 12:37:29 +02:00
Kevin Ansfield
344999a69b Fixed "remove all listeners" deprecation
no issue

- https://deprecations.emberjs.com/v3.x/#toc_events-remove-all-listeners
2019-05-06 15:00:06 +01:00
Kevin Ansfield
f8ccb81dfc Fixed deprecated access of controller.{currentPath,currentRouteName}
no issue

- replaced access of `controller.{currentPath,currentRouteName}` with `router.currentRouteName`
- https://deprecations.emberjs.com/v3.x/#toc_application-controller-router-properties
2019-05-06 14:51:23 +01:00
renovate[bot]
0fb1bb5353 Update dependency @tryghost/kg-parser-plugins to v0.5.0 (#1188) 2019-05-06 12:31:39 +01:00
renovate[bot]
eecf78d9fd Lock file maintenance (#1189) 2019-05-06 12:31:26 +01:00