Commit graph

102 commits

Author SHA1 Message Date
Satindar Dhillon
401a8bbbe6 update article attributes when refetching pending items 2022-05-08 21:42:21 -07:00
Satindar Dhillon
a2a7a2a232 handle content fetch errors in web reader 2022-05-04 15:20:44 -07:00
Satindar Dhillon
7d3ad10aa0 treat unknown link content status as succeeded (since older items don't return a status) 2022-05-03 11:47:30 -07:00
Jackson Harper
eb31288e41 Fix params to saveUrl on iOS 2022-05-03 10:26:43 -07:00
Satindar Dhillon
c39ab2d5f7 retry article content fetches when server returns a .processing state 2022-05-02 20:30:57 -07:00
Satindar Dhillon
3cf0888c54 include pending linked when fetching 2022-05-02 11:13:10 -07:00
Satindar Dhillon
938576693a update swift gql schema 2022-05-02 10:56:52 -07:00
Satindar Dhillon
8b71188a26 fetch and store pdf data in core data 2022-04-28 13:57:02 -07:00
Satindar Dhillon
ffe1eed6b6 remove extra combine imports 2022-04-28 12:49:06 -07:00
Satindar Dhillon
ffdcb605c7 use async urlsession func to submit google token 2022-04-28 12:49:06 -07:00
Satindar Dhillon
d7acfe69f8 track link read events 2022-04-28 11:44:18 -07:00
Satindar Dhillon
0e8d5f23da move article content fetching into fewer functions 2022-04-27 20:55:57 -07:00
Satindar Dhillon
fb4312e52a update delete labels function to work from core data 2022-04-27 20:11:50 -07:00
Satindar Dhillon
acb1ae6c53 use credata for updating item labels 2022-04-27 18:06:57 -07:00
Satindar Dhillon
824c889ec6 update label creator to generate a temp id on the client 2022-04-27 15:39:20 -07:00
Satindar Dhillon
6cf1f0e0fb convert remonder creation to async 2022-04-27 13:53:30 -07:00
Satindar Dhillon
cffda791a8 convert newsletter email publisher to async 2022-04-27 11:54:03 -07:00
Satindar Dhillon
090c1acbfd convert email creation to async 2022-04-27 09:48:44 -07:00
Satindar Dhillon
93f11a4949 convery items publisher to async func 2022-04-26 08:53:55 -07:00
Satindar Dhillon
f51338083e use correct format spec for integer placeholder in predicate 2022-04-26 07:44:52 -07:00
Satindar Dhillon
584f216d99 sync offline changes before querying for more items 2022-04-25 22:22:02 -07:00
Satindar Dhillon
791719ac05 create offline sync function 2022-04-25 22:02:36 -07:00
Satindar Dhillon
8433f3a226 delete linkedItem and highlight when server sync suceeeds 2022-04-25 20:37:42 -07:00
Satindar Dhillon
c9052f5f81 use coredata to track highlight merge and updates 2022-04-25 17:50:01 -07:00
Satindar Dhillon
aca38f2077 use coredata for create highlight function 2022-04-25 14:00:50 -07:00
Satindar Dhillon
9828846222 use core data to track reading progress 2022-04-25 12:17:27 -07:00
Satindar Dhillon
9c7a0d2ee9 update archive and delete link mutations to work off of core data 2022-04-25 11:56:03 -07:00
Satindar Dhillon
302410d4b2 use core data to mark items as archived 2022-04-25 11:09:14 -07:00
Satindar Dhillon
2cff1a6f72 filter feeditems on needsDeletion server sync status 2022-04-25 10:09:45 -07:00
Satindar Dhillon
26a52819d8 remove linkedItemId from coredata highlight entity 2022-04-24 21:49:02 -07:00
Satindar Dhillon
61c7403d24 update highlights on linkedItem when persisting 2022-04-24 17:10:07 -07:00
Satindar Dhillon
915bec37d2 fix label view models 2022-04-23 20:29:59 -07:00
Satindar Dhillon
65b448f262 fix update and delete label publishers 2022-04-23 09:48:53 -07:00
Satindar Dhillon
b4849c118f update core data when new labels are set 2022-04-23 09:25:24 -07:00
Satindar Dhillon
46da1cd150 fetch linked items from coredata when network call fails 2022-04-23 09:06:03 -07:00
Satindar Dhillon
a63bf7928e remove deprecated data models 2022-04-22 19:58:13 -07:00
Satindar Dhillon
cb878ba0ef return double from reading progress update publisher 2022-04-22 10:17:06 -07:00
Satindar Dhillon
25e237255c remove HighlightDep and pdf specific highlight functions 2022-04-21 22:03:39 -07:00
Satindar Dhillon
80e5fb9a52 use backgroundContext to fetch viewer 2022-04-21 20:27:10 -07:00
Satindar Dhillon
c310aa38fd use a background context for core data ops in dataservice 2022-04-21 17:31:06 -07:00
Satindar Dhillon
b494698b68 create background managed object context 2022-04-21 15:25:34 -07:00
Satindar Dhillon
8e1e7caaf4 set sort descriptor on linked item fetch 2022-04-21 15:07:53 -07:00
Satindar Dhillon
76e35cef0a use oslog rather than print statements in models package 2022-04-21 14:44:08 -07:00
Satindar Dhillon
57be731aa9 persist link archive and deletion to core data 2022-04-21 14:36:58 -07:00
Satindar Dhillon
6f9a1157e5 persist readingProgress changes to coredata 2022-04-21 13:42:13 -07:00
Satindar Dhillon
ba152b8f0a remove PersistedArticleContent entity 2022-04-21 12:01:23 -07:00
Satindar Dhillon
b601281166 look for persisted article object before insertung a new one 2022-04-21 11:43:06 -07:00
Satindar Dhillon
43dbcfe27c create NSSet extension 2022-04-21 10:07:46 -07:00
Satindar Dhillon
8c3ad7bec9 create a InternalLinkedItem model 2022-04-21 09:09:26 -07:00
Satindar Dhillon
155c47b0d1 create highlight json string at article opening time so it's always up to date 2022-04-21 09:09:26 -07:00