Commit Graph

43 Commits

Author SHA1 Message Date
Jonathan Bennett
a37bfd5d74 Adds an account behavior to disable folders
Some sync services (Feed Wrangler) don't support folders. This behavior removes the account from the UI when adding new folders.
2020-05-07 10:03:04 -04:00
Maurice Parker
0b49acfabc Made sync status sequential so that we stop losing statuses when we automatically send them on exceeding 100 statuses 2020-04-29 16:14:18 -05:00
Maurice Parker
6870133d60 Enhance SyncStatus so that it can communicate new, updated, and deleted 2020-04-27 16:41:45 -05:00
Maurice Parker
9b39165018 Merge branch 'master' into extension-point 2020-04-16 16:37:18 -05:00
Maurice Parker
afdfe5fe71 Merge branch 'ios-release' 2020-04-16 16:36:53 -05:00
Brent Simmons
6d9eda442f Remove userDeleted support. The read-items filter seems to fill the need to hide things. We’re simplifying the backend by removing this unused feature. 2020-04-12 17:12:36 -07:00
Maurice Parker
3ba9ca8c8a Added new Secrets framework project 2020-04-09 21:07:56 -05:00
Maurice Parker
f75e3e5ebf Added new initialization parameter for Parsed Items. 2020-04-03 13:42:59 -05:00
Maurice Parker
53e947ee4c Rename addFolder to createFolder to be more consistent. 2020-03-30 13:35:02 -05:00
Maurice Parker
187121298e Added support for CloudKit push notifications (subscriptions). 2020-03-30 02:48:25 -05:00
Maurice Parker
f2d9552c85 Renamed subscriptionID to externalD on WebFeed so that it matches what we did with Folder. 2020-03-21 11:33:13 -05:00
Brent Simmons
db564d9cf9 Remove all references to fetchArticleIDsForStatusesWithoutArticles. Use fetchArticleIDsForStatusesWithoutArticlesNewerThanCutoffDate instead. 2019-12-17 21:15:20 -08:00
Brent Simmons
15184aa3f1 Finish changes mandated by DatabaseQueue changes. 2019-12-16 22:45:59 -08:00
Brent Simmons
3981312d6f Update sync code to handle async selectForProcessing. 2019-12-16 12:49:07 -08:00
Brent Simmons
7a134740ec Make SyncDatabase selectPendingCount async. 2019-12-16 10:50:13 -08:00
Brent Simmons
a561ea9484 Fetch unread article IDs async. Also: fetch only for feeds currently subscribed-to. Fix #1218. 2019-12-07 20:57:23 -08:00
Maurice Parker
95c1b36fe7 Change order of suspending steps to prevent work from going to a suspended queue. Issue #1400 2019-12-04 17:27:39 -07:00
Maurice Parker
dad8b39ea9 Remove cancellAll for FeedWrangler. 2019-12-02 15:59:45 -06:00
Brent Simmons
ed5db537f8 Fix warning in in-progress code. 2019-11-29 23:04:29 -08:00
Brent Simmons
b5f1c69f8e Add AccountManager.resumeAll, Account.resume. Add suspend() and resume() to AccountDelegate and to individual AccountDelegate instances. 2019-11-29 22:57:14 -08:00
Jonathan Bennett
eda98d166d remove FeedWrangler build scripts 2019-11-27 11:17:46 -05:00
Jonathan Bennett
9d0034576d start extracting secrets 2019-11-26 08:58:16 -05:00
Jonathan Bennett
0f105c8421 logout when deleting account 2019-11-21 01:17:41 -05:00
Jonathan Bennett
b3c053964c handle new feeds better
this is in prep for the initial acount/feeds changes
2019-11-21 01:09:09 -05:00
Jonathan Bennett
d3c168a12e use add_feed_and_wait endpoint
The add_feed endpoint does not return feed info. The _and_wait endpoint can be slower (up to 10 seconds) but will make sure we gett the right URL if available.
2019-11-20 17:26:27 -05:00
Jonathan Bennett
85d54c17cc allow cancelling of network requests 2019-11-20 16:33:56 -05:00
Jonathan Bennett
93595ab745 bubble transport errors up 2019-11-20 16:33:12 -05:00
Jonathan Bennett
36c2aabe38 rename Feed to WebFeed 2019-11-20 16:02:25 -05:00
Jonathan Bennett
82d7631694 treack refresh progress better 2019-11-20 12:27:21 -05:00
Jonathan Bennett
ac33bf982e cleanup code
most network calls follow the same structure
2019-11-20 12:09:42 -05:00
Jonathan Bennett
e867991ec8 use transport.send(request, resultType, completion) 2019-11-20 11:48:03 -05:00
Jonathan Bennett
f4bee1d0b9 retrieve missing articles 2019-11-20 06:13:30 -05:00
Jonathan Bennett
48e47ec40b Allow adding of feeds 2019-10-24 11:48:12 -04:00
Jonathan Bennett
4dea5e2cbb use URLQueryItem helper 2019-10-17 13:59:43 -04:00
Jonathan Bennett
09faf1a0c2 start supporting article sync 2019-10-17 01:05:18 -04:00
Jonathan Bennett
c7d0d23146 add page size configuration option 2019-10-16 15:06:01 -04:00
Jonathan Bennett
81bffda093 allow removal of feeds 2019-10-16 11:43:49 -04:00
Jonathan Bennett
36861f2eb3 allow renaming of feeds 2019-10-16 11:32:22 -04:00
Jonathan Bennett
51dc82ffef use swiftier property names 2019-10-16 09:04:24 -04:00
Jonathan Bennett
d80aeefdb3 Allow refreshing of Feed Wrangler subscriptions 2019-10-16 08:30:11 -04:00
Jonathan Bennett
0c2185ae25 fix db file extension 2019-10-07 10:22:10 -04:00
Jonathan Bennett
59c768abae externalize keys 2019-09-28 01:59:49 -04:00
Jonathan Bennett
50428f3179 Allow adding Feed Wrangler accounts 2019-09-28 01:59:49 -04:00