Commit Graph
11705 Commits
Author SHA1 Message Date
Brent Simmons 4ea99ea31b Give strings one comment each, matching string catalog. 2026-11-25 10:35:03 -08:00
Brent Simmons e9c32b5f7c Add and use shared hasCredentialsView and ViewBuilder for getting the correct credentials view. 2026-11-25 10:28:21 -08:00
Brent Simmons 118640e4bc Expand one-line bodies and complete file header. 2026-11-25 10:20:31 -08:00
Brent Simmons b568493bc4 Label username field as just "Username" in iOS Miniflux view, since Miniflux uses username. Enable password autofill. 2026-11-25 09:59:55 -08:00
Brent Simmons e43a31da18 Remove force unwraps from Mac Miniflux sheet. Complete the file header. 2026-11-25 09:58:05 -08:00
Brent Simmons bb8c986b19 Use enum for authentication mode segments. 2026-11-25 09:56:16 -08:00
Brent Simmons aeb0b37065 Use "and" instead of "&". 2026-11-25 09:56:00 -08:00
Brent Simmons 2db42d1118 Fix Miniflux Mac sheet issues. No optional placeholder on required token field. Make Keychain note fit token mode. 2026-11-25 09:54:39 -08:00
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 a32f228363 Use shared Miniflux.normalizedEndpointURL instead of local version. 2026-11-25 09:48:48 -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 adec1d899e Use shared duplicateServiceAccount in Miniflux account screen. 2026-11-25 09:36:38 -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 2df285ca6e Add Miniflux account type to AppleScript enum. 2026-11-24 22:04:56 -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 7257a72853 Clean up Keychain when changing the Miniflux endpoint or username. 2026-11-24 10:28:12 -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
Brent Simmons 7c69c26cd3 Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire 2026-11-24 10:11:14 -08:00
Brent Simmons b4cb422d20 Merge pull request #5405 from dave-atx/miniflux
Add native Miniflux account type and sync support
2026-11-24 10:11:00 -08:00
Brent Simmons 02324883ce Fetch unread articles after confirming Mark All as Read in timeline and sidebar swipe actions, avoiding a hang by pre-fetching. Fixes #5450. 2026-11-22 21:02:20 -08:00
Brent Simmons cea2aeccf0 Merge pull request #5480 from cartesian-plane/fix/hang-contextual-menu-5450
Move article fetch after “Mark All as Read” action
2026-11-22 21:00:11 -08:00
Brent Simmons 7b74098d18 Merge branch 'main' into fix/hang-contextual-menu-5450 2026-11-22 20:59:42 -08:00
Brent Simmons 68d3f0ae48 Merge pull request #5553 from toy/make-web-views-inspectable
make web views inspectable
2026-11-22 20:50:36 -08:00
Brent Simmons e05b4fac6a Merge branch 'main' into make-web-views-inspectable 2026-11-22 20:49:41 -08:00
Brent Simmons 84e653a238 Rename the Find in Article notification handler to handleFindInArticle. Disable Find menu items when no web view. 2026-11-22 20:31:38 -08:00
Brent Simmons 63edb5cbc5 Merge pull request #5556 from dave-atx/find-in-article-uifindinteraction
Use the system find bar for Find in Article on iOS
2026-11-22 20:26:16 -08:00
Brent Simmons 80075d1dc3 Simplify the confirmation for mark-all-as-read — drop the link to Settings. 2026-11-22 15:39:48 -08:00
Brent Simmons bf58016574 Update status. 2026-11-22 11:38:29 -08:00
Brent Simmons 630659aabc Update release notes for App Store release. 2026-11-22 11:31:09 -08:00
Dave Marquard abb71358b6 Use the system find bar for Find in Article on iOS
Find in Article was a custom search bar plus JavaScript that walked the
page text and drew its own highlights. It predates WKWebView's
UIFindInteraction (iOS 16), and its state lived in the page, so on iPad,
where the article view stays on screen and reuses its web view for the
next article, the bar kept the previous article's text and result count
and Next / Previous did nothing.

Turn on isFindInteractionEnabled and drive the web view's find
interaction instead. ArticleViewController handles find:, findNext: and
findPrevious:, so the system Find menu (Find, Find Next, Find Previous)
works with a hardware keyboard, and the old ⌘F key command goes away.
It also passes Use Selection for Find to the web view, which otherwise
only gets it while it's first responder, so the menu item works when the
view controller has focus. The find bar is dismissed when the article
changes or the article view goes away. The share sheet's Find in Article item still works.

Verified on iPad Pro 11-inch (iOS 27.0) and iPhone 18 Pro (iOS 27.2)
simulators: ⌘F, ⌘G, switching articles from the timeline and with the
next-article button, and the share sheet item.
2026-11-22 07:06:12 -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 ec4fc13da5 Update status. 2026-11-21 22:09:32 -08:00
Brent Simmons e4a01acff1 Update release notes and version. iOS-7.3.1-7244 2026-11-21 22:06:29 -08:00