Commit Graph

4516 Commits

Author SHA1 Message Date
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
Guilherme de Souza Silva
fc5cf57961 Fixed the scroll problem using safari on low resolutions smartphones (#1131)
closes #9494
- Modified the `.content-list` css class to remove the unnecessary `overflow-y`
2019-04-15 17:27:42 +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