Commit Graph

596 Commits

Author SHA1 Message Date
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
Maurice Parker 01a26a23a3
Merge pull request #2178 from rizwankce/swiftui-color-palette
SwiftUI Appearance Settings
2020-07-03 10:11:49 -05:00
Maurice Parker e621e5e0f7 Add prebuild script to generate Secrets for new multiplaform targets 2020-07-03 09:48:14 -05: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
Maurice Parker 835b04c53d Add feed icons 2020-06-29 20:09:11 -05:00
Maurice Parker 61ad0fbfa4 Add unread counts to Sidebar 2020-06-29 16:58:10 -05:00
Maurice Parker 0886cffcff Refactor the SidebarView list into its own View so to reduce code duplication 2020-06-29 13:14:03 -05:00
Stuart Breckenridge 0907164627 Adapts to compact size classes 2020-06-29 22:06:00 +08:00
Stuart Breckenridge 8b7940492a Mac Toolbar
Placement of buttons is not quite right, but the search bar is in the right place!
2020-06-29 21:19:51 +08:00
Stuart Breckenridge 1f6f5fa054 Adds Mac Preferences
This makes use of `@AppStorage` for preferences. Severeral more need to migrated from AppDefaults etc.
2020-06-29 21:04:50 +08:00
Maurice Parker 86b929743b Add SmartFeeds to outline 2020-06-29 06:16:48 -05:00
Maurice Parker c40b7d8c05 Tweak the project settings to get previews working 2020-06-28 21:05:49 -05:00
Maurice Parker 441bc072f3 Create rough app outline 2020-06-28 14:21:43 -05:00
Maurice Parker 67c0e00957 Make multiplatform compile shared app resources 2020-06-28 03:05:01 -05:00
Maurice Parker 7ceaa305e7 Initial multiplatform build 2020-06-27 11:22:01 -05:00
Maurice Parker 50508446bb Use immutable object for diffable datasource on Feeds. Issues #1901, #2031, #2124 2020-06-15 18:03:20 -05:00
Maurice Parker 7d8e49a2ee Merge branch 'ios-release' 2020-05-18 03:05:59 -05:00
Maurice Parker b575d648dc
Merge pull request #2063 from bdougsand/find-in-article-ios
Adds "Find in Article" activity to the share sheet
2020-05-18 02:41:28 -05:00
Maurice Parker 775a69a295 Add iOS Reddit URL builder 2020-05-12 11:17:47 -05:00
Brian Sanders 737f4bfdf5 Adds "Find in Article" activity to the share sheet
addresses #1750
2020-05-11 17:08:44 -04:00
Maurice Parker 06e91aa8b7 Add the Add Reddit Feed dialog 2020-05-10 11:44:30 -05:00
Stuart Breckenridge f901436211
mailto links now open on iOS
fixes #2036

