Commit Graph

500 Commits

Author SHA1 Message Date
Maurice Parker acaeb4164a Fix issue where web views that never readied themselves would clog up the queue. 2020-09-01 18:27:55 -05:00
Rizwan Mohamed Ibrahim 7e9db1d218
Fix import/export subscriptions
Beta 6 has changed the way import and export works. It's changed from
a environment variable to view modifier now.
2020-08-28 23:01:58 +05:30
Maurice Parker 4c221058d8 Don't insert the web view into the queue until the preload process has already started. 2020-08-26 18:08:43 -05:00
Maurice Parker cddd5cebff
Merge pull request #2338 from stuartbreckenridge/hotfix/2335
Hotfix/2335
2020-08-15 02:11:08 -05:00
Stuart Breckenridge 0151713de3
Multiplat mac now uses URL extension 2020-08-15 15:08:07 +08:00
Stuart Breckenridge 78b6b1615c
Delete ReleaseNotes.swift 2020-08-15 15:03:21 +08:00
Stuart Breckenridge ddbf0fffb6
Fixes #2335
The `ReleaseNotes` struct has been replaced with an extension on URL. Release Notes can now be opened on all versions of NNW.
2020-08-15 15:01:00 +08:00
Stuart Breckenridge 3610f71ac2
Adds accentColor to toggle 2020-08-15 14:34:20 +08:00
Stuart Breckenridge e3a221befd
Moves feed deletion to Feeds section 2020-08-15 14:31:56 +08:00
Stuart Breckenridge 06826a23bb
Partially fixes #566
• Adds a preference to show alerts to confirm deletion of feeds (default is true) and this is configurable in Settings / Preferences

• Supports single (iOS/macOS) and multiple selection (macOS) for deletion

