Thibaut Patel
c37021c575
Published new versions
...
- @tryghost/domain-events@0.1.9
- @tryghost/express-dynamic-redirects@0.2.7
- @tryghost/magic-link@1.0.21
- @tryghost/member-analytics-service@0.1.11
- @tryghost/member-events@0.4.1
- @tryghost/members-analytics-ingress@0.1.12
- @tryghost/members-api@5.3.0
- @tryghost/members-csv@1.2.7
- @tryghost/members-events-service@0.3.2
- @tryghost/members-importer@0.5.4
- @tryghost/members-ssr@1.0.23
- @tryghost/members-offers@0.10.9
- @tryghost/members-payments@0.1.11
- @tryghost/members-stripe-service@0.9.1
- @tryghost/verification-trigger@0.1.6
2022-03-11 22:45:26 +01:00
Renovate Bot
0ad973c8b5
Update dependency mocha to v9.2.2
2022-03-11 18:04:58 +00:00
Thibaut Patel
dafda42e0a
Published new versions
...
- @tryghost/domain-events@0.1.8
- @tryghost/express-dynamic-redirects@0.2.6
- @tryghost/magic-link@1.0.20
- @tryghost/member-analytics-service@0.1.10
- @tryghost/member-events@0.4.0
- @tryghost/members-analytics-ingress@0.1.11
- @tryghost/members-api@5.0.4
- @tryghost/members-csv@1.2.6
- @tryghost/members-events-service@0.1.0
- @tryghost/members-importer@0.5.3
- @tryghost/members-ssr@1.0.22
- @tryghost/members-offers@0.10.8
- @tryghost/members-payments@0.1.10
- @tryghost/members-stripe-service@0.8.4
- @tryghost/verification-trigger@0.1.5
2022-03-01 10:36:48 +01:00
Daniel Lockyer
db696a9272
Added --all
to c8 command
...
refs https://github.com/TryGhost/Toolbox/issues/203
- without `--all`, c8 ignores files that should be included in the
coverage score but aren't used in tests
- this means we have artificially high scores in places where this isn't
used
- this commit adds `--all` where previously missing
- where this fails `--check-coverage`, that has been removed for now
2022-02-21 13:08:55 +01:00
Renovate Bot
d813510a07
Update dependency mocha to v9.2.1
2022-02-21 00:05:27 +00:00
Fabien "egg" O'Carroll
6c1081df23
Published new versions
...
- @tryghost/magic-link@1.0.19
- @tryghost/members-api@5.0.2
- @tryghost/members-csv@1.2.5
- @tryghost/members-importer@0.5.2
- @tryghost/members-ssr@1.0.21
- @tryghost/members-stripe-service@0.8.2
2022-02-17 14:05:22 +02:00
Daniel Lockyer
f229d1077d
Fixed repository link in old packages
...
- these are some of our first packages here and use `master` in their
repository link
- we've since switched the repo to use `main` but these links were not
updated
- this commit updates the links
2022-02-16 09:32:32 +01:00
Daniel Lockyer
a0f716f475
Published new versions
...
- @tryghost/domain-events@0.1.7
- @tryghost/express-dynamic-redirects@0.2.5
- @tryghost/magic-link@1.0.18
- @tryghost/member-analytics-service@0.1.9
- @tryghost/member-events@0.3.5
- @tryghost/members-analytics-ingress@0.1.10
- @tryghost/members-api@5.0.1
- @tryghost/members-csv@1.2.4
- @tryghost/members-importer@0.5.1
- @tryghost/members-ssr@1.0.20
- @tryghost/members-offers@0.10.7
- @tryghost/members-payments@0.1.9
- @tryghost/members-stripe-service@0.8.1
- @tryghost/verification-trigger@0.1.4
2022-02-15 13:42:23 +01:00
Renovate Bot
463317eb76
Update dependency sinon to v13
2022-02-15 13:39:43 +01:00
Renovate Bot
5e91609abb
Update Test & linting packages
2022-02-15 13:35:28 +01:00
Hannah Wolfe
3dcf85d5e4
Ensured correct usage of @tryghost/errors everywhere
...
refs: 23b383bedf
- @tryghost/error constructors take an object, not a string - the expectation is that message, context & help should all be set
- This does the bare minimum and just ensures message is set correctly
2022-02-15 12:30:36 +00:00
Renovate Bot
7c43b14f18
Update dependency @types/node to v16
2022-02-15 12:57:04 +01:00
Thibaut Patel
bb1d5de381
Published new versions
...
- @tryghost/domain-events@0.1.6
- @tryghost/magic-link@1.0.17
- @tryghost/member-analytics-service@0.1.7
- @tryghost/members-analytics-ingress@0.1.8
- @tryghost/members-api@4.5.0
- @tryghost/members-ssr@1.0.19
- @tryghost/members-offers@0.10.6
- @tryghost/members-payments@0.1.8
2022-01-21 17:57:25 +01:00
renovate[bot]
d3dbc81bd3
Update dependency @types/jsonwebtoken to v8.5.8 ( #287 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-21 15:57:51 +02:00
Fabien "egg" O'Carroll
883945886c
Published new versions
...
- @tryghost/domain-events@0.1.5
- @tryghost/express-dynamic-redirects@0.2.4
- @tryghost/magic-link@1.0.16
- @tryghost/member-analytics-service@0.1.6
- @tryghost/member-events@0.3.3
- @tryghost/members-analytics-ingress@0.1.7
- @tryghost/members-api@4.2.0
- @tryghost/members-csv@1.2.3
- @tryghost/members-importer@0.4.1
- @tryghost/members-ssr@1.0.18
- @tryghost/members-offers@0.10.5
- @tryghost/members-payments@0.1.7
- @tryghost/members-stripe-service@0.6.3
2022-01-20 17:49:29 +02:00
Renovate Bot
a2bcff314f
Update dependency c8 to v7.11.0
2022-01-20 14:30:04 +00:00
Fabien "egg" O'Carroll
379fbc7f13
Published new versions
...
- @tryghost/domain-events@0.1.4
- @tryghost/express-dynamic-redirects@0.2.3
- @tryghost/magic-link@1.0.15
- @tryghost/member-analytics-service@0.1.5
- @tryghost/member-events@0.3.2
- @tryghost/members-analytics-ingress@0.1.6
- @tryghost/members-api@3.0.0
- @tryghost/members-csv@1.2.1
- @tryghost/members-importer@0.3.6
- @tryghost/members-ssr@1.0.17
- @tryghost/members-stripe-service@0.5.2
- @tryghost/members-offers@0.10.4
- @tryghost/members-payments@0.1.6
2022-01-10 17:56:12 +02:00
John O'Nolan
b7cd251d5c
2022
2022-01-06 10:09:25 +00:00
Fabien O'Carroll
93a37f98be
Published new versions
...
- @tryghost/domain-events@0.1.3
- @tryghost/express-dynamic-redirects@0.2.1
- @tryghost/magic-link@1.0.14
- @tryghost/member-analytics-service@0.1.4
- @tryghost/member-events@0.3.1
- @tryghost/members-analytics-ingress@0.1.5
- @tryghost/members-api@2.4.0
- @tryghost/members-csv@1.1.8
- @tryghost/members-importer@0.3.4
- @tryghost/members-ssr@1.0.15
- @tryghost/members-stripe-service@0.3.1
- @tryghost/members-offers@0.8.0
- @tryghost/members-payments@0.1.0
2021-10-21 15:44:21 +02:00
Renovate Bot
7a68dc2bd3
Update dependency mocha to v9.1.3
2021-10-20 13:45:40 +00:00
Daniel Lockyer
cc73c4585a
Added codecov.io coverage uploader to CI
...
refs linear.app/tryghost/issue/CORE-74/improve-the-test-situation
- this commit adds the codecov GitHub Action into CI so we can upload
coverage reports
- the coverage files need to be in XML for them to work with
codecov, so this commit also adds cobertura (XML) as a reporter
2021-10-20 13:48:54 +02:00
Fabien O'Carroll
dad54a25b1
Published new versions
...
- @tryghost/domain-events@0.1.2
- @tryghost/magic-link@1.0.13
- @tryghost/member-analytics-service@0.1.2
- @tryghost/member-events@0.2.1
- @tryghost/members-analytics-ingress@0.1.3
- @tryghost/members-api@1.39.0
- @tryghost/members-csv@1.1.7
- @tryghost/members-importer@0.3.3
- @tryghost/members-ssr@1.0.14
- @tryghost/members-stripe-service@0.2.0
2021-09-28 13:40:14 +02:00
Renovate Bot
c13be723e6
Update dependency mocha to v9.1.2
2021-09-28 07:42:20 +00:00
Fabien O'Carroll
71b3a62c79
Published new versions
...
- @tryghost/domain-events@0.1.1
- @tryghost/magic-link@1.0.12
- @tryghost/member-analytics-service@0.1.0
- @tryghost/member-events@0.2.0
- @tryghost/members-api@1.36.0
- @tryghost/members-ssr@1.0.13
2021-09-21 18:42:13 +02:00
renovate[bot]
1c4b51ee53
Update dependency @types/node to v14.17.17 ( #277 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 11:23:56 +02:00
renovate[bot]
af32755cbc
Update dependency @types/nodemailer to v6.4.4 ( #276 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-20 13:53:52 +02:00
Fabien O'Carroll
537c9cb02d
Published new versions
...
- @tryghost/magic-link@1.0.11
- @tryghost/members-api@1.29.1
- @tryghost/members-csv@1.1.6
- @tryghost/members-importer@0.3.2
- @tryghost/members-ssr@1.0.12
2021-09-01 19:12:44 +02:00
Renovate Bot
b0133b3c2e
Update dependency mocha to v9.1.1
2021-08-31 07:43:26 +00:00
Fabien O'Carroll
df753df87a
Published new versions
...
- @tryghost/magic-link@1.0.10
- @tryghost/members-api@1.25.2
- @tryghost/members-csv@1.1.5
- @tryghost/members-importer@0.3.1
- @tryghost/members-ssr@1.0.11
2021-08-23 14:49:21 +02:00
Renovate Bot
2b15530e82
Update dependency mocha to v9.1.0
2021-08-23 02:56:38 +00:00
Naz
fe25f02d86
Published new versions
...
- @tryghost/magic-link@1.0.9
- @tryghost/members-api@1.25.1
- @tryghost/members-csv@1.1.4
- @tryghost/members-importer@0.3.0
- @tryghost/members-ssr@1.0.10
2021-08-20 17:31:40 +04:00
Daniel Lockyer
6e4437c7e4
Added c8 test coverage
...
refs https://github.com/TryGhost/Team/issues/870
- using `c8` allows us to see test coverage for all packages in the repo
- this commit adds `c8` as a dev dependency and prepends the `mocha`
command with `c8` so it runs on all tests
2021-08-20 10:28:07 +02:00
Naz
8fbd24626d
Published new versions
...
- @tryghost/magic-link@1.0.8
- @tryghost/members-api@1.23.2
- @tryghost/members-csv@1.1.3
- @tryghost/members-importer@0.1.2
- @tryghost/members-ssr@1.0.9
2021-07-28 19:14:58 +04:00
Renovate Bot
e4109e38f3
Update dependency sinon to v11.1.2
2021-07-28 13:54:56 +00:00
Renovate Bot
102568a72a
Update dependency mocha to v9.0.3
2021-07-27 04:36:33 +00:00
Fabien O'Carroll
ceec3efe6a
Published new versions
...
- @tryghost/magic-link@1.0.7
- @tryghost/members-api@1.20.3
- @tryghost/members-ssr@1.0.7
2021-07-15 18:19:11 +01:00
Fabien O'Carroll
ac3177e0bb
Fixed require paths and top level js files
...
no-issue
We only include index.js and lib in npm packages.
2021-07-15 18:15:49 +01:00
Fabien O'Carroll
d59051c104
Published new versions
...
- @tryghost/magic-link@1.0.6
- @tryghost/members-api@1.20.0
- @tryghost/members-csv@1.1.2
- @tryghost/members-ssr@1.0.6
2021-07-15 16:34:02 +01:00
Fabien O'Carroll
9102b7527f
Moved MagicLink out of index.js
...
refs https://github.com/TryGhost/Team/issues/879
2021-07-14 14:17:38 +01:00
Fabien O'Carroll
3e1084905e
Removed usage of raw Error class
...
refs https://github.com/TryGhost/Team/issues/879
2021-07-14 14:17:38 +01:00
Renovate Bot
223ee56647
Update Test & linting packages
2021-07-14 14:12:12 +01:00
Fabien O'Carroll
6083e4825f
Removed trailing commas from .eslintrc.js
...
refs https://github.com/TryGhost/Team/issues/879
2021-07-14 12:04:46 +01:00
Fabien O'Carroll
7545e67f2c
Published new versions
...
- @tryghost/magic-link@1.0.5
- @tryghost/members-api@1.18.0
- @tryghost/members-csv@1.1.1
- @tryghost/members-ssr@1.0.5
2021-07-06 11:18:01 +01:00
Daniel Lockyer
21ec26ea08
Removed used of ghost-ignition
dependency
...
no issue
- we're killing off `ghost-ignition` in favor of explicit packages
containing its individual components
- this commit switches the Members repo to using the
`@tryghost/ignition-errors` and `@tryghost/debug` dependencies,
updates the code with relevant changes and removes the `ghost-ignition`
dependency
2021-06-29 21:43:05 +01:00
Fabien O'Carroll
45c3de71d6
Published new versions
...
- @tryghost/magic-link@1.0.4
- @tryghost/members-api@1.15.0
- @tryghost/members-ssr@1.0.4
2021-06-16 18:25:48 +01:00
Renovate Bot
f6e12a3da7
Update dependency ghost-ignition to v4.6.3
2021-06-15 18:28:07 +00:00
Fabien O'Carroll
bac55fcfb7
Published new versions
...
- @tryghost/magic-link@1.0.3
- @tryghost/members-api@1.11.0
- @tryghost/members-ssr@1.0.3
2021-05-24 10:34:04 +01:00
Renovate Bot
dd630a74fc
Update dependency @types/nodemailer to v6.4.1
2021-05-24 10:25:34 +01:00
Renovate Bot
4d98dddc89
Update dependency @types/jsonwebtoken to v8.5.1
2021-05-24 10:24:13 +01:00
Renovate Bot
324c008d3a
Update dependency @types/node to v14
2021-05-24 10:21:52 +01:00
Rish
25a1f7d0b4
Published new versions
...
- @tryghost/magic-link@1.0.2
- @tryghost/members-api@1.3.0
- @tryghost/members-ssr@1.0.2
2021-04-20 17:23:04 +05:30
Renovate Bot
bd3b3738e5
Update dependency ghost-ignition to v4.6.2
2021-04-19 05:22:28 +00:00
Rish
6a05d55e5d
Published new versions
...
- @tryghost/magic-link@1.0.1
- @tryghost/members-api@1.1.1
- @tryghost/members-ssr@1.0.1
2021-04-06 18:44:44 +05:30
Renovate Bot
d5c893ca5b
Update dependency ghost-ignition to v4.6.1
2021-03-31 14:45:04 +00:00
Fabien O'Carroll
0629791824
Published new versions
...
- @tryghost/magic-link@1.0.0
- @tryghost/members-api@1.0.0
- @tryghost/members-csv@1.0.0
- @tryghost/members-ssr@1.0.0
2021-03-10 17:23:30 +00:00
Renovate Bot
5506406dbf
Update dependency ghost-ignition to v4.5.4
2021-03-08 02:15:38 +00:00
Fabien O'Carroll
0d97bd7dd6
Published new versions
...
- @tryghost/magic-link@0.6.7
- @tryghost/members-api@0.37.10
- @tryghost/members-ssr@0.8.11
2021-02-22 14:02:54 +00:00
Renovate Bot
6a7aaf0397
Update dependency ghost-ignition to v4.4.4
2021-02-19 21:24:49 +00:00
Rish
8b3cd5499c
Published new versions
...
- @tryghost/magic-link@0.6.6
- @tryghost/members-api@0.37.7
- @tryghost/members-ssr@0.8.10
2021-02-01 10:25:11 +05:30
Renovate Bot
f823334b15
Update dependency ghost-ignition to v4.4.3
2021-01-28 17:28:39 +00:00
Fabien O'Carroll
8d9340534d
Published new versions
...
- @tryghost/magic-link@0.6.5
- @tryghost/members-api@0.37.4
- @tryghost/members-csv@0.4.3
- @tryghost/members-ssr@0.8.9
2021-01-26 12:02:58 +00:00
John O'Nolan
0e0b2f3cb2
2021
2021-01-25 16:34:32 +00:00
Fabien O'Carroll
c885e024ae
Published new versions
...
- @tryghost/magic-link@0.6.4
- @tryghost/members-api@0.37.3
- @tryghost/members-ssr@0.8.8
2021-01-25 13:21:34 +00:00
Renovate Bot
40ef97e6d3
Update dependency ghost-ignition to v4.4.2
2021-01-25 01:37:03 +00:00
Fabien O'Carroll
07fea2c68c
Published new versions
...
- @tryghost/magic-link@0.6.3
- @tryghost/members-api@0.37.0
- @tryghost/members-csv@0.4.2
- @tryghost/members-ssr@0.8.7
2021-01-18 16:51:19 +00:00
Renovate Bot
af13570076
Update dependency ghost-ignition to v4.3.0
2021-01-14 17:05:36 +00:00
Fabien O'Carroll
bd1173ef9f
Published new versions
...
- @tryghost/magic-link@0.6.2
- @tryghost/members-api@0.35.0
- @tryghost/members-csv@0.3.3
- @tryghost/members-ssr@0.8.6
2020-11-23 16:53:10 +00:00
Renovate Bot
5879193940
Update dependency ghost-ignition to v4.2.4
2020-11-05 12:04:34 +00:00
Renovate Bot
a4d2dcaa8c
Update dependency ghost-ignition to v4.2.3
2020-11-02 01:05:58 +00:00
Rish
06f9eb6dfe
Published new versions
...
- @tryghost/magic-link@0.6.1
- @tryghost/members-api@0.34.1
- @tryghost/members-csv@0.3.2
2020-10-29 12:38:06 +05:30
Rish
1ba68ce72f
Added default value for request src
...
no issue
`getSigninUrl` takes an optional param `requestSrc` to allow customizing signin url based on source like Portal. Fixes tests and adds default value in case no `requestSrc` is present.
2020-10-29 12:10:28 +05:30
Rish
216aeb572e
Added request source option for magic link url
...
no issue
refs https://github.com/TryGhost/Ghost/issues/12253
Currently, Ghost uses standard query params like action, success and stripe for all actions and redirects to a site for member events. This needed to be extended to allow for portal specific query params so it doesn't overlap with specific theme handling or custom notifications.
The change here adds an extra option - `requestSrc` - which can be passed when using magic link API to send a link which is passed down to `getSigninURL`, and allows the `action` param to configured to `portal-action` when magic links are sent from Portal
2020-10-29 11:59:01 +05:30
Fabien O'Carroll
42c2468314
Published new versions
...
- @tryghost/magic-link@0.6.0
- @tryghost/members-api@0.29.0
2020-09-18 13:23:54 +01:00
Fabien O'Carroll
9363d4a3b5
Fixed MagicLink tests
...
no-issue
2020-09-18 13:23:17 +01:00
Fabien O'Carroll
9c093c6beb
Fixed MagicLink tests
...
no-issue
The JWTTokenProvider is now exported from the index
2020-09-18 13:21:46 +01:00
Fabien O'Carroll
97ceb13d42
Moved JWTTokenProvider to lib and exported from index
...
no-issue
This brings the module in line with our current package standards.
2020-09-18 13:20:12 +01:00
Fabien O'Carroll
e38dbc1e6e
Published new versions
...
- @tryghost/magic-link@0.5.0
- @tryghost/members-api@0.28.3
- @tryghost/members-csv@0.3.1
2020-09-18 12:43:56 +01:00
Fabien O'Carroll
de7f5c1383
Updated README to reflect API changes
...
no-issue
2020-09-18 12:42:31 +01:00
Fabien O'Carroll
a208a6c957
Added JWTTokenProvider to preserve functionality
...
no-issue
This allows the magic-link module to be used with the current
functionality with minimal changes
2020-09-18 12:42:31 +01:00
Fabien O'Carroll
37c8c15dd6
Updated magic-link to accept a TokenProvider
...
no-issue
This adds a layer of abstraction between the magic-link module and the
token generation, allowing us to switch out the token generation in the
future, when implementing single use tokens stored in a database
2020-09-18 12:42:31 +01:00
Fabien 'egg' O'Carroll
6957c2725b
Refactored magic-link to be more generic ( #202 )
...
no-issue
This removes the concept of `subject` & `payload` from the function
signatures, making the implementation a little more generic, and less
JWT centric.
We also replace getUserFromToken and getPayloadFromToken with a single
method getDataFromToken, which will contain all the necessary data.
* Updated members-api to use new magic-link module
This updates the usage of magic-link to work with the new interface
* Fixed labels not saving for new members
Due to how bookshelf-relations works, we must fetch the labels before
saving a member, otherwise the labels are all deleted.
* Used a proper class rather than constructor function
This just moves the code to a more modern standard
* Updated methods to be async
This prepares us for a future where token generation and validation may
require access to storage and thus be an asyncronous operation
2020-09-17 15:42:01 +01:00
Daniel Lockyer
85800c57f7
Published new versions
...
- @tryghost/magic-link@0.4.13
- @tryghost/members-api@0.25.2
- @tryghost/members-ssr@0.8.5
2020-08-11 09:10:32 +01:00
Daniel Lockyer
56ef95c397
Updated ghost-ignition dependency
...
- this will resolve the lodash warnings when running `yarn audit`
2020-08-11 09:08:54 +01:00
Fabien O'Carroll
20e3b6cc8a
Published new versions
...
- @tryghost/magic-link@0.4.12
- @tryghost/members-api@0.25.0
- @tryghost/members-ssr@0.8.4
2020-07-24 13:48:27 +02:00
Renovate Bot
8137d5aa72
Update dependency mocha to v6.2.3
2020-07-23 13:04:38 +00:00
Fabien O'Carroll
9dc22b2bb2
Published new versions
...
- @tryghost/magic-link@0.4.11
- @tryghost/members-api@0.24.1
- @tryghost/members-ssr@0.8.3
2020-07-21 12:02:36 +02:00
Renovate Bot
f94f1bc107
Update dependency @types/node to v12.12.51
2020-07-20 22:51:48 +00:00
Renovate Bot
cd2a8511c8
Update dependency @types/node to v12.12.50
2020-07-10 17:06:24 +00:00
renovate[bot]
0687210bfc
Update dependency ghost-ignition to v4 ( #108 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-10 16:36:33 +02:00
Renovate Bot
be854f4c59
Update dependency @types/node to v12.12.49
2020-07-10 14:04:19 +00:00
Nazar Gargol
5b909735fd
Published new versions
...
- @tryghost/magic-link@0.4.10
- @tryghost/members-api@0.23.1
- @tryghost/members-csv@0.2.1
- @tryghost/members-ssr@0.8.2
2020-07-08 20:23:05 +12:00
Renovate Bot
587c95b0d0
Update dependency @types/node to v12.12.48
2020-07-06 22:13:49 +00:00
Rish
a136e5f839
Published new versions
...
- @tryghost/magic-link@0.4.9
- @tryghost/members-api@0.20.1
- @tryghost/members-ssr@0.8.1
2020-06-10 16:32:14 +05:30
Renovate Bot
ec81ccfbeb
Update dependency @types/node to v12.12.47
2020-06-09 22:59:06 +00:00
Renovate Bot
7fbe60c104
Update dependency @types/node to v12.12.46
2020-06-09 18:18:20 +00:00
Renovate Bot
4761601219
Update dependency @types/node to v12.12.45
2020-06-08 20:22:23 +00:00
Renovate Bot
937584f290
Update dependency @types/node to v12.12.44
2020-06-04 23:18:43 +00:00
Kevin Ansfield
88146dc3a3
Published new versions
...
- @tryghost/magic-link@0.4.8
- @tryghost/members-api@0.20.0
- @tryghost/members-ssr@0.8.0
2020-06-04 13:27:14 +01:00
Renovate Bot
141be65d5e
Update dependency @types/node to v12.12.43
2020-06-02 00:38:29 +00:00
Daniel Lockyer
730ddc2ae6
Published new versions
...
- @tryghost/magic-link@0.4.7
- @tryghost/members-api@0.18.7
- @tryghost/members-ssr@0.7.10
2020-05-25 13:11:54 +01:00