Commit Graph

4219 Commits

Author SHA1 Message Date
Brent Simmons 3883d24ebe Simplify FeedlySetUnreadArticlesOperation. 2019-12-16 16:26:35 -08:00
Brent Simmons 67f65545b3 Continue changes mandated by DatabaseQueue changes. 2019-12-16 15:55:37 -08:00
Brent Simmons e700da9410 Mark appropriate functions as throws. 2019-12-16 15:32:08 -08:00
Brent Simmons f2052f110f Make updateUnreadCounts compatible with database changes. 2019-12-16 14:59:15 -08:00
Brent Simmons 9a36051d8a Remove a reference to database.isSuspended. 2019-12-16 14:43:25 -08:00
Brent Simmons 908652df51 Make just one database call in fetchUnreadCounts — use fetchAllUnreadCounts and process the UnreadCountDictionary. 2019-12-16 14:43:11 -08:00
Maurice Parker 9dad3f0540 Pass the account metadata to delegate on initialization 2019-12-16 14:19:55 -07:00
Brent Simmons aa5859ff27 Use makeDatabaseCalls/switch pattern in ArticlesTable. 2019-12-16 12:49:46 -08:00
Brent Simmons 3981312d6f Update sync code to handle async selectForProcessing. 2019-12-16 12:49:07 -08:00
Brent Simmons 7b7346d010 Make selectForProcessing async. 2019-12-16 11:08:47 -08:00
Brent Simmons 746708dd47 Update to latest RSDatabase. 2019-12-16 10:50:28 -08:00
Brent Simmons 7a134740ec Make SyncDatabase selectPendingCount async. 2019-12-16 10:50:13 -08:00
Brent Simmons 894d3909a3 Make SyncDatabase work with DatabaseQueue changes. 2019-12-15 23:07:28 -08:00
Brent Simmons e0f61c362b Switch to using the new DatabaseError. 2019-12-15 22:37:45 -08:00
Brent Simmons b1552af911 Update RSDatabase to latest. 2019-12-15 22:29:01 -08:00
Brent Simmons 1f65b3fc87 Remove isSuspended property; add a try! when creating tables. 2019-12-15 22:28:48 -08:00
Brent Simmons 8c0c64f6b0 Update to latest RSDatabase. 2019-12-15 22:14:06 -08:00
Brent Simmons df45484205 Update Articles.framework to use revised DatabaseQueue — use Result types and throwing functions. 2019-12-15 22:09:27 -08:00
Brent Simmons 9cb0bcbc94 Make ArticlesDatabase.swift compatible with the DatabaseQueue revisions. 2019-12-15 17:26:45 -08:00
Brent Simmons 3573de3456 Update to latest RSDatabase. 2019-12-15 17:15:18 -08:00
Maurice Parker 58b24f3349 Rename callback: to completion: 2019-12-14 18:01:34 -07:00
Maurice Parker 43bf65b7a6 Rename occurrences of completionHandler to completion. 2019-12-14 17:14:55 -07:00
Maurice Parker d870c4ffb3 Suspend system activity in extensions. Issue #1427 2019-12-14 15:44:57 -07:00
Maurice Parker 1ae421d3c8 Change to check correct unread value to determine timeline button state. Issue #1433 2019-12-14 15:29:20 -07:00
Brent Simmons 45cdb7bea3 Create a fetchStatuses method that will optionally create statuses if needed. Callback gets Set<ArticleStatus> — or nil if the app is suspended. 2019-12-11 22:28:01 -08:00
Brent Simmons 507eddd42f Bump build to 20. 2019-12-11 20:46:50 -08:00
Maurice Parker 1a26f21d03 Remove context menus from all header sections, not just the accounts. 2019-12-11 14:42:45 -07:00
Maurice Parker b95a692876 Remove interactions and gesture recognizers from recycled section headers. Issue #1432 2019-12-11 14:29:32 -07:00
Maurice Parker e90c6d1395 Guard against empty queries. Issue #1431 2019-12-11 13:19:22 -07:00
Maurice Parker e303d64c1d Refresh feeds and sidebar when downloaded articles update all their unread counts. Issue #1430 2019-12-10 18:17:54 -07:00
Maurice Parker 6f2e6a7d9a Add mask back in so that the zoom image doesn't overlay the bars when zooming back. 2019-12-10 17:54:14 -07:00
Maurice Parker ffa3c9fd67 Merge branch 'master' of https://github.com/brentsimmons/NetNewsWire 2019-12-10 14:10:18 -07:00
Maurice Parker b8ef6c7549 Don't process OPML file if it hasn't changed since it was last produced. Issue #1428 2019-12-10 14:10:07 -07:00
Brent Simmons d8fd592e3b Bump build to 19. 2019-12-09 20:46:18 -08:00
Maurice Parker 358f386c4b Change progress view to use the most recent last fetch end time. Issue #1383 2019-12-09 18:34:26 -07:00
Maurice Parker 9b3793968f Change image zoom animation to take safe area into consideration when determining image origin. Issue #1425 2019-12-09 14:29:17 -07:00
Maurice Parker 5872893293 Prevent calls to database while it is suspended. Issue #1424 2019-12-09 14:06:03 -07:00
Maurice Parker 6ef7f296ef
Merge pull request #1423 from kielgillard/master
Disable failing Feedly tests
2019-12-09 13:15:55 -07:00
Maurice Parker cd0ec05dbb
Merge pull request #1419 from nostodnayr/master
Removed double spaces after punctuation in user-facing strings
2019-12-09 13:14:15 -07:00
Kiel Gillard 280635d332 Disable failing tests until they can be refactored to accomodate latest Account API changes. 2019-12-09 18:54:29 +11:00
Kiel Gillard 2401b0be1b Fix compilation issues with tests after Account API changes. 2019-12-09 18:54:29 +11:00
Brent Simmons e3e07e771d Remove maximumArticleCutoffDate; just use articleCutoffDate. 2019-12-08 22:38:00 -08:00
Brent Simmons cf84021fab Make NetNewsWire’s article display window 90 days. It was 93 days, which is weird, even though there was a good reason (3 * 31). 2019-12-08 22:21:53 -08:00
Brent Simmons 9c3217d032 Merge branch 'master' of https://github.com/brentsimmons/NetNewsWire 2019-12-08 22:19:42 -08:00
Brent Simmons 03fd162d37 Use datePublished when fetching articles for a feed for display in the UI. This defines the window instead of dateArrived — though dateArrived is still the fallback when datePublished is nil. 2019-12-08 22:17:25 -08:00
Maurice Parker 8ca6ffc379 Restore focus to the timeline after searching so that keyboard shortcuts work. Issue #1387 2019-12-08 18:31:55 -07:00
Maurice Parker 5dcab57256 Change so that focus is on Feeds when restoring a feed. Issue #1386 2019-12-08 18:25:22 -07:00
Maurice Parker 628be90302 Merge branch 'master' of https://github.com/brentsimmons/NetNewsWire 2019-12-08 18:14:41 -07:00
Maurice Parker 7a6b818f57 Only reset the timeline under certain conditions. Issue #1422 2019-12-08 18:14:33 -07:00
Brent Simmons 03f95e4788 Make article indexing more efficient. 2019-12-08 17:14:20 -08:00