• Until folders are selectable (future beta, hopefully), selecting them for deletion is disabled.
2020-08-15 09:37:18 +08:00
Maurice Parker 9218b4d95c
Merge pull request #2330 from stuartbreckenridge/ios-multiplat-updates
Multiplatform updates
2020-08-14 15:59:42 -05:00
Maurice Parker 24f1371a9a Fix can't delete without selecting in sidebar but for Multiplatform 2020-08-14 15:36:19 -05:00
Stuart Breckenridge 0a51508abf
Reduces reliance on presentationMode to dismiss
Bindings are passed instead and this fixes issues with Add Web (etc) only appearing once.
2020-08-14 00:04:39 +08:00
Stuart Breckenridge 7aab8c87fb
Removes more @ViewBuilders 2020-08-13 22:25:34 +08:00
Stuart Breckenridge 5682f659b2
Removes another @ViewBuilder 2020-08-13 22:22:33 +08:00
Stuart Breckenridge 316edadb66
Fixes display issues on Inspectors 2020-08-13 22:21:31 +08:00
Stuart Breckenridge de590248b3
Fixes inspector sizing and removes kb shortcuts 2020-08-13 19:16:17 +08:00
Stuart Breckenridge ffc5978a82
Fixes add account sheet sizing
Picker images don’t resize so they’ve been commented out
2020-08-13 12:20:22 +08:00
Stuart Breckenridge 13e28f6f3f
Removed force unwrapping 2020-08-13 09:28:11 +08:00
Stuart Breckenridge 264cc6c87c
Removed build version from release notes url 2020-08-13 09:20:12 +08:00
Stuart Breckenridge f1e3a19804
Fixes #291
Release notes added to Settings (iOS) and Help Menu (macOS)
2020-08-13 08:24:54 +08:00
Stuart Breckenridge cacc96fa5e
Code alignment. 2020-08-12 21:44:46 +08:00
Stuart Breckenridge 3ae4a85969
Removes @ViewBuilder from `var body` 2020-08-12 21:04:56 +08:00
Stuart Breckenridge 646a3190e5
Fixes #2280 2020-08-12 18:12:21 +08:00
Stuart Breckenridge 36acd84c14
Removes #warning
(Also .preferredColorScheme(AppDefaults.userInterfaceColorScheme) is still needed on macOS Settings)
2020-08-10 08:50:46 +08:00
Stuart Breckenridge cd20632b5d
Adds sidebar toggle image to app assets 2020-08-10 08:36:31 +08:00
Stuart Breckenridge dadff04da5
Removes padding. 2020-08-10 08:31:10 +08:00
Stuart Breckenridge 88ee63ba68
Adds #warning message for AppKit usage. 2020-08-10 08:28:17 +08:00
Stuart Breckenridge 94a9557ba6
Adds sidebar toggling from toolbar. 2020-08-10 08:01:16 +08:00
Stuart Breckenridge cd8c32055b
Resolves crash when switching between panes 2020-08-05 20:06:44 +08:00
Stuart Breckenridge 1d0c47a1bd
Changes Preferences to use TabBar
This appears to crash when selecting a different pane.
2020-08-05 11:45:24 +08:00
Maurice Parker 4067e1edd7 Make the mark all as read raster image a template so that it renders in the correct color 2020-08-04 21:19:03 -05:00
Maurice Parker 7365b25fec Add SidebarCommands to main menu 2020-08-04 21:11:06 -05:00
Maurice Parker 269677121e Removed Commands from iOS build since they aren't supported there anymore 2020-08-04 18:19:48 -05:00
Maurice Parker b724658528 Refactor how we do Secrets to work with the new Swift Package structure 2020-07-30 17:40:45 -05:00
Maurice Parker ce04c82520 remove RSCoreResources import that shouldn't have been there 2020-07-30 07:47:43 -05:00
Maurice Parker 2fbee1eb03 Convert RSDatabase into swift packages 2020-07-29 19:48:54 -05:00
Maurice Parker 32d6d2f3c1 Convert RSCore into an SPM package 2020-07-29 05:11:57 -05:00
Maurice Parker ff829c0e59 Stop skipping the Today feed when finding next unread and looping around 2020-07-27 21:21:11 -05:00
Maurice Parker ecefe59a5e Skip the current folder for next unread 2020-07-27 21:01:32 -05:00
Maurice Parker 855907404e Use custom user agent for web views 2020-07-27 19:25:39 -05:00
Maurice Parker b77e2164cd Revert using combine for toolbar buttons as it was inconsistent with context menus 2020-07-27 15:43:58 -05:00
Maurice Parker c3ca910e20
Merge pull request #2305 from rizwankce/add-toolbar-button-menu
Add toolbar button menu
2020-07-27 11:50:24 -05:00
Maurice Parker a48c894985 Make macOS timeline load synchronous and add an id to list that changes when the feed selection changes to reset the scroll 2020-07-27 10:36:37 -05:00
Maurice Parker 6b08b1e48b Revert "Switch to using LazyVStack for the Timeline"
This reverts commit 9878ca4b17.
2020-07-27 10:24:32 -05:00
Maurice Parker 9878ca4b17 Switch to using LazyVStack for the Timeline 2020-07-27 08:19:34 -05:00
Rizwan Mohamed Ibrahim 2528d1e9d7
Add Twitter and Reddit button actions 2020-07-27 13:43:07 +05:30
Rizwan Mohamed Ibrahim 2987c9742e
Remove action sheet var on sidebar toolbar model 2020-07-27 13:41:23 +05:30
Rizwan Mohamed Ibrahim 177c18d4ea
Adds Menu for "Add" tool bar button 2020-07-27 13:39:39 +05:30
Maurice Parker dbe662b7db Implement Select Next Unread using Combine 2020-07-26 17:17:02 -05:00
Maurice Parker 4c1061cfba Fix bug that caused currently selected item to not be found on next unread 2020-07-26 16:00:00 -05:00
Maurice Parker 2efc0a17a9 Make Sidebar expansion state available to SidebarModel 2020-07-26 15:31:32 -05:00
Maurice Parker 539685586e Reenable Timeline context menus 2020-07-26 13:57:50 -05:00
Maurice Parker 9e1e55ac8d Delete commented code 2020-07-26 12:05:37 -05:00
Maurice Parker c195d6f8f0 Delete old code 2020-07-26 12:04:53 -05:00
Maurice Parker d1b015ce21 Add download events to timeline management 2020-07-26 12:00:57 -05:00
Maurice Parker fbf0c60d55 Make fetch articles an async process 2020-07-26 11:05:18 -05:00
Maurice Parker 2217dc492f Moved title update to the correct func for subscription 2020-07-26 07:54:04 -05:00
Maurice Parker bb1b7ad0b0 Clear selected articles when selected feeds changes 2020-07-26 07:37:17 -05:00
Maurice Parker 5a267485c3 Remove status fade animation since it was interfering with the selection scrolling 2020-07-26 07:29:37 -05:00
Maurice Parker 71acfb524d Move onReceive to container view for timeline 2020-07-26 07:18:05 -05:00
Maurice Parker a3459bc57a Move onReceive to container where it belongs 2020-07-26 07:06:00 -05:00
Noelle Leigh 4dafe95478 Fix Multiplatform/iOS/Settings/SettingsModel.swift 2020-07-26 05:47:02 -04:00
Maurice Parker 028eccfaf9 Delete old and dead error handling code 2020-07-25 19:47:15 -05:00
Maurice Parker 4fe40f9ed6 Add replay so that iOS filters work 2020-07-25 19:44:50 -05:00
Maurice Parker 4d8e8dab47 Remove caveman debugging 2020-07-25 19:34:02 -05:00
Maurice Parker 59528f48b1 Reimplement Article Read Filter 2020-07-25 19:14:59 -05:00
Maurice Parker 8f346af250 Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire into main 2020-07-25 18:53:54 -05:00
Stuart Breckenridge b8e201e5d0
Fixes #2298 2020-07-26 07:36:24 +08:00
Maurice Parker a1cbca8a0b Remove replays that were making things strange on macOS 2020-07-25 17:31:34 -05:00
Maurice Parker d83ca618fb Reimplement open in browser toolbar button functionality 2020-07-25 16:56:38 -05:00
Maurice Parker 628f349448 Fix previous and next article API's 2020-07-25 16:33:40 -05:00
Maurice Parker 67eb319703 Make selected articles available to Share dialog 2020-07-25 16:28:23 -05:00
Maurice Parker 8b1aa3e88a Reimplement Mark All as Read toolbar item 2020-07-25 16:19:22 -05:00
Maurice Parker d28a672378 Reimplement starred toolbar toggle 2020-07-25 16:12:12 -05:00
Maurice Parker f793e1b02d Reimplement toggle read/unread for selected toolbar item. 2020-07-25 16:07:12 -05:00
Maurice Parker 479562b47f Disable animations on iOS for TimelineItem status changes 2020-07-25 14:12:17 -05:00
Maurice Parker 206683315a Update iOS to work with new TimelineItems struct 2020-07-25 14:02:10 -05:00
Maurice Parker 1de3c75d4f Add update timeline articles statuses back in 2020-07-25 13:53:46 -05:00
Maurice Parker d3399e8632 Enable article lookups 2020-07-25 13:15:00 -05:00
Maurice Parker 5c8aaed54c Reenabled mac toolbar validation 2020-07-25 12:46:33 -05:00
Maurice Parker dabf471db7 Subscribe to article selection changes in the Article View 2020-07-25 11:25:36 -05:00
Maurice Parker fca35060d5 Add timeline item selection tracking 2020-07-25 10:56:21 -05:00
Maurice Parker e88e4f65a5 Switch TimelineItems to use an OrderedDictionary 2020-07-25 10:31:22 -05:00
Maurice Parker 882ebbea3e Update iOS with latest TimelineModel refactoring 2020-07-25 06:20:21 -05:00
Maurice Parker 7d7a018fe1 Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire into main 2020-07-25 05:01:23 -05:00
Maurice Parker 25bce5e258
Merge pull request #2297 from stuartbreckenridge/feature/sync-errors
Handles single and multiple sync failures
2020-07-25 05:00:48 -05:00
Stuart Breckenridge 673f0ce718
Handles single and multiple sync failures
If a single sync failure is encountered a sheet is presented which allows the user to update their credentials.

