Commit Graph

543 Commits

Author SHA1 Message Date
e4ea49c05f add confirm-email router 2022-07-25 15:14:01 -07:00
9ea9bd9ea1 send confirmation email to pending user when login 2022-07-25 15:14:01 -07:00
bd2327a3ae test set auth token after login 2022-07-25 15:14:01 -07:00
abb1a414c1 remove login gql resolver 2022-07-25 15:13:58 -07:00
86b950183c fix test 2022-07-25 15:13:32 -07:00
f7053622a5 remove signup gql resolver 2022-07-25 15:13:30 -07:00
80639311d7 improve confirmation email format 2022-07-25 15:12:56 -07:00
068684d16b add test for failing to send confirmation email when signup 2022-07-25 15:12:56 -07:00
d284a3d302 fake sendMail in sign up test 2022-07-25 15:12:56 -07:00
638294e17b fake sendMail in testing 2022-07-25 15:12:56 -07:00
01c4bbad00 delete pending user if failed to send confirmation email 2022-07-25 15:12:56 -07:00
b0a0020fc7 fix return false when sending failed 2022-07-25 15:12:56 -07:00
4e11000ac0 add return type 2022-07-25 15:12:56 -07:00
7a11d90d2c use mocha in the test 2022-07-25 15:12:56 -07:00
7339a0daf3 add sinon and sinon-chai for faking sendMail 2022-07-25 15:12:55 -07:00
e4e985cfce add more test 2022-07-25 15:12:55 -07:00
d187c6c993 use general sender for confirmation email 2022-07-25 15:12:55 -07:00
d108806234 make sender address nullable env var 2022-07-25 15:12:55 -07:00
b52043bd95 add a test to check if use has a pending status after creation 2022-07-25 15:12:55 -07:00
b98f7c6ba2 reject with unknow reason if failed to send confirmation email 2022-07-25 15:12:55 -07:00
1ea34bde62 send confirmation email to pending user 2022-07-25 15:12:55 -07:00
7293469468 use sender email address in env 2022-07-25 15:12:55 -07:00
bd5b289168 add verification token generation 2022-07-25 15:12:55 -07:00
1346140a20 add sender email address in env 2022-07-25 15:12:55 -07:00
ba73eec9e5 create pending user first 2022-07-25 15:12:55 -07:00
35e060890e add status to user entity 2022-07-25 15:12:55 -07:00
c113c94567 Add param validation so we dont get undefined values passed to GQL 2022-07-21 17:43:15 -07:00
ff629b2fed Merge pull request #992 from omnivore-app/fix/email-urls
Use email-signup instead of email-registration as path to match naming
2022-07-19 16:02:00 -07:00
e0a4478400 Merge pull request #954 from omnivore-app/feat/extension-commands
Extension: support right click saveurl and shortcut key to save current tab
2022-07-19 15:37:18 -07:00
d6a6b1de66 Use email-signup instead of email-registration as path to match naming 2022-07-19 13:02:28 -07:00
b86d9a08b9 Bump @google-cloud/logging-winston from 4.2.2 to 5.1.1
Bumps [@google-cloud/logging-winston](https://github.com/googleapis/nodejs-logging-winston) from 4.2.2 to 5.1.1.
- [Release notes](https://github.com/googleapis/nodejs-logging-winston/releases)
- [Changelog](https://github.com/googleapis/nodejs-logging-winston/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/nodejs-logging-winston/compare/v4.2.2...v5.1.1)

---
updated-dependencies:
- dependency-name: "@google-cloud/logging-winston"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 21:59:44 +00:00
65f28fe708 add revue.email to the revue newsletter attribute selectors 2022-07-18 10:44:39 +08:00
345c020dea fix not saving loqseq weekly newsletter due to no url 2022-07-17 12:36:52 +08:00
4b8749ed43 Remove debug line 2022-07-16 12:40:54 -07:00
0bcb8a23c5 Use new API methods for saving 2022-07-16 12:17:58 -07:00
cb506fcf93 Remove extra quote from report string 2022-07-14 20:33:06 -07:00
1aac5c606e remove coverage criteria on branch 2022-07-14 19:34:31 +08:00
c3ef286cc5 fix set labels for highlight test 2022-07-14 19:31:51 +08:00
c0f6ed11d5 disable pdf and upload testing temporarily because we do not have a bucket for testing 2022-07-14 19:13:51 +08:00
6d28d31e6b fix getNewsletterUrl test 2022-07-14 18:43:35 +08:00
4d0e770114 fix delete account test 2022-07-14 18:32:15 +08:00
3efa10a362 fix typeahead search test 2022-07-14 18:25:20 +08:00
c87ddb68d3 disable saveFile temporarily because we do not have a bucket for testing 2022-07-14 18:11:31 +08:00
edd44fcafc fix get article test 2022-07-14 17:56:55 +08:00
7d2d2ff410 fix api key test 2022-07-14 17:47:48 +08:00
404798a01e use correct index name 2022-07-14 17:08:40 +08:00
4eb55846fd create elastic index if not exists in testing 2022-07-14 16:53:23 +08:00
7759648efd update test coverage threshold 2022-07-14 12:06:55 +08:00
5a8e2c40c7 fix delete users db permission error 2022-07-13 16:08:46 +08:00
098771f566 Merge pull request #955 from omnivore-app/fix/duplicate-save
check if page saved by adding links before creating by extension
2022-07-13 11:57:20 +08:00