Commit Graph

682 Commits

Author SHA1 Message Date
Maurice Parker 3b196a5f2a Update extension maintenance so that it matches the new account maintenance look and feel 2020-10-30 14:43:42 -05:00
Maurice Parker c1c8b97b08 Remove build settings from project file 2020-10-30 11:21:18 -05:00
Maurice Parker b6c66a7f2c Remove unnecessary system notification checks 2020-10-30 09:47:30 -05:00
Maurice Parker d9df9e53d3 Remove obsolete Add Account code 2020-10-30 04:18:11 -05:00
Stuart Breckenridge 3fdb0d1f04
Prototype Refresh 2020-10-28 23:19:42 +08:00
Stuart Breckenridge 03611bc6ec
Add Accounts UI Refresh
• An extenison has been added to `AccountType` for iconColors (which have been added to the asset catalogs) and localised account names. SPM can handle resources so it might make sense to move to there.

• Add Account screen now has sections for local, icloud, web, and self-hosted, icons are now tinted and sized a bit smaller, and text is now `body` sized.
2020-10-27 11:42:28 +08:00
Stuart Breckenridge c25e42fc7e
additional iOS account types 2020-10-26 09:03:32 +08:00
Maurice Parker 8af61ea6ad Add Inoreader AppID and Key compatibility 2020-10-24 21:25:00 -05:00
Maurice Parker d735ae91dc Add a confirmation alert for the delete context menu so that it matches other delete functionality. 2020-10-23 16:54:20 -05:00
Maurice Parker 8b3bd2f388 Move Reachability to RSWeb 2020-10-06 19:25:42 -05:00
Maurice Parker a04c60caea Fix icon color changing bug. 2020-09-02 13:38:02 -05: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
Maurice Parker 9218b4d95c
Merge pull request #2330 from stuartbreckenridge/ios-multiplat-updates
Multiplatform updates
2020-08-14 15:59:42 -05:00
Maurice Parker eccfd5e15b Finish macOS Share Extension 2020-08-14 10:25:55 -05:00
Maurice Parker ee033398c1 Implement share dialog UI 2020-08-13 20:09:42 -05:00
Maurice Parker 54275225a7 Stub out Share Extension 2020-08-13 18:03:39 -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 618c835183
Removes RS packages 2020-08-13 19:56:53 +08:00
Stuart Breckenridge a214a260a0
Adds SPM packages to multiplatform mac
it can now be archived
2020-08-13 17:22:46 +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 6be14a099b
Adds RS* packages to ios-multiplatform
this allows it to build for physical devices
2020-08-12 16:25:53 +08:00
Maurice Parker 0cb0bc357a Rename AddWebFeed controller classes to AddFeed since they are now used for other feed types 2020-08-11 17:04:11 -05:00
Maurice Parker 9f9b12b6b3 Add Twitter Feed functionality 2020-08-11 16:46:26 -05:00
Maurice Parker e7f42905dc Add Reddit Feed adding functionality 2020-08-11 16:27:42 -05:00
Maurice Parker 0ec250ec24 Rewrite Add Feed and Add Folder to be separate dialogs 2020-08-11 15:00:31 -05:00
Maurice Parker cb2eefa56a Implement new article extractor button for Big Sur 2020-08-10 17:34:12 -05:00
Maurice Parker 4ce974daca Rename ArticleExtractorButton to make room for the new ArticleExtractorButton 2020-08-10 15:47:40 -05:00
Maurice Parker 73b120a91c Change any glyphs in the sidebar to white when selected to make them visible regardless of use control color selection 2020-08-10 13:53:21 -05:00
Maurice Parker d2f320291f Add RS projects that need to be signed 2020-08-05 12:00:56 -05:00
Stuart Breckenridge cd8c32055b
Resolves crash when switching between panes 2020-08-05 20:06:44 +08: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 7bd1ac2d89 Make the Share Extension an explicit dependency of the iOS build 2020-07-30 13:09:16 -05:00
Maurice Parker c4d5f226db Add RSTree dependencies 2020-07-30 12:43:59 -05:00
Maurice Parker 66991a85e6 Convert Account into a Swift Package 2020-07-30 07:27:14 -05:00
Maurice Parker 8881ec71f7 Changed Secrets to be a Swift Package 2020-07-30 05:06:10 -05:00
Maurice Parker fbfdbb04c7 Convert Articles, ArticlesDatabase, and SyncDatabase to Swift Packages 2020-07-30 04:54:21 -05:00
Maurice Parker b003ae5124 Make RSParser a Swift Package 2020-07-30 04:26:07 -05:00
Maurice Parker 2fbee1eb03 Convert RSDatabase into swift packages 2020-07-29 19:48:54 -05:00
Maurice Parker f59817bbbb Upgrade RSWeb to a swift package 2020-07-29 13:46:13 -05:00
Maurice Parker 69ea10942a Make OAuthSwift a SPM package 2020-07-29 12:15:05 -05:00
Maurice Parker f3347cc7d6 Add RSTree package as a dependency for iOS projects 2020-07-29 11:51:35 -05:00
Maurice Parker 4ea17b634d Change RSTree to be a SPM package 2020-07-29 11:43:15 -05:00
Maurice Parker 32d6d2f3c1 Convert RSCore into an SPM package 2020-07-29 05:11:57 -05:00
Maurice Parker 1de3c75d4f Add update timeline articles statuses back in 2020-07-25 13:53:46 -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
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 75b9264d44 Rewrite Sidebar select next unread in Combine 2020-07-23 16:27:54 -05:00
Rizwan Mohamed Ibrahim 86c9100e70
Add credentials account view and model
- refactors feedbin account view and model
- groups feedbin, feedly, newsblur into credentials account
2020-07-21 20:43:43 +05:30
Stuart Breckenridge 0e2b8fd514
Adds `InspectorModel`
`InspectorModel` covers previous management of notifications, reader view, and name changes.
2020-07-18 21:21:59 +08:00
Stuart Breckenridge 8f8afb5dbb
Inspector View
Inspector Views for macOS and iOS
2020-07-18 17:34:04 +08:00
Maurice Parker 067041195d Implement Mark Above and Mark Below context menu items. 2020-07-17 17:59:35 -05:00
Maurice Parker 048da0bf79 Separate the sidebar context menu into a standalone different file 2020-07-17 17:27:08 -05:00
Stuart Breckenridge cda315aa6b
Adds a separate pane for viewing preferences
Fixes #2183
2020-07-17 10:01:20 +08:00
Maurice Parker 8f7b8160a1 Make Timeline text layout like current apps 2020-07-16 19:36:20 -05:00
Maurice Parker 46762bf297 Implement refresh progress bar for macOS 2020-07-15 21:24:22 -05:00
Maurice Parker cf233f4825
Merge pull request #2259 from stuartbreckenridge/feature/mac-preferences
Mac Preferences
2020-07-15 19:16:19 -05:00
Stuart Breckenridge c453882b4b
Adds Test/Release build downloading
Fixes #2182
2020-07-16 07:29:58 +08:00
Maurice Parker 30d1f77405 Implement pull to refresh on iOS 2020-07-15 16:52:57 -05:00
Maurice Parker 2b84469fb4 Refactored refresh progress so that it doesn't crash on the mac anymore 2020-07-15 15:32:04 -05:00
Maurice Parker 6e60156f0e Move browser class up a level 2020-07-15 12:44:03 -05:00
Maurice Parker 160b0476f7 Port web view navigation over for the mac app 2020-07-15 12:41:49 -05:00
Stuart Breckenridge d8c5d3719c
Refactors GeneralPrefs Model 2020-07-15 10:54:18 +08:00
Maurice Parker 31068f90a0 Implement macOS share button 2020-07-14 17:10:53 -05:00
Stuart Breckenridge aca43090f8
Edit account
Edit account now has its own model
Refactored account creation and updated errors into separate enum
Renamed some structs
2020-07-14 16:25:37 +08:00
Stuart Breckenridge 4982211e27
WiP on Edit Accounts and ColorScheme 2020-07-14 14:57:55 +08:00
Stuart Breckenridge 39a71077b4
WiP on Edit Account 2020-07-14 10:44:59 +08:00
Maurice Parker dc023e681b Implement share/activity button on iOS 2020-07-13 20:18:39 -05:00
Maurice Parker 7643ddc173 Remove specific button state enums as they were overkill 2020-07-13 16:26:53 -05:00
Maurice Parker 1e2a749cc4
Merge pull request #2258 from rizwankce/add-cloudkit-settings
Add cloudkit view for settings accounts
2020-07-13 15:58:48 -05:00
Maurice Parker c29960ddda Clean up navigation handling for the timeline 2020-07-13 11:37:21 -05:00
Stuart Breckenridge 01c1df0a6b
refactoring 2020-07-13 23:10:50 +08:00
Rizwan Mohamed Ibrahim de0edd3c0b
Add cloud kit view for settings accounts 2020-07-13 20:39:19 +05:30
Stuart Breckenridge a53500f643
Adding and deleting accounts works 2020-07-13 21:41:02 +08:00
Maurice Parker 17e1247ff0 Add sort control for macOS 2020-07-12 19:43:25 -05:00
Maurice Parker d7a4bddc72 Make timeline filter maintain it state for each timeline individually 2020-07-12 16:48:39 -05:00
Stuart Breckenridge c2c138218d
Default RSS feeds now displayed 2020-07-12 18:53:37 +08:00
Stuart Breckenridge 31b93c5d13
small refactoring 2020-07-12 14:07:52 +08:00
Maurice Parker 184ef57576 Implement Timeline multiselect 2020-07-11 18:22:47 -05:00
Maurice Parker 20d989f1b8
Revert "Widget Work in Progress" 2020-07-11 09:48:34 -05:00
Maurice Parker 3eda1de825
Merge pull request #2249 from stuartbreckenridge/feature/widget
Widget Work in Progress
2020-07-11 09:36:50 -05:00
Stuart Breckenridge 9991b3760e
Removes print statements and reorgs code 2020-07-11 20:22:21 +08:00
Stuart Breckenridge 1cc5f3cc30
Widget Updates
• Can now read data written by main app
• Has preview capability in widget gallery
• Still to solve using ORGANIZATION_IDENTIFIER
2020-07-11 17:01:09 +08:00
Stuart Breckenridge a45ba35b24
Initial widget work
• Latest data is saved out to JSON at various points.
• Technote on widget usage.
• Widget target added.
2020-07-10 23:10:12 +08:00
Maurice Parker 2d57945e98 Implement Read and Star button functionality 2020-07-09 18:44:51 -05:00
Maurice Parker 3e61c7044b Stub out mark as read and star functionality 2020-07-09 16:34:47 -05:00
Maurice Parker d16c1678f2
Merge pull request #2239 from rizwankce/fix/add-account-action
Fix account selection
2020-07-09 09:31:06 -05:00
Maurice Parker 4fe41b57c5
Merge pull request #2236 from rizwankce/account-details-settings
Add settings account details view and implementations
2020-07-09 09:27:37 -05:00
Rizwan Mohamed Ibrahim 7c30749625
Fix account selection showing wrong sheet upon selection 2020-07-09 19:55:58 +05:30
Rizwan Mohamed Ibrahim 2c7663870a
Add settings account details view and implementations 2020-07-09 16:14:53 +05:30
Maurice Parker 107a8fd550 Implement macOS web view mouse over events 2020-07-08 22:27:59 -05:00
Maurice Parker 5abf222c8a Merge branch 'swiftui' of https://github.com/Ranchero-Software/NetNewsWire into swiftui 2020-07-08 20:13:08 -05:00
Maurice Parker 5583b21616
Merge pull request #2232 from stuartbreckenridge/swiftui
Multi-selection on macOS #2164
2020-07-08 20:12:23 -05:00
Stuart Breckenridge 4c11667ff7
Moves selection to SidebarModel 2020-07-09 07:15:47 +08:00
Maurice Parker a87a692d7e Fix class file name misspelling 2020-07-08 17:50:18 -05:00
Maurice Parker 5efc02f969
Merge pull request #2230 from rizwankce/fix/settings-account-header-imageview
Settings account header imageview
2020-07-08 15:28:49 -05:00
Maurice Parker 6f055b5923 Implement ArticleView for macOS 2020-07-08 10:20:04 -05:00
Stuart Breckenridge ab0fbc99c3
Merge branch 'multi-select' into swiftui 2020-07-08 21:41:59 +08:00
Stuart Breckenridge af4849642c
Adds multi-select to macOS sidebar
This hacks around property observers to get to a model that almost works.
2020-07-08 21:39:39 +08:00
Rizwan Mohamed Ibrahim 48f212abcd
Add settings account header image view 2020-07-08 14:40:14 +05:30
Maurice Parker 909dcb3f93 Made ArticleExtractorButtonState a shared enum 2020-07-08 02:27:16 -05:00
Maurice Parker 1e03da8192 Merge branch 'swiftui' of https://github.com/Ranchero-Software/NetNewsWire into swiftui 2020-07-08 02:25:17 -05:00
Rizwan Mohamed Ibrahim 74f822f624
Add Feedbin account addition implementation 2020-07-08 12:38:27 +05:30
Maurice Parker 59c3015fff Made web view preloading code and scheme handler shared code 2020-07-07 19:31:24 -05:00
Rizwan Mohamed Ibrahim 5aa329bf1c
Adds Account settings and New Local account addition 2020-07-07 22:45:12 +05:30
Maurice Parker 2e94ae9e8e Add basic support for Article view on iOS 2020-07-06 21:14:05 -05:00
Maurice Parker 06a1a5f28b Merge branch 'pr/2218' into swiftui 2020-07-06 16:39:36 -05:00
Maurice Parker d1f7473a02 Moved items to match current layout 2020-07-06 16:30:50 -05:00
Maurice Parker fcf0c1ad1c Implement Settings About Section. Issue #2174 2020-07-06 15:30:32 -05:00
Maurice Parker ac0153b71f Remove unused type alias 2020-07-06 01:46:12 -05:00
Maurice Parker 958de0c0d9 Remove VisualEffectBlur and split ArticleView into target specific files 2020-07-06 01:44:35 -05:00
Maurice Parker 6695fcfca7 Refactor sidebar styling to remove duplicate code 2020-07-06 01:32:43 -05:00
Maurice Parker 1389008b31 Add Article toolbar 2020-07-05 18:53:18 -05:00
Maurice Parker eb8f6e0c03 Refactor the Timeline toolbar to be a modifier like Sidebar's is 2020-07-05 14:52:04 -05:00
Maurice Parker 8b81548457 Rename SidebarToolbar to SidebarToolbarModifer 2020-07-05 14:45:19 -05:00
Maurice Parker 208271d6b4
Merge pull request #2210 from philviso/swiftui-progressview
Implement iOS progress view
2020-07-04 10:23:20 -05:00
Phil Viso 9131056f2b Added refreshProgressState to SceneModel. Removed RefreshProgressModel from environment 2020-07-04 10:20:50 -05:00
Stuart Breckenridge 3bf30fb6e2 Add Feed Fix
Fixes #2209
2020-07-04 23:08:12 +08:00
Alex Faber 7fc7bedf9e NEW: Add Folder functionality in SwiftUI 2020-07-04 16:19:03 +02:00
Phil Viso 9b43994701 Merge branch 'swiftui' of https://github.com/brentsimmons/NetNewsWire into swiftui-progressview
# Conflicts:
#	Multiplatform/Shared/Sidebar/SidebarToolbar.swift
2020-07-04 09:15:08 -05:00
Phil Viso 2ed0d66e42 Implement iOS progress view #2162 2020-07-04 09:09:49 -05:00
Maurice Parker f16fd36e70
Merge pull request #2206 from stuartbreckenridge/swiftui
Add Web Feed macOS Layout
2020-07-04 09:05:49 -05:00
Maurice Parker 4bd6b3ac96 Refactor SettingsModel into its own swift file 2020-07-04 09:03:35 -05:00
Stuart Breckenridge 294591d154 Fixes compile crash with sidebar toolbar 2020-07-04 22:01:01 +08:00
Stuart Breckenridge 01a84a2a40 Sidebar toolbar no longer an overlay
Also moved view model to separate file and removed the view prefix.
2020-07-04 21:34:15 +08:00
Rizwan Mohamed Ibrahim dde9035592
Add feeds settings for import and export subscriptions 2020-07-04 13:39:08 +05:30
Maurice Parker ba0093e07c Implement timeline toolbar using toolbar modifier 2020-07-03 22:14:36 -05:00
Maurice Parker 4486d2bd09 Add TimeilneToolbar. Issue #2195 2020-07-03 21:55:27 -05:00
Maurice Parker b28fc913af Renamed because we just call out view models Models 2020-07-03 20:23:41 -05:00
Maurice Parker 883590b50f
Merge pull request #2198 from stuartbreckenridge/swiftui
Fixes #2196
2020-07-03 20:12:29 -05:00
Stuart Breckenridge e99ff1346b Work on #2196
Fixes #2196