If multiple sync failures are encountered an alert is shown listing the accounts which encountered errors. On iOS, this alert can take the user into Settings, but there is no obvious way to programatically pesent macOS preferences.
2020-07-25 16:40:04 +08:00
Maurice Parker 953c22f605 Begin refactor of Timeline to use Combine fully 2020-07-24 21:05:30 -05:00
Maurice Parker c5d040fa97 Change select next unread subject to be void instead of Bool 2020-07-24 18:30:54 -05:00
Maurice Parker bffcfdd67d Add share operator to sidebarItemsPublisher so that we don't duplicate rebuilds 2020-07-24 14:05:26 -05:00
Maurice Parker 3b648ac548 Remove removeDuplicates operator as it wasn't needed 2020-07-24 13:57:08 -05:00
Maurice Parker a25ed4da4a Changed delete context menu item to use combine code 2020-07-24 12:57:47 -05:00
Maurice Parker d70721491d Change mark all as read in account to use combine code 2020-07-24 11:52:46 -05:00
Maurice Parker b2c70e847c Change from using @Published as a PassthroughSubject to using real ones to avoid @Published quirks 2020-07-24 11:40:17 -05:00
Rizwan Mohamed Ibrahim cb409728aa
Add subscriptions import/export navigation link with list
- refactors export/import action sheet to be a new screen with list options
2020-07-24 20:50:43 +05:30
Maurice Parker 75b9264d44 Rewrite Sidebar select next unread in Combine 2020-07-23 16:27:54 -05:00
Maurice Parker 36aba33c3d Animate sidebar item changes 2020-07-23 11:53:59 -05:00
Maurice Parker b3ca806d0b Stop disabling tab support on Multiplatform macOS. Issue #179 2020-07-23 11:29:48 -05:00
Maurice Parker 6ebd5ad5ed Make toolbar placement more explicit to fix problems that appeared in Xcode 12 Beta 3 2020-07-22 21:01:02 -05:00