Commit graph

10513 commits

Author SHA1 Message Date
Jackson Harper
0a4d55ef15 Increase the rate limit
Turns out 10 is very low because we make CORs requests from the
browser and SWR will make background requests for some objects
like viewer. I was hitting the limit while testing search.
2022-04-21 14:59:57 -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
Jackson Harper
10dc8e2136 Fix typo in highlighted search 2022-04-21 14:27:57 -07:00
Jackson Harper
3f7546fb08 Dont display empty state while loading 2022-04-21 14:26:59 -07:00
Jackson Harper
88f936164b HTML escaping 2022-04-21 14:10:49 -07:00
Jackson Harper
46cb7abc04 Add stubbed method for empty library test 2022-04-21 14:05:18 -07:00
Jackson Harper
510a95f393 Add topbar dependencies 2022-04-21 14:00:09 -07:00
Jackson Harper
f4f9311b39 Update saved search buttons 2022-04-21 13:59:53 -07:00
Jackson Harper
714628587a Add top bar loading indicator to the library 2022-04-21 13:51:20 -07:00
Jackson Harper
8d8dd3d28d Add top bar 2022-04-21 13:47:42 -07:00
Jackson Harper
cefe326fba Add UI for empty state in the library 2022-04-21 13:43:31 -07:00
Satindar Dhillon
6f9a1157e5 persist readingProgress changes to coredata 2022-04-21 13:42:13 -07:00
Satindar Dhillon
3f13fe62ee remove sendProgressUpdates flag 2022-04-21 12:56:12 -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
5df8219631 set linkedItem relationship on highlight as optional 2022-04-21 09:09:26 -07:00
Satindar Dhillon
c921aebd87 update deletion rules of related linkedItem entities 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
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
dd55cd86ae update highlight publishers to make coredata changes 2022-04-21 09:09:26 -07:00
Satindar Dhillon
33342deb5d create an internal highlight function for encoding 2022-04-21 09:09:26 -07:00
Satindar Dhillon
6d2cfbe4a6 bump apple app versions to 1.5.0 2022-04-21 09:09:26 -07:00
Satindar Dhillon
93ef6980d1 fetch items from core data if network request fails 2022-04-21 09:09:26 -07:00
Satindar Dhillon
1012fccbb2 save linkeditems to core data 2022-04-21 09:09:26 -07:00
Satindar Dhillon
ed69e36576 remove unused publishers 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
1b4c871276 use coredata highlight model in some places 2022-04-21 09:09:26 -07:00
Satindar Dhillon
a7a048c3aa update highlight coredata model 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
05d4107fa9 use coredata for newsletter emails 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
290894ed9b move files 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
bd8798512a add PersistedHighlight to core data model 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
5ff6d6789b create managedobject models for feeditem and feeditemlabel 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
765be8314c
Merge pull request #462 from omnivore-app/fix/parse-substack 2022-04-21 06:47:44 -07:00
Hongbo Wu
6d2700e865 fix tests 2022-04-21 21:31:31 +08:00
Hongbo Wu
ebfdf1f3a0 Fix parsing newsletter url from substack 2022-04-21 21:28:00 +08:00