Commit Graph
1235 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 b8f938f4b8 Remove no-longer-used Reddit code. 2026-11-18 17:46:24 -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 d404cf18a3 Log thumbnail downloading always (not just on error). Include feed name in log entries. 2026-11-15 20:59:37 -08:00
Brent Simmons d0b79171df Log thumbnail downloading (not just on errors). 2026-11-15 20:48:56 -08:00
Brent Simmons 7be0246e54 Remove settings storyboard, which had very little left in it. Do it in code. 2026-11-14 12:38:37 -08:00
Brent Simmons 7908c801bf Allow thumbnail downloading when in low data mode. 2026-11-12 13:59:08 -08:00
Brent Simmons 81345183cd Add test to make sure an Atom xhtml title handles CDATA section properly. 2026-11-11 20:42:59 -08:00
Brent Simmons 0f5046bbb6 Remove sidebar rows by identity, not index, so deleting a feed can’t remove the wrong row (usually the next row) from the outline. 2026-11-11 08:34:51 -08:00
Brent Simmons a509c7d01f Make icon cache eviction less aggressive. Remove memory monitor entirely. Seems to hurt more than it hurts. Never used to have that kind of thing on macOS anyway. 2026-11-09 21:10:14 -08:00
Brent Simmons 7f6aca32bc Show grayscale icons when the setting is on. 2026-11-09 09:13:06 -08:00
Brent Simmons cfb4c32a53 Add IconImage.grayscaleIconImage. 2026-11-09 09:07:48 -08:00
Brent Simmons 39cd96839e Handle Guardian image enclosures that don’t use a media:group and that differ only by ?width=. Pick the widest one. 2026-11-09 08:42:06 -08:00
Brent Simmons f9505e95b3 Accept Xcode weirdness. 2026-11-09 08:15:53 -08:00
Brent Simmons 9e0c28fcce Use an item’s only Gravatar as its only author’s avatar, even when its title is the username ("halmueller" instead of "Hal Mueller," for instance). 2026-11-08 22:16:07 -08:00
Brent Simmons d8417db7d5 Skip enclosure images that are the same as the feed image (as with Letters from an American), so they don’t become redundant timeline thumbnails or primary images. 2026-11-08 21:56:55 -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 fcbc491180 Rename forNameCaseInsensitive to forCaseInsensitiveName. 2026-11-06 10:33:49 -08:00
Brent Simmons eac971b275 Create aspectFitRect (used in the app for small thumbnails, but possibly useful other places). 2026-11-05 20:33:47 -08:00
Brent Simmons 03cc95e4e4 Make small thumbnails square. Crop from sides and bottom, never top, which makes it more likely that the relevant part of the image will be in the thumbnail. (Not using face detection though due to performance.) 2026-11-05 19:56:43 -08:00
Brent Simmons 03d7367772 Rasterize SVG icons once in background on Mac, so views can draw bitmap (fast) instead of the vector. 2026-11-03 16:18:49 -08:00
Brent Simmons b24d552c81 Stop an image too large for the timeline from blocking it as an icon. Save new conditional GET info when a check finds the image unchanged. 2026-11-03 16:09:13 -08:00
Brent Simmons d49c25abf9 Pass article base URL to image attribute inserter as URL, matching HTMLImageParser. 2026-11-03 16:04:05 -08:00
Brent Simmons 7b16af7698 Check image’s declared size before resolving its URLs. 2026-11-03 15:57:46 -08:00
Brent Simmons 98dccfe5dc Decode entities in title and textarea, so link from SVG title is correctly decoded. 2026-11-03 15:48:01 -08:00
Brent Simmons a1958416ba Rename iconImageCache to iconImages. 2026-11-03 15:40:05 -08:00
Brent Simmons 88ba9f9fe9 Make inits private. 2026-11-03 15:38:59 -08:00