Commit Graph

264 Commits

Author SHA1 Message Date
Brent Simmons 295d4576e0 Save cacheControlInfo with the feed. 2024-12-01 17:10:35 -08:00
Brent Simmons b881d2fed6 Add cacheControlInfo to feed metadata. 2024-12-01 16:54:28 -08:00
Brent Simmons b56a788474 Provide conditional GET info to DownloadSession. 2024-11-30 20:46:57 -08:00
Brent Simmons 738dac6a49 Restore the infrastructure for saving conditional GET info, since the built-in caching isn’t handling this as well as it appeared at first. 2024-11-30 20:04:56 -08:00
Brent Simmons d7a2eb6b3d Edit comments. 2024-11-30 13:20:32 -08:00
Brent Simmons 8c811e75ba Skip downloading feeds from X/Twitter, since those sites will never return a feed. (X/Twitter URLs may still be in people’s feeds lists due to prior Twitter integration, that has since gone away at Twitter’s initiative.) 2024-11-30 13:18:04 -08:00
Brent Simmons 23cb45161a Remove unneeded local property. 2024-11-30 13:16:57 -08:00
Brent Simmons d25728a018 Combine two DownloadProgress, sync and download-feeds, into one DownloadProgress in CloudKitAccountDelegate. 2024-11-30 12:47:29 -08:00
Brent Simmons 265b7035ed Use os_log instead of print. 2024-11-30 10:27:08 -08:00
Brent Simmons fb8a62b698 Restore and use func localAccountRefresher(_ refresher: LocalAccountRefresher, requestCompletedFor: URL). 2024-11-29 12:06:05 -08:00
Brent Simmons 7e42e80b41 Make downloadProgress clear about where it comes from. 2024-11-29 11:01:17 -08:00
Brent Simmons 5ef92cbd05 Make refresher non-optional because it doesn’t need to be optional. 2024-11-28 11:33:41 -08:00
Brent Simmons 72f7a7cadf Fix downloadProgress for local account. 2024-11-27 22:26:38 -08:00
Brent Simmons 4f4f7d6cb5 Remove unused sinceToken. 2024-11-27 20:37:51 -08:00
Brent Simmons 680c4a4ff4 Stop storing conditional GET info — rely on URLSession built-in caching to handle conditional GET. 2024-11-27 20:36:39 -08:00
Brent Simmons 0e8eac3c56 Rename OneShotDownload to Downloader. Use built-in caching support. 2024-11-27 20:32:36 -08:00
Brent Simmons 248fe49af4 Simplify local feed downloading. 2024-11-26 22:03:23 -08:00
Brent Simmons 8e54c93c6f Remove throttled feeds support. 2024-11-26 21:04:53 -08:00
Brent Simmons 4306542975 Read openrss.org feeds at most once an hour. 2024-11-24 20:41:33 -08:00
Brent Simmons 934892658a Make RSWeb a local module. 2024-11-24 11:32:29 -08:00
Brent Simmons 42ef44f67c Fix whitespace warnings. 2024-11-23 11:56:49 -08:00
Brent Simmons 3b92fe9c78 Remove code for handling April 2020 retention change, since it’s been four-and-a-half years. 2024-11-22 21:51:35 -08:00
Brent Simmons f1bfda400e Remove FeedWrangler support. 2024-11-22 21:48:12 -08:00
Brent Simmons a2141ec343 Require macOS 13 and iOS 16. 2024-11-22 20:49:42 -08:00
Brent Simmons c05ef2344f Remove unused code and references to Twitter and Reddit. 2023-11-25 11:44:34 -08:00
Brent Simmons 7f295797ee Remove last references to isFeedProvider. Fix a couple warnings. 2023-06-25 16:19:20 -07:00
Brent Simmons fb51185c05 Remove references to isFeedProvider. 2023-06-25 16:15:21 -07:00
Brent Simmons 85704acd9c Remove FeedProviderManager and Feed Provider and remove references to them. 2023-06-25 16:11:55 -07:00
Brent Simmons 8e8fdcf6d9 Remove more Reddit references, including code in the Account framework. 2023-06-25 15:45:36 -07:00
Brent Simmons 433dea94e0 Fix feedRequiresRedditAPI function. 2023-06-25 15:24:03 -07:00
Brent Simmons 4dd3d60c78 Create and use API to determine if there are any feeds that require the Reddit API. 2023-06-25 15:01:53 -07:00
Brent Simmons 21ee96609a Update NetNewsWire feed URL to use netnewswire.blog host. 2023-06-18 15:43:47 -07:00
Brent Simmons e7ae7887e3 Add and use anyLocalOriCloudAccountHasAtLeastOneTwitterFeed in AccountManager. Simplify date comparison code. 2023-02-05 20:17:31 -08:00
Maurice Parker 6c1e1ea1c6 Remove Twitter integration. Fixes #3842 2023-02-03 19:00:13 -08:00
Brent Simmons 489088ad74 Import RSDatabase for access to DatabaseError. 2023-01-22 14:50:46 -08:00
Brent Simmons 28b91ed8c8 Copy fetchArticlesAsync callback fix from ios-release. 2023-01-22 12:54:07 -08:00
Brent Simmons 6c781f3a63 Fix widget data encoding crash — and possibly other bugs — by making sure that fetchArticlesAsync calls its callback just once. (The widget data encoder was crashing with multiple calls in the failure case, since it ended up having unbalanced DispatchGroup enter and leave calls.) 2023-01-22 12:50:46 -08:00
Maurice Parker 5bf5706ac9 Restrict RSCore version so that we don't pick up version 1.1 when it happens 2022-11-01 20:26:14 -05:00
Maurice Parker 948b02d0ac Change so that we only send 300 markers per request. Fixes #3711 2022-10-28 16:03:41 -05:00
Maurice Parker 6baee15007 Remove requirement for "alternate" element which shouldn't be required. Fixes #3708 2022-10-02 17:44:03 -05:00
Ethan Wong 8c9e4dff49 use .package(path:) for local package dependencies to resolve Xcode 14 errors. 2022-10-02 17:35:41 -05:00
Maurice Parker 772948307e Enhance StatusDidChange message to pass status and flag when not passing full articles. Fixes #3481 2022-02-27 13:02:42 -08:00
Dimitris Apostolou 94ae4d348c Fix typos 2022-01-05 00:25:20 +02:00
Maurice Parker bbc7230e76 Refactor Diffable Datasources out of the Sidebar 2021-10-20 19:03:02 -05:00
Duncan Babbage cc855f3832 link and URL vars for Article. Storage as rawLink
link and externalLink fall back to providing the raw stored value if URLs cannot be created even with repair.
2021-09-30 16:51:59 +13:00
Maurice Parker 09647be51b Merge branch 'ios-release' 2021-09-06 20:31:24 -05:00
Maurice Parker 799bd9aeb8 Remove custom Hashable implementation. Fixes #3201 2021-08-26 15:55:18 -05:00
Maurice Parker 4825113158 Remove custom Hashable implementation. Fixes #3201 2021-08-26 15:54:22 -05:00
Maurice Parker 8828c0eaaa Revalidate the API keys if they are expired. Fixes #3210 2021-08-21 16:10:28 -05:00
Maurice Parker 7e689d2eb1 Revalidate the API keys if they are expired. Fixes #3210 2021-08-21 16:09:47 -05:00