Commit Graph

24 Commits

Author SHA1 Message Date
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
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
c310aa38fd use a background context for core data ops in dataservice 2022-04-21 17:31:06 -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
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
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
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