Commit Graph

5629 Commits

Author SHA1 Message Date
Kevin Ansfield 3da8815759 Renamed `activeTimezone` setting to `timezone`
refs https://github.com/TryGhost/Ghost/issues/10318

- API has been updated to still work with `active_timezone` for backwards compatibility but it makes sense for the client to match the underlying settings keys
2020-06-24 15:34:59 +01:00
Kevin Ansfield 9f9273fafc Renamed `defaultLocale` setting to `lang`
refs https://github.com/TryGhost/Ghost/issues/10318

- API has been updated to still work with `default_locale` for backwards compatibility but it makes sense for the client to match the underlying settings keys
2020-06-24 15:27:17 +01:00
Kevin Ansfield c8a93925a3 Updated to fetch settings using `/settings/?group=` instead of `?type=`
refs https://github.com/TryGhost/Ghost/issues/10318

- primary change is in the settings service which is the only place we fetch the settings endpoint
- mocked APIs and fixture data updated to expect and to filter on `?group` rather than `?type`
2020-06-24 14:23:51 +01:00
Renovate Bot bb6b303c46
Update dependency autoprefixer to v9.8.4 2020-06-24 03:41:07 +00:00
Kevin Ansfield 8acc160003 Added missing renames of settings groups
refs https://github.com/TryGhost/Ghost/issues/10318, c5c50139ef

- the mocked settings endpoint was not returning any settings created with the old `blog` key which broke tests
2020-06-23 21:05:11 +01:00
Kevin Ansfield d1cba038ac Lock file maintenance 2020-06-23 20:50:29 +01:00
Kevin Ansfield 90dc419249 Fixed settings not saving due to settings.brand
refs https://github.com/TryGhost/Ghost/issues/10318

- moves `settings.brand` as a JSON object to `settings.accentColor` as a string
2020-06-23 20:49:29 +01:00
Kevin Ansfield c5c50139ef Updated settings service with new types list
refs https://github.com/TryGhost/Ghost/issues/10318, https://github.com/TryGhost/Ghost/pull/11952

