Commit Graph

277 Commits

Author SHA1 Message Date
Brent Simmons
7d3772a250 Space out openrss.org feed refreshes. 2024-12-12 20:40:28 -08:00
Brent Simmons
8d1cc48f7f Use special user-agent with openrss.org, so they can better understand which NetNewsWire clients have the bandwidth fixes and which do not. 2024-12-10 19:33:06 -08:00
Brent Simmons
ad8c7706d8 Fix hanging progress indicator in Feeds view on iOS. 2024-12-09 22:20:38 -08:00
Brent Simmons
e720d30dc3 Reset sync progress after finishing ReaderAPI sync. 2024-12-09 21:45:50 -08:00
Brent Simmons
86631b20eb Fix a couple bugs with combined refresh/sync progress that gets reported in status bar. 2024-12-08 18:38:34 -08:00
Brent Simmons
f905d426a2 Fix several warnings. 2024-12-07 14:45:23 -08:00
Brent Simmons
ef0901c6d2 Fix warning about unused variable. 2024-12-04 18:47:18 -08:00
Brent Simmons
0874551cde Bring in code from previous iOS release. 2024-12-04 17:14:00 -08:00
Brent Simmons
7b38129792 Bring in code from previous iOS release. 2024-12-04 16:43:36 -08:00
Brent Simmons
2c945519ad Clear Feedly refresh progress after refresh. 2024-12-04 15:05:27 -08:00
Brent Simmons
a2934cd308 Make CacheControlInfo and HTTPResponse429 use same names for things. 2024-12-02 21:39:07 -08:00
Brent Simmons
4c3ff3bba7 Remove unneeded log. Add log for dropping X/Twitter requests. 2024-12-02 21:27:06 -08:00
Brent Simmons
e5ac628619 Move Cache-Control responsibility to LocalAccountRefresher. 2024-12-02 21:20:20 -08:00
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