Commit graph

30 commits

Author SHA1 Message Date
Satindar Dhillon
0e8d5f23da move article content fetching into fewer functions 2022-04-27 20:55:57 -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
a63bf7928e remove deprecated data models 2022-04-22 19:58:13 -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
76e35cef0a use oslog rather than print statements in models package 2022-04-21 14:44:08 -07:00
Satindar Dhillon
ba152b8f0a remove PersistedArticleContent entity 2022-04-21 12:01:23 -07:00
Satindar Dhillon
43dbcfe27c create NSSet extension 2022-04-21 10:07:46 -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
Satindar Dhillon
6658d1d69b rename article content models to avoid clashing 2022-04-21 09:09:26 -07:00
Satindar Dhillon
6968e06da5 use persisted article content model to store html and highlights string 2022-04-21 09:09:26 -07:00
Satindar Dhillon
bb016ce7f4 save highlightsJSON on persisted article content 2022-04-21 09:09:26 -07:00
Satindar Dhillon
70c9080766 rename cordata entities 2022-04-21 09:09:26 -07:00
Satindar Dhillon
0fc7ff0a43 rename FeedItem to FeedItemDep 2022-04-21 09:09:26 -07:00
Satindar Dhillon
a60a5e3991 mark some models as deprecated 2022-04-21 09:09:26 -07:00
Satindar Dhillon
905e628e5a create helper function to get unwrapped viewer properties 2022-04-21 09:09:26 -07:00
Satindar Dhillon
1d92e64801 define viewer as a nsmanagedobject 2022-04-21 09:09:26 -07:00
Satindar Dhillon
8ea404a8d8 use coredata to track pdf highlights 2022-04-21 09:09:26 -07:00
Satindar Dhillon
00639011d8 read/write article content using coredata 2022-04-21 09:09:26 -07:00
Satindar Dhillon
a879a68ad8 define feeditem models in core data model 2022-04-21 09:09:26 -07:00
Satindar Dhillon
0264564a64 move coredata model into models package 2022-04-21 09:09:26 -07:00
Satindar Dhillon
bb11fac055 remove codingkeys and decaodable conformance from FeedItem 2022-04-21 09:09:26 -07:00
Satindar Dhillon
31061abdcd add coredata model to Services package 2022-04-21 09:09:26 -07:00
Jackson Harper
13cd668cdd Add invalidation when highlights are added to items 2022-03-31 15:04:22 -07:00
Jackson Harper
a1feffaf03 Prefetch page content on iOS 2022-03-30 16:39:51 -07:00
Satindar Dhillon
7f9f04989c set authenticator and dataservice on the environmentobject 2022-02-23 17:08:16 -08:00
Jackson Harper
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00