- precursor for moving from `?type` to `?group`
- matches the new settings groups list
2020-06-23 20:49:29 +01:00
Renovate Bot ba7106d06b
Update dependency autoprefixer to v9.8.3 2020-06-23 14:44:09 +00:00
Fabien 'egg' O'Carroll 93720eae97
Disconnect Stripe Connect integration (#1613)
no-issue

Co-authored-by: Peter Zimon <peter.zimon@gmail.com>

This adds the ability to disconnect the Stripe Connect integration from the Members settings.
2020-06-23 13:29:12 +02:00
Renovate Bot 36ed47a237
Update dependency @tryghost/kg-parser-plugins to v1.0.5 2020-06-23 10:18:45 +00:00
Renovate Bot e53275eb05
Update dependency @tryghost/kg-clean-basic-html to v1.0.5 2020-06-23 08:06:39 +00:00
renovate[bot] a4ceabcfc9
Update dependency ember-cli to v3.19.0 (#1617)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-23 07:51:18 +01:00
Renovate Bot 2293801ea9
Update dependency eslint to v7.3.1 2020-06-23 03:29:31 +00:00
Rish 685cf37490 🐛 Fixed staff profile editing incorrectly showing saved state
closes https://github.com/TryGhost/Ghost/issues/11866

- Adds extra check to task button states if the last task ran was same as the current associated task
- In case of task groups, triggering one task in group also triggered states for other tasks in group
- Editing slug called `updateSlug` task which is part of the same task group as `save` task, which triggered the state for save button
2020-06-22 17:09:37 +05:30
Daniel Lockyer b4fec93664 v3.21.0 2020-06-22 11:33:58 +01:00
John O'Nolan 4865093284 Updated email newsletter config instructions
Added link to explain why Mailgun is required, and the different types of emails within Ghost
2020-06-22 13:47:45 +07:00
Renovate Bot e24819c569 Update dependency autoprefixer to v9.8.2 2020-06-21 02:23:47 +00:00
Renovate Bot 84cb3725c1
Update dependency eslint to v7.3.0 2020-06-19 19:29:17 +00:00
Peter Zimon 86856f57af Added scrolling to members import preview table
no issues.
- adds scrolling to import table
- adds shadow to top and bottom if the table is taller than the viewport
2020-06-19 19:43:12 +02:00
Kevin Ansfield 312b9fb4e1 Added first pass bulk members delete confirmation and results display
no issue

- display a confirmation modal when bulk deleting members
- hit the `DELETE /members/?all=true` endpoint when confirming
- show counts of members deleted/skipped
- fix selection reset when leaving edit mode
2020-06-19 18:14:41 +01:00
Rishabh Garg 1902389757
Added new modal settings behind dev flag (#1615)
no issue

depends on 77e1ada6c6

- reverts commit c46fcec with modifications for naming
- Adds new portal settings UI in Labs -> Members setting
- Allows customization of new portal-* settings upstream
- Updates settings service to include portal group
- Updates settings modal to include new portal-* settings
2020-06-19 21:36:49 +05:30
Renovate Bot c3e57b6d12
Update dependency @tryghost/kg-parser-plugins to v1.0.4 2020-06-19 13:22:33 +00:00
Kevin Ansfield 29bed994ff Moved members bulk delete confirmation into a modal 2020-06-19 14:14:39 +01:00
Kevin Ansfield 4b23a2f204 Switched members links to use default cursor when in edit mode 2020-06-19 13:08:02 +01:00
Renovate Bot e30a99baa7
Update dependency @tryghost/kg-clean-basic-html to v1.0.4 2020-06-19 10:15:03 +00:00
Rish 0e6d5fbbdc 🐛 Added tags sidebar navigation for editors
closes https://github.com/TryGhost/Ghost/issues/11882

- Editors have all the same permissions and access to tags as Owner/Admin roles, but had the sidebar navigation for tags missing
- Adds "Tags" to sidebar for Editor roles same as Owner/Admin
2020-06-19 11:39:05 +05:30
Nazar Gargol 7578e3fe95 Removed email validation test from members import validator
refs 823437c1a6

- The test was removed because feature is no longer needed.
- Qoute from Zimo: " reason: it’s based on a sample so we don’t know for sure how much of the data is actually affected. we might bring it back in the future though"
2020-06-19 14:20:56 +12:00
Daniel Lockyer 2b5257b227 v3.20.3 2020-06-18 16:20:13 +01:00
Daniel Lockyer 4bedaef49f v3.20.2 2020-06-18 15:10:11 +01:00
Rish c46fcec5b2 Revert "Added new members modal settings behind dev flag (#1611)"
This reverts commit c86a01b675.
2020-06-18 19:05:06 +05:30
Peter Zimon 0b59628f85 Refined member import result screen
no issues.
- puts back file icon preview when not in dev. experiment
- refines generic style of member import result screen
2020-06-18 15:24:08 +02:00
Rish 0e55590360 🐛 Fixed incorrect save warning on design settings
closes https://github.com/TryGhost/Ghost/issues/11590

- Dirty attribute flag was set incorrectly on focus out from label/url fields as no check with existing was used
- Checks against existing nav item value before setting dirty attribute on focus out
2020-06-18 17:46:18 +05:30
Nazar Gargol ac527ce89f Commented out broken test untill the case clears out
no issue

- Need to understand if email validation was removed from the client intentionally.
2020-06-19 00:10:30 +12:00
Rishabh Garg c86a01b675
Added new members modal settings behind dev flag (#1611)
no issue

- Adds new modal settings option in members settings
- Allows customization of modal settings for membersjs
- Uses new `memebrsjs_*` settings from core
2020-06-18 17:15:19 +05:30
Nazar Gargol 03ef0a22e0 Fixed one of failing member import validation tests 2020-06-18 23:34:49 +12:00
Kevin Ansfield 10f047e6ed Disabled members list links whilst editing
no issue

- these will eventually toggle selection of individual members when clicked whilst in editing mode
2020-06-18 11:42:06 +01:00
Kevin Ansfield 26796dc3b0 Fixed member's note field overflowing at smaller screen sizes 2020-06-18 11:39:53 +01:00
Kevin Ansfield 5601939f92 Added exit of edit mode when changing members filters
no issue

- keeping selection does not make sense when a filter or search is changed
2020-06-18 11:23:15 +01:00
Kevin Ansfield 0f587a90d0 Added rough "edit mode" for members table behind dev flag
no issue

- initial UI for bulk-selection, focusing for now on first stage which is limited to select-all and delete actions
- adds "Edit" button to the members table that shows the "selection" toolbar in place of the table header and shows a checkbox next to each member
2020-06-18 11:08:53 +01:00
Peter Zimon 3e5a8d4e20 Fix members.css
no issues.
- adds newline at eof
2020-06-18 11:40:42 +02:00
Peter Zimon c9ae3fcd08 Refined members import data table design
no issues.
- refined style for members import preview table
2020-06-18 11:33:34 +02:00
Peter Zimon 823437c1a6 Refined pre-validation of members import
no issues.
- removes email and Stripe duplicate customer ID check to focus validation that might affect the whole dataset
- applies visual style and refines copy
2020-06-18 10:30:15 +02:00
Nazar Gargol 6e97fbd995 Fixed failing test
refs b28a25a64e
2020-06-18 18:11:15 +12:00
Nazar Gargol b28a25a64e Added imported members csv data preview
no issue

- Adds a table representation of data present in a CSV file that is about to be imported. Allows to navigate through data to see how exactly the file would be parsed on server
2020-06-18 17:47:04 +12:00
Kevin Ansfield 7fb871e1a6 Gave members table a sticky header
no issue

- it's useful to be able to see the column headers anywhere in the list
- prep for having the table header toggle between normal and edit modes where having to scroll back up to the top of the page each time you want to toggle would be a poor experience
2020-06-17 17:37:32 +01:00
Daniel Lockyer 269fe0ed27 v3.20.1 2020-06-17 17:13:05 +01:00
Kevin Ansfield b3d786fed1 Lock file maintenance 2020-06-17 13:29:14 +01:00
renovate[bot] bbbf0d26cc
Update dependency ember-concurrency-decorators to v2 (#1610)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-17 10:30:45 +01:00
Kevin Ansfield a6fe448512 Fixed multiple no-shadow linting errors 2020-06-17 09:35:46 +01:00