Commit Graph

6824 Commits

Author SHA1 Message Date
Peter Zimon
f4a4ef52fd Fixed select dropdown UI bug 2021-05-06 18:33:08 +02:00
Peter Zimon
897acb1909 Updated select style 2021-05-06 18:28:23 +02:00
Peter Zimon
4f16d2cf16 Updated subscription action menu button 2021-05-06 18:24:08 +02:00
Peter Zimon
e6dd0ee56b Removed product from add subscription modal 2021-05-06 18:16:56 +02:00
Peter Zimon
ccf2dff413 Added welcome page UI to product details 2021-05-06 17:40:29 +02:00
Peter Zimon
be30046419 Updated member detail screen for custom products
- added "Add subscription" button to product list
- copy updates
2021-05-06 17:13:08 +02:00
Rishabh
ea49c4d89c Fixed paid signup input in portal setting
refs https://github.com/TryGhost/Team/issues/637

The paid signup setting was incorrectly still checking only for Monthly and yearly prices instead of custom prices list to show the paid signup input.
2021-05-06 17:55:27 +05:30
Kevin Ansfield
7b340929ef Refactored members email settings screen
no issue

- simplified query params as they are only used to display a notification
  - removed all controller knowledge and associated reset behaviour for query params
  - moved notification display from `setupController` to `beforeModel` so the raw query params can be pulled off of the transition object
- removed unused service injections from `<GhMembersEmailSetting>`
- removed unused service injections and properties from members-email controller that were left over from a copy/paste
- converted members-email controller to a native class
- fixed "leave settings" confirmation modal behaviour that wasn't moved across in the the settings screen re-org
2021-05-05 16:59:26 +01:00
Peter Zimon
284b012083 Member activity list refinements 2021-05-05 17:46:50 +02:00
Renovate Bot
015ab8cec0 Update dependency fs-extra to v10 2021-05-05 16:37:02 +01:00
Sanne de Vries
d47352fd29 Updated metadata description preview cutoff point across admin 2021-05-05 17:33:59 +02:00
Peter Zimon
cf215328a4 Member product list cleanup 2021-05-05 15:58:47 +02:00
Peter Zimon
18696a6ee4 Added subscription count to member's product list
no refs.

- added subscription count to the product list in member details screen if there are multiple subscriptions for the given product. This is to make it clear and avoid confusion around the edge case when members have multiple subscriptions for the same product.
2021-05-05 15:42:29 +02:00
Daniel Lockyer
7aebb410bc 🔥 Dropped support for Node 10
refs https://github.com/TryGhost/Team/issues/658

