Commit Graph

5970 Commits

Author SHA1 Message Date
Fabien 'egg' O'Carroll
b6dfa54b07 Improved UI for custom redirect settings (#1775)
refs https://github.com/TryGhost/Ghost/issues/12366

* Displays URL as absolute, but still stores the path relative to the site 
* Allows pasting absolute URL's or relative
* Does not support external URL's
* Removed redundant "Links" section in Portal settings sidebar

Co-authored-by: Peter Zimon <zimo@ghost.org>
2020-11-20 09:53:08 +00:00
Thibaut Patel
b16b4bcdc7 Added staff personal tokens
refs TryGhost/Ghost#12373
2020-11-20 10:23:19 +01:00
Daniel Lockyer
298e581817 Merged 3.38.2 into master
v3.38.2

* tag '3.38.2':
  v3.38.2
2020-11-19 13:42:20 +00:00
Daniel Lockyer
e80abad341 v3.38.2 2020-11-19 13:40:08 +00:00
renovate[bot]
caec3e003d Update dependency ember-power-select to v4.1.0 (#1769)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-19 11:40:01 +00:00
renovate[bot]
38f37225be Update dependency ember-composable-helpers to v4.3.2 (#1774)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-19 11:39:26 +00:00
Peter Zimon
3cdb63006a Supported custom redirects for member signup (#1768)
refs https://github.com/TryGhost/Ghost/issues/12366

- added form fields for redirects
- updated CSS to handle scrolling

Co-authored-by: Fabien O'Carroll <fabien@allou.is>
2020-11-19 09:59:51 +00:00
Rishabh Garg
7a0defab17 Added new portal links for plan checkout (#1770)
refs TryGhost/Ghost#12365

Portal now allows direct checkout links for monthly/yearly plans via Portal links or data attributes, allowing members to directly signup to a paid plan. This PR adds -

- A new portal signup link for monthly plan - `/signup/monthly`
- A new portal signup link for yearly plan - `/signup/yearly`

Co-authored-by: Peter Zimon <zimo@ghost.org>
2020-11-18 00:00:46 +05:30
Daniel Lockyer
036cd516ed v3.38.1 2020-11-17 16:42:06 +00:00
Daniel Lockyer
9927e9f583 v3.38.0 2020-11-17 13:53:34 +00:00
Peter Zimon
b3354c5f67 Fixed copy in newsletter settings
no refs.
2020-11-16 18:44:39 +01:00
Peter Zimon
d03f0f56fb Fixed extra padding in Members settings
no refs.
- removed extra padding when mailgun configuration is not displayed on Members screen
2020-11-16 18:43:38 +01:00
Sanne de Vries
c71413b0f7 Added descriptive line to each menu item in cardmenu 2020-11-16 17:34:40 +01:00
Peter Zimon
7970917872 Updated email recipient checkbox design
no refs.
- changed email recipient checkboxes to switches in the publish menu so that it's nicely balanced
2020-11-16 16:48:42 +01:00
Peter Zimon
c46198f728 Update post email preview design (#1767)
Made post email preview design consistent with the new email settings design preview.

* changed background

* added fake container windows and faux sender/recipient content

* updated mobile and dark mode
2020-11-16 12:16:51 +01:00
Fabien 'egg' O'Carroll
96f096a839 Added support for basic HTML newsletter footer (#1765)
no-issue

This allows users to use basic HTML to customise their newsletter
footer, meaning they can use links, and bold/italic text.
2020-11-16 10:29:32 +00:00
Peter Zimon
8d8a5d8bc3 Updated scroll area for email settings
no refs.
- updated email settings preview scroll area so that now only the content is scrolling not the whole screen
2020-11-13 16:31:21 +01:00
Peter Zimon
44bcf3b46f Updated dark style for email settings
no refs.
2020-11-13 16:05:00 +01:00
Fabien O'Carroll
65b310d500 Renamed footer setting to newsletterFooterContent
no-issue

This is more generic and matches the setting in the backend.
2020-11-13 13:32:31 +00:00
Fabien 'egg' O'Carroll
fafe7d7b74 Added newsletter footer customisation (#1764)
no-issue

This adds support for customising the newsletter footer with plaintext.
Updates the new modal to use Octane, rather than legacy components.
2020-11-13 13:21:42 +00:00
Peter Zimon
b9ae1f6e95 Updated email address in email settings preview
no refs.
- set actual (dynamic) from address in email settings preview
2020-11-13 12:35:56 +01:00
Peter Zimon
37c5f0ce08 Refined newsletter settings modal
no refs.
- set fake sender, site icon and title dynamic
- removed scrollbar for preview window
2020-11-13 12:18:19 +01:00
Peter Zimon
94581a87f8 Added newsletter customisation options (#1756)
no-issue

This adds three initial customisation options for newsletters:
  1. Show/Hide site title and logo
  2. Set font to serif/sans serif
  3. Display a publish with Ghost badge

This is the first step in allowing customisation of the look and feel of newsletters.

Co-authored-by: Rish <zrishabhgarg@gmail.com>
Co-authored-by: Peter Zimon <zimo@ghost.org>
2020-11-12 14:45:22 +00:00
Kevin Ansfield
f68738ee62 Lock file maintenance 2020-11-12 11:15:02 +00:00
renovate[bot]
440d668b16 Update dependency autoprefixer to v10.0.2 (#1759)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-12 10:08:28 +00:00
renovate[bot]
5118ffb99d Update dependency ember-composable-helpers to v4.3.1 (#1757)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-12 10:08:09 +00:00
Peter Zimon
28888be650 Updated publishmenu copy
no refs.
- updated newsletter recepient checkbox label
2020-11-12 11:00:10 +01:00
Rishabh Garg
7191fe1558 Added member counts to newsletter publish menu (#1760)
refs 6140a98351

- Adds free/paid member counts to newsletter option in publish menu
- Updates default state for newsletter sending option based on number of members for free/paid
- Updates styling for checkboxes based on enabled/disabled state
2020-11-11 22:38:43 +05:30
Renovate Bot
1640ee25b6 Update dependency @tryghost/timezone-data to v0.2.32 2020-11-10 12:37:59 +00:00
Daniel Lockyer
ad98c53cc8 Extracted linting test to separate job
- we don't need to run linting twice as we do currently in the Firefox &
  Chrome jobs
- also pins the Node version to 12.18.0 so we can be sure what Node
  version we're running with
2020-11-10 12:36:56 +00:00
Sanne de Vries
38a8a13e4b Fixed border-radius bug in bookmark cards 2020-11-09 13:37:37 +01:00
renovate[bot]
1197832715 Update dependency @tryghost/kg-parser-plugins to v1.0.10 (#1750)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-09 09:13:30 +00:00
renovate[bot]
bf01771f46 Update dependency ember-moment to v8.0.1 (#1754)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-09 09:11:22 +00:00
renovate[bot]
0bfc13fda0 Update dependency @tryghost/kg-clean-basic-html to v1.0.10 (#1749)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-09 09:10:35 +00:00
renovate[bot]
dceecc30ec Update dependency ember-load-initializers to v2.1.2 (#1752)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-09 09:10:21 +00:00
Renovate Bot
034d27511f Update dependency eslint to v7.13.0 2020-11-09 00:06:39 +00:00
Rishabh Garg
49b86b466a Allowed sending newsletter to free members only (#1751)
refs 6140a98351

This officially decouples the newsletter recipients from the post visibility allowing us to send emails to free members only.
2020-11-07 00:24:27 +05:30
Kevin Ansfield
81ec6729c8 Fixed error when creating a block-editable card in the editor
no issue

The toolbar display/positioning logic was recently changed so that the toolbar is shown when a `saveAsSnippet` action is passed in. However the `_setToolbarProperties` method wasn't taking into account the toolbar element not being present when in editing mode such as when a block-editable card (markdown, html, code) is created.

- remove conditional logic that may change over time and replace it with checks for the toolbar element existing
2020-11-06 18:13:32 +00:00
renovate[bot]
4f86f3ddeb Update CSS preprocessors (#1708)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-05 11:51:51 +00:00
Peter Zimon
74c008fbb3 Fixed setting buttons alignment regression
refs https://github.com/TryGhost/Ghost-Admin/pull/1736 where a style change caused regression in the action button's alignment on settings screens.

- fixed alignment issues
2020-11-05 10:55:43 +01:00
Daniel Lockyer
26003629e1 v3.37.1 2020-11-03 14:00:30 +00:00
Kevin Ansfield
3b87c951c0 🐛 Fixed snippet icon showing in card toolbar for authors/contributors
no issue

- authors/contributors do not have permission to create snippets so the icon should not be displayed
2020-11-03 13:57:11 +00:00
Daniel Lockyer
85a07b3586 v3.37.0 2020-11-03 13:11:42 +00:00
Rishabh Garg
d534bba348 Enabled Portal settings for all sites (#1748)
refs 8ad11fe082

- Removes Portal settings access from behind flag and includes it by default.

Portal script is now enabled as default, the change here allows Site owners to access Portal settings via Ghost-Admin
2020-11-03 14:38:53 +05:30
renovate[bot]
fb25b17d28 Update dependency @tryghost/timezone-data to v0.2.31 (#1747)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-02 15:52:58 +00:00
renovate[bot]
a5fb8ed443 Lock file maintenance (#1742)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-02 15:52:34 +00:00
renovate[bot]
1078007b6c Update dependency @tryghost/string to v0.1.14 (#1746)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-02 15:06:01 +00:00
renovate[bot]
2fc54e3607 Update dependency @tryghost/helpers to v1.1.34 (#1745)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-02 15:05:49 +00:00
renovate[bot]
560c10330d Update dependency ember-auto-import to v1.7.0 (#1744)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-02 15:05:34 +00:00
Peter Zimon
cf9534f31c Fixed truncated label names in members list
no refs.
- fixed Import related labels being truncated in the label filter dropdown list on the Members screen
2020-10-29 18:31:59 +01:00