Commit Graph
108 Commits
Author SHA1 Message Date
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 7a74bbb4f4 Post real errors to the Error Log from Reader API status syncing, and keep an unread fetch failure from skipping the starred fetch. 2026-08-02 12:54:59 -07:00
Brent Simmons 0833627eee Fix Reader API item ID encoding in the article contents request — it was unpadded and wrong for negative IDs. 2026-08-02 12:51:51 -07:00
Brent Simmons e5171cbb0b Fix bug where sending an article's read status could delete its queued starred status. 2026-08-02 12:48:25 -07:00
Brent Simmons 41395fb9b7 Don't let a Reader API status refresh revert pending unsent read and starred changes. 2026-08-02 11:46:02 -07:00
Brent Simmons ca5c220988 Send queued article statuses for Inoreader on every status sync — only status downloading stays throttled for rate limits. Fixes #4476. 2026-08-02 11:43:30 -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 08d10f5016 Allow ReaderAPI refresh to continue even after failure sending article statuses. 2026-07-08 22:49:42 -07:00
Brent Simmons 08134a8fcc Refresh ReaderAPI authentication token as needed. 2026-07-07 09:39:43 -07:00
Brent Simmons b7f95ae5ec Send queued statuses in the background — don’t delay returning to the feeds list. 2026-07-05 16:12:33 -07:00
Brent Simmons 70cefdcf9b Add ActivityLog API to simplify use of ActivityLog. 2026-06-19 10:05:47 -07:00
Brent Simmons 3ee0a61b7d Fix memory use bug in mark-status command by retaining article IDs instead of Articles. Simplify article marking — take article IDs. 2026-06-16 07:53:06 -07:00
Brent Simmons f8d2dcc404 Return non-optional Data from the webservice send methods. 2026-06-15 08:13:57 -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 3ff3462b05 GIve AccountDelegate an account property and drop redundant account parameters. 2026-06-14 14:54:56 -07:00
Brent Simmons 9db1a7b143 Add more activity logging to ReaderAPI accounts. 2026-06-14 14:14:54 -07:00
Brent Simmons 5929986a13 Reduce SyncDatabase disk writes when possible by honoring the status sync idle backoff and by deleting unsendable ReaderAPI statuses. 2026-06-13 09:21:49 -07:00
Brent Simmons 6a079f1f43 Make it so logActivity doesn’t have to use a try. 2026-06-11 08:43:07 -07:00
Brent Simmons 8d1bdcf9ed Continue post-DatabaseResult simplification. 2026-06-10 19:54:03 -07:00
Brent Simmons 28673e9718 Continue post-DatabaseResult simplification. 2026-06-10 18:11:17 -07:00
Brent Simmons 6393f50e01 Normalize localization comments — fix issues found by the new scripts/check_localization_comments.py. 2026-06-10 10:48:40 -07:00
Brent Simmons 8f4a979608 Remove no-longer-needed code for suspending and resuming SQLite databases on iOS. 2026-06-06 16:04:56 -07:00
Brent Simmons c46bd2744f Remove the markArticles activity reporting since it doesn’t represent a URL request (just local database work). 2026-05-30 12:43:56 -07:00
Brent Simmons 3b7c1708ee Wake status sync from idle backoff when articles are marked locally. 2026-05-30 12:19:31 -07:00
Brent Simmons 4862ad69b5 Drop "send triggered." 2026-05-30 12:06:03 -07:00
Brent Simmons 2fbce1b63c Back off Feedly status sync to 30 minutes when last sync had no changes. 2026-05-30 11:12:29 -07:00
Brent Simmons c7dea24909 Report activities for CloudKit stats fetch, CloudKit cleanup, ReaderAPI initial feed download, and NewsBlur logout. 2026-05-29 19:06:15 -07:00
Brent Simmons 0007a051b1 Post activities in Feedbin, Feedly, NewsBlur, and ReaderAPI account types. 2026-05-29 18:33:53 -07:00
Brent Simmons 6fdda05ec3 Report per-database duration when vacuuming. 2026-05-29 16:51:35 -07:00
Brent Simmons fb7598eff8 Fix FreshRSS getting feed IDs mixed up. Fixes #5231. 2026-04-25 10:03:25 -07:00
Brent Simmons 82406cc823 Delete RSParserObjC. Update references. Add tests. 2026-04-20 11:50:23 -07:00
Brent Simmons 0c2808e607 Post error notifications close to where they happen, which gives us more detail about what went wrong. 2026-03-31 18:36:23 -07:00
Brent Simmons b8cd5f564c Report more detailed error messages — create and use AccountError.detailedErrorMessage. 2026-03-31 18:06:05 -07:00
Brent Simmons 28bb8f7a25 Use import os rather than import os.log. 2026-03-23 11:23:15 -07:00
Brent Simmons f8980a51b5 Add Debug menu command Vacuum Databases. 2026-03-13 21:54:13 -07:00
Brent Simmons c61d2fb97a Add operation and other data to error log. 2026-03-12 20:53:59 -07:00
Brent Simmons eb92bac999 Post .appDidEncounterError notification. 2026-03-12 19:42:34 -07:00
Brent Simmons 9c47a839e5 Post sync errors. 2026-03-12 13:03:12 -07:00
Brent Simmons 1ed84ac4e6 Add and use new CredentialsError cases. 2026-03-10 20:11:31 -07:00
Brent Simmons d0020b88c2 Make accountSettings not weak. No need for it to be weak. Not a retain loop. 2026-03-10 19:58:36 -07:00
Brent Simmons bdd1cfd9e1 Retrieve credentials if needed before adding a feed. Fixes #4234. 2026-03-08 14:48:52 -07:00
Brent Simmons 687dc93cb7 Retrieve credentials if needed on resume and as step one of refreshing. This way we get another try at it in case there was a transient Keychain error earlier. 2026-03-07 20:44:01 -08:00
Brent Simmons 5e29ecb91c Rename lastArticleFetchEndTime to lastRefreshCompletedDate. 2026-03-07 15:20:50 -08:00
Brent Simmons 2a10090618 Remove calls to clearFeedMetadata, which has been removed. 2026-03-07 14:01:41 -08:00
Brent Simmons 61c49848ec Use AccountSettings instead of AccountMetadata. 2026-03-06 21:41:08 -08:00
Brent Simmons bc99867c22 Avoid force-unwrapping — fix a crash. Fixes #5128. 2026-02-18 21:56:51 -08:00
Brent Simmons 658e549458 Fix SwiftLint issues. 2026-01-16 10:27:10 -08:00
Brent Simmons 0cdb9887ee Fix build warning. 2026-01-15 09:10:51 -08:00
Stefan Dukat 91c69841ea Support OPML import for FreshRSS accounts 2026-01-13 18:21:58 +01:00
Brent Simmons f83e7ee77a Add some logging to ReaderAPICaller. Change how postData is encoded (use non-optional method). Make sure accessToken doesn’t have a trailing \n character. 2026-01-07 11:26:40 -08:00