Commit Graph
940 Commits
Author SHA1 Message Date
Brent Simmons ce8b31c449 Create better error log message on Feedly sync database failure. 2026-09-16 15:53:45 -07:00
Brent Simmons 6e600420e3 Throw sync database errors. 2026-09-16 15:50:37 -07:00
Brent Simmons f3d171eb07 Log sync database errors. 2026-09-16 15:44:03 -07:00
Brent Simmons c9bc4f09a1 Stop a failing sync database read from being considered as a successful read. 2026-09-16 15:27:30 -07:00
Brent Simmons b06be86239 Throw SyncDatabaseError. 2026-09-16 15:18:12 -07:00
Brent Simmons 3b67ee73c5 Ad SyncDatabaseError. 2026-09-16 15:17:41 -07:00
Brent Simmons a9e14ab84b Make rs_SQLValueListWithPlaceholders non-nullable. 2026-09-16 15:12:39 -07:00
Brent Simmons 8a6a94f0fb Report failures from writing to the database. 2026-09-16 13:18:57 -07:00
Brent Simmons e88ce51214 Move location of test folders. 2026-09-16 10:08:49 -07:00
Brent Simmons 3039b3b6c9 Use different keychain usernames. 2026-09-16 10:08:41 -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 a76f59c389 Remove test account credentials from Keychain when deleting account. 2026-09-16 09:16:44 -07:00
Brent Simmons d3da14e5b8 Stop reauthorizing a Feedly token that was rejected. 2026-09-16 09:01:24 -07:00
Brent Simmons 40227e312c Use url.absoluteString consistently in urlToFeedDictionary so that lookups work as expected. 2026-09-15 17:36:16 -07:00
Brent Simmons 1e6b8924c2 Distinguish between failure and an empty queue. 2026-09-15 15:12:31 -07:00
Brent Simmons 3c2c52bb17 Send statuses before sending article content, so an article content failure won’t affect status syncing. 2026-09-15 14:55:54 -07:00
Brent Simmons 177f6ae143 Make sure a failed Feedbin status send still allows article refreshing. 2026-09-15 10:50:40 -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 68629eca9a Fetch articles even if there’s an error sending article statuses. 2026-09-14 09:49:04 -07:00
Brent Simmons 4b41d7f8a9 Make each web service test get its own test responses. 2026-09-13 10:36:04 -07:00
Brent Simmons 3a5a6b5508 Make syncDatabase available to tests. 2026-09-13 10:34:54 -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 6829887c2f Continue sending Feedbin statuses even after one group fails. Add tests. 2026-09-07 09:56:00 -07:00
Brent Simmons 0c913d99e3 Fix bug creating test account folder. 2026-09-07 09:50:29 -07:00
Brent Simmons 6c66c52a89 Return true or false from refreshAll so callers can know if the refreshAll ran. 2026-09-05 09:41:38 -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 86e69b5899 Await push-triggered syncs instead of doing fire-and-forget. 2026-09-04 10:57:11 -07:00
Brent Simmons 95529c5f47 Fix possible data race. 2026-09-03 10:30:37 -07:00
Brent Simmons 2c3b56829d Fix race condition in FetchAllUnreadCountsOperation. 2026-09-03 10:12:01 -07:00
Brent Simmons 858b65931d Drop illegal XML characters in escapingSpecialXMLCharacters. 2026-09-02 15:52:07 -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 8abba351e5 Fix potential hangs in CloudKit syncing. 2026-09-02 10:00:19 -07:00
Brent Simmons f178c6a9b5 Remove dry-run/debugging code no longer needed. 2026-09-02 09:47:19 -07:00
Brent Simmons a6e40e4029 Chunk records in half on getting .limitExceeded (instead of hard-coding 200 chunk size). 2026-09-01 21:50:01 -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 1df4cf7d3a Parse Reader API hex item IDs as unsigned so high-bit IDs no longer overflow to an unsendable ID. 2026-09-01 11:41:53 -07:00
Brent Simmons 614b091aa1 Fix build error. 2026-09-01 11:26:04 -07:00
Brent Simmons 10505b872d Rename storeConditionalGet to storeConditionalGetIfNeeded, since it doesn’t always store conditional GET (it’s only on 200 response). 2026-09-01 11:10:28 -07:00
Brent Simmons 491df567a6 Fix potential Feedbin sync bug by storing conditional GET info after, not before, updating model. 2026-09-01 11:08:51 -07:00
Brent Simmons 5e33560da4 Fix potential sync bugs (Feedbin, ReaderAPI) by storing conditional GET info only on 200 and only after updating the model, not before. 2026-09-01 10:56:17 -07:00
Brent Simmons 8e0007233d Keep feed at top level if its folder is missing locally (with Feedbin and Reader API syncing). 2026-09-01 09:34:04 -07:00
Brent Simmons 2b46ee65cc Replace return with continue when syncing folder relationships so we don’t skip some. 2026-09-01 09:14:04 -07:00
Brent Simmons 2f6d5053e0 Use en_US locale for parsing dates from servers. 2026-09-01 09:04:12 -07:00
Brent Simmons 7e0f3d6d18 Added saveAllIfNeeded to write OPML files to disk only if dirty. 2026-09-01 08:58:16 -07:00
Brent Simmons 4544328042 Avoid a potential hang by calling the previous completion before setting a new one. 2026-08-31 07:17:27 -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