Commit Graph
18 Commits
Author SHA1 Message Date
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 8ad5e6c04d Delete duplicated code for Account display name. 2026-06-11 11:05:02 -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 1e7bf4048d De-duplicate logic for log colors. 2026-06-06 10:32:01 -07:00
Brent Simmons 4bb6afac1f Do slate gray for On My Mac accounts. 2026-05-31 11:33:11 -07:00
Brent Simmons 0dda4aae0a Add activity log window and current activity window. 2026-05-27 19:13:00 -07:00
Brent Simmons 28c7d9f55d Fix some concurrency issues. 2025-11-17 14:25:56 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Stuart Breckenridge 94197f5507 📌 Device names fix applied from #4322 2025-09-14 11:38:13 +08:00
Brent Simmons f1bfda400e Remove FeedWrangler support. 2024-11-22 21:48:12 -08:00
Maurice Parker df359db69f Fixed the names of the accounts 2020-12-07 13:35:00 -06:00
Maurice Parker cca33e65eb Fixed Asset names 2020-12-07 13:18:43 -06:00
Stuart Breckenridge 092415e3a9 updated assets 2020-12-07 19:52:35 +08:00
Stuart Breckenridge c8b5caba60 Look and feel. 2020-12-07 19:22:35 +08:00
Maurice Parker c307b32c02 Remove unreachable default compiler warning 2020-11-03 10:09:13 -06:00
Stuart Breckenridge 0c196dca88 Look and feel updates 2020-10-29 12:07:18 +08:00
Stuart Breckenridge 7bd7dd892e Removes dead code 2020-10-27 17:56:42 +08:00
Stuart Breckenridge 03611bc6ec Add Accounts UI Refresh
• An extenison has been added to `AccountType` for iconColors (which have been added to the asset catalogs) and localised account names. SPM can handle resources so it might make sense to move to there.

• Add Account screen now has sections for local, icloud, web, and self-hosted, icons are now tinted and sized a bit smaller, and text is now `body` sized.
2020-10-27 11:42:28 +08:00