- Node 10 become EOL as of April 30th so it's time to drop support
- this commit removes the 10.x range from the `node` `engines` block
2021-05-05 14:29:58 +01:00
Peter Zimon
abe7857e18 Moved Stripe customer link to subscriptions
- since there can be different Stripe customers for each subscription, it makes more sense to place the customer link together with it
2021-05-05 15:23:44 +02:00
Peter Zimon
6cf86f431b Product price cleanup
- removed bottom block (welcome page and stripe checkout link) from price modal
2021-05-05 15:09:01 +02:00
Peter Zimon
1d660218ae Custom product cleanups
- removed "New product" button
- removed "Delete product" button
2021-05-05 15:03:17 +02:00
Peter Zimon
76f3bfb093 Refined product list on member details screen
- updated subscription list for multiple subscriptions
2021-05-05 14:06:19 +02:00
Peter Zimon
893289eac9 Member detail screen refinements
- removed Stripe section and added View on Stripe link to member main info block
- fixed dropdown UI bugs in Product list
2021-05-05 13:40:09 +02:00
renovate[bot]
6eb3e810a2 Update dependency ember-cli-mirage to v2.2.0 (#1944)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 10:59:54 +01:00
Sanne de Vries
30b03b68b0 Updated email limit notification styling in publish-menu
Refs https://github.com/TryGhost/Team/issues/588
2021-05-05 11:53:36 +02:00
Rishabh
da58ef638b Wired product and price description to API
refs https://github.com/TryGhost/Team/issues/586

The `products` and `prices` UI were not hooked to description
data which will be used by Portal to display information about the
products and prices, this change wires it to the API for edit/read.
2021-05-05 14:21:14 +05:30
Kevin Ansfield
67db3f51c2 Fixed <GhTokenInput> not removing selected options when grouped
no issue

Our token input component removes already-selected options from the list of available options but it was expecting a non-grouped set of options.

- updated to recursively walk the options list and build a filtered list being careful not to modify the original groups by reference
- swapped task decorator syntax out for the more easily readable `ember-concurrency-decorators` style
2021-05-04 22:20:11 +01:00
Naz
36feb46c65 Added email limit check in post's publish menu
refs https://github.com/TryGhost/Team/issues/588

- The change allows to give information about not being able to send a newsletter along with publishing the post instead of waiting for a server response to fail
- Implements client-side limit check for email along with information coming from limit's error message
2021-05-04 21:46:29 +04:00
Rishabh
839d18425c Updated type attribute for dropdown button
no refs

The dropdown button component was missing `type="button"` when used as a button, which caused it to act like a `submit` button when used as part of a form, like in Member details page. This change adds type attribute to the button to fix the issue.
2021-05-04 21:52:14 +05:30
Rishabh
22de604ede Added free membership settings modal
refs https://github.com/TryGhost/Team/issues/648

All sites will include a default Free "Product" which is used for free memberships. This change adds UI for handling free membership settings. Also -

- Updates product icons in list and responsive sizes
- Copy updates
2021-05-04 21:42:48 +05:30
Rishabh
2a6d7226d2 Updated launch wizard to create custom price
refs https://github.com/TryGhost/Team/issues/644

Updates site setup to create custom Monthly/Yearly prices in default product as part of launch wizard. Also updates available portal plans based on user selection.
2021-05-04 21:42:48 +05:30
Rishabh
5d2e456f61 Handled custom prices in portal settings
refs https://github.com/TryGhost/Team/issues/637

Updates Portal settings to use list of custom prices for default product instead of hardcoded Monthly/Yearly
2021-05-04 21:42:48 +05:30
Daniel Lockyer
ae95eee5df v4.4.0 2021-05-04 11:55:33 +01:00
Naz
c876033483 Enabled "emails" limit configuration
refs https://github.com/TryGhost/Team/issues/588
refs a83cccd84b

- This bump allows to pass configuration for "emails" limit (flag type for now) and allows to do checks against this limit as a consequence
- Useful to be able to do basic checks for newsletter-related functionality
- It's a symmetric change to the server-side one
2021-05-04 11:21:35 +04:00
renovate[bot]
1b67547688 Update dependency broccoli-funnel to v3.0.5 (#1942)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-04 08:14:51 +01:00
Peter Zimon
d44c127978 Updated "What's new?" badge position
- aligned "What's new?" dot position on account icon in nav bar
2021-05-03 18:53:56 +02:00
Sanne de Vries
b8cdb26e70 Styled Google OAuth login button
Refs https://github.com/TryGhost/Team/issues/612
2021-04-29 15:01:42 +02:00
Daniel Lockyer
3b02987f86 Merged v4.3.3 into main
v4.3.3
2021-04-29 12:15:21 +01:00
Daniel Lockyer
6d84aac6b0 v4.3.3 2021-04-29 12:12:55 +01:00
Sanne de Vries
2a4d7e09aa Updated upgrade button styles 2021-04-29 11:47:44 +02:00
Renovate Bot
2d45f5d8cb Update dependency ember-cli-terser to v4.0.2 2021-04-29 08:55:06 +01:00
Renovate Bot
2fef23e78f Update dependency ember-cli-babel to v7.26.4 2021-04-29 08:54:54 +01:00
Aileen Nowak
c6635370dd Disabled Twitter link in footer
no issue

This is to remove some load from the Support team. Only commented it out, so it can be re-activated when we see fit.
2021-04-29 16:23:14 +12:00
Naz
24570d627f Updated copy for user role upgrade and invite limits
refs https://github.com/TryGhost/Team/issues/587

- Because we lack context when the component is called in "create new users" (invite) or in "modify existing user" (role upgrade) made copy more generic to fit both cases.
2021-04-28 18:08:58 +04:00
Naz
abfbaa8d9b Added upgrade moal when unsuspending staff user
refs https://github.com/TryGhost/Team/issues/587

- Previous behavior wa showing a generic API error in the top banner which wasn't ideal UX
- With these changes user is informed about the limitation before performing any action with clear call to upgrade through the billing page
2021-04-28 18:07:18 +04:00
Naz
8594126dc9 Fixed upgrade modal cta when activating a theme
refs https://github.com/TryGhost/Team/issues/590

- Previous upgrade button behavior was opening up a new browser window leading to now retired billing site. Tha behavior change looks like an oversight we missed to cleanup when introducing an in-admin billing pabe "/pro"
- The change follows similar pattern used in other limit check mesages where tha "upgrade" button takes the user to the billing page
2021-04-28 14:15:56 +04:00
Thibaut Patel
06c7db78b2 Added the oauth login button
issue https://github.com/TryGhost/Team/issues/614

Shown conditionally only when oauth is setup on the server side.
2021-04-28 12:05:32 +02:00
renovate[bot]
2827d2fd5d Update dependency ember-auto-import to v1.11.3 (#1932)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 10:20:21 +01:00
renovate[bot]
e8ee1aebf3 Update dependency ember-cli-string-helpers to v6 (#1931)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 10:20:04 +01:00
Naz
3435ffcf21 Fixed upgrade modal cta when publishing a post
refs https://github.com/TryGhost/Team/issues/589

- Previous upgrade button behavior was opening up a new browser window leading to now retired billing site. Tha behavior change looks like an oversight we missed to cleanup when introducing an in-admin billing pabe "/pro"
- The change follows similar pattern used in other limit check mesages where tha "upgrade" button takes the user to the billing page
2021-04-28 12:13:24 +04:00
naz
3b7cbaef05 Added limit check before adding new integration (#1934)
refs https://github.com/TryGhost/Team/issues/599

- Previously user received genetic limit error after putting in integration name and clicking "create" button. This created a little frustrating experience.
- The updated flow does the check before loading the integration modal, so the user receives communication about needed upgrade before doing any work
2021-04-28 19:29:25 +12:00
Kevin Ansfield
9c4f1b893b Fixed linting error 2021-04-27 18:39:51 +01:00
Kevin Ansfield
b7d7cbb269 Updated portal preview to pass allowSelfSignup as query param
refs https://github.com/TryGhost/Team/issues/579

- portal reads `allowSelfSignup` from config at startup and so won't show the free plan if it was not selected when preview is first opened
- updated `membersUtils.getPortalPreviewUrl()` to duplicate the `allowSelfSignup` logic from the server so it can be passed through to portal dynamically
2021-04-27 18:35:05 +01:00
Kevin Ansfield
6a6f50cf15 Fixed rollback of selected plans when leaving portal settings
no issue

- the original `portalPlans` array was being modified by reference which was throwing off Ember Data's change tracking
- switched to always creating a new plans array before any modifications take place
2021-04-27 18:03:13 +01:00
Kevin Ansfield
49b83add43 Fixed rollback when leaving portal settings without saving
no issue

- base modal component was throwing an error because the passed in `confirm` action for the leave settings modal wasn't async and didn't have a `.finally()` method
2021-04-27 17:34:04 +01:00
Kevin Ansfield
6a039be595 Disabled portal subscription options when signup is disabled
refs https://github.com/TryGhost/Team/issues/579

- subscription access set to 'invite' or 'none' disables signup so it doesn't make sense to allow those options to be changed when the portal preview won't reflect the settings
- fixed "expand"/"close" button not changing on the access screen signup access block
2021-04-27 15:36:45 +01:00
Sanne de Vries
68c07bde4c Fixed modal shadows being cut off bug 2021-04-27 12:24:45 +02:00
Rishabh
6bde09bd11 Added default sorting to product list
refs https://github.com/TryGhost/Team/issues/633

Adds default alphabetical sorted order for Product list
2021-04-27 13:55:35 +05:30
Rishabh
0a41167f52 Added adapter for products
refs TryGhost/Team#627

Adds adapter for `product` to query records correctly
2021-04-27 13:47:32 +05:30
Peter Zimon
9f74d83657 Updated billing period prompt 2021-04-27 10:00:50 +02:00
Renovate Bot
ec9d5fad4b Update dependency eslint-plugin-ghost to v2.1.0 2021-04-26 20:42:57 +00:00
Sanne de Vries
ac74fe6224 Updated Google SSO settings copy and styling 2021-04-26 22:15:22 +02:00
Sanne de Vries
63db462fbc Updated SSO configuration settings styles in Labs 2021-04-26 21:27:35 +02:00
Peter Zimon
c105dff604 Updated new product header 2021-04-26 21:09:37 +02:00
Peter Zimon
5762147e52 Updated add product to member modal
- added footnote to price dropdown
2021-04-26 21:01:46 +02:00
Peter Zimon
ece37d3475 Updated custom products styles
- updated mocked data for product and price list
- updated disabled button style on "Add product to member" modal
2021-04-26 20:55:25 +02:00
Peter Zimon
7240f9234f Updated price form design
- rearranged order of input fields and dropdowns on new/edit Price modal
2021-04-26 20:42:16 +02:00
Rishabh Garg
2555b70456 Wired new Products settings UI to API data (#1930)
refs TryGhost/Team#627

This updates the new Products settings screens to use real data from API for existing Custom Products and Prices to populate them on UI and allow site owners to edit them.

- List all Products of site and allow editing Product name
- List all Prices for a product and allow editing individual Price names
- Add new Prices on a Product
2021-04-26 23:52:04 +05:30
Fabien 'egg' O'Carroll
540c50f331 Wired up Member details screen to Custom Products
refs https://github.com/TryGhost/Team/issues/627

This is the reworked Member detail screen for Custom Products and adds
new functionality, or includes existing including:

- List Products for a Member, and the associated Subscriptions
- Allow cancelling/continuing said Subscriptions
- Adding a Product to a Member with a zero-amount Price
2021-04-26 17:28:39 +01:00
Kevin Ansfield
9c1eef178c Revert "Tweaked wording of members access options"
This reverts commit 7c6bace12e.

- the previous wording was correct and the behaviour needs to be changed to match rather than following the "allow free member signup" toggle behaviour
2021-04-26 08:20:51 +01:00
Kevin Ansfield
a08c2dfe12 Added grouped and custom option support to <GhTokenInput>
no issue

- `<GhTokenInput>` is based around `<PowerSelect>` but using Power Select's grouped options feature didn't work because we weren't falling back to it's built-in group component
- updated the `<GhTokenInput>` template to use a supplied block as the option display rather than only displaying the option's label (allows for counts etc to be shown alongside dropdown options)
2021-04-26 08:17:50 +01:00
Renovate Bot
23428f3d01 Update dependency eslint to v7.25.0 2021-04-23 23:35:45 +00:00
Renovate Bot
dfde881163 Update dependency grunt to v1.4.0 2021-04-23 14:34:18 +01:00
Sanne de Vries
691c1a8241 Fixed spacing issue in Firstpromoter settings 2021-04-23 15:29:26 +02:00
Sanne de Vries
ef05626bf7 Fixed theme install modal height bug 2021-04-23 15:06:56 +02:00
Kevin Ansfield
7c6bace12e Tweaked wording of members access options
refs https://github.com/TryGhost/Team/issues/579

"Only people I invite" did not marry with behaviour. When selected it matches the old "Allow free member signup = false" toggle setting which only disables free member signup rather than disabling all front-end signup
2021-04-23 10:00:10 +01:00
Thibaut Patel
8c874904d6 Added UI for setting OAuth settings
issue https://github.com/TryGhost/Team/issues/614
2021-04-22 19:41:41 +02:00
Rishabh Garg
a544005c1f Wired products data to Product settings screen (#1927)
refs https://github.com/TryGhost/Team/issues/627

Wires the real Products data from API to the mock Product settings screen including Product Prices list as well as opening of edit/new price modals. The new Product setting is still behind the developer experiment flag as is under active development, the changes in this commit only allows readonly data but not save/edit upstream.

Co-authored-by: Fabien O'Carroll <fabien@allou.is>
2021-04-22 22:17:19 +05:30
Daniel Lockyer
9855197e07 Merged v4.3.2 into main
v4.3.2
2021-04-22 17:34:23 +01:00
Daniel Lockyer
f31863fea7 v4.3.2 2021-04-22 17:32:38 +01:00
Sanne de Vries
f0da772bbd Fixed icons alignment in post preview 2021-04-22 14:43:57 +02:00
Daniel Lockyer
462bae82ff Merged v4.3.1 into main
v4.3.1
2021-04-22 09:50:58 +01:00
Daniel Lockyer
cbb5c13e81 v4.3.1 2021-04-22 09:48:44 +01:00
Sanne de Vries
494e8c5c20 Fixed spacing bug in AMP settings 2021-04-22 09:59:53 +02:00
Kevin Ansfield
58759b3069 Added option to disable member subscriptions (#1925)
refs https://github.com/TryGhost/Team/issues/579

- new Access settings screen that moves subscription access and default post visibility from the Payments settings screen
- expanded "Free signup" toggle into three signup access options
  - "anyone" - same as previous "allow free member signup" option set to `true`
  - "invite only" -  same as previous "allow free member signup" option set to `false`
  - "nobody" - completely disables member signup and login. Removes injected portal and stripe scripts on the front-end and hides member related sections on the admin dashboard

(this commit moves the above changes out from behind the developer experiments flag and cleans up now-unused code)
2021-04-21 12:09:40 +01:00
Sanne de Vries
dda67edd82 Fixed marketplace link in theme settings 2021-04-21 12:22:02 +02:00
Daniel Lockyer
7708438be2 v4.3.0 2021-04-21 09:10:21 +01:00
Thibaut Patel
53d77d82df Added an upgrade modal to the custom theme activation failure scenario
no issue

- The modal only appears when the user hits a limitation trying to activate a custom theme not part of the allowlist (if the custom theme allowlist is configured)
- Changed the upgrade button to green to match the design
2021-04-20 19:15:33 +02:00
Kevin Ansfield
89b9f6cfc6 Added unsaved changes modal to members-payments screen
no issue

Unsaved changes handling hadn't been moved across fully to the payments screen when settings were re-jigged meaning changes on the payments screen would make settings dirty and show unsaved changes modal unexpectedly on other screens.

- refactored `members-payments` route to use native classes
- used same unsaved changes pattern as `members-access` route/controller
2021-04-20 17:41:21 +01:00
Kevin Ansfield
4febcdf7ae Refactored members-payments controller to native class style
no issue

- refactored to use more modern Ember style native classes, no functionality change
2021-04-20 17:25:30 +01:00
Kevin Ansfield
1dcc83aad5 Removed unused code from members-payments route
no issue

- unused code was left over from settings re-jig copy and paste
2021-04-20 17:23:20 +01:00
Kevin Ansfield
04760132e9 Moved payment settings access control to route
no issue

- having owner-only access control in the template meant the route was accessible but would show a blank page
- updated access control in the `members-payments` route to redirect admins to the settings index screen and non-admins to the default home screen
2021-04-20 17:08:54 +01:00
Kevin Ansfield
4e2a7b9af5 Removed unused code from members-payments controller
no issue

- unused code was left over from settings re-jig copy and paste
2021-04-20 17:02:43 +01:00
Kevin Ansfield
5337a96074 Removed unused code from <GhMembersPaymentSettings>
no issue

- code relating to "portal settings" and "leave settings" modals was unused, presumably left over from settings re-jig copy and paste
2021-04-20 16:55:31 +01:00
Sanne de Vries
62159390fd Fixed modal overflow responsive issue 2021-04-20 15:57:14 +02:00
Kevin Ansfield
ecf82fbfe8 Fixed invite staff modal button not reflecting validation state (#1924)
no issue

- when the role selection was extracted to an external component the limit validation was also extracted but had no way of feeding back to the consumer
- added `onValidationSuccess` and `onValidationFailure` arguments to the role selection component to allow validation feedback to the consumer
- updated staff invite modal with actions to update state based on validation so the modal's buttons can update accordingly
2021-04-20 13:39:03 +01:00
Renovate Bot
140545d938 Update dependency @tryghost/limit-service to v0.4.2 2021-04-20 12:53:42 +01:00
Sanne de Vries
a4b9c1f253 Styled access settings
Refs https://github.com/TryGhost/Team/issues/579
2021-04-20 11:31:22 +02:00
Kevin Ansfield
139ba9413a Hid members data in dashboard when signup access is "Nobody"
refs https://github.com/TryGhost/Team/issues/579

Members is essentially disabled when signup access is set to "Nobody" so it doesn't make sense to show members related charts and actions in the dashboard.

- adds `showMembersData` property to the dashboard controller that returns `false` when members is disabled
- wraps members related sections of the dashboard in conditionals
2021-04-20 09:08:15 +01:00
Kevin Ansfield
a271aa53fd Compacted dashboard controller tracked property code style 2021-04-20 09:01:04 +01:00
Kevin Ansfield
889f90f494 Added "Nobody" option to members signup access
refs https://github.com/TryGhost/Team/issues/579

- adds "Nobody" option that will set `members_signup_access` setting to `'none'`
- when selected also sets `default_content_visibility` setting to `'public'`, expands it if collapsed and disables other options (that setting doesn't make sense when members is disabled, individual post access can still be set manually if needed)
2021-04-19 16:37:00 +01:00
Kevin Ansfield
4e82ea38ea Updated setting model for new members_signup_access setting
requires https://github.com/TryGhost/Ghost/pull/12886

- renamed `membersAllowFreeSignup` to `membersSignupAccess` and changed type to match new setting
- added `membersAllowFreeSignup` computed property to map to the new setting to avoid having to migrate code elsewhere that will be removed once the new options are out of developer experiments
2021-04-19 16:37:00 +01:00
Peter Zimon
6986c4f424 Added mock product assignment modal
Created modal for adding products to members with mock data
2021-04-19 14:45:14 +02:00
Peter Zimon
5af33b3f21 Updated member product list mock design 2021-04-19 10:42:53 +02:00
Daniel Lockyer
5a4603cca8 Merged v4.2.2 into main
v4.2.2
2021-04-16 17:47:19 +01:00
Daniel Lockyer
62266da9a3 v4.2.2 2021-04-16 17:44:15 +01:00
renovate[bot]
d51c199727 Update dependency @tryghost/timezone-data to v0.2.41 (#1920)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-16 16:49:28 +01:00
renovate[bot]
ec576a4666 Update dependency markdown-it to v12.0.6 (#1921)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-16 15:28:58 +01:00
renovate[bot]
464d72040c Update dependency @tryghost/string to v0.1.18 (#1919)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-16 15:28:39 +01:00
renovate[bot]
993307bcd3 Update dependency @tryghost/helpers to v1.1.43 (#1918)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-16 15:28:27 +01:00
renovate[bot]
f95400dcae Update dependency @tryghost/timezone-data to v0.2.40 (#1917)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 22:41:49 +01:00
renovate[bot]
bb5bdfa380 Update dependency @tryghost/helpers to v1.1.42 (#1916)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 18:31:14 +01:00
Peter Zimon
96faf27ba8 Added mock member details component
Prepring for custom products we'll change the overall layout of member forms. This commit has a component that's loaded when dev flag is on for the new layout with mocked product data.
2021-04-15 17:58:35 +02:00
Peter Zimon
01c2facccc Removed member count from product list mock page 2021-04-15 11:09:44 +02:00
Peter Zimon
5a5d6398fd Updated product details mock screen
Updated product details mock screen for the first version:
- removed icon and chart
- added status to price list
- changed icons to text links on price list
2021-04-15 11:08:43 +02:00
renovate[bot]
802efc91a5 Update dependency markdown-it to v12.0.5 (#1915)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 09:28:10 +01:00
Kevin Ansfield
82d8261a56 Added subscription access settings to Access screen
refs https://github.com/TryGhost/Team/issues/579

- moved "Allow free member signup" toggle from Payments screen to Settings screen and switched to a radio selection that allows for better description and further selection of options
2021-04-14 23:43:10 +01:00
Sanne de Vries
4f10e611b0 Moved default post access from Payments to Access screen (#1879)
refs https://github.com/TryGhost/Team/issues/579

- updated access section on Payments screen to only show when not running developer experiments
- added default post access settings to Access screen

Co-authored-by: Kevin Ansfield <kevin@lookingsideways.co.uk>
2021-04-14 19:02:36 +01:00
renovate[bot]
f92532d51c Update dependency broccoli-concat to v4.2.5 (#1914)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-14 18:45:44 +01:00
renovate[bot]
69097a805c Update dependency @tryghost/kg-parser-plugins to v1.1.7 (#1912)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-14 18:39:14 +01:00
renovate[bot]
c4031f498e Update dependency broccoli-funnel to v3.0.4 (#1913)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-14 18:37:17 +01:00
renovate[bot]
60fdb16f5c Update dependency @tryghost/kg-clean-basic-html to v1.0.17 (#1911)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-14 18:36:57 +01:00
Daniel Lockyer
62f08b024f Merge v4.2.1 into main
v4.2.1
2021-04-13 16:26:46 +01:00
Daniel Lockyer
b0830c0454 v4.2.1 2021-04-13 16:23:48 +01:00
Kevin Ansfield
59a37dc984 Fixed faker.random.number rename warnings
no issue

- `faker.random.number` is now `faker.datatype.number`
2021-04-12 15:32:39 +01:00
renovate[bot]
40c6cb51e6 Update dependency ember-in-viewport to v3.9.0 (#1899)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 13:51:07 +01:00
renovate[bot]
e1ddf1795f Update dependency ember-concurrency to v2 (#1909)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 13:42:58 +01:00
renovate[bot]
e05a6d1c19 Update dependency fs-extra to v9.1.0 (#1904)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 13:42:50 +01:00
renovate[bot]
53a8a6a0c1 Update dependency @html-next/vertical-collection to v2 (#1906)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 13:33:07 +01:00
renovate[bot]
16b9fb046e Update dependency faker to v5.5.3 (#1903)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 13:30:16 +01:00
renovate[bot]
08d2a8e7a7 Update dependency ember-cli-app-version to v5 (#1908)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 13:30:00 +01:00
renovate[bot]
7f71b9dd10 Update dependency @tryghost/members-csv to v1 (#1907)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 13:29:04 +01:00
renovate[bot]
6a9e206665 Update dependency ember-power-select to v4.1.4 (#1900)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 13:28:47 +01:00
renovate[bot]
d9cdca6823 Update dependency ember-svg-jar to v2.3.3 (#1902)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 13:28:30 +01:00
Kevin Ansfield
cf7a763199 Removed usage of deprecated EmberSimpleAuth mixins (#1910)
refs https://github.com/TryGhost/Admin/pull/1901

Ember has deprecated mixins in preparation for 4.0 and `ember-simple-auth` has now done the same in 3.1.0.

- removed all imports of Ember Simple Auth mixins
- moved authenticated and invalidated handling from application route to session service
- moved server-notification loading from application route to session service
- updated `AuthenticatedRoute` to use the session service directly rather than authenticated route mixin
- added `UnauthenticatedRoute` that incorporates the behaviour from our overridden `UnauthenticatedRouteMixin` and switches to using the session service directly
2021-04-12 13:21:57 +01:00
Sanne de Vries
eb28e42ad4 Updated styles for change-user-role modal 2021-04-12 14:09:24 +02:00
Kevin Ansfield
ffe5416b77 Swapped staff role selector from <select> to new role selection modal
closes https://github.com/TryGhost/Team/issues/572

Role selection when inviting users was updated to show information about each staff role. This change updates the staff edit screen to use the same UI for changing the role of an existing user.

- added `select-user-role` modal which uses `<GhRoleSelection>` to allow role selection
- replaced the `<select>` input for changing a user's role with a button that triggers the role selection modal
  - role is not set unless the "Set role" button is clicked after making a selection, cancel or close will leave the original role selected
2021-04-12 11:35:50 +01:00
Kevin Ansfield
824953d162 Fixed initial role selection and layout shift in <GhRoleSelection>
no issue

- initial role was always being set to Contributor due to incorrect argument being used when checking if the default role should be applied
- there was considerable layout shift of the `<GhRoleSelection>` container after role loading was finished, quick-fix applied by specifying a width and height to the loading spinner container that matches the final width/height
2021-04-12 11:27:37 +01:00
Kevin Ansfield
c3c383ae69 Fixed role validation when inviting new users
no issue

- the `role` argument was not being passed to the `validateRole` method when changing roles
2021-04-12 11:15:09 +01:00
renovate[bot]
519ed564b8 Update dependency ember-simple-auth to v3.1.0 (#1901)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 09:11:58 +01:00
renovate[bot]
ede91dc162 Update dependency ember-cli-htmlbars to v5.7.1 (#1897)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 09:11:29 +01:00
renovate[bot]
64ed5a61e7 Update dependency ember-cli-babel to v7.26.3 (#1896)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 09:11:17 +01:00
renovate[bot]
f2c9b0306e Update dependency ember-cli-mirage to v2.1.0 (#1898)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 08:50:08 +01:00
renovate[bot]
a751b3051a Update dependency @tryghost/timezone-data to v0.2.39 (#1893)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 08:49:36 +01:00
renovate[bot]
f8451c7eb6 Update dependency @tryghost/limit-service to v0.4.1 (#1890)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 08:49:28 +01:00
renovate[bot]
1534f0b454 Update dependency @tryghost/kg-clean-basic-html to v1.0.16 (#1888)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 08:49:19 +01:00
renovate[bot]
bb0532e9d7 Update dependency ember-auto-import to v1.11.2 (#1895)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 08:38:41 +01:00
renovate[bot]
ba8edadcf2 Update dependency element-resize-detector to v1.2.2 (#1894)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 08:37:28 +01:00
renovate[bot]
a1a357e911 Update dependency @tryghost/string to v0.1.17 (#1892)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 08:36:47 +01:00
renovate[bot]
d32e12f995 Update dependency @tryghost/members-csv to v0.4.5 (#1891)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 08:36:30 +01:00
renovate[bot]
3c17fd898a Update dependency @tryghost/kg-parser-plugins to v1.1.6 (#1889)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 08:36:13 +01:00
renovate[bot]
2b9e8171bd Update dependency @tryghost/helpers to v1.1.41 (#1887)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 08:35:54 +01:00
renovate[bot]
6d1a8fb03c Update dependency @glimmer/component to v1.0.4 (#1886)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 08:35:36 +01:00
renovate[bot]
1f15b332d2 Pin dependency ember-keyboard to 6.0.2 (#1885)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 08:35:24 +01:00