Commit Graph
127 Commits
Author SHA1 Message Date
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 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 9412559ad0 Fix bug where feeds could lose their names and become Untitled. 2026-08-16 14:44:40 -07:00
Brent Simmons d8bdbe0678 Convert from wide versions of & < > generated by FreshRSS back to regular versions. Fixes #5143. 2026-08-08 12:24:39 -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 7067b8ce7b Merge. 2026-08-03 14:10:59 -07:00
Brent Simmons fafd5bd805 Extract the duplicated Feedly and ReaderAPI rate-limit machinery into a shared SyncRateLimiter type. 2026-08-03 13:48:35 -07:00
Brent Simmons 696fcd3da5 Replace the three copied logRefreshPage implementations with one shared Account method. 2026-08-03 13:33:48 -07:00
Brent Simmons 468e17456b Replace the five copied postSyncError implementations and Account's identical postCredentialError with one shared Account method. 2026-08-03 13:29:30 -07:00
Brent Simmons 272d73499e Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire 2026-08-03 11:08:04 -07:00
Brent Simmons 13aedbad29 Clear stale in-flight status selections at launch, so statuses queued when the app was killed get sent. 2026-08-03 11:07:55 -07:00
Brent Simmons 52e78b29cf Log a skipped refresh in the Activity Log when a Reader API account is rate limited. 2026-08-03 10:10:38 -07:00
Brent Simmons f50bcd4ffc Fix folder creation for Reader API accounts by keeping new folders until a feed makes them real on the server. Fixes #3834. 2026-08-02 17:27:53 -07:00
Brent Simmons e69cb835aa Use conditional GET for Reader API tag and subscription lists, and skip the whole status reconcile — not just the status downloads — when near the Inoreader API quota. 2026-08-02 13:41:45 -07:00
Brent Simmons 2cd0e1781a Skip the full status downloads when Inoreader reports Zone 1 API usage near its daily limit, using its rate-limit headers. 2026-08-02 13:34:56 -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 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