Commit Graph

5752 Commits

Author SHA1 Message Date
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
Rish
b9e9265c45 Updated default icon handling for portal settings
no issue

- Adds mapping for default svg icons to keys
- Updates custom icon check to not include default icons
- Updated settings update to save default icon key on update
2020-07-22 16:16:29 +05:30
Rish
c6a42a925c Updated portal preview setting for free plan selection
no issue

- Portal preview's free plan selection for Signup in settings was disabled because of old setting check
- Updates the disabled check to use correct self signup property
2020-07-22 13:19:37 +05:30
Daniel Lockyer
90d8057c84 Updated Renovate config
no issue

- automerge patches and minors
2020-07-21 16:57:05 +01:00
Daniel Lockyer
f3ad5d6552 v3.26.0 2020-07-21 13:45:56 +01:00
Amit Chambial
0607e47630 🐛 Fixed incorrect font size in editor when using code tags in headings (#1619)
closes https://github.com/TryGhost/Ghost/issues/11814

- replace font-size from rem to em (same size that is used in ghost)
2020-07-21 11:35:48 +01:00
renovate[bot]
10852d0c51 Lock file maintenance (#1624)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-20 12:40:26 +01:00
renovate[bot]
7d846c7460 Update dependency ember-cli-chart to v3.7.1 (#1640)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-20 12:26:31 +01:00
Kevin Ansfield
cf1a0112bd Increased testem's browser_start_timeout to 120s
no issue

- we're seeing random failures in CI with the error "Browser failed to connect within 30s. testem.js not loaded?"
- bumped the timeout to 120s to determine if it's due to occasional CI-related slowness or something else
2020-07-20 12:20:26 +01:00
Kevin Ansfield
8824888ce7 Switched over to public {{in-element}} API
no issue

- Ember 3.20.0 introduced `{{in-element}}` as a public API in place of the now-deprecated `{{-in-element}}` private API
- replaced our usage of the private API with the public API
2020-07-20 12:10:17 +01:00
renovate[bot]
9ea7aa5c86 Update ember core (#1637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-20 12:02:51 +01:00
renovate[bot]
1fd294d6a2 Update dependency grunt to v1.2.1 (#1629)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-20 12:00:07 +01:00
Renovate Bot
2e1c489765 Update dependency eslint to v7.5.0 2020-07-20 05:35:34 +00:00
Peter Zimon
369cdf9fa2 Updated Stripe connect disconnect error UI
no refs.
- added logic to show either the disconnect error or the connected status to make the UI less dense
2020-07-17 19:07:20 +02:00
Rish
59ce29e19a Added custom error message handling for newsletter email failures
refs https://github.com/TryGhost/Ghost/issues/11971

- Newsletter preview email request has been using hardcoded fixed error message
- Reads custom error message from server's API response to show when available
2020-07-17 13:54:31 +05:30
Peter Zimon
6a60811d80 Aligned selected tab style in Portal settings
no refs.
- made main tab style same as icon selector for consistency
2020-07-17 10:13:05 +02:00
Peter Zimon
66ae9f6a38 Applied selected style to Portal preview tabs
no refs.
- added border to selected tab on Portal settings preview
2020-07-17 10:02:32 +02:00
Peter Zimon
42240c8be0 Refined Portal settings main area topbar
no refs.
- changed preview tab style to buttons for better discoverability
2020-07-17 09:53:15 +02:00
Peter Zimon
41daa5fada Moved Portal settings button to top
no refs.
- moved cancel and save buttons to top to save space and resolve conflict with Portal button
2020-07-17 09:19:47 +02:00
Peter Zimon
c30ba921d5 Renamed "Modal settings" to "Portal settings"
no refs.
2020-07-16 16:55:00 +02:00
Peter Zimon
dba7522470 Resized Portal preview iframe
no refs.
- made Portal preview iframe a bit smaller to make sure users get the UI context
2020-07-16 16:51:45 +02:00
Peter Zimon
058193f9e4 Updated Portal preview area tabs
no refs.
- added active style to Portal settings preview area
2020-07-16 16:37:54 +02:00
Peter Zimon
9102f3d51a Styled links section in Portal settings
no refs.
- applied basic styles to link section in sidebar of Portal settings
2020-07-16 16:01:39 +02:00
Peter Zimon
aba652ec56 Portal settings sidebar refinements
no refs.
- refined typography, colors and layout
- using built in admin icons for portal button icon temporarily
- styled icons for future usage with inline svgs
2020-07-16 15:25:09 +02:00
Peter Zimon
7ff098aae6 Basic design cleanup of Portal preview area
no refs.
- applied basic spacing and typography to Portal preview area
2020-07-16 15:25:09 +02:00
Nazar Gargol
670c33f2fe Reenabled members importer tests
refs 2bf69f94e7

- Tests were temporary disabled to unblock the release.
- The solution for failing tests was adding a "waitFor" statement which allowed asyncronous CSV parsing to finish
2020-07-16 23:59:48 +12:00
Fabien 'egg' O'Carroll
97feab1002 🐛 Fixed email newsletter settings (#1641)
closes https://github.com/TryGhost/Ghost/issues/12052

* Added breaking test for mailgun settings

* 🐛 Fixed mailgun settings to always set a baseUrl

This matches the functionality seen before the bulk_email_settings were
split, where the baseUrl was set when any of the mailgun settings were.
2020-07-16 11:13:36 +02:00
Rish
4b0f1a18d6 Fixed incorrect self-signup setting for portal modal
no issue

- Portal modal was using incorrect `allowSelfSignup` value post settings refactor
- Updated to use correct setting for free signup to correctly disable/enable checkbox
2020-07-16 11:12:00 +05:30
Fabien 'egg' O'Carroll
1f9854a6f8 Added UI for AMP GA Tracking ID (#1638)
refs https://github.com/TryGhost/Ghost/pull/12039

Adds the initial UI for setting the `amp_gtag_id` setting
2020-07-15 13:45:31 +02:00
Peter Zimon
9e3a935bd7 Basic Portal sidebar stylings
no refs.
- cleaned up `style` attributes
- applied basic styles to sidebar UI elements
2020-07-15 13:18:58 +02:00
Rish
a38d7ddb19 🐛 Fixed broken structured data previews
closes https://github.com/TryGhost/Ghost/issues/11385

- Updates og and twitter description to use correct fallbacks for posts/pages
- Updates og and twitter description to use correct fallback for tags
- Updates og and twitter title to use correct name format for tags
2020-07-15 12:06:03 +05:30
Renovate Bot
63ea14327a Update dependency ember-concurrency-decorators to v2.0.1 2020-07-14 14:33:26 +00:00
Fabien 'egg' O'Carroll
ed1aa5262c Fixed typo in tag settings 2020-07-14 15:48:31 +02:00
Daniel Lockyer
dfe98db7b5 v3.25.0 2020-07-13 14:52:35 +01:00
Peter Zimon
a409a3464e Fixed typos in tag meta data
no refs.
- fixed capitalisation on tag meta data properties
2020-07-13 15:42:34 +02:00
Fabien 'egg' O'Carroll
ffdde799b8 Added UI for setting tag metadata (#1632)
no-issue

* Updated tag model with new metadata fields
* Updated Tag setting UI to handle metadata

Co-authored-by: Peter Zimon <zimo@ghost.org>
2020-07-13 14:58:13 +02:00
Nazar Gargol
2bf69f94e7 Removed developerExperiments flag from behind updated members importer
no issue

- Removes redesigned members importer features from behind `enableDeveloperExperiments` flag enabling it by default for everyone
- Had to disable some of the tests for future investigation to unblock the release
2020-07-13 23:55:07 +12:00
Nazar Gargol
caf08b1021 Fixed members CSV uploader for non-devExperiments version 2020-07-13 20:30:32 +12:00
Nazar Gargol
21a5b2ad38 Updated mapping validation error copy 2020-07-13 17:29:10 +12:00