Commit Graph
1982 Commits
Author SHA1 Message Date
Brent Simmons 6ce3bdadc7 Get selected sidebar item and selected article before doing the state restoration, in case the process of pushing view controllers around overwrites the values in UserDefaults. 2025-12-02 09:23:04 -08:00
Brent Simmons 93f1dc5fe4 Use new article(matching:) and fetchArticle methods. 2025-12-02 08:59:30 -08:00
Brent Simmons 981aeb6daa Fix possible bug finding selected article. 2025-12-01 22:32:21 -08:00
Brent Simmons 2c2cee645d Move ArticleSpecifier to shared directory. 2025-12-01 21:33:47 -08:00
Brent Simmons 6bd59cb5de Add selectedArticle to UserDefaults. 2025-12-01 21:17:18 -08:00
Brent Simmons 4bf57afc11 Rename some AppDefaults things to SidebarItem over FeedIdentifier. Add state restoration for selectedSidebarItem. 2025-12-01 21:01:54 -08:00
Brent Simmons e0074d70bf Rename Key.readArticlesFilterState to Key.feedsHidingReadArticles. 2025-12-01 15:11:27 -08:00
Brent Simmons 616b9deebc Rename expandedTable to expandedContainers. Rename lastExpandedTable to lastExpandedContainers. 2025-12-01 14:57:54 -08:00
Brent Simmons f6bca9ee8f Rename containerExpandedWindowState to expandedContainers. 2025-12-01 14:55:01 -08:00
Brent Simmons ea6eedb864 Make containerExpandedWindowState typed as Set<ContainerIdentifier>?. 2025-12-01 14:53:04 -08:00
Brent Simmons 0b9ec94cf8 Make selectedFeedIdentifier a FeedIdentifier. 2025-12-01 14:43:24 -08:00
Brent Simmons c6f659dc96 Create and use feedsHidingReadArticles as Set<FeedIdentifier> on Mac and iOS. 2025-12-01 14:24:18 -08:00
Brent Simmons 380617920b Make readArticlesFilterState Set<FeedIdentifier>? instead of [[String: String]]?. 2025-12-01 13:10:08 -08:00
Brent Simmons 1f19d91a0d Make FeedIdentifier.userInfo [String: String] since it always really was. 2025-12-01 11:53:25 -08:00
Brent Simmons d68106ac0b Fix bug restoring expansion state on launch. Don’t overwrite stored state on launch — write state only when user makes change. 2025-12-01 10:34:34 -08:00
Brent Simmons d30c627577 Refactor iOS state restoration to migrate first and then restore from UserDefaults. 2025-12-01 09:55:40 -08:00
Brent Simmons 813f0706bd Move readArticlesFilterState to UserDefaults. 2025-11-30 21:45:22 -08:00
Brent Simmons 2ea00619c3 Convert containerExpandedWindowState to UserDefaults. 2025-11-30 21:21:53 -08:00
Brent Simmons bdf73d6eb0 Migrate articleWindowScrollY to UserDefaults. 2025-11-30 17:49:20 -08:00
Brent Simmons b9447d34d1 Migrate isShowingExtractedArticle to UserDefaults. 2025-11-30 12:12:50 -08:00
Brent Simmons 03c2a4d325 Migrate hide-read-feeds setting to UserDefaults. 2025-11-30 11:58:42 -08:00
Brent Simmons 79fa6c664b Create an SFSafariViewController safely — don’t crash on an unhandled Objective-C exception. 2025-11-29 20:37:45 -08:00
Brent Simmons 925f5c1ed4 Pass the markdown parameter. 2025-10-29 21:08:25 -07:00
Brent Simmons 9d485bc3f9 Use static logger. Refactor and improve code for handling status notifications. 2025-10-02 21:32:09 -07:00
Brent Simmons 5afb5a7d10 Replace OSLog with Logger. 2025-10-02 08:54:48 -07:00
Brent Simmons 93ef6b27f0 Force an app icon unread count badge update on foreground/background events. Fix #4365. 2025-10-01 11:49:49 -07:00
Brent Simmons 7b96ba05f9 Allow drag into empty account. Add logging. Fix #3825. 2025-09-30 12:07:54 -07:00
Brent Simmons f7dfac3e6a Create and use shared HelpURL for various help URLs. 2025-09-29 13:50:01 -07:00
Brent Simmons 6f947467ac Update window color palette when the setting changes — not every time any setting changes. 2025-09-29 10:34:17 -07:00
Brent Simmons 8fbca574bb Remove support for multiple scenes. Fix #4798. 2025-09-29 10:19:12 -07:00
Brent Simmons 4a9a9e755f Merge branch 'task/ios-wkuserscript-4309' 2025-09-28 11:55:37 -07:00
Brent Simmons 5a8403c053 Download and display image, since we can no longer get the image from the webview due to security policies. 2025-09-28 11:51:42 -07:00
Stuart Breckenridge 00d34234ff 🔥 Remove debug UIResponder code 2025-09-28 10:54:46 +08:00
Stuart Breckenridge c095334cff 🩹 Stop keyboard reappearing after it dismissal
Only allow the article search bar to start editing viewDidAppear. This stops the keyboard appearing at the wrong time. Fixes #4796
2025-09-28 10:53:25 +08:00
Brent Simmons 97a5953f3d Remove canvas code, which fails with CORS. 2025-09-25 11:01:45 -07:00
Brent Simmons 3cf3bc5763 Use shared WebViewConfiguration.configuration. Make sure allowsContentJavaScript is accessed on main thread. 2025-09-23 10:09:32 -07:00
Brent Simmons f80d081874 Fix a typo. 2025-09-23 10:08:57 -07:00
Brent Simmons 95d2d0e07b Remove extraneous whitespace. 2025-09-23 10:08:39 -07:00
Brent Simmons 551fd99b49 Use AddCloudKitAccountError to present error. 2025-09-22 20:43:32 -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 04773d0249 Improve error dialog on iOS when an iCloud account can’t be added because iCloud Drive is not enabled. Part of fixing #4785. 2025-09-18 11:16:42 -07:00
Brent Simmons 0e7035c9af Remove errant horizontal white bar from account inspectors. Fix #3765. 2025-09-18 10:43:07 -07:00
Brent Simmons 03f3e4cca9 Force the app icon unread count badge to update on launch. Fix #4537. 2025-09-18 10:03:22 -07:00
Brent Simmons e910a712f8 Mark the remove-account action as destructive. Fix #3785. 2025-09-17 18:23:29 -07:00
Brent Simmons e665e3ee40 Add UIDesignRequiresCompatibility YES in Info.plist on Mac and iOS to opt out of Liquid Glass (for now). Fix #4784. 2025-09-16 14:11:13 -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 402fbd3da3 🩹 Amend #4323 JS pref changes cause reload only 2025-09-14 11:19:01 +08:00
Stuart Breckenridge b2e3ed7b92 Address #4323 Feedback
Note: the diff for Settings.storyboard is large, but it’s only to add a tableviewcell for the enableJS toggle.
2025-09-13 12:32:48 +08:00
Stuart Breckenridge 278994c86d Fixes #4323 adds option to disable js on iDevices 2025-09-11 22:19:35 +08:00
Stuart Breckenridge fd915fee9e Fixes #3892 - Formatter used for unread counts 2025-09-11 21:19:16 +08:00