Commit Graph
122 Commits
Author SHA1 Message Date
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 a32f228363 Use shared Miniflux.normalizedEndpointURL instead of local version. 2026-11-25 09:48:48 -08:00
Brent Simmons adec1d899e Use shared duplicateServiceAccount in Miniflux account screen. 2026-11-25 09:36:38 -08:00
Brent Simmons 7257a72853 Clean up Keychain when changing the Miniflux endpoint or username. 2026-11-24 10:28: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 0a0ac86153 Rebuild notification inspector only for own account’s feed icons. 2026-11-03 15:43:53 -08:00
Brent Simmons dc27b508b3 Make IconImageCache the source of icon notifications. 2026-11-03 11:53:31 -08:00
Brent Simmons 263ec26831 Offer update-credentials for all username/password accounts (not Feedbin only). 2026-10-09 11:20:48 -07:00
Brent Simmons 253ebf651d Remove superfluous @MainActor. 2026-10-09 09:43:30 -07:00
Brent Simmons a2389fa7ee Add AccountSetupSheet which is shared by Local, CloudKit, and credentials sheets. 2026-10-09 09:42:25 -07:00
Brent Simmons f54546525f Replace several copies of the same alert code with a new errorAlert. 2026-10-08 21:55:26 -07:00
Brent Simmons c4998f7acf Fix typo. 2026-10-08 21:50:42 -07:00
Brent Simmons c1edd824a0 Delete account if credentials can’t be saved to keychain. 2026-10-08 21:43:56 -07:00
Brent Simmons f290c5a126 Disallow swiping away sheets while they’re working. 2026-10-08 21:28:13 -07:00
Brent Simmons 4127b8a7ec Fill in the API endpoint URL when we have it. 2026-10-08 21:26:28 -07:00
Brent Simmons a925110680 Fix Add Feed losing the typed title and URL after choosing a folder. 2026-10-08 21:22:08 -07:00
Brent Simmons d3764c66fe Respect unread count display setting on iOS. 2026-10-06 11:31:40 -07:00
Brent Simmons 0261d9e81d Convert Add.storyboard to SwiftUI. 2026-09-18 12:52:29 -07:00
Brent Simmons 94897de070 Convert account screens to SwiftUI. 2026-09-18 10:06:04 -07:00
Brent Simmons f8126db102 Allow accounts with same username on different servers — compare API endpoint when there is one. Fixes #4377. 2026-07-26 09:48:07 -07:00
Brent Simmons f026cf190f Stop waiting for an initial refresh to complete before closing add-account sheet or screen. Do the initial refresh like a regular periodic refresh. 2026-07-06 08:19:00 -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 395593401d Fix stray localization issues. 2026-06-06 14:53:46 -07:00
Brent Simmons fb05b944cf Regularize comments for localized strings so the Localizable.xcstrings file doesn't change just because we switched targets. 2026-06-06 14:43:31 -07:00
Brent Simmons 973b79a1fc Move images code to new Images module. 2026-05-29 10:46:00 -07:00
Brent Simmons 1a536059bf Sort feeds using localizedCaseInsensitiveCompare. 2026-05-15 20:16:43 -07:00
Brent Simmons ce8b7e0984 Fix build errors. Make it compatible with iOS 17/18. 2026-04-25 11:02:51 -07:00
Brent Simmons 4c9bbe6a01 Merge pull request #5095 from stuartbreckenridge/experiments/notification-management
✨Add Account-level Notification Management on iOS
2026-04-25 10:11:05 -07:00
Brent Simmons 8c56c13311 Turn off autocorrection for several username fields. Fixes #3217. 2026-04-14 22:01:08 -07:00
Brent Simmons 180b115708 Use the name of the new iCloud page "How to Optimize iCloud Syncing" instead of the old page "iCloud Syncing Limitations & Solutions" 2026-03-25 21:42:40 -07:00
Brent Simmons 1e2e46eed2 Get rid of Account.defaultLocalAccountName. 2026-03-12 13:03:28 -07:00
Brent Simmons ce45486ed5 Remove redundant calls to removeCredentials (since storeCredentials calls remove if needed). 2026-03-11 15:13:40 -07:00
Brent Simmons 60415d46d0 Trim whitespace from username and API URL. 2026-03-08 11:20:25 -07:00
Stuart Breckenridge 6d4443f4f4 🚨 Fix SwiftLint Unhappiness 2026-02-07 18:42:10 +08:00
Stuart Breckenridge f5037c53e1 💄 Add account name to subtitle 2026-02-07 18:33:49 +08:00
Stuart Breckenridge 09809d08ef ✨ Handle unauthorised notification state 2026-02-07 18:21:46 +08:00
Stuart Breckenridge 852e4d6e31 ⚡️ Wrap IconImage in IconImageView for SwiftUI 2026-02-07 17:30:56 +08:00
Stuart Breckenridge a35c20f7ff ✨ Notification manager for iOS 2026-02-07 16:39:03 +08:00
Stuart Breckenridge 21f7dcf3f8 fix #4995 2026-01-21 22:14:40 +08:00
Brent Simmons ed4c47d003 Fix SwiftLint issues. 2026-01-19 17:00:47 -08:00
Brent Simmons 618a036375 Trigger — fire-and-forget — the initial Feedbin refresh on adding a Feedbin account, so that dismissing the sheet can happen right away. 2026-01-19 14:46:24 -08:00
Brent Simmons 9ff1bd9836 Fix various SwiftLint warnings. 2026-01-02 17:50:35 -08:00
Brent Simmons 9180ec3ecd Fix various SwiftLint warnings. 2026-01-02 15:05:23 -08:00
Brent Simmons fb1b901efe Fix various SwiftLint warnings. 2026-01-02 11:42:12 -08:00
Brent Simmons e96b92a4c3 Fix various SwiftLint warnings. 2026-01-02 10:45:46 -08:00
Brent Simmons dbaa8142e1 Fix various SwiftLint warnings. 2026-01-01 18:07:54 -08:00
Brent Simmons 0832a7cf67 Fix various SwiftLint warnings. 2026-01-01 17:55:12 -08:00
Brent Simmons c7843f8f1b Make IBOutlets strong instead of weak. 2025-11-19 19:43:09 -08:00