Commit Graph
104 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 b3b8650d12 Move About NetNewsWire to its own section. Make build copyable same way in about screen as on main settings screen. 2026-11-15 11:34:49 -08:00
Brent Simmons f027a0f1d5 Make iOS settings more idiomatic in some small ways: shorter labels, use of footers, etc. 2026-11-14 21:52:58 -08:00
Brent Simmons 04e9c0786a Convert root settings screen on iOS to SwiftUI. 2026-11-14 21:31:47 -08:00
Brent Simmons 3649e91326 Convert iOS account screen to SwiftUI. 2026-11-14 21:18:17 -08:00
Brent Simmons bd290f2dc0 Give each row in iOS Settings screen an icon. 2026-11-14 11:41:43 -08:00
Brent Simmons b808eaad89 Create and use a CopyableLabel for the version string that appears in settings and about view. 2026-10-21 08:55:46 -07: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 ccb116ed37 Use shared constant for form sheet size. 2026-10-09 09:23:52 -07:00
Brent Simmons 94897de070 Convert account screens to SwiftUI. 2026-09-18 10:06:04 -07:00
Brent Simmons 4127e64154 Share the article URL as the primary share-sheet item so Shortcuts receives input. Fixes #5167. 2026-08-01 22:05:02 -07:00
Brent Simmons 7809b713de Fix bug where decoding errors during syncing would display as theme import errors. Also: show account name and type in sync error messages. Fixes #3849. 2026-08-01 09:41:04 -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 6a714df299 Draw text with normal colors when selectionStyle == .none. 2026-02-01 21:09:19 -08:00
Brent Simmons 9180ec3ecd Fix various SwiftLint warnings. 2026-01-02 15:05:23 -08:00
Brent Simmons 599636b310 Create an SFSafariViewController safely — don’t crash on an unhandled Objective-C exception. 2025-12-04 09:32:46 -08:00
Brent Simmons c4fe05617e Move some things to RSCore. 2025-11-19 19:33:12 -08:00
Brent Simmons 5aba2c92c2 Move some things to RSCore. 2025-11-19 19:12:58 -08:00
Brent Simmons e7ea5eb5e6 Move some things to RSCore. 2025-11-19 19:04:35 -08:00
Brent Simmons beeeabba24 Convert AppAssets to shared Assets. 2025-11-19 10:38:18 -08:00
Brent Simmons bef756a6fb Delete some unused code. 2025-11-18 22:18:47 -08:00
Brent Simmons eff37dfd22 Delete no-longer-used TickMarkSlider. 2025-11-18 22:12:13 -08:00
Brent Simmons 415a6f4661 Fix various concurrency issues. 2025-11-18 16:29:59 -08:00
Brent Simmons 1f51119aa3 Convert RSCore to approachable concurrency. 2025-11-13 17:11:34 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Brent Simmons 5e39b569a7 Merged main to branch. 2025-11-01 15:53:33 -07:00
Brent Simmons 4ba2bc7383 Add error recovery to UIViewController.presentError extension. This makes it work more like the Mac version. 2025-09-22 18:09:43 -07:00
Brent Simmons 4b7ea6d920 Mark classes as final when they can be, to communicate intent (don’t subclass these). Fix #4751. 2025-09-16 10:21:29 -07:00
Stuart Breckenridge 04f659f704 💄 Liquid Glass Redesign for NetNewsWire
💄 Add `MainFeedCollectionViewController`

💄 Add and hook up UICollectionView in Storyboard

🚧 Collection view loads temp cells

🚧 UICollectionView

- Adds capsule shape for iPad selection
- Add filter button, newItem button, settings button
- Configures the collection view based on platform
- implementsDidSelectItem at
- Clears cell background on iPad
- Adds cell textColor for iPad
- Storyboard changes

🚧 Adds unread count and favicon support

🚧 Smartfeed icons now display

🚧 iPhone cells are consistent in light/dark mode

💄 Sidebar modernised

Known bug: Sidebar text doesn’t adapt to dark/light mode changes on iPad

💄 Modern Sidebars

Fixes some accessibilty issues and adds swipe actions.

🩹 Become firstResponder

🩹 Workaround #4691

💡 Remove print statement

💄 Fixes to storyboard

- adjusts constraints on timeline header view
- launch screens now adopt look of liquid glass

Restore coordinator behaviour

⚡️ Tweaks to MainFeedCollectionViewController

