Commit Graph

1315 Commits

Author SHA1 Message Date
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
dd55cd86ae update highlight publishers to make coredata changes 2022-04-21 09:09:26 -07:00
33342deb5d create an internal highlight function for encoding 2022-04-21 09:09:26 -07:00
6d2cfbe4a6 bump apple app versions to 1.5.0 2022-04-21 09:09:26 -07:00
93ef6980d1 fetch items from core data if network request fails 2022-04-21 09:09:26 -07:00
1012fccbb2 save linkeditems to core data 2022-04-21 09:09:26 -07:00
ed69e36576 remove unused publishers 2022-04-21 09:09:26 -07:00
bb016ce7f4 save highlightsJSON on persisted article content 2022-04-21 09:09:26 -07:00
1b4c871276 use coredata highlight model in some places 2022-04-21 09:09:26 -07:00
a7a048c3aa update highlight coredata model 2022-04-21 09:09:26 -07:00
70c9080766 rename cordata entities 2022-04-21 09:09:26 -07:00
0fc7ff0a43 rename FeedItem to FeedItemDep 2022-04-21 09:09:26 -07:00
a60a5e3991 mark some models as deprecated 2022-04-21 09:09:26 -07:00
05d4107fa9 use coredata for newsletter emails 2022-04-21 09:09:26 -07:00
905e628e5a create helper function to get unwrapped viewer properties 2022-04-21 09:09:26 -07:00
1d92e64801 define viewer as a nsmanagedobject 2022-04-21 09:09:26 -07:00
290894ed9b move files 2022-04-21 09:09:26 -07:00
8ea404a8d8 use coredata to track pdf highlights 2022-04-21 09:09:26 -07:00
bd8798512a add PersistedHighlight to core data model 2022-04-21 09:09:26 -07:00
00639011d8 read/write article content using coredata 2022-04-21 09:09:26 -07:00
a879a68ad8 define feeditem models in core data model 2022-04-21 09:09:26 -07:00
0264564a64 move coredata model into models package 2022-04-21 09:09:26 -07:00
5ff6d6789b create managedobject models for feeditem and feeditemlabel 2022-04-21 09:09:26 -07:00