Commit Graph

561 Commits

Author SHA1 Message Date
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
Maurice Parker 91a3e4fd73 Change Add Web Feed folder selection to be a separate controlling instead of the picker wheel. Issue #1270 2019-11-16 12:02:58 -06:00
Maurice Parker d3e5985258 Update AppleScript to differentiate between WebFeeds and Feeds 2019-11-15 15:46:43 -06:00
Maurice Parker 06bd5b3a6f Renamed Feed and related classes/instances to WebFeed 2019-11-14 20:11:41 -06:00
Maurice Parker 0d66259650 Add ArticleFetcherType and change state restoration to use new type. 2019-11-14 15:06:32 -06:00
Maurice Parker 48fef65bc4 Remove refresh interval setting. Issue #1293 2019-11-13 17:13:06 -06:00
Maurice Parker 701070f2dd Make Article icons/avatars match Timeline icons/avatars. Issue #1273 2019-11-12 09:22:23 -06:00
Maurice Parker 91f7da615c Delete dead code previously used by SwiftUI 2019-11-11 10:13:51 -06:00
Kiel Gillard 8c27187ad8 Make the OAuthAuthorizationClient an implementation detail the Account.framework. 2019-11-09 21:44:13 +11:00
Kiel Gillard b8f7e3f519 Use ASWebAuthenticationSession to authenticate Feedly users and grant NNW access tokens. 2019-11-09 21:44:13 +11:00
Maurice Parker 29b7215f5c Add tick marks to timeline layout sliders 2019-11-08 20:11:17 -06:00
Maurice Parker 0df4498fa3 Add customize timeline layout setting 2019-11-08 17:16:09 -06:00
Maurice Parker 62d7fe34f1 Unify the cache deletion code between iOS and Mac now that the Mac uses the caches directory. 2019-11-08 12:20:21 -06:00
Maurice Parker 4f294c4d20 Make Article icons/avatars match Timeline icons/avatars Issue #1274 2019-11-07 14:29:16 -06:00
Maurice Parker 3acc992a2f Use grouped inset style on Settings #1266 2019-11-07 06:40:10 -06:00
Maurice Parker 6afd9e0dbf Rename to InspectorImageHeaderView 2019-11-06 19:19:16 -06:00
Maurice Parker 560f36621f Add IconImage to encapsulate our icon processing logic 2019-11-05 18:05:57 -06:00
Maurice Parker 8efd94e24d Make special layout for Account rows (Section Headers). Issue #1253 2019-11-05 09:11:43 -06:00
Maurice Parker 27e00ee5c7 Add copy capabilities to Feed URL and Homepage labels. Issue #1239. 2019-11-03 07:18:00 -06:00
Maurice Parker 68fe9e2b62 Add the account icon to the account inspector. 2019-11-03 04:01:58 -06:00
Maurice Parker 91d5e809e4 Make the progress view have rounded ends. 2019-10-29 19:52:21 -05:00
Maurice Parker d63a743550 Rename MasterTimelineAvatarView to AvatarView 2019-10-29 19:23:29 -05:00
Daniel Jalkut 7c4725bd2a Another stab at getting the Sparkle stuff signed correctly for notarization. 2019-10-28 22:13:12 -04:00
Maurice Parker 586eb03f35 Remove AppleScript tests from the scheme. 2019-10-28 14:04:47 -05:00
Maurice Parker 4d3f034c9d Add testURLsOfCurrentArticle to be compiled 2019-10-28 14:01:08 -05:00
Maurice Parker b0d40afa3c Don't compile testURLsOfCurrentArticle. 2019-10-28 13:39:34 -05:00
Daniel Jalkut cc1da562b1 Add commands to the Sparkle build phase script to remove Autoupdater and Updater.app binaries. These are not needed by NetNewsWire since we use the XPC services to provide the same functionality. 2019-10-27 12:06:54 -04:00
Brent Simmons 4cb602f24a Merge mac-release. 2019-10-26 12:44:33 -07:00
Maurice Parker 6a281c7672 Replace Mark All as Read with progress indicator. Issues #1157 and #1165 2019-10-25 13:34:59 -05:00
Brent Simmons eec008ca5b Remove Info.plist from NetNewsWire Tests copy files phase, since it shouldn’t be there. 2019-10-24 21:41:20 -07:00
Brent Simmons f8376b807a Restore two-step process for OPML exporting. 2019-10-24 21:12:58 -07:00
Jonathan Bennett 5437e136bc Merge branch 'master' into feature/feed-wrangler 2019-10-24 12:03:54 -04:00
Jonathan Bennett 77fc1bd8fe Merge branch 'master' into feature/feed-wrangler
# Conflicts:
#	submodules/RSCore
2019-10-23 21:10:57 -04:00
Maurice Parker f0d1cf6239 Add Account Inspector context menu item for Accounts 2019-10-23 19:58:18 -05:00
Maurice Parker 430a4a37bf Add icon next to accounts in the Settings listing. Issue #1160 2019-10-23 10:35:53 -05:00
Nate Weaver 7e98869080 Use an accessory view instead of an intermediate sheet for OPML export 2019-10-22 12:14:38 -05:00