Commit Graph
80 Commits
Author SHA1 Message Date
Brent Simmons 4ecb750358 Remove deleted statuses from the status cache. 2026-11-24 13:21:57 -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 473a94bb06 Store and display attachments in feed order. 2026-10-24 11:58:06 -07:00
Brent Simmons 3838725d0d Add thumbnailURL storage. 2026-10-23 12:10:37 -07:00
Brent Simmons 221e92b1d8 Test articles updating with attachments. 2026-10-23 08:46:08 -07:00
Brent Simmons b22294f1a9 Add attachments column to database. 2026-10-23 08:36:16 -07:00
Brent Simmons 641c2818ab Add attachments property to Article. 2026-10-23 08:34:44 -07:00
Brent Simmons a207f3411e Switch from OSAllocatedUnfairLock to Mutex. 2026-10-21 19:08:32 -07:00
Brent Simmons c70a7ab4a7 Make iOS 18 the minimum target. 2026-10-21 19:05:11 -07:00
Brent Simmons 7cfe41a854 Delete FetchAllUnreadCountsOperation. Add new async function as replacement. 2026-10-09 21:55:19 -07:00
Brent Simmons b493ec6c3c Remove unused canceling code. 2026-10-09 21:48:41 -07:00
Brent Simmons 19930aa3c3 Make Today queries faster — they now use index instead of full scan. 2026-09-18 19:51:59 -07:00
Brent Simmons dd09097b33 Compare markdown in Article ==. 2026-09-16 21:02:44 -07:00
Brent Simmons a9e14ab84b Make rs_SQLValueListWithPlaceholders non-nullable. 2026-09-16 15:12:39 -07:00
Brent Simmons 2c3b56829d Fix race condition in FetchAllUnreadCountsOperation. 2026-09-03 10:12:01 -07:00
Brent Simmons 16817b278c Repair database status rows that differ from their in-memory status. 2026-08-11 11:23:39 -07:00
Brent Simmons 6d259827f0 Use a constant logging system name instead of getting it from Bundle. 2026-08-02 10:33:23 -07:00
Brent Simmons 548808069e Remove punctuation and symbols when indexing search text, so words in curly quotes (for instance) are findable. Fixes #3531. 2026-07-29 14:22:05 -07:00
Brent Simmons 903e57cfc1 Remove unneeded makeDatabaseCalls. 2026-06-22 11:31:29 -07:00
Brent Simmons 5513a7d0e6 Fix fetchArticleSearchInfos to work with new schema instead of old. 2026-06-22 11:29:25 -07:00
Brent Simmons 3ee0a61b7d Fix memory use bug in mark-status command by retaining article IDs instead of Articles. Simplify article marking — take article IDs. 2026-06-16 07:53:06 -07:00
Brent Simmons ebfc7cf4fe Delete some unused code. 2026-06-13 14:20:57 -07:00
Brent Simmons eb82dd3ce3 Fix hang in WidgetDataEncoder by fetching async. Use count queries in places where we were fetching articles just to get counts. 2026-06-13 14:11:58 -07:00
Brent Simmons 8d1bdcf9ed Continue post-DatabaseResult simplification. 2026-06-10 19:54:03 -07:00
Brent Simmons 8bc74f136d Continue post-DatabaseResult simplification. 2026-06-10 17:36:48 -07:00
Brent Simmons f41bf88e9b Continue post-DatabaseResult simplification. 2026-06-10 17:24:00 -07:00
Brent Simmons 1066ca2720 Continue post-DatabaseResult simplification. 2026-06-10 16:59:28 -07:00
Brent Simmons fcaa1cc03c Continue post-DatabaseResult simplification. 2026-06-10 14:57:42 -07:00
Brent Simmons 31d0b9d3e4 Continue post-DatabaseResult simplification. 2026-06-10 14:55:44 -07:00
Brent Simmons c26cacb88c Continue post-DatabaseResult simplification. 2026-06-10 14:10:35 -07:00
Brent Simmons f3d6994242 Simplify unread count fetching. 2026-06-10 13:56:38 -07:00
Brent Simmons 291bc4613f Simplify fetchUnreadCounts. 2026-06-10 13:37:17 -07:00
Brent Simmons e412f333d6 Remove no-longer-needed DatabaseResult. 2026-06-10 13:23:24 -07:00
Brent Simmons 83dfe7ee75 Fix Dinosaurs bug where it wasn’t considering arrival date for feeds with no dates. 2026-06-09 09:36:03 -07:00
Brent Simmons 8f4a979608 Remove no-longer-needed code for suspending and resuming SQLite databases on iOS. 2026-06-06 16:04:56 -07:00
Brent Simmons 9a52a2ccc3 Add status column to account stats window. Create just one call to get article counts for stats. 2026-06-01 09:18:17 -07:00
Brent Simmons eb5bfd6ca5 Add Dinosaurs window. 2026-06-01 08:39:09 -07:00
Brent Simmons 1fe53edee2 Add Account Stats window. 2026-05-31 11:07:24 -07:00
Brent Simmons 6fdda05ec3 Report per-database duration when vacuuming. 2026-05-29 16:51:35 -07:00
Brent Simmons b64de0cd6e Add logging and signpost for fetching articles. 2026-04-29 16:23:26 -07:00
Brent Simmons e9ae90ca26 Delete no-longer-needed code. 2026-04-29 15:40:32 -07:00
Brent Simmons b811981f45 Complete authors schema migration. Read and write to JSON authors column. Delete old tables and indexes. 2026-04-29 15:31:40 -07:00
Brent Simmons 0c3245c41b Migrate authors from two separate tables into a JSON-encoded column in articles. 2026-04-29 15:02:56 -07:00
Brent Simmons bca1449a22 Use the new swiftString method to get UTF-8 String instead of UTF-16 String. 2026-04-26 10:58:46 -07:00
Brent Simmons 200e5b19f3 Clean up the authorsLookup and authors tables on account startup. Fixes #5232. 2026-04-26 09:50:11 -07:00
Brent Simmons 466dbf73b2 Add and use new decodingHTMLEntities function. 2026-04-20 10:55:25 -07:00
Brent Simmons 4a2c62cc6c Make app run on iOS 17 and up. 2026-03-29 21:31:02 -07:00
Brent Simmons d91a6c1113 Mark articles as read if they’re newly-seen but have a pub date > 6 months ago. (For the iCloud and local accounts.) 2026-03-25 21:00:02 -07:00
Brent Simmons 28bb8f7a25 Use import os rather than import os.log. 2026-03-23 11:23:15 -07:00
Brent Simmons f8980a51b5 Add Debug menu command Vacuum Databases. 2026-03-13 21:54:13 -07:00