Commit Graph
135 Commits
Author SHA1 Message Date
Brent Simmons 9964dab069 Avoid coalescing conditional GETs in Downloader. 2026-10-29 08:56:16 -07:00
Brent Simmons 535652ae3b Post NetworkMonitor notification when connectivity changes. 2026-10-28 11:43:20 -07:00
Brent Simmons 6831d31fc9 Create DownloadedImageCache. 2026-10-26 21:05:41 -07:00
Brent Simmons 8b261521f3 Add additional allowed schemes (netnewswire, feed, and similar). 2026-10-22 09:54:53 -07:00
Brent Simmons 3dfe0595f6 Switch from OSAllocatedUnfairLock to Mutex. 2026-10-21 19:10:31 -07:00
Brent Simmons c70a7ab4a7 Make iOS 18 the minimum target. 2026-10-21 19:05:11 -07:00
Brent Simmons 1307ca04e0 Open magnet: links on Mac. 2026-10-16 14:13:35 -07:00
Brent Simmons 5426c4a1f8 Eliminate some possible false positives from YouTube URL detection. 2026-10-09 10:35:13 -07:00
Brent Simmons 749de6f24c Accept Xcode weirdness for the latest Xcode version. 2026-10-09 09:56:01 -07:00
Brent Simmons 1013e9359b Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire 2026-09-20 21:27:01 -07:00
Brent Simmons 24c17e782c Tighten up host checking with 429 handling. 2026-09-17 09:57:55 -07:00
Brent Simmons 47f62e5eec Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire 2026-09-16 14:26:33 -07:00
Brent Simmons 9d65e6c822 Make sure a rejected Feedly token is retried just once. 2026-09-16 09:17:42 -07:00
Brent Simmons fded0bfab2 Use http method as part of the match for test responses. 2026-09-15 10:50:03 -07:00
Brent Simmons 1dff40fa4a Do separate TestingURLProtocol responses per-test. 2026-09-09 08:44:18 -07:00
Brent Simmons 181a1744d3 Add lock. 2026-09-07 10:25:01 -07:00
Brent Simmons 7b004a155f Assume network is reachable when we don’t know yet. 2026-09-05 09:33:54 -07:00
Brent Simmons 49dbebf677 Include up to 500 characters of http error response body in error log. 2026-09-04 16:36:39 -07:00
Brent Simmons c314885422 Clear the queue in cancelAll so canceling actually works. Fix a potential hang. 2026-09-02 10:34:37 -07:00
Brent Simmons 665bf4d18e Fix potential crashing bug (but never seen in production) parsing Feedbin link paging info. Add tests. 2026-09-01 21:13:28 -07:00
Brent Simmons 0eacfe05cd Open http, https, and mailto links only. 2026-09-01 21:00:11 -07:00
Brent Simmons 5355d805a7 Change openrss.org minimum refresh interval (across all of their feeds for a given client) from 10 hours to 1 hour. The 10 hours interval was unintentional and long. 2026-09-01 11:50:09 -07:00
Brent Simmons 2f6d5053e0 Use en_US locale for parsing dates from servers. 2026-09-01 09:04:12 -07:00
Brent Simmons 3ffd90ff2b Call completion when there is nothing to download. 2026-08-31 07:00:14 -07:00
Brent Simmons 3036d87915 Associate task to DownloadInfo using task itself as the key (was using taskIdentifier, but those get reused when then the URLSession is recreated). 2026-08-30 21:56:00 -07:00
Brent Simmons 8d6c29e1ba Wait for connectivity on feed refreshes, to fix the case where foregrounding does a refresh and network isn’t ready yet and all requests fail. 2026-08-11 11:45:08 -07:00
Brent Simmons 056fa5ff76 Release a URL's download callbacks before calling them, so a callback that starts a new download of the same URL isn't silently dropped. 2026-08-06 11:50:47 -07:00
Brent Simmons e2fe6a1798 Stop caching failed downloads such as timeouts. 2026-08-06 11:48:46 -07:00
Brent Simmons 0adebfb86b Give each API caller its own URLSession so canceling one account's requests can't cancel another account's. 2026-08-03 15:27:40 -07:00
Brent Simmons fe285e2170 Pause ReaderAPI syncing when the server returns 429 Too Many Requests, honoring Retry-After, instead of burning quota. 2026-08-02 13:29:45 -07:00
Brent Simmons caba227eb0 Create a special case for the Relay blog relay.fm/blog for the feed finder. Fixes #5299. 2026-08-02 13:03:19 -07:00
Brent Simmons 6d259827f0 Use a constant logging system name instead of getting it from Bundle. 2026-08-02 10:33:23 -07:00
Brent Simmons 75755af700 Use browser agent UA for image and theme downloads. Fixes #4868. 2026-07-29 10:17:31 -07:00
Brent Simmons c9bd65b1f2 Add default retry-after value for 429 responses that don’t supply one (such as Reddit). 2026-06-28 10:25:25 -07:00
Brent Simmons e3aed79d1d Add Reddit to SpecialCases. Add tests. 2026-06-28 10:24:10 -07:00
Brent Simmons f95c1b20dc Let Xcode add its thing. 2026-06-26 21:08:54 -07:00
Brent Simmons c2fda87e1b Use Swift Data instead of NSMutableData. 2026-06-22 12:00:01 -07:00
Brent Simmons 85c000aad3 Add and use DownloadResponse. Note in activity log when a download was returned from the cache. 2026-06-18 09:08:02 -07:00
Brent Simmons 4f01e9e7b5 Use Foundation’s http status code localized strings. 2026-06-15 08:52:20 -07:00
Brent Simmons 54ff89174b Fix header comment. 2026-06-15 08:39:51 -07:00
Brent Simmons c4b49c8404 Fix SwiftLint issue. 2026-06-15 08:38:40 -07:00
Brent Simmons f8d2dcc404 Return non-optional Data from the webservice send methods. 2026-06-15 08:13:57 -07:00
Brent Simmons 35e092d50b Use modern async APIs. 2026-06-14 17:16:57 -07:00
Brent Simmons 1769496382 Remove some dead code. Remove public from things that should be internal. 2026-06-14 16:45:26 -07:00
Brent Simmons 97e16915b3 Fix SwiftLint issues. 2026-06-14 16:35:42 -07:00
Brent Simmons d7344fc771 Replace Transport with URLSession. Create internal unit testing support rather than passing around a Transport or URLSession. 2026-06-14 16:31:59 -07:00
Brent Simmons 63ec024119 Add activity for feed redirect. 2026-06-14 10:48:37 -07:00
Brent Simmons 6e845bec38 Upgrade to latest Xcode. 2026-06-10 10:52:37 -07:00
Brent Simmons dfcf79ebad Match subdomains. 2026-05-31 11:33:27 -07:00
Brent Simmons 7679d6232e Add more info to refresh activity. 2026-05-27 20:50:50 -07:00