Commit Graph

7870 Commits

Author SHA1 Message Date
Brent Simmons 05ea769c12 Fix build errors. 2024-12-04 18:43:47 -08:00
Brent Simmons d4073b205f Bring in code from previous iOS release. 2024-12-04 18:39:16 -08:00
Brent Simmons d5dd6131b1 Bring in code from previous iOS release. 2024-12-04 17:52:46 -08:00
Brent Simmons 4aaabacd24 Bring in code from previous iOS release. 2024-12-04 17:36:08 -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 ce81871772 Update version and build for 6.1.5. mac-6.1.5 2024-12-03 20:15:42 -08:00
Brent Simmons 1e92f8f99a Update build and version. mac-6.1.5b4 2024-12-02 21:52:45 -08:00
Brent Simmons f82ce34019 Fix comment. 2024-12-02 21:50:04 -08:00
Brent Simmons 41ef5ca08d Make HTTPResponse429 a struct. 2024-12-02 21:50:00 -08:00
Brent Simmons a2934cd308 Make CacheControlInfo and HTTPResponse429 use same names for things. 2024-12-02 21:39:07 -08:00
Brent Simmons efa92d3df7 Add MarsEdit 5 to Apple events entitlements. 2024-12-02 21:30:05 -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 6558135191 Make isExpired public. 2024-12-02 20:58:23 -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 cf1c0c6197 Add CacheControlInfo.isExpired calculated property. 2024-12-01 16:54:16 -08:00
Brent Simmons fd431c33ad Update version and build number. mac-6.1.5b3 2024-11-30 22:02:07 -08:00
Brent Simmons e57e3c98ef Use CacheControlInfo to pay attention to the Cache-Control http response header and drop requests that are made too soon. We need to be nice to servers. 2024-11-30 22:01:58 -08:00
Brent Simmons 80c78b65d0 Use the URLRequest containing the conditional GET info. 2024-11-30 20:54:43 -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 670e046b9b Handle more classes of redirects. Remember 400-499 (except for 429) responses during the current app session and ignore those URLs (until after next app launch). 2024-11-30 18:09:05 -08:00
Brent Simmons 2342c62df1 Add missing (because new-ish) redirect case. 2024-11-30 18:08:02 -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 ae8bcdfd7c Update build number. mac-6.1.5b2 2024-11-29 22:40:55 -08:00
Brent Simmons 5ceef49a6f Update version and build number. 2024-11-29 22:23:17 -08:00
Brent Simmons d052a27665 Add vertical space to Accounts preferences to make enough room for Credentials button. 2024-11-29 22:05:30 -08:00
Brent Simmons 53a27149b4 Make URL text field wrap in add-feed sheet. 2024-11-29 21:47:10 -08:00
Brent Simmons 906a985bef Fix display issue in Account prefs — don’t draw outside of bounds. 2024-11-29 21:43:42 -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 ece6e521e5 Delete unneeded LICENSE file (now that RSWeb is local to app). 2024-11-27 20:46:35 -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 a4a41ddfbd Edit comment. 2024-11-27 20:14:42 -08:00
Brent Simmons 337d711d21 Remove unused parts of DownloadInfo. 2024-11-26 22:17:47 -08:00
Brent Simmons b6ff613888 Create task with URL instead of URLRequest. 2024-11-26 22:13:22 -08:00
Brent Simmons 248fe49af4 Simplify local feed downloading. 2024-11-26 22:03:23 -08:00
Brent Simmons 7b8e0bd1af Use built-in caching NSURLSession .useProtocolCachePolicy. 2024-11-26 21:05:26 -08:00
Brent Simmons 8e54c93c6f Remove throttled feeds support. 2024-11-26 21:04:53 -08:00