Commit Graph
597 Commits
Author SHA1 Message Date
Brent Simmons 35b10714f2 Shorten comment on Miniflux starred fallback for older servers. Note that it’s not atomic. 2026-11-25 09:50:37 -08:00
Brent Simmons 9bd35e070a Move normalizedMinifluxEndpointURL from Account extension to Miniflux struct and rename it to drop Miniflux in the function name. 2026-11-25 09:47:53 -08:00
Brent Simmons a44a2c4a6e Add shared Miniflux endpoint URL normalizer that fails on URL with no host. 2026-11-25 09:44:57 -08:00
Brent Simmons 0c0d33d100 Use RSWeb’s response validation when creating Miniflux feed. 2026-11-25 09:42:39 -08:00
Brent Simmons 3e77dbb536 Use fetch with Miniflux server version check so it honors suspend. 2026-11-25 09:38:35 -08:00
Brent Simmons 9b7f582acf Remove a now-unused version of duplicateServiceAccount. 2026-11-25 09:37:14 -08:00
Brent Simmons 05c8f3130a Normalize endpoints in duplicateServiceAccount to improve duplicate detection. 2026-11-25 09:34:49 -08:00
Brent Simmons b6b448e5ca Reset Miniflux sync statuses at launch, as the other accounts do. 2026-11-25 09:07:38 -08:00
Brent Simmons 9dac55c726 Report whether Miniflux statuses changed (instead of whether entries were fetched). 2026-11-24 22:38:12 -08:00
Brent Simmons 61ad984faf Create new folder instead of matching by name — name is not the ID. 2026-11-24 22:33:23 -08:00
Brent Simmons 6f967490a6 Remove feed from folders it does not belong in — put it only where the server says. 2026-11-24 22:25:10 -08:00
Brent Simmons d1bc0c46cb Put new Miniflux feed in category created in. Remove top level copies of feeds on refresh. 2026-11-24 22:21:42 -08:00
Brent Simmons 9c7bd14a42 Report failure when undoing a Miniflux folder delete can’t re-create its category. Don’t create category with empty title. 2026-11-24 22:16:06 -08:00
Brent Simmons 16b06639ed Continue sending Miniflux status groups when one send fails. Report the last error. 2026-11-24 22:10:41 -08:00
Brent Simmons 56eab87567 Limit Miniflux refresh after OPML import to three months (not the entire history). 2026-11-24 22:03:48 -08:00
Brent Simmons 84116c55f1 Limit the Miniflux missing article backfill per refresh. Save fetched entries even when a later request fails. Delete server-deleted statuses per chunk. 2026-11-24 13:36:33 -08:00
Brent Simmons 4ecb750358 Remove deleted statuses from the status cache. 2026-11-24 13:21:57 -08:00
Brent Simmons 5ffb24db48 Use several-minute clock skew with Miniflux’s change_after to account for device time being slightly ahead of server. 2026-11-24 13:16:18 -08:00
Brent Simmons 4e388ee81f Disallow overlapping Miniflux status-sends, so overlapping sends on older servers don’t toggle stars back. 2026-11-24 13:13:48 -08:00
Brent Simmons 95bc2680c6 Skip Miniflux entries with an unknown starred state in the starred-toggle fallback for older servers, instead of toggling them blindly. 2026-11-24 11:00:42 -08:00
Brent Simmons 333e79211d Page Miniflux entry IDs by entry ID on older servers, and rescan on newer servers when the total changes, so that entries read on another device during a scan aren’t skipped and marked read locally. 2026-11-24 10:57:01 -08:00
Brent Simmons 027a01e2f3 Make the Keychain key for Miniflux use host, port, and path, so that a single host with multiple Miniflux installations (family and work, for instance) would allow for separate credentials in NetNewsWire. 2026-11-24 10:18:58 -08:00
Dave MarquardandIngmar Stein ba63d58712 Add native Miniflux account type and sync support
Adds Miniflux as a first-class account type alongside Feedbin, Feedly,
NewsBlur, and Reader API accounts, on both macOS and iOS.

Refreshes are incremental: the changed_after parameter means read and
starred status ride along with the entries in a single pass instead of
needing separate status scans. Articles missing locally are backfilled by
ID via GET /v1/entries/{id}; a 404 means the entry is gone server-side, so
its statuses are deleted and it is not requested again on every refresh.
Starred changes go out as idempotent batch updates.