Extends `URL` with an email address `var` for `mailto` schemes and adds a decisionHandler for `mailto` schemes on `WebViewController`. If the device cannot send mail, an alert is displayed.
2020-05-03 21:33:57 +08:00
Maurice Parker e681fd6402 Stub out Reddit Feed Provider / Extension Point 2020-05-02 19:38:57 -05:00
Nate Weaver 074cad019b Re-add NSAttributedString+NetNewsWire 2020-05-01 01:42:43 -05:00
Maurice Parker 86fb98c17b
Revert "WIP: Title tags" 2020-04-24 20:24:24 -05:00
Maurice Parker 8b584d0000
Merge pull request #2016 from Wevah/title-tags
WIP: Title tags
2020-04-24 18:41:06 -05:00
Nate Weaver b437ddab5c Move NSAttributedString+NetNewsWire into Shared/Extensions 2020-04-24 18:25:56 -05:00
Maurice Parker 4a3205d74f Removed Test build configuration 2020-04-24 17:08:10 -05:00
Nate Weaver 6aff83481f Make attributed titles work on iOS 2020-04-24 16:20:41 -05:00
Nate Weaver 3d509a94d4 Add attributed title support in the timeline 2020-04-24 16:20:40 -05:00
Maurice Parker c451cb38d9 Add Twitter detail entry scene 2020-04-23 10:43:09 -05:00
Maurice Parker 059b24c57b Add Twitter select account for URL builder 2020-04-23 09:50:19 -05:00
Maurice Parker 4ff273c3b5 Add single Home Timeline and Mentions URL builder. 2020-04-23 09:08:33 -05:00
Maurice Parker 4461cf83cb Add select URL Builder dialog 2020-04-23 04:44:26 -05:00
Maurice Parker e11cf2ccf5 Rename to use common name for table view cell 2020-04-23 04:00:51 -05:00
Maurice Parker 0ff0c87932 Add the new twitter add dialog 2020-04-21 21:25:45 -05:00
Maurice Parker 0e7c47b04e Refactored add window code to allow for multiple types of feed add window 2020-04-21 18:33:07 -05:00
Maurice Parker d0d29fd7da Merge branch 'master' into extension-point 2020-04-19 19:01:11 -05:00
Nate Weaver 2a6d9994ea Move shared CSS into its own file 2020-04-19 18:38:33 -05:00
Maurice Parker eb02568409 Made Feed Providers part of the Account project 2020-04-16 11:15:39 -05:00
Maurice Parker d168658e05 Add Extension Point maintenance to the iOS app. 2020-04-16 08:25:40 -05:00
Maurice Parker 42853fe487 Renamed source file to match usual conversions for extensions. 2020-04-15 14:12:31 -05:00
Maurice Parker e206909237 Refactor ExtensionPoints to make them easier to create in the future. 2020-04-14 16:47:05 -05:00
Maurice Parker 4a7a27e695 Fix build settings 2020-04-14 07:54:40 -05:00
Maurice Parker a9f8bc4a16 Add OAuthSwift submodule 2020-04-14 00:41:30 -05:00
Maurice Parker d1765b3d0c Merge branch 'master' into extension-point 2020-04-13 10:22:29 -05:00
Maurice Parker 46f614e960 Merge branch 'ios-release' 2020-04-12 11:50:11 -05:00
Maurice Parker 7064d5d8f5 Fix regression where navigating back and paging back from an article happened at the same time. 2020-04-12 11:48:14 -05:00
Maurice Parker 3ba9ca8c8a Added new Secrets framework project 2020-04-09 21:07:56 -05:00
Maurice Parker d49eabbcb3 Add extension management for our two SendToCommand implementations 2020-04-08 20:22:13 -05:00
Maurice Parker 49cff8eb8e Add basic ExtensionPoint support. 2020-04-07 15:25:33 -05:00
Maurice Parker 429ba1aed3 Add Feed Providers preference pane. 2020-04-06 21:06:42 -05:00
Maurice Parker e4b03eebc2 Add FeedProvider project. 2020-04-06 17:05:47 -05:00
Maurice Parker b664ae2609
Merge pull request #1959 from quanganhdo/mac-newsblur
Add NewsBlur support to Mac version
2020-03-30 17:37:08 -05:00
Anh Do c3506e9329
Add NewsBlur to Preferences 2020-03-30 17:45:47 -04:00
Maurice Parker ecc20ad9e3 Enabled adding a CloudKit account on iOS. 2020-03-28 17:51:14 -05:00
Maurice Parker 69930acbe4 Made the verify no build settings script return a more friendly error message. 2020-03-28 11:25:37 -05:00
Maurice Parker f779b1e1b4 Removed the iCloud requirement for developers not needing it. 2020-03-22 21:11:29 -05:00
Anh Do 8f5f856e49
Add NewsBlur account prototype 2020-03-22 00:47:26 -04:00
Maurice Parker 10c17649c0 Rolled back some of Xcode less helpful changes 2020-03-21 21:37:43 -05:00
Brent Simmons ec2a3012ee Fix bundle IDs in MAS target. 2020-03-21 19:22:32 -07:00
Brent Simmons 2da6ba5550 Switch to Automatically Manage Signing for Mac targets. 2020-03-21 19:20:32 -07:00
Maurice Parker 9315a00d19 Add CloudKit container entitlements. 2020-03-21 02:34:34 -05:00
Maurice Parker e3d46960fd Add CloudKit syncing add account UI. 2020-03-18 15:48:44 -05:00
Maurice Parker 36841602a5 Change article rendering to use loadHTMLString instead of JavaScript. Issue #1923 2020-03-17 17:18:24 -05:00
Maurice Parker a620a20588 Add the option to select the user interface color palette. Issue #1900 2020-03-15 04:25:25 -05:00
Maurice Parker 49257970af Removed testing code. Issue #1810 2020-03-13 15:35:33 -05:00
Maurice Parker 5a5abb0b87 Ensure that the dom is fully loaded on *all* web views before being made available to process JavaScript. Issue #1756 & Issue #1808 2020-02-25 15:10:51 -08:00
Maurice Parker 48e856fc04 Serialize access to the UITableView for scrolling and diffable datasource updates. Issue #1806 2020-02-23 10:57:20 -08:00
Maurice Parker 2ae021960b Move account files to the documents directory and out of the shared container. Issue #1784 2020-02-12 16:21:48 -08:00
Maurice Parker dfd6be5fa6 Flush are rebuild web view queue when suspending and restoring the app. Issue #1563 2020-02-04 16:00:26 -08:00
Maurice Parker 6ac6136612 Make animations individually selectable and no longer animate navigation selections. Issue #1439 2020-01-27 21:57:52 -07:00
Maurice Parker 3a99e6430f Make the article icon code specify the desired article so that it can't pull the wrong one by mistake. Issue #1707 2020-01-27 12:58:32 -07:00
Maurice Parker 4f36ec3b11 Add Update Credetials button to the error dialog when a Feedbin credentials error happens. Issue #1441 2020-01-16 13:50:30 -07:00
Brent Simmons 2df78f3cf1
Merge pull request #1605 from hartlco/1590-sharing-item-to-omnifocus-adds-extra-newline
Provide dedicated TitleActivityItemSource when sharing to Omnifocus and Things
2020-01-11 11:17:30 -08:00
Maurice Parker 21cf8415d2 Add confirmation for Mark As Read actions. Issue #1603 2020-01-11 11:30:16 -07:00
Martin Hartl c739d77817 Provide dedicated TitleActivityItemSource when sharing to Omnifocus and Things 2020-01-11 09:12:41 +01:00
Maurice Parker 9fedf68b3f Add action to Share button to open in Safari. Issue #1573 2020-01-09 18:27:52 -07:00
Maurice Parker 5a7863d447 Rollback pull to refresh on the timeline and modified pull to refresh control. Issue #1520 2020-01-03 08:42:43 -07:00
Maurice Parker e26a00ddfe Enable pull to refresh on timeline and change refresh indicator to better show when it is successfully pulled. Issue #1520 2020-01-02 21:08:21 -07:00
Maurice Parker af76e44c0f Changed ArticleViewController to utilize UIPageViewController to provide gesture based navigation. 2019-12-31 16:55:39 -07:00
Maurice Parker a1b23edc8b Delete obsolete code 2019-12-28 16:06:37 -07:00
Kiel Gillard 280635d332 Disable failing tests until they can be refactored to accomodate latest Account API changes. 2019-12-09 18:54:29 +11:00
Maurice Parker 4ad7cd7bdd Fix vibrancy for new add web feed folder picker. Issue #1384 2019-12-08 10:39:13 -07:00
Nate Weaver bf4dd59d90 Use the app icon for the NNW feed 2019-12-07 15:45:33 -06:00
Maurice Parker 95debf3e61 Remove Secrets build phase 2019-11-27 18:09:39 -06:00
Maurice Parker 0ed63ad09a Fix pre build paths for iOS and MAS and removed their old Mercury build phases. 2019-11-27 17:38:03 -06:00
Maurice Parker bdc86140cf Update pre build action script location 2019-11-27 17:30:50 -06:00
Maurice Parker 24aa91a99f Move updateSecrets to buildscripts folder 2019-11-27 17:26:27 -06:00
Maurice Parker 30f560be4d Convert Feedly and Mercury to use the new Secrets system. 2019-11-27 17:20:09 -06:00
Maurice Parker 748f4e64d3
Merge pull request #1364 from jbennett/manage-secrets
Generalize handling of secrets and keys
2019-11-27 16:54:24 -06:00
Jonathan Bennett 88664bd3e6 use pre-build hooks to trigger gyb script 2019-11-27 17:20:56 -05:00
Maurice Parker 751dd0ae35 Correctly align the about page. Issue #1351 2019-11-26 11:30:38 -06:00
Jonathan Bennett 9d0034576d start extracting secrets 2019-11-26 08:58:16 -05:00
Maurice Parker 323b160b7f Add context menu for Fullscreen mode actions. Issue #1344 2019-11-25 19:43:43 -06:00
Jonathan Bennett 0539336fce Allow Feed Wrangler accounts on iOS 2019-11-25 00:26:03 -05:00
Jonathan Bennett ce51e4e632 Merge branch 'master' into feature/feed-wrangler 2019-11-24 20:41:43 -05:00
Maurice Parker ab9e8c09ce Correct file name. 2019-11-23 22:18:41 -06:00
Maurice Parker 4296c243ff Implement custom previews for context menus to crop cell separators. Issue #1221 2019-11-23 22:15:29 -06:00
Maurice Parker f818a1618f Implement drag and drop feed arrangement. 2019-11-20 20:28:24 -06:00
Maurice Parker 7c947b935d Rewrite three panel mode so that background screenshooting will work. 2019-11-20 16:41:13 -06:00
Jonathan Bennett 29a0608288 pbxproj merge fixes 2019-11-20 14:51:07 -05:00
Jonathan Bennett b4a862d207 Merge branch 'master' into feature/feed-wrangler
# Conflicts:
#	Frameworks/Account/Account.swift
#	Frameworks/Account/Account.xcodeproj/project.pbxproj
#	NetNewsWire.xcodeproj/project.pbxproj
#	submodules/RSCore
2019-11-20 14:01:04 -05:00
Maurice Parker fc235a029e Remove toolbar autohiding and add optional fullscreen mode. 2019-11-18 19:12:24 -06:00
Maurice Parker 0e60c19338 Force modal in modal dialogs to always have full size navigation bars. Issue #1301 2019-11-17 09:49:26 -06:00
Maurice Parker 991ef26a1f Change to remember last selected Folder when adding a Feed. Issue #1306 2019-11-16 19:57:05 -06:00
Maurice Parker 397d8e8ffa Update picker for Share Extension to be hierarchical and use icons. Issue #1269 2019-11-16 19:44:01 -06:00
Maurice Parker e74e6cb875 Add Account scenes should have account graphic in header. Issue #1305 2019-11-16 15:47:12 -06:00
Maurice Parker 5ce5175bc0 Change to not suggest root folder for Accounts that don't support it. Issue #1287 2019-11-16 13:25:55 -06:00