Commit Graph

600 Commits

Author SHA1 Message Date
92d3ab0195 Merge pull request #1035 from omnivore-app/feature/sync-api
feature/sync api
2022-08-04 20:33:05 +08:00
c076dd0f72 add mobile email sign up endpoint 2022-08-01 21:54:10 -07:00
c01d9a7021 server returns a pendingEmailVerification boolean in auth payload 2022-08-01 21:54:10 -07:00
6a100051ac add mobile email sign in route to api 2022-08-01 21:54:10 -07:00
446a9903e8 Fix tests 2022-07-29 21:22:55 +08:00
a9a88a21d2 Add integration tests for updatesSince API resolver 2022-07-29 18:11:52 +08:00
336d06375a Add updatesSince API resolver 2022-07-29 18:11:18 +08:00
7ce183d6f8 Add soft delete of pages by updating page state to Deleted 2022-07-29 18:10:05 +08:00
83f988bb35 Soft delete articles 2022-07-29 15:53:13 +08:00
07c6214e88 Add DELETED state to the article 2022-07-29 14:08:35 +08:00
b976b6098d Add updatesSince API in GQL schema 2022-07-29 12:11:48 +08:00
6d19c8c9bc Remove unused import 2022-07-28 11:43:16 -07:00
1525742b4e Linting fixes 2022-07-28 11:23:27 -07:00
565da42b46 When parsing newsletters with no url dont fetch the generated url 2022-07-28 11:05:17 -07:00
469910f2bd Add addressparser types dependency 2022-07-28 11:37:14 +08:00
ec9247bc8a Add addressparser dependency 2022-07-28 10:44:44 +08:00
3a120b8f47 Return empty name if name not found in from header 2022-07-28 10:37:28 +08:00
c99c1db57e Add support to the case when from address is in Name <address> format 2022-07-28 10:26:15 +08:00
0bdab51bbd Merge pull request #1021 from omnivore-app/feature/save-from-email
Save articles by sending emails to omnivore inbox
2022-07-27 20:10:31 +08:00
87efb85a6e Fix tests, Cont 2022-07-27 13:11:04 +08:00
f286a89a5f Fix tests 2022-07-27 12:32:49 +08:00
d5cc05e787 Merge pull request #1020 from omnivore-app/fix/email-login-pages
Add confirm email landing page
2022-07-26 21:16:56 -07:00
dfa0a65d15 Add tests for email forward router 2022-07-27 12:15:28 +08:00
6f11ccacb1 Save article from forwarding emails 2022-07-27 12:15:28 +08:00
d184ca8d04 Add function isProbablyArticle to test if a forwarded email contains an article to save 2022-07-27 12:15:26 +08:00
ca33f31ebb Merge pull request #1014 from omnivore-app/dependabot/npm_and_yarn/opentelemetry/instrumentation-pg-0.30.0
Bump @opentelemetry/instrumentation-pg from 0.29.0 to 0.30.0
2022-07-26 16:11:46 -07:00
c80270ae81 Update expected redirect URLs in tests 2022-07-26 15:58:38 -07:00
779ff1f020 Reset password is a directory now 2022-07-26 15:57:40 -07:00
65689ca538 Remove extra /auth in paths 2022-07-26 15:57:18 -07:00
3c442c06ba Set auth token cookie on success login 2022-07-26 15:56:40 -07:00
8b072ab094 Update expected URLs for tests
- after email is sent the user is redirected to an information page
- after login the user is redirected through the sso page
2022-07-26 15:18:56 -07:00
6cad41ec1e Linting fixes 2022-07-26 15:00:31 -07:00
769c9b23b0 Use SSO redirection to set both client and server cookies with email login 2022-07-26 14:48:24 -07:00
e939f12eb1 Remove unneeded branches 2022-07-26 14:28:39 -07:00
074ec781a2 Set auth cookie after reseting password 2022-07-26 12:46:13 -07:00
dc268a2216 Handle resetting passwords 2022-07-26 12:33:56 -07:00
acd36fe9af Move auth routes into /auth folder 2022-07-26 10:31:45 -07:00
072b2dd9c5 Revert "Add Set-Cookie header"
This reverts commit cb23613cdc.
2022-07-26 14:12:37 +08:00
2d9f4a0194 Redirect to the verify-email informational page after sign up 2022-07-25 23:09:01 -07:00
cb23613cdc Add Set-Cookie header 2022-07-26 14:06:11 +08:00
dca9066f19 Continue fix RLS issue of updating user table 2022-07-26 13:41:02 +08:00
29ed803ae5 Fix RLS issue of updating user table 2022-07-26 13:31:36 +08:00
82da9e6ede use sendgrid template for confirmation and password-reset email 2022-07-25 15:14:01 -07:00
8d5da15064 use template id stored in env 2022-07-25 15:14:01 -07:00
fe180c5b50 add confirm-email and password-reset email template id in env 2022-07-25 15:14:01 -07:00
560f95b57e fix test 2022-07-25 15:14:01 -07:00
43d2216983 fix test 2022-07-25 15:14:01 -07:00
024d4bd25c stop referring to user entity before migration 2022-07-25 15:14:01 -07:00
bd77a7f8ee add test for reset password 2022-07-25 15:14:01 -07:00
6699ec834d add router handler for reset password 2022-07-25 15:14:01 -07:00