Requires Miniflux 2.0.49 or newer. The server version is detected at
runtime via GET /v1/version and persisted in AccountSettings. Servers
older than 2.3.2 have no /v1/entries/ids and no batch starred updates, so
those paths fall back transparently to paged /v1/entries and per-entry
bookmark toggles.

Both HTTP Basic and API-token authentication are supported, selectable in
the account sheet on either platform. Entered URLs are normalized (scheme
added, trailing slash and /v1 suffix stripped), and adding a second
account for a server that already has one is rejected.

Tests cover folder sync, model decoding, version parsing, the pre-2.3.2
fallback paths, and duplicate-endpoint detection, with JSON fixtures for
the API responses.

The runtime version detection and the duplicate-endpoint check were
informed by IngmarStein's independent Miniflux implementation in #5335.

Written with help from Claude Code.

Co-Authored-By: Ingmar Stein <490610+IngmarStein@users.noreply.github.com>
2026-11-22 07:06:11 -08:00
Brent Simmons 7f7a675833 Use the same string — "Notify about new articles" — on both platforms. Delete some no-longer-used Reddit code. 2026-11-18 17:44:15 -08:00
Brent Simmons 519c5598e0 Skip refreshing Reddit feeds (in local and iCloud accounts) since Reddit no longer offers RSS feeds. 2026-11-18 17:38:34 -08:00
Brent Simmons f9505e95b3 Accept Xcode weirdness. 2026-11-09 08:15:53 -08:00
Brent Simmons 7214b44dc3 Work around Apple crash in iOS 27.2 beta. Don’t use <= or >= with Dates. 2026-11-06 10:34:36 -08:00
Brent Simmons 70cbd39834 Use the proper baseURL in the thumbnail finder. 2026-10-28 11:30:24 -07:00
Brent Simmons 473a94bb06 Store and display attachments in feed order. 2026-10-24 11:58:06 -07:00
Brent Simmons d3d52a72ef Parse enclosures and articles images from Reader API accounts. 2026-10-24 10:53:14 -07:00
Brent Simmons c9d52b859c Get image and thumbnail from NewsBlur. 2026-10-23 21:00:57 -07:00
Brent Simmons 8b6adbc8f8 Get article image from Feedly. 2026-10-23 20:58:01 -07:00
Brent Simmons 7858ea8b61 Parse and store Feedbin image, thumbnail, and enclosure. 2026-10-23 20:54:40 -07:00
Brent Simmons 2c17fb77c9 Add thumbnail storage. 2026-10-23 12:11:33 -07:00
Brent Simmons 73009b389c Make sure OPML gets saved on setting feed title. 2026-10-23 10:46:50 -07:00
Brent Simmons df20c6cc1c Add width, height, and medium properties to ParsedAttachment. Make JSON Feed mime_type optional. 2026-10-22 21:05:06 -07:00
Brent Simmons a746736bf1 Add Refresh and Show/Hide Sidebar commands to status bar gear menu. 2026-10-21 20:35:05 -07:00
Brent Simmons a4bc00fad2 Switch from OSAllocatedUnfairLock to Mutex. 2026-10-21 19:13:13 -07:00
Brent Simmons c70a7ab4a7 Make iOS 18 the minimum target. 2026-10-21 19:05:11 -07:00
Brent Simmons 94032d95fe Make setting last refresh date for accounts more consistent. 2026-10-20 12:01:02 -07:00
Brent Simmons 749de6f24c Accept Xcode weirdness for the latest Xcode version. 2026-10-09 09:56:01 -07:00
Brent Simmons 8514379352 Rename uses of the word "ingest." Fixes #5467. 2026-10-02 20:30:48 -07:00
Brent Simmons 1013e9359b Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire 2026-09-20 21:27:01 -07:00
Brent Simmons 04e1a054a0 Run one full unread count query per account instead of once per feed. 2026-09-18 20:16:57 -07:00
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 a9e14ab84b Make rs_SQLValueListWithPlaceholders non-nullable. 2026-09-16 15:12:39 -07:00
Brent Simmons 47f62e5eec Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire 2026-09-16 14:26:33 -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