Commit Graph
626 Commits
Author SHA1 Message Date
Brent Simmons 7f0b492003 Remove obsolete AccountSettingsDatabase fallback and unused fetchFromSettingsFileIfNeeded. 2026-12-03 09:34:43 -08:00
Brent Simmons bcc25bb769 Merge branch 'bug/icloud-drive-not-required' 2026-11-27 22:02:39 -08:00
Brent Simmons 2c50ffcc3c Convert Miniflux tests to Swift tests and remove some unneeded ones.
CI / SwiftLint (push) Canceled after 0s
CI / macOS Tests (push) Canceled after 0s
CI / iOS Simulator Tests (push) Canceled after 0s
2026-11-26 12:45:32 -08:00
Brent Simmons a0f5da6105 Remove unneeded feed-deletion when deleting Miniflux category, since the server will delete the feeds in the category. 2026-11-26 10:40:18 -08:00
Brent Simmons 3e945d8437 Edit comment. Deleting a Miniflux category on the server deletes feeds in the category. 2026-11-26 10:39:02 -08:00
Brent Simmons 7bc59a62db Replace semicolons in log messages with commas. 2026-11-26 10:35:12 -08:00
Brent Simmons 1fef87278c Use structs instead of enums for namespaces, per house style. 2026-11-26 10:34:45 -08:00
Brent Simmons b70d041e22 Wrap Miniflux restoreFolder error in AccountError. 2026-11-26 10:33:47 -08:00
Brent Simmons a69cd307e0 Log each chunk of Miniflux missing articles in the Activity Log. 2026-11-26 10:32:34 -08:00
Brent Simmons 3037d0e17d Use account.logRefreshPage for Miniflux article pages. Remove unused import. 2026-11-26 10:31:23 -08:00
Brent Simmons f17ea72f3c Send statuses, after a mark-articles, in the background so the thread doesn’t wait on the sync call. 2026-11-26 10:28:30 -08:00
Brent Simmons 314aef5948 Prevent a failed status send from blocking fetching new articles. 2026-11-26 10:26:52 -08:00
Brent Simmons 773b69e8f4 Rename refreshArticlesPage. Remove unused import. 2026-11-26 10:11:06 -08:00
Brent Simmons 0fb64c2b66 Complete page header. 2026-11-26 10:10:30 -08:00
Brent Simmons b773583910 Edit comments, mostly to make more concise. 2026-11-25 14:50:03 -08:00
Brent Simmons 2665fff3d8 Replace several status send blocks with a loop. 2026-11-25 14:47:20 -08:00
Brent Simmons 0d0fefb60c Add restored Miniflux folder to tree before restoring its feeds, so the feeds end up in the folder. 2026-11-25 14:43:46 -08:00
Brent Simmons 046f712d0c Avoid failing the refresh when a single missing Miniflux entry returns HTTP error. 2026-11-25 14:41:54 -08:00
Brent Simmons 52e566033f Send changed_after whenever last article fetch completed, so failed initial sync doesn’t redownload three months of articles. 2026-11-25 14:39:39 -08:00
Brent Simmons ea09af7f95 Split one-line defers to multiple lines, matching our preferred style. 2026-11-25 14:12:47 -08:00
Brent Simmons 6c41b0329e Clean up Miniflux tests. Remove force-unwraps. Clean up various things in defer. Add messages for XCTFails. 2026-11-25 14:11:37 -08:00
Brent Simmons 6708b77f7b Shorten comment. 2026-11-25 11:19:44 -08:00
Brent Simmons 9676770aa5 Use Int (instead of Int64) for Miniflux IDs. 2026-11-25 11:18:56 -08:00
Brent Simmons bbce2df017 Remove optional flatMap from Miniflux models. Make enclosure decoding match other models. Drop unused MinifluxUser.id. Drop unused MinifluxCategory Hashable conformance. 2026-11-25 11:06:24 -08:00
Brent Simmons fa89d0e00e Create and use some Miniflux constants. 2026-11-25 11:01:32 -08:00
Brent Simmons 394819fbd7 Use account.postSyncError. Edit some comments. 2026-11-25 10:59:10 -08:00
Brent Simmons 0eeeda129f Create and use some constants for Miniflux. 2026-11-25 10:55:22 -08:00
Brent Simmons 18ee99603e Make one-line defers and guards use multiple lines (per NetNewsWire style preferences). 2026-11-25 10:53:19 -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 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