- On iPhone, returning to the feeds view deselect the current feed with an animation.
- On iPhone, prefers large titles defaults to `false`
- Capsule background with smaller corner radius for iPhone added for selected status.

🩹 Fixes folder height

💄 Fix unread count vertical alignment

💄 Restores header & use UICellConfigurationState

💄 Sidebar tweaks

💄 Folders now highlight on as drop target

💄 Sidebar fixes

- Moves more code to cell configuation state
- Allows sidebar to move to larger sizes

🩹 Fixes #4694  folder expansion using keyboard

💄 Adds new cell types for the Timeline

♻️ Remove dead code and re-orders to viewWillApp

🩹 Reordering of code from viewWA to viewDA

💄 Removes unused code, tweaks layout

💄 Multiple tweaks to sidebar and timeline

💄 Add missing constraint

♿️ Puts timeline metadata in a stackview

🎨 Adds stackview function

💄 🚑️ Moves to modern UISliders

Timeline customiser now uses modern UISliders as they have tickmark functionality.

`TickMarkSlider` marked as deprecated.

💄 Make All Unread cell icon tint correctly

💄 Extend edges under opaque bars on timeline

💄 Image View Controller uses modern button style

🚚 Renames `MainTimelinePseudoFeedCell`

💄 Improve feed selection animations

🩹 Use shouldSelectItem to handle selection logic

🩹 Fix fill settings for stack view

💄 Comment out usage of MainTimelineTitleView

🔧 Remove iOS cells from macOS target

💄 Give columns some flexibility

💄 Fix chevron size and alignment

💄 Don’t prefer large navigation bar titles

They create a delay in animation on iPhone.

🩹 Fixes nav bar subtitle performance

🎨 Minor refactor

- Switch logic in cell state
- Prefer traitCollection.userInterfaceIdiom

➕ Add updated mac code for the About view

💄 NSGlassVisualEffectView for About
2025-07-23 21:58:47 +08:00
Brent Simmons 86f6d51428 Fix typos. 2025-04-28 21:45:23 -07:00
Brent Simmons b601c181dd Rename Master* to Main*. 2024-12-24 12:09:41 -08:00
Maurice Parker a6b19fb22a Change to new iOS 3 panel UISplitViewController 2024-12-22 22:03:08 -08:00
Brent Simmons 33865750b9 Fix several warnings. 2024-12-07 15:08:08 -08:00
Brent Simmons c05ef2344f Remove unused code and references to Twitter and Reddit. 2023-11-25 11:44:34 -08:00
Dimitris Apostolou 94ae4d348c Fix typos 2022-01-05 00:25:20 +02:00
Paul Godavari 7696ca8c2b Fix a typo in a variable name 2021-09-29 14:16:08 -05:00
Stuart Breckenridge 25f9896832 Localized strings for errors 2021-09-24 09:28:32 +08:00
Stuart Breckenridge bd6095517b is missing instead of not found 2021-09-23 20:19:41 +08:00
Stuart Breckenridge 88674d2fc4 Consistent theme error messages on iOS 2021-09-23 20:16:09 +08:00
Stuart Breckenridge 82a62712ce Better error messages for decoding issues 2021-09-21 10:43:12 +08:00
Maurice Parker cc19b6b13e Fix crash on iOS 15 2021-07-16 14:28:56 -05:00
Maurice Parker bf6e4b5bf3 Add preferred action to all alert dialogs. 2021-01-11 19:57:14 -06:00
Maurice Parker 18726d061d Remove zero duration animations. 2020-10-22 18:56:33 -05:00
Maurice Parker 69fb9421a6 Fix tick mark placement which looked bad on iOS 14 2020-08-07 15:30:36 -05:00
Maurice Parker a63466f7b3 Add and remove buttons instead of hiding them since our hiding trick doesn't work on iOS 14 2020-08-07 15:20:20 -05:00
Maurice Parker 775a69a295 Add iOS Reddit URL builder 2020-05-12 11:17:47 -05:00
Maurice Parker 4ff273c3b5 Add single Home Timeline and Mentions URL builder. 2020-04-23 09:08:33 -05:00
Maurice Parker 947c4f04d7 Implement fix that prevents wiggling on both the timeline and the article views. 2020-04-22 22:03:15 -05:00
Maurice Parker a5583fc655 Validate that the selected row hasn't been removed when trying to select or scroll to it. Issue #1976 2020-04-22 18:18:20 -05:00
Maurice Parker 7afcf681fe Stablize swipe back gesture for timeline. Issue #2002 2020-04-21 01:52:39 -05:00