Commit Graph

482 Commits

Author SHA1 Message Date
427cecf6b9 Update syncedAt after syncing 2022-08-09 09:51:31 +08:00
134482a261 Add integration tests for integration router 2022-08-08 23:11:35 +08:00
7ac45ca748 Add deleteIntegration API and integration tests 2022-08-08 18:34:13 +08:00
4aa62d6031 Add list integrations API and integration tests 2022-08-08 18:12:44 +08:00
0cf3f58258 Add integration tests for setIntegration API 2022-08-08 17:09:23 +08:00
8070273dad Fix tests 2022-08-05 16:10:33 +08:00
22ce59a198 Enqueue or delete sync task when create or disable integration 2022-08-05 16:09:26 +08:00
5a8184da3a Add taskName in integrations table 2022-08-05 16:09:26 +08:00
eb2ee5ab55 Add task to handle sync with integrations 2022-08-05 16:09:26 +08:00
c0c58bf751 Only sync pages that were updated after syncedAt 2022-08-05 16:09:26 +08:00
8e9d1fcc4f Update integration syncedAt if successful 2022-08-05 16:09:26 +08:00
bd73da0571 Add syncedAt field in integrations table 2022-08-05 16:09:26 +08:00
8aa7ccdd1e Add INTEGRATION_TASK_HANDLER_URL in env 2022-08-05 16:09:26 +08:00
971bbfda7f Add integrations service router to sync pages with integrations 2022-08-05 16:09:26 +08:00
24caac2ed5 Update integration updatedAt after syncing 2022-08-05 16:09:26 +08:00
8f50285ad5 Allow search page by highlight or label id 2022-08-05 16:09:24 +08:00
fa97c9511c Add Readwise create highlight API integration 2022-08-05 16:08:20 +08:00
73bf695cf3 Add function to get highlight start location 2022-08-05 16:08:20 +08:00
b8dbcdb2bd Add createHighlight API integration for Readwise 2022-08-05 16:08:20 +08:00
dd2db71876 Add createIntegration API implementation 2022-08-05 16:08:20 +08:00
e66d047d51 Add createIntegration API to the GQL schema 2022-08-05 16:08:20 +08:00
db27ac7d59 Add integration entity 2022-08-05 16:08:20 +08:00
977bd1deda Fix tests 2022-08-05 11:44:02 +08:00
7c73982fe3 Add test for moving to the top 2022-08-04 21:39:45 +08:00
a95f532e44 Add moveLabel api implementation 2022-08-04 21:38:36 +08:00
b12607887e Add moveLable api in gql Schema 2022-08-04 21:38:05 +08:00
31d8f72840 Sort labels by position order 2022-08-04 21:37:32 +08:00
5e2e2a2151 Merge pull request #1044 from omnivore-app/fix/email-forwarding
Fix not getting correct sender email address from forwarding email by Gmail rules
2022-08-04 21:37:13 +08:00
92d3ab0195 Merge pull request #1035 from omnivore-app/feature/sync-api
feature/sync api
2022-08-04 20:33:05 +08:00
70deb348cf Fix not getting correct sender email address from forwarding email by Gmail rules 2022-08-04 18:50:23 +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
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
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
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
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
6cad41ec1e Linting fixes 2022-07-26 15:00:31 -07:00