All logic has moved to `AddWebFeedViewModel`.
2020-07-04 09:07:55 +08:00
Maurice Parker a4537ec0d4 Merge branch 'swiftui' of https://github.com/Ranchero-Software/NetNewsWire into swiftui 2020-07-03 11:46:32 -05:00
Stuart Breckenridge 75166b404e Merge branch 'pr/7' into swiftui
# Conflicts:
#	Multiplatform/Shared/Sidebar/SidebarToolbar.swift
2020-07-03 23:47:21 +08:00
Maurice Parker 52a868ae7d Refactored PreferredColorSchemeModifier out into its own swift file 2020-07-03 10:45:12 -05:00
Stuart Breckenridge d8914510f7 AddWebFeed
Fixes #2184

Adding Web Feeds is working for macOS and iOS. There are some alignment is.
2020-07-03 23:43:20 +08:00
Stuart Breckenridge 6b6ff7ce1c Work in progress for #2184 2020-07-03 20:31:48 +08:00
Rizwan Mohamed Ibrahim 7cc71eac95
Merge branch 'swiftui' into swiftui-color-palette
* swiftui:
  Register AppDefaults.  Issue #2190
  Removed obsolete AppDefaults values
  Revert to using List for timeline and use infinite scrolling technique to speed up timeline loads
  Add action sheet for adding feed resources
  Stub out Article code
  Delete dead code
  Fix bad merge where we were missing a file reference

