Commit Graph

2929 Commits

Author SHA1 Message Date
7b3eb56d33 Merge pull request #1036 from omnivore-app/feature/readwise-integration-api
feature/readwise integration api
2022-08-09 10:26:35 +08:00
5da6a5e036 Fix setLabelsForHighlights integration tests 2022-08-09 10:10:07 +08:00
427cecf6b9 Update syncedAt after syncing 2022-08-09 09:51:31 +08:00
80c77c28a4 Merge pull request #1045 from omnivore-app/feature/use-sync-api-ios
Sync API (iOS)
2022-08-08 10:33:15 -07:00
8c1d012128 add a reset core data option in manage account menu 2022-08-08 10:18:49 -07:00
b60fb42606 remove .searchable navbar workaround since we no longer use searchable on link item detail 2022-08-08 10:15:22 -07:00
752411e76f fetch linkedItem in task rather than init for linkedItemDetailView (avoids coredata crash when logging out) 2022-08-08 10:07:59 -07:00
e180006ba0 make sure labels are loaded before fetching items 2022-08-08 09:24:43 -07:00
f7abcf09d1 fix: make sure applied filter is saved correctly to user defaults 2022-08-08 08:55:14 -07:00
c84737a1a6 clear last sync time value when resetting core data 2022-08-08 08:47:51 -07: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
4ebdf09a7f Merge pull request #1049 from omnivore-app/fix/ask-unsubscribe-confirmation 2022-08-08 13:27:22 +08:00
1e9d99ab66 Merge pull request #1048 from omnivore-app/fix/login-button-colors 2022-08-08 13:18:02 +08:00
2416efadb2 Ask for confirmation when unsubscribing 2022-08-08 12:57:37 +08:00
9c57d638ae Use app environment to get the proper web url for forgot-password 2022-08-08 12:28:55 +08:00
814b766b72 Use the CTA button color for email login 2022-08-08 11:32:21 +08:00
36a834c878 Format sync date when saving/restoring. Create date before sync starts
We want to create the sync date before the sync starts so we make
sure there isn't a race condition between our processing of items
and the server receiving new changes.
2022-08-08 10:34:06 +08:00
06481d21d3 fetch labels from network if none are found in core data 2022-08-05 06:59:19 -07:00
609aff48fc remove existing labels on an item before assigning a new set 2022-08-05 06:32:40 -07: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
a6c9eb08e1 Fix conflicts after rebasing 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
1e1b573c52 Add integrations table in db 2022-08-05 16:08:20 +08:00
f6df97c85d Merge pull request #1046 from omnivore-app/fix/email-subject-parsing-error
Use parsed from, to and subject from email headers
2022-08-05 15:53:51 +08:00
977bd1deda Fix tests 2022-08-05 11:44:02 +08:00
7d608ed2cb Use parsed from, to and subject from email headers 2022-08-05 10:03:09 +08:00
16fa403201 use sync items query to update core data list 2022-08-04 14:46:38 -07:00
7bb1f92def add linkedItemUpdates data service function 2022-08-04 09:25:41 -07:00
23379a825f Merge pull request #1026 from omnivore-app/feature/allow-labels-ordering
feature/allow labels ordering
2022-08-04 22:11:50 +08:00
f2319bd70d Fix conflicts after rebasing 2022-08-04 21:56:38 +08:00
73ce9072f3 Add test for afterLabel not exists 2022-08-04 21:39:45 +08:00
eee918c522 Fix test Con't 2022-08-04 21:39:45 +08:00