Commit Graph

5951 Commits

Author SHA1 Message Date
Nazar Gargol
240edf89aa Added automatic 'first_name' column mapping for members CSV importer
no issue

- When columns which match /name/ patter are present in imported CSV they should detect the mapping to 'name' column automatically
2020-08-20 15:04:35 +12:00
Rishabh Garg
c47593891c Refined portal custom icon flow (#1675)
refs https://github.com/TryGhost/members.js/issues/79

- Updated interaction for custom icon flow as per design spec in issue
2020-08-19 20:30:06 +05:30
renovate[bot]
19353a6c36 Update dependency @tryghost/kg-parser-plugins to v1.0.7 (#1681)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-19 10:00:22 +01:00
renovate[bot]
a704fc010c Update dependency @tryghost/kg-clean-basic-html to v1.0.7 (#1680)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-19 09:45:49 +01:00
Daniel Lockyer
a418e8a38b v3.30.0 2020-08-18 16:35:02 +01:00
Daniel Lockyer
7a2fc28d40 Merged 3.29.2 into master
v3.29.2

* tag '3.29.2':
  v3.29.2
2020-08-18 12:18:36 +01:00
Daniel Lockyer
a3b797c3b3 v3.29.2 2020-08-18 12:15:49 +01:00
Rishabh Garg
6d4bcb205e Allowed Admin users to impersonate members (#1679)
closes TryGhost/Ghost#12126
depends on https://github.com/TryGhost/Ghost/pull/12132#pullrequestreview-469092171

- Previously, only Owner user was shown option to impersonate a member
- Grants Administrator user ability to impersonate a member
2020-08-18 14:19:12 +05:30
Renovate Bot
8139d35c29 Update dependency eslint to v7.7.0 2020-08-14 22:22:22 +00:00
Rish
59e49bb541 Fixed typo in portal preview signup options
no issue

- Pretty sure its supposed to be Signup and not Singup
2020-08-14 21:29:16 +05:30
renovate[bot]
5f7f3ec5df Update dependency ember-cli-mirage to v1.1.8 (#1664)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 12:06:26 +01:00
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