# Conflicts:
#	NetNewsWire.xcodeproj/project.pbxproj
2020-07-03 13:45:03 +05:30
Maurice Parker 494bd85a37 Stub out Article code 2020-07-02 15:30:50 -05:00
Maurice Parker 9efda0d59b Fix bad merge where we were missing a file reference 2020-07-02 11:45:53 -05:00
Rizwan Mohamed Ibrahim 959eef6a1a
Add color palette implementation for Appearance settings 2020-07-02 21:10:24 +05:30
Maurice Parker cec866cf27
Merge branch 'swiftui' into swiftui 2020-07-02 04:53:43 -05:00
Stuart Breckenridge c2149579c9 Converts AppDefaults to singleton 2020-07-02 09:58:25 +08:00
Maurice Parker bacffbadbe Add icon image to Timeline 2020-07-01 17:21:58 -05:00
Maurice Parker 4c148e6eba Rename FeedImageLoader 2020-07-01 16:37:20 -05:00
Maurice Parker 781f24454e Add read/starred indicator to timeline 2020-07-01 16:33:07 -05:00
Maurice Parker c1eb9ab927 Add sidebar navigation 2020-07-01 11:13:11 -05:00
Stuart Breckenridge 0e0f46fa49 Refactors `AppDefaults` to `AppSettings`
This commit makes some assumptions:

- `AppSettings` is an `ObservableObject` that uses `@AppStorage` where possible, which sets default values.
- Each change to an property triggers an `objectWillChange.send()` call.
- `IconSize` is not used. Instead, it defaults to 40.0 with minimums and maximums of 20.0 and 60.0, controlled via Timeline settings.
2020-07-01 21:06:40 +08:00
Maurice Parker 53a26f89fe Implement scene specific storage for Sidebar expanded state 2020-06-30 20:23:22 -05:00
Maurice Parker e593f67429 Stub out Timeline code 2020-06-30 11:03:33 -05:00
Stuart Breckenridge 2342ef2b76 Adds Toolbar for Sidebar & SettingsViews for iOS 2020-06-30 21:22:23 +08:00