1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Commit graph

4768 commits

Author SHA1 Message Date
renovate[bot]
66d903848f Update dependency codemirror to v5.46.0 (#1176) 2019-04-29 08:45:12 +02:00
renovate[bot]
2f09df5f34 Update dependency ember-composable-helpers to v2.3.1 (#1177) 2019-04-29 08:24:47 +02:00
Renovate Bot
2d30220836 Update dependency ember-infinity to v1.4.4 2019-04-29 03:29:13 +00:00
Renovate Bot
a5e043ae04 Update dependency ember-infinity to v1.4.3 2019-04-29 01:31:21 +00:00
Emilio Cobos Álvarez
4015e0a669 🐛 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]
a4b7554111 Lock file maintenance (#1172) 2019-04-24 06:31:50 +01:00
renovate[bot]
0a1d60843a Update ember addons (#1171) 2019-04-24 06:23:03 +01:00
Fabien O'Carroll
b9d9c368ab Version bump to 2.21.0 2019-04-23 11:34:46 +02:00
Kevin Ansfield
cb38531908
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
cab5834c46 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]
eaca26a8e2 Update dependency csscomb to v4.3.0 (#1170) 2019-04-22 08:34:52 +01:00
Renovate Bot
f0126ce177 Update ember addons 2019-04-22 04:28:51 +00:00
Renovate Bot
90a12fd2c5 Update dependency ember-data to v3.9.1 2019-04-22 03:43:58 +00:00
Renovate Bot
5bd1d8c57a Update dependency @tryghost/timezone-data to v0.2.1 2019-04-22 02:30:34 +00:00
Renovate Bot
7ecfac4122 Update dependency @tryghost/helpers to v1.1.2 2019-04-22 01:29:18 +00:00
Nazar Gargol
d4e1cdfd60 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
70fda76cdf Updated member labs settings API key URL 2019-04-17 16:37:13 +02:00
Peter Zimon
eb521c7366
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
14060e267c Version bump to 2.20.1 2019-04-17 18:31:46 +05:30
Rish
05afcf0211 Updated member detail screen to handle free memberships 2019-04-16 22:59:52 +05:30
Rish
5d14f43776 Updated member detail placeholder
no issue
2019-04-16 22:07:27 +05:30
Zimo
a248bbeaee Changed wording for free Member detail data 2019-04-16 18:07:02 +02:00
Peter Zimon
ea61550a4d
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
1cf443b42e
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
c9dc66d138 Fixed members labs settings for nightshift 2019-04-16 14:27:55 +02:00
Zimo
39d2afcbda Added hover to member cells in member list 2019-04-16 14:27:55 +02:00
Rish
301edd095f Version bump to 2.20.0 2019-04-16 16:42:31 +05:30
renovate[bot]
ce8fbc1140 Pin dependency @tryghost/helpers to 1.1.1 (#1160) 2019-04-16 08:50:49 +01:00
Rishabh Garg
2604e86753
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
371639f497 🐛 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
48eac9a067 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
f1c4647107 🐛 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]
04d9dbc1a9 Lock file maintenance (#1148) 2019-04-15 10:57:38 +01:00
Kevin Ansfield
c106b83689
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]
49a8d823f6 Update dependency ember-cli-uglify to v3 (#1155) 2019-04-15 09:28:22 +01:00
renovate[bot]
0c64f6d210 Update ember testing (#1154) 2019-04-15 09:24:01 +01:00
renovate[bot]
b4155425a8 Update dependency ember-concurrency to v0.10.0 (#1153) 2019-04-15 09:22:58 +01:00
Renovate Bot
b52108412e Update dependency ember-source to v3.9.1 2019-04-15 02:34:42 +00:00
Renovate Bot
1c2e91c219 Update dependency ember-power-select to v2.3.1 2019-04-15 01:28:40 +00:00
John O'Nolan
aa9424e3e5
Updated to new Twitter username placeholder 2019-04-11 14:33:15 +02:00
Kevin Ansfield
55ed3322c8 🐛 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
6329ec9c40 Fixed members list update on switch
no issue

- Members list updates on screen switch
2019-04-09 20:46:47 +05:30
renovate[bot]
3659572a21 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
d92486b9b4
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
7429fe5c3a Version bump to 2.19.4 2019-04-09 19:30:37 +08:00
renovate[bot]
45a2b52333 Update dependency ember-infinity to v1.4.1 (#1146) 2019-04-09 09:49:58 +01:00
Renovate Bot
bdfe26e62b Update ember core 2019-04-08 02:29:05 +00:00
Renovate Bot
44c2adad8d Update css processors 2019-04-08 01:29:26 +00:00
Vikas Potluri
98f2ba36e4 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
ca5f9f1f6e 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