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
Fabien O'Carroll
f2a8387bdb
Published new versions
...
- @tryghost/members-api@0.24.0
2020-07-09 17:36:06 +02:00
Fabien 'egg' O'Carroll
ac923af0f7
Refactored webhook creation ( #175 )
...
no-issue
* Refactored model dependencies
This groups all of the model depenencies into a single models object,
and renames the models with more concise identifiers
* Fixed spacing
* Added webhook support to metadata
* Refactored stripe configure to have better logging
* Refactored webhook creation to reuse existing webhook
* Installed @types/stripe
2020-07-09 16:40:48 +02:00
Rish
68dbfb707d
Published new versions
...
- @tryghost/members-api@0.23.2
2020-07-08 21:50:30 +05:30
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
Fabien O'Carroll
1b51ed7a5d
Published new versions
...
- @tryghost/members-api@0.23.0
2020-06-18 18:03:46 +02:00
Hannah Wolfe
aa0b02b75e
Published new versions
...
- @tryghost/members-api@0.22.0
2020-06-12 17:11:14 +01:00
Nazar Gargol
7872355962
Published new versions
...
- @tryghost/members-api@0.21.0
2020-06-12 15:36:07 +12: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
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
Rish
8891777681
Published new versions
...
- @tryghost/members-api@0.19.0
2020-05-28 20:37:29 +05:30
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
Fabien O'Carroll
24e13651a8
Published new versions
...
- @tryghost/members-api@0.18.6
2020-05-25 13:38:11 +02:00
Rish
ce72aa40a0
Published new versions
...
- @tryghost/magic-link@0.4.6
- @tryghost/members-api@0.18.5
- @tryghost/members-ssr@0.7.9
2020-05-20 14:34:40 +05:30
Rish
23e343d3b4
Published new versions
...
- @tryghost/magic-link@0.4.5
- @tryghost/members-api@0.18.4
- @tryghost/members-ssr@0.7.8
2020-05-19 22:03:56 +05:30
Rish
ef9fa8e623
Published new versions
...
- @tryghost/magic-link@0.4.4
- @tryghost/members-api@0.18.3
- @tryghost/members-ssr@0.7.7
2020-04-30 16:08:09 +05:30
Renovate Bot
2c14a337ad
Update dependency jsdom to v15.2.1
2020-04-27 15:15:52 +00:00
Rish
66e106e3ac
Published new versions
...
- @tryghost/magic-link@0.4.3
- @tryghost/members-api@0.18.2
- @tryghost/members-ssr@0.7.6
2020-04-21 15:32:00 +05:30
Nazar Gargol
07cb94d57e
Published new versions
...
- @tryghost/magic-link@0.4.2
- @tryghost/members-api@0.18.1
- @tryghost/members-ssr@0.7.5
2020-04-17 14:09:59 +12:00
Renovate Bot
808aa8f9a3
Update dependency nock to v12.0.3
2020-03-17 12:25:52 +00:00
Renovate Bot
f628708317
Update Test & linting packages
2020-03-17 03:20:46 +00:00
Renovate Bot
f341891fd2
Pin dependency nock to 12.0.0
2020-03-17 02:15:32 +00:00
Nazar Gargol
95ab4e7b51
Published new versions
...
- @tryghost/members-api@0.18.0
2020-03-04 11:36:06 +08:00
Kevin Ansfield
7fb1c2e07e
Published new versions
...
- @tryghost/members-api@0.17.0
2020-02-27 10:35:43 +00:00
Kevin Ansfield
615a482c48
✨ Store geolocation data during member signup/signin ( #128 )
...
requires f38d490886
- adds `lib/geolocation.js` with `getGeolocationFromIP()` function which uses https://geojs.io to lookup geolocation data from an IPv4 or IPv6 address
- updates `create/updateMember()` functions to work with a `geolocation` property in the passed in object
- if `geolocation` is `undefined` when updating a member do not reset any existing property
- updates `sendMagicLink` middleware to extract the IP address from the request and stores it as part of the token payload
- updates `getMemberDataFromMagicLinkToken()` method to extract the IP address from the token payload and perform a geolocation lookup if we have an IP address and a matching member does not already have geolocation data
2020-02-27 10:29:36 +00:00
Nazar Gargol
fb7fa87c3b
Published new versions
...
- @tryghost/members-api@0.16.2
2020-02-27 17:09:59 +08:00
Nazar Gargol
fbe153cc97
Published new versions
...
- @tryghost/members-api@0.16.1
2020-02-27 13:53:46 +08:00
Nazar Gargol
71395fcfcb
Published new versions
...
- @tryghost/members-api@0.16.0
2020-02-26 12:11:21 +08:00
Nazar Gargol
56c4c664c2
Published new versions
...
- @tryghost/members-api@0.15.1
2020-02-17 16:26:50 +08:00
Rish
cf6b9501ca
Published new versions
...
- @tryghost/magic-link@0.4.1
- @tryghost/members-api@0.15.0
2020-02-12 16:44:08 +05:30
Nazar Gargol
5e2256833c
Published new versions
...
- @tryghost/members-api@0.14.2
2020-02-11 14:04:12 +08:00
Nazar Gargol
38bfef2b83
Published new versions
...
- @tryghost/members-api@0.14.1
2020-02-10 19:01:34 +08:00
Nazar Gargol
6de6a15376
Published new versions
...
- @tryghost/magic-link@0.4.0
- @tryghost/members-api@0.14.0
2020-02-06 18:04:18 +08:00
Nazar Gargol
e4637ac56f
Published new versions
...
- @tryghost/members-api@0.13.0
2020-01-28 19:01:14 +07:00
Nazar Gargol
cf0d52c2da
Published new versions
...
- @tryghost/members-api@0.12.0
2020-01-27 12:35:37 +07:00
Nazar Gargol
89b78a883d
Published new versions
...
- @tryghost/members-api@0.11.4
2020-01-22 12:54:34 +07:00
Nazar Gargol
92b3cc3758
Published new versions
...
- @tryghost/members-api@0.11.3
2020-01-20 15:59:38 +07:00
Rish
47f5ca6625
Published new versions
...
- @tryghost/members-api@0.11.2
2020-01-20 13:32:20 +05:30
Nazar Gargol
be207f98e7
Published new versions
...
- @tryghost/members-api@0.11.1
2020-01-15 15:40:54 +07:00
Nazar Gargol
911d5a27fe
Published new versions
...
- @tryghost/magic-link@0.3.3
- @tryghost/members-api@0.11.0
- @tryghost/members-ssr@0.7.4
2020-01-13 15:54:59 +07:00
Nazar Gargol
ef3de2a295
Published new versions
...
- @tryghost/members-api@0.10.2
2019-12-12 15:27:45 +07:00
Fabien O'Carroll
231218c4e6
Published new versions
...
- @tryghost/members-api@0.10.1
2019-12-09 14:31:12 +02:00
Nazar Gargol
fe462ae706
Published new versions
...
- @tryghost/members-api@0.10.0
2019-12-06 13:29:27 +07:00
Fabien O'Carroll
9da1a18770
Published new versions
...
- @tryghost/magic-link@0.3.2
- @tryghost/members-api@0.9.0
- @tryghost/members-ssr@0.7.3
2019-11-05 18:22:07 +07:00
Renovate Bot
2ce0c5a992
Update Test & linting packages
2019-11-01 13:40:10 +07:00
Fabien O'Carroll
a35d947413
Published new versions
...
- @tryghost/magic-link@0.3.1
- @tryghost/members-api@0.8.3
- @tryghost/members-ssr@0.7.2
2019-10-30 15:24:07 +07:00
Renovate Bot
f233d5fc71
Update dependency cookies to ^0.8.0
2019-10-14 12:38:53 +07:00
Fabien O'Carroll
ebbf4e69f9
Published new versions
...
- @tryghost/magic-link@0.3.0
- @tryghost/members-api@0.8.2
2019-10-11 12:03:51 +07:00
Fabien O'Carroll
5d2e20fbb7
Published new versions
...
- @tryghost/magic-link@0.2.2
- @tryghost/members-api@0.8.1
2019-10-10 20:21:23 +07:00
Fabien O'Carroll
2c4732b46d
Published new versions
...
- @tryghost/magic-link@0.2.1
- @tryghost/members-api@0.8.0
- @tryghost/members-ssr@0.7.0
2019-10-09 10:51:35 +07:00
Fabien O'Carroll
3d7c28a7f9
Published new versions
...
- @tryghost/members-api@0.7.7
2019-10-06 21:19:23 +07:00
Fabien O'Carroll
3550452cd5
Published new versions
...
- @tryghost/members-api@0.7.6
2019-10-03 17:23:21 +07:00
Fabien O'Carroll
88832fa923
Published new versions
...
- @tryghost/members-api@0.7.5
- @tryghost/members-ssr@0.6.0
2019-10-02 18:21:10 +07:00
Fabien O'Carroll
17a141f271
Published new versions
...
- @tryghost/members-api@0.7.4
2019-10-02 15:16:32 +07:00
Fabien O'Carroll
e54b61297c
Published new versions
...
- @tryghost/members-api@0.7.3
2019-10-02 15:06:10 +07:00
Fabien O'Carroll
ea5503f58d
Published new versions
...
- @tryghost/members-api@0.7.2
2019-10-02 13:52:10 +07:00
Fabien O'Carroll
11a5a9ac69
Published new versions
...
- @tryghost/members-api@0.7.1
2019-10-01 17:48:31 +07:00
Fabien O'Carroll
d85ea20ad2
Published new versions
...
- @tryghost/magic-link@0.2.0
- @tryghost/members-api@0.7.0
2019-10-01 14:47:27 +07:00
Fabien O'Carroll
5170c7c1d4
Published new versions
...
- @tryghost/magic-link@0.1.4
- @tryghost/members-api@0.6.2
- @tryghost/members-ssr@0.5.2
2019-10-01 11:21:07 +07:00
Renovate Bot
ab023e1df9
Update Test & linting packages
2019-09-30 01:35:30 +00:00
Fabien O'Carroll
f966907c78
Published new versions
...
- @tryghost/members-api@0.6.1
2019-09-26 17:14:08 +07:00
Fabien O'Carroll
ff0dc6a168
Published new versions
...
- @tryghost/magic-link@0.1.3
- @tryghost/members-api@0.6.0
- @tryghost/members-ssr@0.5.1
2019-09-25 17:13:00 +07:00
Fabien O'Carroll
58cb25fe86
Published new versions
...
- @tryghost/magic-link@0.1.2
- @tryghost/members-api@0.5.3
- @tryghost/members-browser-auth@0.2.3
- @tryghost/members-gateway-api@0.1.7
- @tryghost/members-ssr@0.5.0
- @tryghost/members-theme-bindings@0.2.6
2019-09-16 14:01:13 +08:00
Fabien O'Carroll
8b54a91b60
Published new versions
...
- @tryghost/members-api@0.5.2
2019-09-15 11:50:11 +08:00
Fabien O'Carroll
b834c70559
Published new versions
...
- @tryghost/magic-link@0.1.1
- @tryghost/members-api@0.5.1
- @tryghost/members-auth-pages@1.1.3
- @tryghost/members-browser-auth@0.2.2
- @tryghost/members-gateway-api@0.1.6
- @tryghost/members-gateway-protocol@0.1.4
- @tryghost/members-ssr@0.4.0
- @tryghost/members-theme-bindings@0.2.5
2019-09-09 15:53:10 +08:00
Renovate Bot
84f9e69a50
Update dependency sinon to v7.4.2
2019-09-09 13:57:00 +08:00
Fabien O'Carroll
cb3cedd9df
Published new versions
...
- @tryghost/members-api@0.5.0
- @tryghost/members-ssr@0.3.1
2019-09-06 14:56:19 +08:00
Fabien O'Carroll
95ed945f6d
Published new versions
...
- @tryghost/members-api@0.4.1
- @tryghost/members-auth-pages@1.1.2
2019-09-05 11:01:48 +08:00
Fabien O'Carroll
33ff98f789
Published new versions
...
- @tryghost/magic-link@0.1.0
- @tryghost/members-api@0.4.0
- @tryghost/members-auth-pages@1.1.1
- @tryghost/members-browser-auth@0.2.1
- @tryghost/members-gateway-api@0.1.5
- @tryghost/members-gateway-protocol@0.1.3
- @tryghost/members-ssr@0.3.0
- @tryghost/members-theme-bindings@0.2.4
2019-09-03 18:25:17 +08:00
Fabien O'Carroll
af6c897a14
Updated members-api to use magic-link
...
no-issue
This removes a *lot* of funtionality, stripping the members-api module
to *only* handle the magic link signin flow.
2019-09-03 15:35:04 +08:00
Renovate Bot
6276c82888
Update dependency sinon to v7.4.1
2019-08-12 05:28:29 +00:00
Renovate Bot
017c24992f
Roll back dependency sinon to 7.3.2
2019-08-12 00:30:26 +00:00
Renovate Bot
b8ae86a8ea
Update dependency sinon to v7.4.0
2019-08-05 01:28:22 +00:00
Renovate Bot
97d34b2aa1
Update dependency mocha to v6.2.0
2019-07-22 01:28:44 +00:00
Fabien O'Carroll
283c5fea58
Published new versions
...
- @tryghost/members-api@0.3.0
2019-07-17 18:23:25 +08:00
Fabien O'Carroll
1fb969ad36
Refactored to improve logging and error handling
...
* Installed stripe@7.4.0
refs #38
We were relying on stripe being installed in Ghost, this moves the dep
to the correct package.
* Created exponentialBackoff wrapper for stripe api
refs #38
https://stripe.com/docs/testing#rate-limits The stripe docs suggest to
use exponential backoff when recieving a rate limit error. This wrapper
will wrap stripe api calls, and retry them after 1s,2s,4s,8s,16s until
eventually failing. This gives a total of 5 retries over 31s.
* Added wrappers around the stripe api calls
refs #38
* Ensured all calls to stripe api go via exp backoff
refs #38
* Scaffolding out the error handling for stripe api
* Forwarding all errors
* Refactored stripe api into modules
* Ensured the ready promise object is not replaced
* Added logging setup
- Sets up common logger structure with custom logger passed through
* Ensure logger is kept in module state
* Renamed updateLogger to setLogger
* Removed `logger` param and exposed setLogger method
* Ensured different ids used for test mode
* Ensure setLogger works for prototype methods
* Removed reconfigureSettings method
* Updated payment processer service to keep static ready promise
* Added eventemitter to member api instance to handle errors
* Moved logging of errors to http level
2019-07-17 18:20:13 +08:00
Fabien O'Carroll
20c60e4de3
Published new versions
...
- @tryghost/members-api@0.2.0
- @tryghost/members-browser-auth@0.1.3
- @tryghost/members-gateway-api@0.1.4
- @tryghost/members-theme-bindings@0.2.2
2019-07-09 15:39:16 +08:00
Fabien O'Carroll
f220ee10c7
Published new versions
...
- @tryghost/members-api@0.1.2
- @tryghost/members-auth-pages@0.2.2
- @tryghost/members-browser-auth@0.1.2
- @tryghost/members-gateway-api@0.1.3
- @tryghost/members-gateway-protocol@0.1.2
- @tryghost/members-theme-bindings@0.2.0
2019-06-25 14:22:42 +07:00
Renovate Bot
ca998d0529
Update dependency jsdom to v15.1.1
2019-06-03 01:27:16 +00:00
Renovate Bot
32a13bf561
Update dependency jsdom to v15.1.0
2019-05-13 02:30:08 +00:00
Fabien O'Carroll
4633ea06e4
Published new versions
...
- @tryghost/members-api@0.1.1
- @tryghost/members-auth-pages@0.1.2
2019-05-07 17:40:25 +02:00
Fabien O'Carroll
986791d091
Added package.json and deps for members-api
...
no-issue
2019-05-07 17:35:17 +02:00