Commit Graph
115 Commits
Author SHA1 Message Date
Brent Simmons 5426c4a1f8 Eliminate some possible false positives from YouTube URL detection. 2026-10-09 10:35:13 -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 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 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
Brent Simmons 91aa17f7d2 Move HTMLMetadata cache to a database. 2026-05-27 17:16:44 -07:00
Brent Simmons e1111168f0 Fix sandboxing issues with default browser setting. 2026-05-23 10:12:30 -07:00
Brent Simmons 18c9102101 Fix bug respecting user settings for default browser. Fixes #5287. 2026-05-23 09:50:42 -07:00
Brent Simmons ff623614f3 Remove the download cache from the feed refresher. Now using other mechanisms to prevent excessive feed polling. 2026-05-15 13:55:12 -07:00
Brent Simmons a187eeb92c Shorten TTL for the Downloader cache and clean up more often. This is part of lowering memory use. 2026-05-15 13:54:27 -07:00
Brent Simmons 62c73d2c95 Match example.com and www.example.com in urlStringMatchesDomain. 2026-04-27 20:31:49 -07:00
Brent Simmons c509f2324a Add special case domainsWithNoMinimumTime — we use Cache-Control (when present) with these. 2026-04-27 17:46:00 -07:00
Brent Simmons 40f7c83a35 Make browser paths more meaningful (show volume name, mainly). Add tests. 2026-04-27 17:07:52 -07:00
Brent Simmons 03ae54e2c2 Merge pull request #5210 from mven/feat/dupe-browsers-path
Add paths to duplicate browser names in Settings
2026-04-27 14:18:46 -07:00
Brent Simmons 89f009ced0 Use new HTMLMetadata and HTMLLink parsers. 2026-04-20 10:58:15 -07:00