Daniel Lockyer
ce3dee0dd4
Updated Ghost-Admin to v3.38.3
2020-11-23 17:34:33 +00:00
Fabien 'egg' O'Carroll
47e266e6d3
Added cancellation_reason column to stripe subscriptions ( #12405 )
...
refs #12403
This will allow us to store the reason for each individual subscription
cancellation.
2020-11-23 15:36:14 +00:00
Peter Zimon
03dae728cb
Fixed sans-serif link style
...
no refs.
- fixed regression that links in emails with sans-serif setting wasn't underlined
2020-11-23 15:28:25 +00:00
Peter Zimon
bf9820f97d
Fixed sans-serif link style
...
no refs.
- fixed regression that links in emails with sans-serif setting wasn't underlined
2020-11-23 15:50:02 +01:00
Renovate Bot
3d85625fb1
Update dependency @sentry/node to v5.27.6
2020-11-23 12:45:54 +00:00
Daniel Lockyer
fc9e107254
Revert "Bumped Node version used for Ghost-CLI tests"
...
- this reverts commit a43f4dc4de
- we can't use Node 12 here because Ghost v1 doesn't support it...
2020-11-23 11:22:23 +00:00
Daniel Lockyer
a43f4dc4de
Bumped Node version used for Ghost-CLI tests
...
- our recommended version is Node 12 so we should use this
- possibly also solves some random CI failures we were seeing with
sqlite3 not installing?
2020-11-23 11:18:48 +00:00
Renovate Bot
68856821db
Update dependency @sentry/node to v5.27.5
2020-11-23 10:39:17 +00:00
Renovate Bot
48ab8e2e6c
Update dependency @tryghost/session-service to v0.1.12
2020-11-23 09:55:05 +00:00
Renovate Bot
7fa0669ce5
Update dependency @tryghost/mw-session-from-token to v0.1.11
2020-11-23 09:54:56 +00:00
Renovate Bot
25bd4253a6
Update dependency @tryghost/adapter-manager to v0.2.2
2020-11-23 09:54:45 +00:00
Fabien 'egg' O'Carroll
f8b617af64
Supported redirecting externally after signup ( #12391 )
...
refs #12391
Adds support for redirecting to external URL's after successful signup for members.
2020-11-23 09:36:45 +00:00
Naz
5c4e884070
Added support for graceful job shutdown and worker threads
...
refs #12402
- With bumped version of job-manager it offloads job procesing into separate worker thread. Having jobs run out of main Ghost process even loop allows for safe job execution, which does not block Ghost from serving requests or performing other functions without a delay
- Added experimental data access to 'testmode' jobs. This should serve as an illustration of how to access data from the job layer
2020-11-23 17:17:49 +13:00
Renovate Bot
73911f7ba4
Update dependency eslint to v7.14.0
2020-11-23 00:05:58 +00:00
Naz
6ba6e9c307
Removed unused authors input serializer
...
refs https://github.com/TryGhost/Ghost/issues/10354
- The serializer wasn't hooked up properly during the implementation (1a4497fc9a
). It is not possible to hook it back in now as that would introduce breaking change to now stable v2 API.
- v3 (canary) has is properly hooked in, so there should not be a problem going forward
2020-11-23 11:35:02 +13:00
Thibaut Patel
bda4e0da70
Fixed Personal Tokens migration file name
...
no ref
2020-11-20 10:35:31 +01:00
Thibaut Patel
5fefa9fe96
Disabled Personal Tokens of inactive/locked users
...
no issue
2020-11-20 09:53:18 +01:00
Thibaut Patel
d48febbbd8
Added Personal Token removal when a user is deleted
...
no issue
2020-11-20 09:53:18 +01:00
Thibaut Patel
4edccfd2f7
Added the Admin API and tests for Personal Tokens.
...
no issue
2020-11-20 09:53:18 +01:00
Thibaut Patel
be4146e324
Enabled authentication using an api key with a user_id
...
no issue
- Enables the Personal Tokens feature.
2020-11-20 09:53:18 +01:00
Thibaut Patel
214ed405cc
Added the user_id field to the api_keys table
...
no issue
- Migration related to the Personal Tokens feature.
2020-11-20 09:53:18 +01:00
Daniel Lockyer
736c96439b
Increased sleep delay before killing Ghost in CI tests
...
- We'd randomly see SQLite take more than 10 seconds to set up the DB in
CI so Ghost was getting killed prematurely, causing test failures
2020-11-20 08:41:59 +00:00
Fabien 'egg' O'Carroll
38d19c999d
Removed search params from custom signup redirects ( #12386 )
...
refs #12366
This means that custom redirects will not trigger the built in notifications handled by Portal.
2020-11-19 14:47:08 +00:00
Daniel Lockyer
49197a6597
Merged 3.38.2 into master
...
* origin/3.38.2:
v3.38.2
Updated Ghost-Admin to v3.38.2
🐛 Added missing Bluebird require in v2 API
2020-11-19 13:43:18 +00:00
Daniel Lockyer
560aac1ae6
v3.38.2
2020-11-19 13:40:09 +00:00
Daniel Lockyer
20bd729191
Updated Ghost-Admin to v3.38.2
2020-11-19 13:40:08 +00:00
Daniel Lockyer
c72ecf6a96
🐛 Added missing Bluebird require in v2 API
...
- this was missed in the original pass when removing the global Promise
override
2020-11-19 13:36:15 +00:00
Renovate Bot
aefd88ace4
Update dependency @tryghost/adapter-manager to v0.2.1
2020-11-19 11:03:04 +00:00
Renovate Bot
7e89ca661c
Update dependency @tryghost/mw-session-from-token to v0.1.10
2020-11-19 11:02:29 +00:00
Renovate Bot
ce06fde00d
Update dependency @tryghost/security to v0.2.2
2020-11-19 11:02:08 +00:00
Renovate Bot
c6146ff4d7
Update dependency @tryghost/zip to v1.1.6
2020-11-19 11:01:57 +00:00
Fabien 'egg' O'Carroll
9ba3e96790
Redirected to custom path on successful signup ( #12372 )
...
refs #12366
This implements redirection based on the settings for successful member sign up!
- Removes support for redirecting to `req.path` afterwards, this was never used and
we now have a more configurable implementation.
- Retains redirection to the homepage for unsuccessful sign up (invalid/expired token)
2020-11-19 09:58:32 +00:00
Renovate Bot
874403d3ae
Update dependency @tryghost/job-manager to v0.3.0
2020-11-19 08:41:37 +00:00
Renovate Bot
23554b75a8
Update dependency @tryghost/session-service to v0.1.11
2020-11-19 08:41:11 +00:00
Fabien 'egg' O'Carroll
2600a20f54
Added new settings for members signup redirects ( #12370 )
...
refs #12366
Adds two new settings for redirecting members after signup, based on if
they're paid or free, defaulting to the current redirect of "/"
2020-11-17 17:17:54 +00:00
Daniel Lockyer
001cf6bb29
v3.38.1
2020-11-17 16:42:06 +00:00
Daniel Lockyer
dccbaf847c
Updated Ghost-Admin to v3.38.1
2020-11-17 16:42:06 +00:00
Fabien 'egg' O'Carroll
8ad995203e
🐛 Fixed migration for SQLite3 ( #12371 )
...
no-issue
The current version of SQLite3 bundled with Ghost supports a maximum of 999
variables, we use one variable for the SET value and so we're left with 998 for the
WHERE IN clause values.
refs: https://forum.ghost.org/t/unable-to-start-ghost-3-38-0-locally/18322
2020-11-17 16:39:42 +00:00
Daniel Lockyer
6b8bfb81fc
Fixed canary build on release commits
...
- because the Admin submodule has been updated, there aren't any
differences that can be committed so we shouldn't do it
- this should check if we have uncommitted changes and only commit if so
2020-11-17 14:23:44 +00:00
Daniel Lockyer
fb82b7a734
v3.38.0
2020-11-17 13:53:34 +00:00
Daniel Lockyer
99c24ca109
Updated Ghost-Admin to v3.38.0
2020-11-17 13:53:34 +00:00
Daniel Lockyer
e20b5723d6
Updated Casper to v3.1.2
2020-11-17 13:53:33 +00:00
Fabien 'egg' O'Carroll
bfc152bede
Fixed handling of email_recipient_filter option ( #12369 )
...
no-issue
This logic would assume that the option was always passed at the point
of publishing the post, which is not the case for scheduled posts.
Instead of setting the property to 'none' when the option is not
present, we take the approach of ONLY setting the propery when
1. It is present and not 'none'
2. The post is being published or scheduled
This means that scheduled posts will have the property set correctly,
and any future publishing will leave the it in the original state
2020-11-17 11:00:03 +00:00
Rish
f53ab0f52b
Updated default config for newsletter badge
...
no refs
- Migrations were using previous default for badge which was set to `false`
- Default config for badge was `false` which caused migration to switch off the badge, updated to `true`
2020-11-17 16:06:31 +05:30
Daniel Lockyer
249c4a3e83
Enabled cloning of submodules in migrations test
...
- we start Ghost in this test but Ghost will check Casper, which isn't
cloned without this commit
2020-11-17 09:16:03 +00:00
fueko
8db835a057
Removed unneeded "type='text/css'" in members styles ( #12329 )
...
no issue
- Removed unneeded "type='text/css'" attribute from style tag when loading member related styles.
- Having this attribute makes W3C validation fail.
- Reference on style tag's "type" attribute - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style#attr-type
2020-11-17 15:28:51 +13:00
Naz
6268d9c324
Refactored UrlGenerator simplifying conditional logic
...
no issue
- The logic inside the if/esle conditions was duplicated and made it confusing to reason about.
- This change is not effecting the underlying logic at all
2020-11-17 13:09:22 +13:00
Naz
05e12d4b5a
Added jsdocs to UrlGenerator/Resource classes
...
no issue
- The @param {Resource} syntax was not semantically correct. After the change TypeScript is picking up a correct parameter
2020-11-17 13:05:40 +13:00
Daniel Lockyer
33bc3c9011
Refactored column migrations to use helpers ( #12360 )
...
- these helpers remove a lot of the duplicated code that we had when doing up/down column migrations, and provides a much shorter way of doing this in the future
2020-11-16 11:55:51 +00:00
Peter Zimon
02d78a89aa
Udpated email template footer spacings
...
no refs.
- updated padding between Ghost badge and rest of the footer
2020-11-16 12:31:37 +01:00