Commit Graph

4591 Commits

Author SHA1 Message Date
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
renovate[bot]
d938800d2e Update dependency ember-power-select to v2.3.2 (#1187) 2019-05-06 12:04:39 +01:00
Kevin Ansfield
5d03aa2f06 Removed coveralls code-coverage reporting (#1190)
no issue
- coverage reports were not really being used and were frequently ignored when merging PRs because we knew there were reductions in test coverage
- coveralls also causes some problems with Renovate because there can be random micro changes in reported coverage that meant a PR "failed" when really it was fine
2019-05-06 12:02:23 +01:00
Renovate Bot
dc045cc710 Update dependency @tryghost/kg-clean-basic-html to v0.1.1 2019-05-06 10:29:32 +00:00
Renovate Bot
787b07b5b5 Update dependency @tryghost/mobiledoc-kit to v0.11.2 2019-05-06 05:23:36 +00:00
Renovate Bot
125c817061 Update dependency @tryghost/timezone-data to v0.2.2 2019-05-06 03:24:47 +00:00
Renovate Bot
6d1a2c7bf9 Update dependency @tryghost/kg-parser-plugins to v0.4.2 2019-05-06 02:25:09 +00:00
Renovate Bot
76cdb9e677 Update dependency @tryghost/helpers to v1.1.3 2019-05-06 01:24:29 +00:00
Kevin Ansfield
70bec996fe Use extracted @tryghost/kg-parser-plugins package
no issue

- `@tryghost/kg-parser-plugins` contains the parser plugins used by the editor and was extracted so that they can be used in server-side html-to-mobiledoc conversion
2019-05-03 10:45:08 +01:00
Kevin Ansfield
d412e624d5 Use extracted @tryghost/kg-clean-basic-html package
no issue
- `cleanBasicHtml` has been extracted to an external package so that it can be used inside the extracted `@tryghost/kg-parser-plugins` package server-side
2019-05-02 17:14:00 +01:00
Kevin Ansfield
5883784268 Fixed random failure of gh-uploader test 2019-05-01 16:09:28 +01:00
Kevin Ansfield
02005c0171 Added caption support to code cards (#1181)
*  Added caption support to code cards

no issue

* fix caption placeholder text

* add figure-to-code-card parser plugin, add language detection to code card parsers

* extract {{kg-action-bar}} component

* do not show card toolbar if caption has focus
2019-05-01 16:36:02 +02:00
Kevin Ansfield
7bd1b20492 Fixed Travis not running for non-renovate PRs 2019-05-01 15:34:37 +01:00
Kevin Ansfield
1768b864be do not show card toolbar if caption has focus 2019-05-01 15:13:49 +01:00
Kevin Ansfield
ab85412625 extract {{kg-action-bar}} component 2019-05-01 13:57:00 +01:00
Kevin Ansfield
74fa03a72a add figure-to-code-card parser plugin, add language detection to code card parsers 2019-05-01 10:41:42 +01:00
Kevin Ansfield
f64ae7a326 fix caption placeholder text 2019-05-01 09:54:04 +01:00
Kevin Ansfield
0b9aedf060 Added caption support to code cards
no issue
2019-04-30 18:14:49 +02:00
Kevin Ansfield
88e319f89f Fixed invisible caret in captions for cards with no style specified 2019-04-30 17:53:19 +02:00
Kevin Ansfield
dabb52cbf6 Increased timeout for gh-task-button disabled assertion 2019-04-30 17:29:28 +02:00
Zimo
de50206727 Refined code card language input font size
no issue.
2019-04-30 17:03:06 +02:00
Kevin Ansfield
1dad18a06c Added language selection to code cards (#1180)
no issue

- Added a language indicator when in rendered mode and a language input when in edit mode
- Allow code card language to be set with <code>```lang</code>+<kbd>Space/Enter</kbd> expansion 
    - previously <code>\`\`\`</code> would immediately create a code card, the <kbd>Space/Enter</kbd> is now necessary for the insertion to occur
    - lang is optional <code>\`\`\`</code>+<kbd>Space/Enter</kbd> will insert a code card with no language selected
    - requires <kbd>Enter</kbd> to be pressed to finalise the expansion and insert the card
    - added hook for text expansions to skip newline creation for when they are triggered with <kbd>Enter</kbd>
- Set the code card editor's language mode based on selected language
    - set the CodeMirror mode based on the code card payload language
        - add a basic map of language short codes to their respective CodeMirror modes
    - observe `mode` property in `{{gh-cm-editor}}` so that the mode is properly set when it's changed after initial render
2019-04-30 16:46:29 +02:00
Kevin Ansfield
a7ec41f4e5 Version bump to 2.21.1 2019-04-30 11:10:02 +02:00
Kevin Ansfield
ef69eb8610 🐛 Fixed syntax highlighting inside Code Injection inputs
no issue
- the CodeMirror and theme styles were not being correctly loaded
2019-04-29 17:57:41 +02:00
Kevin Ansfield
cdb29b3284 Fixed slash-menu appearing empty immediately after setting title on new post
closes https://github.com/TryGhost/Ghost/issues/9847
- the text expansion is triggered twice in this situation, the first time with `""` and the second with `"/"`. The second trigger was trying to match cards to `"/"` which returned an empty card set
- added a quick workaround that ensures we never include a leading `/` in the card selection query
2019-04-29 17:08:40 +02:00
Kevin Ansfield
d7771059d0 Increase timeout for gh-uploader progress bar assertion
no issue
- hopeful fix for randomly failing Travis
2019-04-29 16:56:19 +02:00
Kevin Ansfield
484b8cf0d4 Update dependency @tryghost/mobiledoc-kit to v0.11.2-ghost.1
closes https://github.com/TryGhost/Ghost/issues/10717
- includes fix for `range#expandByMarker`
2019-04-29 16:47:08 +02:00
Kevin Ansfield
a89cc44199 Fixed backspace not combining sections if first section is a special markup
refs https://github.com/TryGhost/Ghost/issues/10717#issuecomment-487557026
- avoid triggering special markup delete behaviour when cursor is at the beginning of a section
2019-04-29 14:25:59 +02:00
Kevin Ansfield
0162df47b3 Fixed linting 2019-04-29 13:56:00 +02:00
Kevin Ansfield
2b1fadf757 🐛 Fixed current styling being lost when applying markdown expansions
closes https://github.com/TryGhost/Ghost/issues/10677
- adjusted the basic markdown text expansion behaviour to delete the MD chars and add a markup to the resulting range rather than deleting the whole range and re-adding it
- extracted basic markdown format behaviour into a helper function
- fixed the link markup expansion so that `[](https://example.com)` is recognised and creates a link with the URL as the text
2019-04-29 13:05:04 +02:00
renovate[bot]
1d9cd18e14 Lock file maintenance (#1178) 2019-04-29 09:00:37 +02:00
renovate[bot]
8bc9efb78f Update dependency codemirror to v5.46.0 (#1176) 2019-04-29 08:45:12 +02:00
renovate[bot]
76a769ee33 Update dependency ember-composable-helpers to v2.3.1 (#1177) 2019-04-29 08:24:47 +02:00
Renovate Bot
62fb6d2332 Update dependency ember-infinity to v1.4.4 2019-04-29 03:29:13 +00:00
Renovate Bot
0b671256c7 Update dependency ember-infinity to v1.4.3 2019-04-29 01:31:21 +00:00
Emilio Cobos Álvarez
28b5f7de52 🐛 Fixed night shift toggle in Firefox Nightly. (#1174)
Over in:

 * https://github.com/whatwg/html/issues/3840
 * https://bugzilla.mozilla.org/show_bug.cgi?id=1281135

I'm trying to come up with a model for `<link rel="stylesheet" disabled>` in
which Blink / WebKit and Firefox can agree on.

See that HTML spec issue for all the inconsistencies of WebKit / Blink, and the
following post for more context:

 * https://groups.google.com/d/msg/mozilla.dev.platform/BdgNaChHnpY/mhXzCBwSCgAJ

---

Unfortunately, my change to Firefox breaks the Ghost Admin panel night-mode
switch (you can see it in Firefox Nightly).

This is because with my change, removing the `disabled` attribute from an
stylesheet behaves the same regardless of whether the `disabled` attribute is
added dynamically or not.

That means that adding the `disabled` attribute dynamically "unloads" the
stylesheet completely (just like when the attribute is there before inserting
the link in the document, or from the parser). Thus removing the attribute will
load the stylesheet again and fire a load event.

This is problematic for the code as-is, because it means that each time that the
load event fires when the disabled attribute is removed on an alternate, then
it's added again. :)

Prevent that from happening by removing the load event listener ASAP. What this
code wants is to only resolve the promise once after all.

Given this is so far the only regression from my change that has been reported
(over at https://bugzilla.mozilla.org/show_bug.cgi?id=1546707), I think fixing
the Ghost-Admin panel is worth it.

If this pattern is somehow common, then we'll probably revert that patch and go
back to the sad current state of affairs regarding interop :(
2019-04-25 09:40:26 +02:00
renovate[bot]
c444606c8d Lock file maintenance (#1172) 2019-04-24 06:31:50 +01:00
renovate[bot]
7088780428 Update ember addons (#1171) 2019-04-24 06:23:03 +01:00
Fabien O'Carroll
af450165d1 Version bump to 2.21.0 2019-04-23 11:34:46 +02:00
Kevin Ansfield
7764c5f988 Re-configured Renovate to ignore ember-in-viewport (#1173)
no issue
- ember-in-viewport has introduced a change in 3.5.0 that is incompatible with ember-light-table so adding it to the ignore list temporarily
2019-04-22 12:45:44 +01:00
Hannah Wolfe
81837fec02 Updated .travis.yml swap renovate build to push (#1162)
- currently, we only build renovate PRs
- that means we can't use automerge branch, as we wouldn't run any checks
- this swaps to running only renovate pushes, which means the branch always gets checked
2019-04-22 10:19:21 +01:00
renovate[bot]
7b574781f3 Update dependency csscomb to v4.3.0 (#1170) 2019-04-22 08:34:52 +01:00
Renovate Bot
ebb026eaf0 Update ember addons 2019-04-22 04:28:51 +00:00
Renovate Bot
58c4022bb7 Update dependency ember-data to v3.9.1 2019-04-22 03:43:58 +00:00
Renovate Bot
f9df166135 Update dependency @tryghost/timezone-data to v0.2.1 2019-04-22 02:30:34 +00:00
Renovate Bot
27c57e6438 Update dependency @tryghost/helpers to v1.1.2 2019-04-22 01:29:18 +00:00
Nazar Gargol
7486b6b2f3 Allowed editors to see notifications
refs https://github.com/TryGhost/Ghost/issues/9546

- Change introduced due to users with 'editor' role are now allowed to access notifications
2019-04-18 13:03:19 +02:00
Zimo
9ea62c8e13 Updated member labs settings API key URL 2019-04-17 16:37:13 +02:00
Peter Zimon
7f8dd9e4bb Members refinements (#1163)
* Updated loading state for member detail plan data

* Code refinement for loading member plan data
2019-04-17 16:18:21 +02:00
Rish
3721a87838 Version bump to 2.20.1 2019-04-17 18:31:46 +05:30
Rish
3bc06608b9 Updated member detail screen to handle free memberships 2019-04-16 22:59:52 +05:30
Rish
015bf9da0c Updated member detail placeholder
no issue
2019-04-16 22:07:27 +05:30
Zimo
2c75403202 Changed wording for free Member detail data 2019-04-16 18:07:02 +02:00
Peter Zimon
46d9d82e19 Members refinements (#1161)
* Added hover to member cells in member list

* Fixed members labs settings for nightshift
2019-04-16 17:02:52 +02:00
Rishabh Garg
c72e7b6040 Updated member management data (#1150)
no issue

- Updated hard-coded data in member management to use real values from API
2019-04-16 20:32:43 +05:30
Zimo
a029e92266 Fixed members labs settings for nightshift 2019-04-16 14:27:55 +02:00
Zimo
d3b50275e0 Added hover to member cells in member list 2019-04-16 14:27:55 +02:00
Rish
7c1ba31781 Version bump to 2.20.0 2019-04-16 16:42:31 +05:30
renovate[bot]
35ed456055 Pin dependency @tryghost/helpers to 1.1.1 (#1160) 2019-04-16 08:50:49 +01:00
Rishabh Garg
bf6c446f72 Updated to use count words/images helper from SDK (#1159)
refs https://github.com/TryGhost/Ghost/issues/10618

- Updated use of `countWords`, `countImages` and `stripTags` helper from Ghost SDK
- Removed existing local utils copy
2019-04-16 12:50:59 +05:30
Kevin Ansfield
151b7a2844 🐛 Fixed missing errors and confusing button text in theme upload modal
no issue
- fixed "Active with errors" button successful theme upload with no warnings/errors
- fixed fatal errors not showing due to change in API error response
- fixed "Retry" button not showing when there were fatal errors
- fixed "Upload successful!" message after clicking "Retry" on a failed upload
2019-04-15 22:43:29 +01:00
Kevin Ansfield
42eb736b15 🐛 Fixed posts list scrolling and missing momentum scroll on all screens in iOS
closes https://github.com/TryGhost/Ghost/issues/9494, refs https://github.com/TryGhost/Ghost/issues/10365
- removed `overflow-y: auto` on posts list to fix the vertical scrolling
- added `overflow-wrap: break-word` so that post previews are forced to wrap for long words such as URLs
- added `-webkit-overflow-scrolling: touch` to the main scrollable pane so that iOS Safari uses momentum scrolling
2019-04-15 17:23:09 +01:00
renovate[bot]
b30a81c3f8 Lock file maintenance (#1148) 2019-04-15 10:57:38 +01:00
Kevin Ansfield
7a6c82cd51 Remove 2-per-hour PR limit for Renovate (#1158)
no issue
- the `config:base` preset sets a maximum of 2 PRs per hour
- we have specific timings for Renovate in this repo so the max limit is more hindrance than help
2019-04-15 10:47:02 +01:00
renovate[bot]
d911bc5d44 Update dependency ember-cli-uglify to v3 (#1155) 2019-04-15 09:28:22 +01:00
renovate[bot]
386e003f09 Update ember testing (#1154) 2019-04-15 09:24:01 +01:00
renovate[bot]
a7db5639a0 Update dependency ember-concurrency to v0.10.0 (#1153) 2019-04-15 09:22:58 +01:00
Renovate Bot
14ee281e6f Update dependency ember-source to v3.9.1 2019-04-15 02:34:42 +00:00
Renovate Bot
58f39c4795 Update dependency ember-power-select to v2.3.1 2019-04-15 01:28:40 +00:00
John O'Nolan
defbf0f40c Updated to new Twitter username placeholder 2019-04-11 14:33:15 +02:00
Kevin Ansfield
67afe653cd 🐛 Fixed missing error details when activating a theme with fatal errors
no issue
- the API response for theme activation when a fatal validation error occurred has changed but the client wasn't updated resulting in a modal containing an "Activation failed" header but no details
- updates the error details extraction path and adjusts the tests to match the real API response
2019-04-11 11:00:40 +01:00
Rish
89e3303dad Fixed members list update on switch
no issue

- Members list updates on screen switch
2019-04-09 20:46:47 +05:30
renovate[bot]
a9b33338c4 Update ember core to v3.9.0 (minor) (#1147)
* Update ember core to v3.9.0
2019-04-09 14:21:48 +01:00
Kevin Ansfield
72a29dd7df Removed "ember-exam" from list of ignored packages in Renovate configuration (#1149)
no issue
- latest `ember-exam` is now compatible with latest stable `ember-mocha` release
2019-04-09 14:16:40 +01:00
Nazar Gargol
6748a39718 Version bump to 2.19.4 2019-04-09 19:30:37 +08:00
renovate[bot]
d0d959c16a Update dependency ember-infinity to v1.4.1 (#1146) 2019-04-09 09:49:58 +01:00
Renovate Bot
ef709f4757 Update ember core 2019-04-08 02:29:05 +00:00
Renovate Bot
3334034c6d Update css processors 2019-04-08 01:29:26 +00:00
Vikas Potluri
c19332f093 Fixed post/page labels in feature image and save components (#1143)
closes https://github.com/TryGhost/Ghost/issues/10658

- update publish menu states to use `{{post.displayName}}` instead of hard coded `post`
- update settings menu image uploader to generate CTA using `post.displayName`
2019-04-06 09:01:49 +01:00
Peter Zimon
bd90585956 Improved theme upload/activate flow and error styles (#1142)
no issue 

* Update error and warning styles
* Refined upload dialog
* Theme upload and activation style refinements
2019-04-05 17:27:14 +01:00
Kevin Ansfield
b34be95c17 Version bump to 2.19.3 2019-04-04 14:58:48 +01:00
Zimo
f75d07ab87 Zapier settings screen UI refinements
no refs.
- refined Zapier template header for integrations screen
2019-04-04 14:07:20 +02:00
Kevin Ansfield
b51bc4751d Added integration details to Zapier integration screen behind dev flag
no issue
- the new version of our Zapier App uses API Key auth so we need to expose the details on the Zapier integration screen
- extracted `copyTextToClipboard` into a util function
- added `integrationModelHook` method to `settings.integrations` controller to remove duplication in the `settings.integration` and `settings.integration.zapier` routes
- fixed missing "Zapier" title token
2019-04-04 12:25:16 +01:00
Vikas Potluri
747bf6ea9f 🐛 Fixed confusing messaging around .yml extension being allowed for routes.yaml uploads (#1140)
no issue

The server never supported uploading .yml files

* updated uploader `invalid extension` error message to be more abstract
* fixed routes uploader validation allowing .yml files
2019-04-03 19:54:05 +01:00
renovate[bot]
a32b281b35 Lock file maintenance (#1134) 2019-04-02 11:37:19 +01:00
renovate[bot]
64e6c2a01b Update ember addons (#1128) 2019-04-02 11:28:39 +01:00
Kevin Ansfield
b6652ad87f Reconfigure Renovate (#1138)
no issue
- explicitly exclude packages from the "ember addons" group that should be matched by other groups
2019-04-02 11:21:22 +01:00
Kevin Ansfield
af4ed3bab0 Added ember-cli-deprecation-workflow
no issue
- silences current deprecations so that Travis doesn't fail due to test logs being too long
2019-04-02 10:53:20 +01:00
Kevin Ansfield
525265cabc Version bump to 2.19.2 2019-04-02 10:02:14 +01:00
Kevin Ansfield
6c646eeff5 Updated Renovate configuration (#1137)
no issue
- ignore `ember-exam` until it's compatible with latest stable of `ember-mocha`
  - see https://github.com/ember-cli/ember-exam/issues/238
- moved `ember-exam`, `ember-mocha`, and `testem` into their own group so changes to test env don't cause addon upgrade PRs to fail
2019-04-02 09:25:32 +01:00
renovate[bot]
def483875f Update dependency eslint to v5.16.0 (#1133) 2019-04-01 10:45:00 +01:00
renovate[bot]
9f1ea2be89 Update dependency codemirror to v5.45.0 (#1129) 2019-04-01 10:44:39 +01:00
Renovate Bot
3825fec103 Update dependency postcss-custom-media to v7.0.8 2019-04-01 01:30:22 +00:00
Kevin Ansfield
b9edea7822 Version bump to 2.19.1 2019-03-27 17:26:57 +00:00
Fabien O'Carroll
bea5a8b4a8 Version bump to 2.19.0 2019-03-26 11:50:32 +01:00
Zimo
5b9e68401a Added placeholder illustration for posts and pages
no refs.
2019-03-25 16:43:38 +01:00
Zimo
428984bca2 Fixed integration icon background for Night shift
refs. 35d8e43c88

The blending mode used on light theme didn't work for Night shift (made all the icons blend into the dark background).
2019-03-25 14:38:16 +01:00
Kevin Ansfield
dbbc4f5fa4 🐛 Fixed error after logging in from a nested admin URL
closes https://github.com/TryGhost/Ghost/issues/10629
- the error was occurring due to `session.user` CP being populated with a rejected promise when attempting to access the first route. The CP has no dependent key so any further attempts to access `session.user` would be rejected
- marking the CP as "changed" immediately after logging in means that the next request will create a new promise and successfully fetch the user
2019-03-25 13:01:58 +00:00
Kevin Ansfield
d7b464a7ff Fixed notificaitons.displayDelayed() throwing an error
no issue
- `notifications.displayDelayed()` resets the `delayedNotifications` array but it wasn't using `.set()` which was throwing an Ember error because it wouldn't be tracked
2019-03-25 12:28:14 +00:00
Kevin Ansfield
162cbae3f0 Improved theme activation warnings modal content
closes https://github.com/TryGhost/Ghost/issues/10627
- removed confusing/unnecessary message when activation was successful with warnings
- do not display "Warnings" sub-heading if there are no other errors to reduce duplication with the modal title
- changed "Close" button text to "Ok" so it feels more like a confirmation
- refactored modal template to have explicit `this` rather than implicit property lookup ([RFC](e724c7087e/text/0308-deprecate-property-lookup-fallback.md))
2019-03-25 12:20:14 +00:00
Kevin Ansfield
d0a834b477 🐛 Fixed missing error notification when attempting to activate an invalid theme
no issue
- updates error handling to work with new v2 error response formats
  - `.errorType` -> `.error`
  - `.errorDetails` -> `.details`
2019-03-25 11:32:29 +00:00
renovate[bot]
98a93b5251 Lock file maintenance (#1130) 2019-03-25 09:29:08 +00:00
Zimo
ca898a320f Fixed tests for tags case changes
refs. cdd3f40422
2019-03-25 10:19:51 +01:00
Zimo
2eabb1b75a Fix tumbleweed Y position on 404
no refs.
The tumbleweed position on the 404 animation was too high and it looked like it was bouncing behind the cactus.
2019-03-25 09:59:28 +01:00
Zimo
35d8e43c88 Removed white background of integration icons
no refs.
Set blending mode to multiply on the integration icons (on Integrations screen) to remove the white background that was visible on hover and didn't fit with the background color of the table rows.
2019-03-25 09:48:22 +01:00
Zimo
cdd3f40422 Fixed button and title cases for Tags screen
no refs.
Set "New tag" button and "Tag settings" to sentence case to be consistent with the rest of the UI. (Previously they were title case.)
2019-03-25 09:37:44 +01:00
Zimo
4a3344e70a Fixed Unsplash image preview width
no refs.
The image in Unsplash preview in Koenig didn't fill the entire width of the viewport which caused the overlay lean off on the sides of the preview image.
2019-03-25 09:30:48 +01:00
Renovate Bot
fc57f1564e Update dependency grunt to v1.0.4 2019-03-25 02:28:57 +00:00
Renovate Bot
ef38e22019 Update dependency eslint to v5.15.3 2019-03-25 01:36:09 +00:00
Kevin Ansfield
05a4888f60 Version bump to 2.18.3 2019-03-22 13:38:47 +00:00
Kevin Ansfield
e194a7b571 Fixed image card placeholder image changing on select/deselect 2019-03-22 11:35:59 +00:00
Kevin Ansfield
8d52246353 Fixed "must use set()" error caused by image card random placeholder 2019-03-22 11:31:31 +00:00
Kevin Ansfield
895cc7b647 🐛 Fixed unsaved editor changes being lost when changing PSM data on a published post
This reverts commit c19f5b9c51.

The "fix" is not correct, we want to ensure that unsaved changes in the editor are always kept.
2019-03-22 11:06:22 +00:00
Kevin Ansfield
700d3587c3 Fixed "view site" link not getting active class immediately after login 2019-03-21 18:08:57 +00:00
Kevin Ansfield
e7b740ba5f Added reset-to-homepage behaviour when clicking "view site" link
no issue
- return a basic "guid" from the site's `model` hook so that we have some data which changes on each refresh
- add an action to the wrapper element of the "view site" link which will cause the route to refresh when clicked if we're already on the route
- move the site iframe into a component so that it can watch an @uuid property and force a reset of the iframe's `src` when it detects a change
2019-03-21 17:55:58 +00:00
Kevin Ansfield
6acf2691d7 Fixed highlight of email field for "unknown user" in forgot password flow 2019-03-21 16:07:57 +00:00
Kevin Ansfield
0f46321565 Fixed undefined showing up in setup/two errors 2019-03-21 11:01:29 +00:00
Kevin Ansfield
f3cfafe6ac Improved error handling in setup/two screen
no issue
- display the `context` property of any API errors so that the messages are useful
- use the same email/password that was used for the setup request in the session request to avoid issues with keys being hit after Enter
2019-03-21 10:53:50 +00:00
Zimo
ea3c986f63 Fixed design/marketplace icon stroke
no refs.
- the marketplace icon is a filled icon and a stroke CSS property was applied to it, resulting in messy output
2019-03-21 11:47:44 +01:00
John O'Nolan
181de6f5ea View site inside Ghost Admin
no refs.
- added "View site" as the first and default menu item in navigation bar to be able to browse the site without leaving the Admin
- rearranged left sidebar items according to new structure (moved Labs down to bottom)
- removed "View site" from publication main menu because it's become redundant
- added Night shift toggle in line with Labs menu to be able quickly access it
2019-03-21 10:33:14 +01:00
Kevin Ansfield
0dd2aa7946 Fixed custom integrations acceptance test 2019-03-19 12:07:41 +00:00
Kevin Ansfield
e4ee09cfba 🐛 Fixed sometimes invalid (due to trailing slash) API URL shown on integration screen 2019-03-19 11:47:36 +00:00
Rish
6ee01b7bad Version bump to 2.18.2 2019-03-19 16:41:50 +05:30
Julien Ma
140a294b16 Fixed typo in page updated webhook event name (#1125) 2019-03-19 09:39:00 +00:00
Kevin Ansfield
9a2e713cd4 Fixed linting 2019-03-18 19:18:02 +00:00
Kevin Ansfield
68c09fce2d Fixed random failures in uploader component tests
refs https://github.com/TryGhost/Ghost/issues/10308
- removed reliance on `run.later` (`setTimeout`) in tests, instead favouring explicit ember-test-helper methods which wait for DOM changes
2019-03-18 19:14:24 +00:00
Kevin Ansfield
63b8127cfa Fixed "Send invitation" button needing to be clicked twice
refs https://github.com/TryGhost/Ghost/issues/7131
- adds `disableMouseDown` flag to `{{gh-task-button}}`
- uses flag for the send invite button so that the focus-out validation on the e-mail input is not triggered before the click event is triggered
2019-03-18 17:56:32 +00:00
renovate[bot]
708c95d2b8 Update dependency autoprefixer to v9.5.0 (#1122) 2019-03-18 14:25:17 +00:00
renovate[bot]
655b785225 Update ember addons (#1123) 2019-03-18 14:24:58 +00:00
renovate[bot]
4af38d2d39 Update dependency @tryghost/timezone-data to v0.2.0 (#1121) 2019-03-18 12:44:48 +00:00
renovate[bot]
68e9888fcc Lock file maintenance (#1124) 2019-03-18 12:44:31 +00:00
Renovate Bot
0ce4699006 Update dependency eslint to v5.15.2 2019-03-18 01:28:42 +00:00
Kevin Ansfield
23152d9d22 Removed ignored packages from renovate.json
no issue
- `ember-infinity` and `ember-in-viewport` are now on latest and dependent packages have had compatibility fixes applied
2019-03-15 18:08:01 +00:00
Kevin Ansfield
eeed5a6de7 🐛 Fixed infinite scroll of posts/pages screens not working in Safari
closes https://github.com/TryGhost/Ghost/issues/10521
- bumped `ember-in-viewport` and `ember-infinity` which fixed the Safari bug
- forced resolution of `ember-in-viewport` to 3.2.2 to avoid conflicts across project sub-dependencies
- switched to fork of `ember-light-table` which contains a compatibility fix with `ember-in-viewport@3.2.2` (PR'd here https://github.com/offirgolan/ember-light-table/pull/674)
2019-03-15 18:06:16 +00:00
Kevin Ansfield
98ab4d1d20 Fixed missing margin on subscribers action buttons 2019-03-15 16:27:52 +00:00
Kevin Ansfield
c19f5b9c51 🐛 Fixed unnecessary "Are you sure you want to leave?" modals
no issue
- if a post was saved before the body content was edited you would get stuck with an "Are you sure you want to leave?" modal even though you had already saved
- the editor saw the post as being in a dirty state because the `mobiledoc` and `scratch` value were null but after saving the `mobiledoc` value was set to an blank mobiledoc object as returned by the API
- updated the `post` model save method to reset the `scratch` value if the returned `mobiledoc` no longer matches
2019-03-15 16:18:53 +00:00
Kevin Ansfield
855fd7ae80 🐛 Fixed difficult to cancel webhook modal
closes https://github.com/TryGhost/Ghost/issues/10135
- `focusOut` events are fired before the `click` event is fired when clicking buttons whilst an input has focus, this has the effect of triggering our on-blur validations that can cause UI to jump which then results in the `mouseUp` being outside of the button which means no `click` event is fired
- stops `mouseDown` event from bubbling from modal cancel/close buttons so that `focusOut` validations aren't triggered
2019-03-15 14:38:54 +00:00
Kevin Ansfield
c2a0224543 Removed reliance on run.later in gh-task-button tests
refs https://github.com/TryGhost/Ghost/issues/10308
- switch to using the `waitFor` helper to wait for changes in DOM rather than relying on unreliable timeouts
2019-03-14 17:26:22 +00:00
Kevin Ansfield
d3ac2ee2bc Update Renovate Configuration (#1119)
no issue
- switch scheduling to early monday mornings
2019-03-14 11:33:36 +00:00
kirrg001
eb30a861fd Version bump to 2.18.1 2019-03-13 23:43:48 +01:00