Commit Graph
10661 Commits
Author SHA1 Message Date
Brent Simmons 3ca28d2e04 Notify the rate limiter. 2026-08-03 14:37:11 -07:00
Brent Simmons f2c3e2f380 Stop the Feedly status refresh at a rate-limit error instead of starting the starred walk into an active ban. 2026-08-03 14:35:48 -07:00
Brent Simmons 7a4ab6e718 Paginate the Feedly per-feed backfill so feeds with more than one page of new items don't silently lose the rest. 2026-08-03 14:34:30 -07:00
Brent Simmons e0e9394eee Advance the Feedly fetch watermark only when the ID walk completes, back-dated to cover clock skew. 2026-08-03 14:31:54 -07:00
Brent Simmons 678932798a Don't mark read or unstar from a Feedly stream walk that stopped at the page cap — a truncated walk isn't authoritative about absence. 2026-08-03 14:28:50 -07:00
Brent Simmons 3ebf9a1d0a Skip the Feedly timer status sync while refreshAll is running, and stop it from resetting the shared refresh progress. 2026-08-03 14:26:04 -07:00
Brent Simmons f5845b9d12 Coalesce overlapping Feedly status sends into one in-flight task and drop the racy bulk selection reset. 2026-08-03 14:19:24 -07:00
Brent Simmons 7067b8ce7b Merge. 2026-08-03 14:10:59 -07:00
Brent Simmons 6a37683b3c Compose the Feedly refreshAll Activity Log message from the shared part builders instead of duplicating them, and add tests. 2026-08-03 13:51:50 -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 9693b9b4a3 Delete dead Feedly code: the expired sandbox environment, unused OAuth error types, the unused client state property, and a stale TODO. 2026-08-03 13:06:14 -07:00
Brent Simmons 33c1be6c76 Harden Feedly OAuth sign-in and token refresh with state validation, a stricter callback check, and better error reporting. 2026-08-03 11:59:41 -07:00
Brent Simmons 6ba22e4948 Use the published date Feedly reports for articles, clamped to the crawl date, instead of dating a new feed's whole archive with the crawl date. 2026-08-03 11:30:27 -07:00
Brent Simmons 79664c5e37 Ignore a Feedly refreshAll while one is already running. 2026-08-03 11:20:33 -07:00
Brent Simmons a1c08b4b1c Bound the Feedly per-feed backfill by last-check date and a smaller count instead of fetching up to 1000 full entries per feed. 2026-08-03 11:18:58 -07:00
Brent Simmons 1efda2e375 Fix type-check time failure. 2026-08-03 11:17:54 -07:00
Brent Simmons 9b3644e50c Reconcile Feedly starred articles per refresh instead of every status sync — the starred stream walk has no date bound and stars still send promptly. 2026-08-03 11:17:08 -07:00
Brent Simmons a477cee59b Reuse the Feedly stream IDs from ingestion as the updated-articles set instead of walking global.all twice per refresh. 2026-08-03 11:14:51 -07:00
Brent Simmons 2441263c6e Mark only the rows actually being sent as selected, so a limited batch can’t delete a queued status it never sent. 2026-08-03 11:13:39 -07:00
Brent Simmons 5f6f7970ae Percent-encode plus signs in Feedly query values, which Feedly otherwise decodes as spaces, breaking stream requests and pagination. 2026-08-03 11:10:54 -07:00
Brent Simmons f2fa313912 Clear Feedly progress info before adding tasks, so refreshInProgress is true from the start of a refresh. 2026-08-03 11:09:17 -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 5c01af6f0a Treat statuses selected for an in-flight send as still pending, so a concurrent status refresh can't revert unsent local changes. 2026-08-03 11:06:07 -07:00
Brent Simmons 145af40159 Don't let an in-flight status send hide a pending change from the refresh that would revert it. Fixes #4280. 2026-08-03 11:05:06 -07:00
Brent Simmons 02dc71f85e Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire 2026-08-03 10:50:36 -07:00
Brent Simmons cea508470a Keep a Feedly token refresh failure from recursing, and stop using a fake 403 for a missing refresh token. Fixes #3949. 2026-08-03 10:50:28 -07:00
Brent Simmons 58c3f86f3f Cap Feedly article downloads per sync, downloading updated articles first and the rest on later syncs. Fixes #3949. 2026-08-03 10:47:53 -07:00
Brent Simmons f997c22abd Get the page URL from Safari instead of an injected content script, so the extension’s button works without reloading the page. Fixes #4208. 2026-08-03 10:45:33 -07:00
Brent Simmons b10fd39553 Bound Feedly's stream ID walks by date and page count instead of walking the entire history every sync. Fixes #3949. 2026-08-03 10:43:19 -07:00
Brent Simmons e4a98b0a48 Stop decoding the Feedly markers response, so a successful mark can't be recorded as a failure and requeued. Fixes #3779. 2026-08-03 10:39:16 -07:00
Brent Simmons 47a6069d7c Drop queued Feedly mark-as-read statuses for articles older than the 31-day marker limit, per Feedly's guidance. Fixes #3779. 2026-08-03 10:24:48 -07:00
Brent Simmons 5f0e905099 Delete Feedly status sends from the queue per successful chunk, and keep a failed send from blocking the rest of the refresh. Fixes #3779. 2026-08-03 10:15:01 -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 1c5493d20d Pause Feedly syncing when the server reports rate limiting with a 429 or 403, honoring Retry-After. Fixes #3949. 2026-08-03 10:08:42 -07:00
Brent Simmons 63e08f34e8 Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire 2026-08-03 09:48:30 -07:00
Brent Simmons 84b176d0b6 Keep the current article when adding a feed on iOS — don't clear the selection to show the Add Feed sheet, and disclose the new feed only when nothing is selected. Fixes #4352. 2026-08-03 09:48:24 -07:00
Brent Simmons d991b21d62 Open handoff and deep link articles at the top instead of reusing the persisted scroll position. Fixes #5243. 2026-08-03 09:32:46 -07:00
Brent Simmons 4795efbed4 Ignore late scroll position callbacks that arrive after the article has changed. 2026-08-03 09:30:45 -07:00
Brent Simmons 4021fb3639 Fix bug where reader view articles could open scrolled to the middle instead of the top. Fixes #5243. 2026-08-03 09:27:27 -07:00
Brent Simmons 5a488866e7 Consult the icon downloaders ahead of the session cache so a newly arrived feed icon replaces a stale one. Fixes #5376. 2026-08-02 22:39:51 -07:00
Brent Simmons a2b1ea7e5e Prefer a feed's declared icon over a previously discovered home-page icon. Fixes #5376. 2026-08-02 22:34:17 -07:00
Brent Simmons cc19be05a6 Skip the home-page icon fallback while a feed's declared icon is still downloading. Fixes #5376. 2026-08-02 22:32:08 -07:00
Brent Simmons 17eb62e850 Check iCloud account status before syncing — refresh feeds without alerts while the account is unavailable, and resume syncing automatically when it comes back. Fixes #4115. 2026-08-02 18:01:51 -07:00
Brent Simmons 2135a52bff Read feeds even after a CloudKit error. 2026-08-02 17:58:13 -07:00
Brent Simmons bf78f30bdf Show a helpful message when iCloud sync is paused for Terms and Conditions acceptance. Fixes #4115. 2026-08-02 17:46:26 -07:00
Brent Simmons 196290391a Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire 2026-08-02 17:29:25 -07:00
Brent Simmons d657be6efa Declare UTF-8 in the HTML written to the pasteboard. Fixes #3978. 2026-08-02 17:29:21 -07:00