Renovate Bot
8a93a747cf
Update dependency autoprefixer to v9.6.1
2019-09-09 02:34:11 +00:00
Renovate Bot
04d5f0b0b6
Update dependency @types/node to v12.7.4
2019-09-09 01:28:21 +00: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
4ead495b45
Ensured that destroying member removes stripe customer
...
no-issue
This also mean sthe subscription will be cancelled
2019-09-06 14:30:27 +08:00
Fabien O'Carroll
ec3948287f
Added subscription data when fetching member
2019-09-06 14:30:27 +08:00
Fabien O'Carroll
4f1bc288c5
Added support for stripe checkout payments
2019-09-06 14:30:27 +08:00
Fabien O'Carroll
61561a5af6
Added stripe payments module
2019-09-06 14:30:27 +08:00
Fabien O'Carroll
7376a333c2
Removed lib/subscriptions
...
no-issue
This is no longer used
2019-09-06 14:30:27 +08:00
Fabien O'Carroll
1c5ba6056a
Removed lib/cookies
...
no-issue
This is no longer used
2019-09-06 14:30:27 +08:00
Fabien O'Carroll
8bfcc37ad4
Removed lib/util
...
no-issue
This is no longer used
2019-09-06 14:30:27 +08:00
Fabien O'Carroll
64738adfc0
Removed gateway
...
no-issue
This is no longer needed
2019-09-06 14:30:27 +08:00
Fabien O'Carroll
198e525d59
Fixed getMemberIdentiyTokenFromSession
...
no-issue
This did not have the cookieConfig passed, so could not correctly parse request
2019-09-06 14:30:27 +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
ffd20f74f0
Exported members from members-api
...
no-issue
This allows consumers of the service to fetch members with payment info
2019-09-05 11:00:46 +08:00
Fabien O'Carroll
e8efb21676
Removed members-auth-pages yarn.lock
...
no-issue
Should not have existed
2019-09-03 18:46:56 +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
d9fd07ef7f
Fixed getMemberIdentityData method
...
no-issue
The users.get method expects an object with email prop
2019-09-03 18:21:04 +08:00
renovate[bot]
6e3f89691d
Update dependency eslint to v6 ( #43 )
2019-09-03 17:03:20 +08:00
renovate[bot]
7438b928bc
Update dependency grunt-shell to v3 ( #25 )
2019-09-03 17:03:12 +08:00
renovate[bot]
d0143d1130
Update dependency react-stripe-elements to v5 ( #49 )
2019-09-03 16:55:54 +08:00
renovate[bot]
047484a51b
Pin dependencies ( #21 )
2019-09-03 16:53:48 +08:00
Fabien O'Carroll
75a6ccf669
Updated members-ssr to work with members-api
...
no-issue
This updaes the ssr package to work with the new magic link signin method
2019-09-03 15:35:04 +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
Fabien O'Carroll
fa54dc569e
Created @tryghost/magic-link module ( #50 )
...
* slimer create magic-link
Created the initial magic-link project
* Added usage section to README
* Installed types and deps for magic-link
* Added tsconfig.json
* Initial commit for magic-link module
* Renamed hello.test.js -> index.test.js
* Added initial basic test
* Removed test util directory
* Updated ecmaVersion for test eslint parserOptions
* Added tests for MagicLink
* Added language to README usage codeblock
* Updated sendMagicLink to return SentMessageInfo
* Updated README
* Updated README usage example
* Fixed types
2019-09-03 11:07:03 +08:00
Renovate Bot
c2d43cc3c4
Update dependency eslint-plugin-ghost to v0.5.0
2019-08-26 01:27:38 +00:00
Renovate Bot
6276c82888
Update dependency sinon to v7.4.1
2019-08-12 05:28:29 +00:00
Renovate Bot
7e2f6bc7f5
Update dependency browserify to v16.5.0
2019-08-12 03:26:43 +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
bd5d2a664b
Published new versions
...
- @tryghost/members-ssr@0.2.1
2019-07-17 18:07:35 +08:00
Fabien O'Carroll
21123d4061
Fixed getMemberDataFromSession usage of membersApi
...
no-issue
Since we allow the membersApi to be a thunk - we must wrap all
references to it in a call to get
2019-07-17 18:05:38 +08:00
Fabien O'Carroll
5a4efd2eec
Published new versions
...
- @tryghost/members-ssr@0.2.0
2019-07-17 15:07:16 +08:00
Fabien O'Carroll
942187f48e
Added support for passing thunk for membersApi
...
no-issue
This is to allow support for consumers to dynamically update their
membersApi instance, for example when configuration changes, and not
have to replace the instance of members-ssr
2019-07-17 15:06:20 +08:00
Fabien O'Carroll
192f27b5bd
Published new versions
...
- @tryghost/members-auth-pages@1.1.0
- @tryghost/members-browser-auth@0.2.0
- @tryghost/members-theme-bindings@0.2.3
2019-07-09 18:45:57 +08:00
Fabien O'Carroll
474c495331
Stopped browser-auth editing src of auth-pages frame
...
refs #36
This removes the behaviour of forcing the `src` property to change when
opening the auth pages and insteads posts a message "asking" the auth
pages to update the location hash.
2019-07-09 18:44:53 +08:00
Fabien O'Carroll
550ea70c9c
Allowed auth-pages to update location from message
...
refs #36
This will allow the members-browser-auth library to post messages to the
auth-pages iframe, asking it to update the location from inside the
frame.
2019-07-09 18:44:53 +08:00
Fabien O'Carroll
f89677b1ce
Published new versions
...
- @tryghost/members-auth-pages@1.0.0
2019-07-09 15:49:47 +08:00
Fabien O'Carroll
54560050c6
Updated auth-pages to use new members static url ( #35 )
...
refs https://github.com/TryGhost/Ghost/issues/10886
Since updating the static pages, the auth pages would be broken, this
updates them to correctly parse and load the static urls.
2019-07-09 15:49:05 +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
34f7b2c7d6
Updated members-api to export a router instance
...
no-issue
This was the original design, to make it easy to incorporate into
another application, but the URL structure in Ghost did not allow for
it, we've since learnt that the URL structure _should_ be how it is
here, so we can export a router with both the auth endpoints and the
static files for the gateway
2019-07-09 15:23:11 +08:00
Renovate Bot
584d725e12
Update dependency eslint-plugin-ghost to v0.4.0
2019-07-08 02:24:52 +00:00
Renovate Bot
44e37f3ed5
Update dependency browserify to v16.3.0
2019-07-08 01:25:08 +00:00
Renovate Bot
cc096d5c84
Update dependency eslint-plugin-ghost to v0.3.0
2019-07-01 01:28:27 +00:00
Fabien O'Carroll
3475975519
Published new versions
...
- @tryghost/members-theme-bindings@0.2.1
2019-06-25 14:58:43 +07:00
Fabien O'Carroll
99a8ae197e
Fixed createSession call on signedin event
...
no-issue
This was missing the ssrUrl property.
2019-06-25 14:52:42 +07: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
Fabien O'Carroll
979af9f234
Removed hardcoded url values
...
no-issue
This gives greater flexibility in the application which handles the urls
for this, allowing the urls to be changed and configured in only one
codebase.
2019-06-25 14:18:07 +07:00