Commit graph

635 commits

Author SHA1 Message Date
Hongbo Wu
5da6a5e036 Fix setLabelsForHighlights integration tests 2022-08-09 10:10:07 +08:00
Hongbo Wu
427cecf6b9 Update syncedAt after syncing 2022-08-09 09:51:31 +08:00
Hongbo Wu
134482a261 Add integration tests for integration router 2022-08-08 23:11:35 +08:00
Hongbo Wu
7ac45ca748 Add deleteIntegration API and integration tests 2022-08-08 18:34:13 +08:00
Hongbo Wu
4aa62d6031 Add list integrations API and integration tests 2022-08-08 18:12:44 +08:00
Hongbo Wu
0cf3f58258 Add integration tests for setIntegration API 2022-08-08 17:09:23 +08:00
Hongbo Wu
8070273dad Fix tests 2022-08-05 16:10:33 +08:00
Hongbo Wu
22ce59a198 Enqueue or delete sync task when create or disable integration 2022-08-05 16:09:26 +08:00
Hongbo Wu
5a8184da3a Add taskName in integrations table 2022-08-05 16:09:26 +08:00
Hongbo Wu
eb2ee5ab55 Add task to handle sync with integrations 2022-08-05 16:09:26 +08:00
Hongbo Wu
c0c58bf751 Only sync pages that were updated after syncedAt 2022-08-05 16:09:26 +08:00
Hongbo Wu
8e9d1fcc4f Update integration syncedAt if successful 2022-08-05 16:09:26 +08:00
Hongbo Wu
bd73da0571 Add syncedAt field in integrations table 2022-08-05 16:09:26 +08:00
Hongbo Wu
8aa7ccdd1e Add INTEGRATION_TASK_HANDLER_URL in env 2022-08-05 16:09:26 +08:00
Hongbo Wu
971bbfda7f Add integrations service router to sync pages with integrations 2022-08-05 16:09:26 +08:00
Hongbo Wu
24caac2ed5 Update integration updatedAt after syncing 2022-08-05 16:09:26 +08:00
Hongbo Wu
8f50285ad5 Allow search page by highlight or label id 2022-08-05 16:09:24 +08:00
Hongbo Wu
fa97c9511c Add Readwise create highlight API integration 2022-08-05 16:08:20 +08:00
Hongbo Wu
73bf695cf3 Add function to get highlight start location 2022-08-05 16:08:20 +08:00
Hongbo Wu
b8dbcdb2bd Add createHighlight API integration for Readwise 2022-08-05 16:08:20 +08:00
Hongbo Wu
dd2db71876 Add createIntegration API implementation 2022-08-05 16:08:20 +08:00
Hongbo Wu
e66d047d51 Add createIntegration API to the GQL schema 2022-08-05 16:08:20 +08:00
Hongbo Wu
db27ac7d59 Add integration entity 2022-08-05 16:08:20 +08:00
Hongbo Wu
977bd1deda Fix tests 2022-08-05 11:44:02 +08:00
Hongbo Wu
f2319bd70d Fix conflicts after rebasing 2022-08-04 21:56:38 +08:00
Hongbo Wu
73ce9072f3 Add test for afterLabel not exists 2022-08-04 21:39:45 +08:00
Hongbo Wu
eee918c522 Fix test Con't 2022-08-04 21:39:45 +08:00
Hongbo Wu
4916bdf1f3 Fix tests 2022-08-04 21:39:45 +08:00
Hongbo Wu
7c73982fe3 Add test for moving to the top 2022-08-04 21:39:45 +08:00
Hongbo Wu
ace5628c11 Add integration test 2022-08-04 21:39:43 +08:00
Hongbo Wu
a95f532e44 Add moveLabel api implementation 2022-08-04 21:38:36 +08:00
Hongbo Wu
b12607887e Add moveLable api in gql Schema 2022-08-04 21:38:05 +08:00
Hongbo Wu
31d8f72840 Sort labels by position order 2022-08-04 21:37:32 +08:00
Hongbo Wu
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
Hongbo Wu
92d3ab0195
Merge pull request #1035 from omnivore-app/feature/sync-api
feature/sync api
2022-08-04 20:33:05 +08:00
Hongbo Wu
70deb348cf Fix not getting correct sender email address from forwarding email by Gmail rules 2022-08-04 18:50:23 +08:00
Satindar Dhillon
c076dd0f72 add mobile email sign up endpoint 2022-08-01 21:54:10 -07:00
Satindar Dhillon
c01d9a7021 server returns a pendingEmailVerification boolean in auth payload 2022-08-01 21:54:10 -07:00
Satindar Dhillon
6a100051ac add mobile email sign in route to api 2022-08-01 21:54:10 -07:00
Hongbo Wu
446a9903e8 Fix tests 2022-07-29 21:22:55 +08:00
Hongbo Wu
a9a88a21d2 Add integration tests for updatesSince API resolver 2022-07-29 18:11:52 +08:00
Hongbo Wu
336d06375a Add updatesSince API resolver 2022-07-29 18:11:18 +08:00
Hongbo Wu
7ce183d6f8 Add soft delete of pages by updating page state to Deleted 2022-07-29 18:10:05 +08:00
Hongbo Wu
83f988bb35 Soft delete articles 2022-07-29 15:53:13 +08:00
Hongbo Wu
07c6214e88 Add DELETED state to the article 2022-07-29 14:08:35 +08:00
Hongbo Wu
b976b6098d Add updatesSince API in GQL schema 2022-07-29 12:11:48 +08:00
Jackson Harper
6d19c8c9bc Remove unused import 2022-07-28 11:43:16 -07:00
Jackson Harper
1525742b4e Linting fixes 2022-07-28 11:23:27 -07:00
Jackson Harper
565da42b46 When parsing newsletters with no url dont fetch the generated url 2022-07-28 11:05:17 -07:00
Hongbo Wu
469910f2bd Add addressparser types dependency 2022-07-28 11:37:14 +08:00