Commit Graph
110 Commits
Author SHA1 Message Date
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
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
Brent Simmons 592a962f30 Use a real URL when asking the system for the default browser. Fixes #5220. 2026-04-12 15:21:06 -07:00
Brent Simmons da58db3931 Add more specific error messages. 2026-03-31 18:05:04 -07:00
Brent Simmons 4c45c5ff7e Allow Xcode to do its housekeeping upon new version of Xcode. 2026-03-30 17:36:49 -07:00
Brent Simmons 4a2c62cc6c Make app run on iOS 17 and up. 2026-03-29 21:31:02 -07:00
Brent Simmons 106dac128f Skip caching 4xx responses for YouTube URLs, which have stared returning 4xx responses seemingly at random. This way the app will keep trying those feeds, so people get their videos. 2026-03-29 15:08:18 -07:00
Brent Simmons 05f25e151a Add special case support for YouTube URLs. 2026-03-29 15:07:15 -07:00
Michael Vendivel b89430ea92 Add paths to duplicate browser names in Settings 2026-03-24 09:59:35 -05:00
Brent Simmons 140c2e9aa4 Allow Xcode to do its housekeeping. 2026-03-22 20:13:13 -07:00
Brent Simmons 90600a8008 Remove the minimum for cache-control max-age, since we’re enforcing a minimum elsewhere. 2026-03-17 08:50:49 -07:00
Brent Simmons 6af7177679 Mark CacheControlInfo and HTTPConditionalGetInfo as Sendable. 2026-03-16 21:14:59 -07:00
Brent Simmons ad51fd4fbf Add canResume function that takes min and max limits. 2026-03-16 16:54:27 -07:00
Brent Simmons 01c3671e4d Handle app-background notification. 2026-03-14 22:00:25 -07:00
Brent Simmons 9f5a874d81 Call delegate on http error and post sync error. 2026-03-12 13:06:20 -07:00
Brent Simmons e2a7fd0051 Handle low memory notification. 2026-03-07 17:08:46 -08:00
Brent Simmons dc27e85ed8 Add removeAll method. 2026-03-07 17:08:12 -08:00