Commit Graph

1337 Commits

Author SHA1 Message Date
fe8e9df600 apply search filters to offline item queries 2022-04-26 14:16:07 -07:00
d26f6d5263 avoid fetching article content multiple times 2022-04-26 09:34:37 -07:00
93f11a4949 convery items publisher to async func 2022-04-26 08:53:55 -07:00
f51338083e use correct format spec for integer placeholder in predicate 2022-04-26 07:44:52 -07:00
584f216d99 sync offline changes before querying for more items 2022-04-25 22:22:02 -07:00
791719ac05 create offline sync function 2022-04-25 22:02:36 -07:00
8433f3a226 delete linkedItem and highlight when server sync suceeeds 2022-04-25 20:37:42 -07:00
c9052f5f81 use coredata to track highlight merge and updates 2022-04-25 17:50:01 -07:00
aca38f2077 use coredata for create highlight function 2022-04-25 14:00:50 -07:00
9828846222 use core data to track reading progress 2022-04-25 12:17:27 -07:00
9c7a0d2ee9 update archive and delete link mutations to work off of core data 2022-04-25 11:56:03 -07:00
302410d4b2 use core data to mark items as archived 2022-04-25 11:09:14 -07:00
2cff1a6f72 filter feeditems on needsDeletion server sync status 2022-04-25 10:09:45 -07:00
fb6599b344 add needsServerSynch property to data models 2022-04-25 08:48:30 -07:00
26a52819d8 remove linkedItemId from coredata highlight entity 2022-04-24 21:49:02 -07:00
855586c320 associate highlight to linked item when created 2022-04-24 21:36:52 -07:00
61c7403d24 update highlights on linkedItem when persisting 2022-04-24 17:10:07 -07:00
753eb56542 fix linkeditem creation from push notifications 2022-04-23 22:09:12 -07:00
5425e9b0dc delete progress updating delay code 2022-04-23 21:28:20 -07:00
c0b1956d0a don't track label changes in home container view (since cor data can handle it) 2022-04-23 21:18:58 -07:00
915bec37d2 fix label view models 2022-04-23 20:29:59 -07:00
dc733c3ac2 fix loading of labels in labels modal 2022-04-23 19:49:55 -07:00
65b448f262 fix update and delete label publishers 2022-04-23 09:48:53 -07:00
b4849c118f update core data when new labels are set 2022-04-23 09:25:24 -07:00
46da1cd150 fetch linked items from coredata when network call fails 2022-04-23 09:06:03 -07:00
a63bf7928e remove deprecated data models 2022-04-22 19:58:13 -07:00
59533c9a2d remove feeditemdep refs from snooze view/model 2022-04-22 10:34:00 -07:00
cb878ba0ef return double from reading progress update publisher 2022-04-22 10:17:06 -07:00
6cb6f19e1e add helper functions to internalLabel 2022-04-22 09:59:51 -07:00
dada5c76c9 create InternalLinkedItemLabel model 2022-04-22 09:29:40 -07:00
25e237255c remove HighlightDep and pdf specific highlight functions 2022-04-21 22:03:39 -07:00
23edb9b99b set viewContext on swiftui environment 2022-04-21 21:10:49 -07:00
80e5fb9a52 use backgroundContext to fetch viewer 2022-04-21 20:27:10 -07:00
c310aa38fd use a background context for core data ops in dataservice 2022-04-21 17:31:06 -07:00
b494698b68 create background managed object context 2022-04-21 15:25:34 -07:00
8e1e7caaf4 set sort descriptor on linked item fetch 2022-04-21 15:07:53 -07:00
cf8cc31d00 look for existing linkedItem before inserting 2022-04-21 15:01:10 -07:00
76e35cef0a use oslog rather than print statements in models package 2022-04-21 14:44:08 -07:00
57be731aa9 persist link archive and deletion to core data 2022-04-21 14:36:58 -07:00
6f9a1157e5 persist readingProgress changes to coredata 2022-04-21 13:42:13 -07:00
3f13fe62ee remove sendProgressUpdates flag 2022-04-21 12:56:12 -07:00
ba152b8f0a remove PersistedArticleContent entity 2022-04-21 12:01:23 -07:00
b601281166 look for persisted article object before insertung a new one 2022-04-21 11:43:06 -07:00
43dbcfe27c create NSSet extension 2022-04-21 10:07:46 -07:00
8c3ad7bec9 create a InternalLinkedItem model 2022-04-21 09:09:26 -07:00
5df8219631 set linkedItem relationship on highlight as optional 2022-04-21 09:09:26 -07:00
c921aebd87 update deletion rules of related linkedItem entities 2022-04-21 09:09:26 -07:00
155c47b0d1 create highlight json string at article opening time so it's always up to date 2022-04-21 09:09:26 -07:00
6658d1d69b rename article content models to avoid clashing 2022-04-21 09:09:26 -07:00
6968e06da5 use persisted article content model to store html and highlights string 2022-04-21 09:09:26 -07:00