Commit Graph

5940 Commits

Author SHA1 Message Date
renovate[bot]
a8b6d6baa6 Update dependency ember-cli-htmlbars to v5.3.1 (#1670)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 12:06:13 +01:00
Renovate Bot
d8add12920 Update dependency @tryghost/timezone-data to v0.2.27 2020-08-13 10:37:47 +01:00
Renovate Bot
23faf916ab Update dependency @tryghost/string to v0.1.11 2020-08-13 10:30:07 +01:00
Renovate Bot
e78ef4473b Update dependency @tryghost/helpers to v1.1.30 2020-08-13 10:29:58 +01:00
Daniel Lockyer
7384fbad8a v3.29.1 2020-08-11 10:46:42 +01:00
Renovate Bot
fb52adb0b1 Update dependency @tryghost/timezone-data to v0.2.26 2020-08-11 09:27:40 +01:00
Renovate Bot
66b3a04aad Update dependency @tryghost/helpers to v1.1.29 2020-08-11 09:22:23 +01:00
Rish
d4cf0602e5 Updated background flicker for portal preview
refs https://github.com/TryGhost/members.js/issues/77

- There was a quick flicker before the portal popup appears due to the site theme being visible in background till portal loads
- Adds the constant background with slight delay to show the frame which ensures the portal script is successfully loaded to minimise the visible flicker
2020-08-11 12:27:34 +05:30
Rish
b796bf74fc Added close confirmation for Portal settings
refs https://github.com/TryGhost/members.js/issues/77

- Adds close confirmation when closing Portal settings for unsaved changes
2020-08-11 12:27:34 +05:30
Daniel Lockyer
020d099054 v3.29.0 2020-08-10 17:00:10 +01:00
Nazar Gargol
36e1dd6f2a Fixed members importer state after unknown API error
no issue

- Members importer returns to first state of uploader with file selection when unknown error happens during the upload. If the upload fails and 'summary' state is set, it leads to showing summary stas during 'customizing' state.
2020-08-11 00:08:12 +12:00
Kevin Ansfield
63070673d2 Added explicit count of paid members to email confirmation modal
closes https://github.com/TryGhost/Ghost/issues/12112

- perform a paid members list query with a limit of 1 when the modal is displayed if the post is set to members only, then use the pagination meta data to get a total number of members
- display a spinner and disable the confirm button whilst the count query is in progress
- does not display any counts for users with the Editor role as they do not have permission to list members
2020-08-10 12:27:16 +01:00
Kevin Ansfield
45a857c951 Fixed {{gh-pluralize}} errors
refs fd91b593a5

- fixed incorrect call `pluralize(undefined, {withoutCount: true})` when number is undefined - `pluralize()` expects only one argument when no number is provided
- fixed destructuring in ghPluralize
- fixed linting error for undefined method after removal of `formatNumber` import
- fixed typo of import path in members controller
2020-08-10 11:37:21 +01:00
Kevin Ansfield
fd91b593a5 Added number formatting to all pluralized counts
closes https://github.com/TryGhost/Ghost/issues/12110

- adds `{{gh-pluralize}}` helper that wraps the `{{pluralize}}` helper from `ember-inflector` but formats the number using our `{{format-number}}` helper
- updates all uses of `{{pluralize}}` to `{{gh-pluralize}}`
2020-08-10 11:16:03 +01:00
Kevin Ansfield
e246b2829d Lock file maintenance 2020-08-10 08:57:51 +01:00
renovate[bot]
4acc2f8f44 Update dependency ember-fetch to v8.0.2 (#1669)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-10 08:45:39 +01:00
renovate[bot]
a77e4a19bc Update dependency ember-resolver to v8.0.2 (#1666)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-10 08:45:11 +01:00
renovate[bot]
9a1725a0bd Update dependency ember-cli-chart to v3.7.2 (#1665)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-10 08:44:50 +01:00
Rish
6df368ed3b Updated portal preview to use default icon
refs https://github.com/TryGhost/members.js/issues/77

- By default, if there is no icon button selected, we fallback to show the first icon in list as selected in both preview and portal
2020-08-06 16:21:27 +05:30
Rish
5cce6138e5 Added Portal links section in preview area
closes https://github.com/TryGhost/members.js/issues/80

- This adds the link/attribute switcher and chooser directly to Admin in Portal preview area
- Thinks links/attributes section was previously shown as a Portal page
2020-08-05 11:36:26 +05:30
Daniel Lockyer
6245575b30 v3.28.0 2020-08-04 11:23:40 +01:00
Renovate Bot
b8fdf8c617 Update dependency @tryghost/timezone-data to v0.2.25 2020-08-04 11:05:12 +01:00
Renovate Bot
7fc437be6d Update dependency @tryghost/helpers to v1.1.28 2020-08-04 10:53:17 +01:00
Renovate Bot
4e19e0582e Update dependency @tryghost/string to v0.1.10 2020-08-04 10:52:59 +01:00
Roshan Dash
8df1892185 🐛 Fixed incorrect scheduled date in toast (#1663)
closes https://github.com/TryGhost/Ghost/issues/12102

- The scheduled date was incorrectly shown as month number in the toast box after scheduling
- Updates to correctly show the selected date
2020-08-04 13:04:24 +05:30
Kevin Ansfield
970df7fba7 🐛 Fixed missing autosave indicator regression in editor
refs https://github.com/TryGhost/Ghost/issues/12098

- the component template was directly referencing `this._isSaving` which meant that the `this.isSaving` getter was never fetched and so no autotracking was set up for `this.args.isSaving` to trigger the task that updates `this._isSaving`
2020-08-03 09:51:06 +01:00
renovate[bot]
15d1bfea30 Lock file maintenance (#1659)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-03 09:39:12 +01:00
renovate[bot]
e143c0a4df Update dependency autoprefixer to v9.8.6 (#1655)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-03 09:37:13 +01:00
renovate[bot]
c27349288c Update dependency ember-cli-babel to v7.22.1 (#1658)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-03 09:36:52 +01:00
renovate[bot]
2eb75f7b3b Update dependency ember-modifier to v2 (#1657)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-03 09:35:30 +01:00
Kevin Ansfield
0b6a2eda80 Updated core files to match ember-cli new output 2020-08-03 09:24:58 +01:00
Renovate Bot
e3f7493bcc Update ember core 2020-08-03 09:24:58 +01:00
renovate[bot]
9b7e3dd930 Update dependency @glimmer/component to v1.0.1 (#1652)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-03 09:14:55 +01:00
Renovate Bot
e14fe0a82b Update dependency eslint to v7.6.0 2020-08-03 00:06:03 +00:00
Peter Zimon
f937bf2790 Updated Portal settings preview style
no refs.
- updated preview window style for portal so that it fits with the rest of the screen
2020-07-30 16:38:47 +02:00
Fabien O'Carroll
61f1cd1889 v3.27.0 2020-07-27 18:38:25 +02:00
Peter Zimon
a199e87201 Updated single member delete design
no issue
- updated single member delete modal copy + design layout
- swapped switch to regular checkbox + applied red color to it
- set button label based on checkbox state
2020-07-27 13:32:40 +02:00
renovate[bot]
7f671d7089 Update dependency blueimp-md5 to v2.17.0 (#1650)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-27 09:25:38 +01:00
renovate[bot]
bd7fccf50f Update dependency ember-source to v3.20.2 (#1651)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-27 09:25:22 +01:00
Peter Zimon
9e9dcf4d1a Updated default Portal icons
no refs.
- added a set of portal icons
- updated related CSS and mappings
2020-07-24 17:00:46 +02:00
Peter Zimon
0a33f97fb1 Set Portal preview size
no refs.
- made Portal preview size a bit bigger
2020-07-24 17:00:46 +02:00
Fabien 'egg' O'Carroll
28a2caec98 Updated delete member UI to add toggle to cancel subscriptions (#1647)
no-issue

* Supported cancellation of subscriptions on delete

This makes the cancellation of subscriptions much more obvious to the
user, and we err on the side of caution by *not* cancelling by default.

* Updated base adapter to handle urls with query params

After creating the member adapter and overriding the urlForDeleteRecord
method the flow would take the url from that and it would get passed
into the buildUrl method of the base adapter. At this point it would
append a "/" _after_ the query param.

It would ouput http://admin.com/ghost/api?query=blah/
rather than http://admin.com/ghost/api/?query=blah
2020-07-24 16:02:42 +02:00
Rish
a0cd857da1 Removed accent color from general settings
no issue

- Accent color setting was behind dev flag on General settings screen
- Its now moved inside Portal settings where its primarily being used
- This change removes it from general settings screen so its only on Portal settings
2020-07-24 16:46:32 +05:30
Hannah Wolfe
1cce69a1e2 Updated host limit message to be clearer
- limits are based on total members not number of members that will be emailed
2020-07-23 18:24:33 +01:00
Rish
bb53379eb1 Updated portal preview iframe url
no issue

- Updates url to load portal preview to use more specific path by appending `/preview`  in hash path
- Allows portal script to validate preview mode easily instead of guessing based on query string
2020-07-23 21:03:42 +05:30
Kevin Ansfield
3b78973a21 Removed bulk member edit dev experiment
no issue

- we're moving forward with a simplified bulk delete and the UI would conflict if both approaches are behind the dev experiments flag
2020-07-23 15:03:18 +01:00
Kevin Ansfield
42b3e3a412 Added automatic filter of members list after CSV import
requires 8ceabbcfba

- if the API responds with `meta.import_label` after an import, use it to reset and apply the filter across the members list so that it's quick to see the results of the import and perform further bulk actions (coming later)
- added ability to pass arguments through `<GhFullscreenModal>`'s `@confirm` action
- added a `console.error()` call to the members csv import so that any underlying error is not completely lost by the custom error handling
2020-07-23 14:15:07 +01:00
Rish
3a37e539b8 Disabled interactions on portal preview frame
no issue

- All interactions on the portal preview should be disabled to keep a focused view.
- Disabled pointer events on portal preview iframe to not allow any interactions on page that can cause popup to close or navigate away
2020-07-23 16:56:27 +05:30
Kevin Ansfield
6048b44d55 Removed errant .only from test suite 2020-07-22 20:00:03 +01:00
Daniel Lockyer
7dcc701df2 v3.26.1 2020-07-22 11:56:55 +01:00