Commit Graph

1052 Commits

Author SHA1 Message Date
Maurice Parker 67251da7ac Hide the Add NetNewsWire feed option if already subscribed 2019-10-21 18:02:44 -05:00
Maurice Parker 3f974c7c2b Change links to open in inline Safari browser. 2019-10-21 17:52:29 -05:00
Maurice Parker cbf37d4ee0 Change number of lines setting to use a stepper 2019-10-21 17:19:22 -05:00
Maurice Parker 48db3d6d85 Add group by feed setting 2019-10-21 16:42:58 -05:00
Maurice Parker c3a8c9a5ab Change settings order 2019-10-21 16:27:54 -05:00
Maurice Parker 872054e7d6 Change to use vibrant cell selection 2019-10-21 16:18:18 -05:00
Maurice Parker 3116c63258 Move done button to the leading side. 2019-10-21 16:14:00 -05:00
Maurice Parker d54ba11c31 Fixed about page text view layout 2019-10-21 13:49:05 -05:00
Maurice Parker ea267e80dd Add show hide password button and delete unused SwiftUI extensions 2019-10-21 13:44:47 -05:00
Maurice Parker effec24674 Change settings from using SwiftUI to using UIKit 2019-10-21 11:51:33 -05:00
Maurice Parker 94f31b18bc Automatically show the add feed sheet if the user asks to continue in the app on a failed Siri Add Feed 2019-10-20 19:05:11 -05:00
Maurice Parker af16731ecd Add the ability to specify folder in Add Feed shortcut 2019-10-20 18:49:17 -05:00
Maurice Parker b1668d6a62 Make iOS project versions configurable in a common file. Issue #1147 2019-10-20 17:26:52 -05:00
Maurice Parker c732df4d83 Merge branch 'master' of https://github.com/brentsimmons/NetNewsWire 2019-10-20 14:29:37 -05:00
Maurice Parker 3a359f0e37 Changed AttributedStringView to use UITextView 2019-10-20 14:29:28 -05:00
Brent Simmons d21ef85ba6 Change CFBundleShortVersionString back to 5.0, because App Store Connect complains about 5.0d1 being invalid. 2019-10-20 12:27:14 -07:00
Brent Simmons d8f0edcde2 Make version 5.0d1, build 2. 2019-10-20 12:22:46 -07:00
Maurice Parker 3ca0934ecb Fix document layout 2019-10-20 14:12:39 -05:00
Maurice Parker 490e782956 Improve About page layout 2019-10-20 14:01:13 -05:00
Maurice Parker 329d5ccfeb Rewrite OPML import/export to avoid ActionSheet 2019-10-20 07:47:22 -05:00
Maurice Parker 00f100e3a3 Renamed TimelineStringFormatter to ArticleStringFormatter now that it is used for much more than the timelines 2019-10-20 02:28:00 -05:00
Maurice Parker cab2c1f26a Add English localization for Siri Intents 2019-10-20 02:21:26 -05:00
Brent Simmons 68687059d3 Avoid embedding frameworks in extensions and in Account.framework. Fix some Info.plist glitches. 2019-10-19 22:31:06 -07:00
Maurice Parker 575b875afa Make zoom image code more resilient on slow networks 2019-10-19 16:54:55 -05:00
Maurice Parker 3a314d2db7 Add activity indicator for image fetches. 2019-10-19 16:25:06 -05:00
Maurice Parker ac7847f099 Rollback unintended entitlement modification 2019-10-19 13:59:25 -05:00
Maurice Parker 495853be15 Add intents extension 2019-10-18 20:37:22 -05:00
Maurice Parker ba2d05ec27 Add better error messages for add feed shortcut 2019-10-18 20:18:25 -05:00
Maurice Parker e52fb6ea32 Make account selectable 2019-10-18 20:06:18 -05:00
Maurice Parker 2b4ff847d2 Add code that can add a feed to the first active account 2019-10-18 19:37:41 -05:00
Maurice Parker c49867cfe3 Stub out Intents Extension 2019-10-18 18:31:00 -05:00
Maurice Parker d26186ee9b Flush TimelineStringFormatter cache when moving to the background 2019-10-18 15:26:37 -05:00
Maurice Parker cf74da9ac0 Change to work with new DefaultFeedsImporter 2019-10-18 10:24:32 -05:00
Maurice Parker 540320e6c0 Change to use navigation stack instead of modal for account credential changes 2019-10-17 05:54:27 -05:00
Maurice Parker 76d7c0256a Fix full screen image background color for dark mode 2019-10-16 20:53:49 -05:00
Maurice Parker eca5f8259a Enhance full image view support to work with 3 panel mode and split window views 2019-10-16 20:20:36 -05:00
Maurice Parker 6c562f93b5 Add a masking subview so that the image appears to slide under the nav and toolbars 2019-10-16 19:32:33 -05:00
Maurice Parker cb6490222f Change image zoom animation to be a solid picture zooming in and out 2019-10-16 16:40:49 -05:00
Maurice Parker 3ddd14d856 Change zoom out animation to make the view controller appear faster 2019-10-16 11:55:08 -05:00
Maurice Parker 1ebb0e60c3 Simplify transition handoff 2019-10-16 11:34:18 -05:00
Maurice Parker 0182fb7296 Use a wrapper class to prevent a circular reference between the web view and the article controller 2019-10-16 11:31:20 -05:00
Maurice Parker 3faa9d7cde Animate timeline star and unread indicators 2019-10-15 20:59:42 -05:00
Maurice Parker 42bccc2fea Remove obsolete code 2019-10-15 20:13:08 -05:00
Maurice Parker 11e9f468d6 Refinement of the full screen image view animation. 2019-10-15 19:52:00 -05:00
Maurice Parker 425b3b09a1 Animate the transition to full screen image view 2019-10-15 18:08:13 -05:00
Maurice Parker 6ae36303de Instantiate user defaults on each use to see if it helps the hanging issue 2019-10-15 09:11:18 -05:00
Maurice Parker 51373885b4 Change javascript event handlers to use event.target.matches instead of walking the dom to install event handlers 2019-10-15 09:04:21 -05:00
Maurice Parker 4759cedd35 Use Javascript to fetch to the image for the ImageViewController 2019-10-13 19:41:34 -05:00
Maurice Parker a1f26898c8 Split Mac and iOS specific javascript into individual files. 2019-10-13 15:47:11 -05:00
Maurice Parker bebf69ef74 Set bounds on share popover 2019-10-12 16:54:24 -05:00
Maurice Parker 60fb58ecaa Add share button to full screen image view. 2019-10-12 15:27:38 -05:00
Maurice Parker 3ee0506b4a Add fullscreen image previewing and zooming 2019-10-12 14:45:44 -05:00
Maurice Parker 8656753423 Rename MarkArticlesReadAlertController to UndoAvailableAlertController to better reflect its new purpose 2019-10-10 15:13:20 -05:00
Maurice Parker f57d3f7df8 Prepend team name to shared user defaults to get rid of warning and hopefully prevent user default corruption 2019-10-10 14:44:20 -05:00
Maurice Parker 7e30bba16a Fix next unread and first unread timeline animations 2019-10-09 21:39:11 -05:00
Maurice Parker ba8d1dfa83 Convert parameter usages of automated to animated 2019-10-09 21:24:56 -05:00
Maurice Parker b52c67595f Add show/hide button to password on add accounts and credentials update. Issue #1066 2019-10-09 11:45:36 -05:00
Maurice Parker d183f3672d Ported sub/sup rules over from Mac stylesheet 2019-10-09 10:23:58 -05:00
Maurice Parker d5031b0c1e Prevent timeline title animation on load 2019-10-08 09:19:50 -05:00
Phil Viso 93ab639509 Updated modal copy. Copy update removed the need for separate versions of the modal. 2019-10-07 21:13:00 -05:00
Phil Viso b635fd4d45 Fixed swipe direction in copy 2019-10-07 20:00:14 -05:00
Phil Viso b963d97922 Show an alert the first time mark all as read is tapped 2019-10-07 19:48:58 -05:00
Phil Viso 461c681a9d Added a flag to suppress mark all as read warning alert 2019-10-07 19:33:30 -05:00
Maurice Parker 6f0c957731 Change CSS variables to match Asset catalog names 2019-10-07 16:54:18 -05:00
Maurice Parker f7e235a1fb Remove padding from code blocks that was causing weird indentation 2019-10-07 11:05:22 -05:00
Phil Viso 50250c13de Made delete action destructive 2019-10-04 22:03:31 -05:00
Maurice Parker b3a5929d6d Fix places in iOS app that need to be using the undo manager 2019-10-04 11:41:30 -05:00
Maurice Parker cf59733ca1 Fix article extractor error handling and recovery for when Mercury can't process a page 2019-10-03 21:06:47 -05:00
Maurice Parker 084749c233 Make pre tag boxes NetNewsWire blue on iOS 2019-10-03 19:53:36 -05:00
Maurice Parker 3d343eb91d Prevent pre tags from wrapping. Issue #1089 2019-10-03 18:27:48 -05:00
Maurice Parker 9a4d915e0b Move read toggle to be swipe-right on timeline 2019-10-03 15:55:16 -05:00
Maurice Parker 0000e03083 Add the ability to handoff from iOS to Mac 2019-10-03 15:49:27 -05:00
Maurice Parker 0c9a1ba8d0 Add notification deep linking for iOS 2019-10-03 09:53:21 -05:00
Ramy Majouji e3c50db7e8 Optimize PNG’s 2019-10-02 22:52:50 -04:00
Maurice Parker cc187875d9 Add initial support for per feed notifications 2019-10-02 19:42:16 -05:00
Maurice Parker aba0d15cb6 Modify background fetch so that it doesn't have to use a background process 2019-10-02 16:41:32 -05:00
Maurice Parker 281416eaee Make sure metadata gets saved if background fetch is performed. 2019-10-02 15:32:34 -05:00
Maurice Parker 45ae96218b Set the default appearance for a compact toolbar so that we don't end up with transparent compact toolbars occasionally 2019-10-02 10:12:22 -05:00
Maurice Parker 59143c2d8f Comment out FreshRSS on add account 2019-10-01 15:52:26 -05:00
Maurice Parker 608da70e8e Launch Safari when web preview is tapped. Issue #1090 2019-10-01 11:09:46 -05:00
Maurice Parker f4d58bd7a7 Animate the timeline unread count indicator 2019-10-01 09:49:07 -05:00
Maurice Parker 66d9e882ad Don't track back navigation when the app is in the background 2019-10-01 04:31:42 -05:00
Maurice Parker 14e808971d Don't clear the current article activities if we have a article view controller push pending. 2019-10-01 03:51:48 -05:00
Maurice Parker 4e6e61842a Make sure the web view has been initialized before deallocating it. 2019-10-01 03:51:05 -05:00
Maurice Parker 77ba42f102 Add unread count to the timeline 2019-09-30 20:01:02 -05:00
Maurice Parker ed2257a4f4 Reenable background iOS screenshooting 2019-09-30 14:04:18 -05:00
Maurice Parker 2c3f665b58 Add accessibility labels to custom disclosure button 2019-09-30 13:32:54 -05:00
Maurice Parker a7bee3a6d5 Animate navigation for First Unread. Issue #1071 2019-09-30 12:36:25 -05:00
Maurice Parker d59b5016de Fix feed inspector name editing 2019-09-30 11:42:11 -05:00
Maurice Parker 7316ceed9d Use newish keyboard modifier for username/email fields. Issue #1065 2019-09-30 08:07:12 -05:00
Maurice Parker bacff92434 Make timeline favicon have a background in darkmode when the favicon is too dark 2019-09-30 02:54:19 -05:00
Maurice Parker 37418471bc Give large images a background in darkmode when they are dark 2019-09-30 02:48:51 -05:00
Maurice Parker 8d0bfd9b47 Make inspector add a background for small dark images 2019-09-30 02:45:33 -05:00
Maurice Parker 9f126bfb8f Add a background if the image is too dark and we are in dark mode. 2019-09-29 19:40:12 -05:00
Maurice Parker 1f26a91af9 Prevent scrolling while reloading cells Issue #1085 2019-09-29 15:53:50 -05:00
Maurice Parker c51f5f44e0 Add eclipses to truncated timeline text. Issue #1072 2019-09-29 14:07:33 -05:00
Maurice Parker a37e4b7920 Fixed feed separators for disclosure rows 2019-09-28 12:11:33 -05:00
Maurice Parker 09a3a03fc4 Add Get Info context menu option 2019-09-28 07:00:18 -05:00
Maurice Parker f785e9f839 Update the feed icon if it wasn't available when the inspector was first shown 2019-09-28 06:35:21 -05:00
Maurice Parker 5dfb4f6488 Fix off center timeline titles 2019-09-27 20:21:46 -05:00
Maurice Parker f3a939b49d Fix dark mode timeline titles 2019-09-27 20:04:49 -05:00
Maurice Parker bed02fc572 Added per feed article extraction 2019-09-27 19:58:09 -05:00
Maurice Parker e5f446c906 Adapted Feed Inspector 2019-09-27 19:49:54 -05:00
Maurice Parker ca4a7f8b0b Add Feed Inspector 2019-09-27 19:45:09 -05:00
Maurice Parker 17c33b75e9 Make the reader view button have a larger hitbox 2019-09-27 17:32:13 -05:00
Maurice Parker da4715c6d1 Fix disappearing reader view button 2019-09-27 17:23:38 -05:00
Maurice Parker 65356424d9 Change reader button to be a system button 2019-09-27 14:09:28 -05:00
Maurice Parker 67e6408da0 Make reader button bigger so that it can be tapped easier 2019-09-27 13:07:33 -05:00
Maurice Parker 79e7653619 Change disabled color of reader view button to match other bar button items when disabled 2019-09-27 12:12:12 -05:00
Maurice Parker 08f7e6d1a4 Fix to only animate the disclosure chevron with button presses 2019-09-27 11:54:50 -05:00
Maurice Parker 9da949114f Move location of Reader View button 2019-09-27 11:20:26 -05:00
Maurice Parker 401f791779 Call correct account function to add folders 2019-09-27 08:46:25 -05:00
Maurice Parker 3464fbfc7f Animate chevron rotation 2019-09-27 05:42:16 -05:00
Maurice Parker 25fa5e0167 Make chevron disclosure button look better in dark mode 2019-09-26 20:54:46 -05:00
Maurice Parker 2f04ffd5ed Use correct selected color for disclosure button 2019-09-26 20:48:18 -05:00
Maurice Parker c33cd8f988 Remove folder icons and feed indenting. Issue #1063 2019-09-26 20:40:32 -05:00
Maurice Parker 9c8f5b7d65 Remove chevrons from timeline. Issue #1067 2019-09-26 20:01:13 -05:00
Maurice Parker 59f58ca424 Move disclosure chevrons to the left hand side. Issue #1063 2019-09-26 19:43:17 -05:00
Maurice Parker 486cec80d0 Move next/prev article buttons to top right and change to use chevrons instead of arrows. Issue #1070 2019-09-26 15:51:16 -05:00
Maurice Parker f24799f16a Slightly round the inner image for avatars 2019-09-26 15:50:05 -05:00
Maurice Parker 994d4ad7b4 Add error icon for reader view 2019-09-26 14:48:19 -05:00
Maurice Parker 80a5a539e8 Make it more clear that we are using shared defaults 2019-09-26 14:29:00 -05:00
Andrew Brehaut f25c0e0b57 Original implementation was only aware of multimarkdown style footnote markup.
This commit includes support for DaringFireball style footnotes
2019-09-26 20:20:53 +12:00
Maurice Parker 945f06be88 Prevent unintended collapsing behavior 2019-09-25 11:02:28 -05:00
Andrew Brehaut 8882d219a6 544 footnote support working on iOS
This commit includes the newsfoot.js script in the iOS page.html file
and copies css from the Mac styleSheet.css into the iOS styleSheet.css.

The is only one difference in the styles between the two: iOS defines left and
right to be in terms of the viewport width rather than a fixed size. This ensures that the popover is always within the visible area.
2019-09-25 12:31:07 +12:00
Maurice Parker 98befac78c Animate reader view button 2019-09-24 16:34:11 -05:00
Maurice Parker eb69967899 Clear article extractor when article selection changes 2019-09-24 11:32:54 -05:00
Maurice Parker 026c7cfd6d Initial article extractor implementation for iOS 2019-09-24 06:46:53 -05:00
Maurice Parker 394618a687 Rename DetailViewController to ArticleViewController to fix name collision 2019-09-24 04:29:15 -05:00
Maurice Parker 4e239a44e1 Reload the title view icon again after it becomes available 2019-09-23 20:53:09 -05:00
Maurice Parker cb1e8e393e Fix controller collapsing behavior 2019-09-23 20:48:45 -05:00
Maurice Parker a9047105db Remove unnecessary system message controller 2019-09-23 19:23:23 -05:00
Maurice Parker b8dd63b553 Remove obsolete split view controller code 2019-09-23 17:56:10 -05:00
Maurice Parker f1819fb39c Use correct name for display 2019-09-23 12:05:44 -05:00
Maurice Parker 59991d0478 Save resource files immediately in the share extension 2019-09-23 11:09:40 -05:00
Maurice Parker 124997feca Reset feed to feed metadata relationship on reload 2019-09-22 21:20:01 -05:00
Maurice Parker c9dc987f64 Fix SwiftUI crash when deleting accounts 2019-09-22 18:16:04 -05:00
Maurice Parker b8d2a5a054 Make share extension container picker update the main ui 2019-09-22 16:36:28 -05:00
Maurice Parker 26031f7a4d Fix share picker cell reuse bug 2019-09-22 16:04:21 -05:00
Maurice Parker 20fa5d9e48 Implement keychain groups 2019-09-22 16:00:06 -05:00
Maurice Parker e14a75d515 Implement group app containers 2019-09-22 13:09:06 -05:00
Maurice Parker 3cd33902cf Add small icon to timeline title view 2019-09-21 17:59:58 -05:00
Maurice Parker e8a68511f1 Add a small amount of corner clipping to favicons 2019-09-21 17:24:50 -05:00
Maurice Parker 2db839db98 Prevent videos on iOS from autoplaying in fullscreen 2019-09-21 15:59:51 -05:00
Maurice Parker 4e7ef7271a Fix content offset bug in detail view 2019-09-21 12:43:15 -05:00
Maurice Parker b49aeca577 Moved page.html location information to ArticleRenderer 2019-09-21 12:36:35 -05:00
Maurice Parker 99be955ede Make sure first webview is fully loaded before callling javascript on it 2019-09-21 10:37:21 -05:00
Maurice Parker 0c00150849 Externalize javascript code into separate main.js file 2019-09-21 04:34:11 -05:00
Maurice Parker ba45144c2a Merge branch 'mac-release' 2019-09-21 03:57:41 -05:00
Maurice Parker 3decd23c45 Convert iOS to use Javascript rendering 2019-09-20 20:33:28 -05:00
Maurice Parker 710abf30c7 Make stylesheet external to page.html 2019-09-20 19:28:13 -05:00
Ben Ubois cdf643c2a6 Make iFrames responsive. 2019-09-20 17:21:01 -07:00
Maurice Parker af0d6c9022 Implement AccountBehaviors so that we don't have to keep adding boolean flags to account 2019-09-20 11:34:31 -05:00
Maurice Parker 6f962ecb42 Fix avatar background composition 2019-09-19 13:41:07 -05:00
Maurice Parker f661b88565 Add new developer setting to configure the organization 2019-09-19 11:23:57 -05:00
Brent Simmons 011f8e8db2 Add entitlements and make various changes in order to get it to build. 2019-09-18 22:08:34 -07:00
Brent Simmons 38f6004edf Change bundle ID of iOS app to com.ranchero.NetNewsWire.iOS. Apple’s portal didn’t like the version with the hyphen in it, for some reason. 2019-09-18 21:51:21 -07:00
Maurice Parker 0fcbcb50e0 Change unread indicator to use secondary accent color 2019-09-18 09:56:10 -05:00
Maurice Parker 8b732e5353 Switch from drawing clear color to drawing background color to reset reused avatar views 2019-09-18 09:47:58 -05:00
Maurice Parker b01e8deaf4 Make both primary and secondary color NNW blue in light mode 2019-09-18 09:21:07 -05:00
Maurice Parker a94c47f1d8 Fix search feed icon 2019-09-18 03:00:12 -05:00
Maurice Parker 36f4366e70 Use correct icons on timeline swipe for unread and starred 2019-09-18 02:57:32 -05:00
Maurice Parker a2264cad98 Fix link tint color on about page 2019-09-18 02:53:39 -05:00
Maurice Parker db2ee18299 Unify the colori scheme into primary and secondary accent colors 2019-09-18 02:49:57 -05:00
Maurice Parker 372fb06716 Implement different icons for each individual smartfeed 2019-09-17 20:26:49 -05:00
Maurice Parker 73b7436c62 Remove old flush cache code 2019-09-17 17:11:47 -05:00
Maurice Parker fe3fa220bb Port TimelineAvatarView to iOS 2019-09-17 17:00:23 -05:00
Maurice Parker 53760c75b4 Restore feedburner image block and remove feedburner link block to match the Mac rules 2019-09-17 16:02:29 -05:00
Maurice Parker 8d5f7cd6cb Change link color to more closely match the tint color 2019-09-17 15:38:55 -05:00
Maurice Parker cd9447abb4 Made Settings attributed string views selectable so that the links in them work 2019-09-17 11:40:58 -05:00
Maurice Parker 106c47350a Disable selecting and editing of about attributed string views. 2019-09-17 11:05:16 -05:00
Maurice Parker 6f8c58e7a2 Rename attributed string bridging class to better emphasize that it is for Settings only views 2019-09-17 10:58:41 -05:00
Maurice Parker e84410c4ee Update to the latest credit verbiage 2019-09-17 10:57:02 -05:00
Maurice Parker 5ee4055eb4 Removed old UIKit Settings code 2019-09-17 10:35:30 -05:00
Maurice Parker 622dba7c14 Implement Settings About View 2019-09-17 10:34:54 -05:00
Maurice Parker 3c1b0cf961 Fix css to handle super wide divs. 2019-09-16 18:19:28 -05:00
Maurice Parker f977a5e0cb Remove favicon and feed icon image caches every 3 days 2019-09-16 17:09:49 -05:00
Maurice Parker 46c1dabe62 Add simulated refresh interval picker 2019-09-16 12:06:47 -05:00
Maurice Parker ac93dfbd91 Add vibrant styling to Account Views 2019-09-16 11:35:09 -05:00
Maurice Parker 7bda205af8 Add vibrant button style 2019-09-16 10:57:27 -05:00
Maurice Parker 00310b7bd7 Roll back vibrant cell selection hacks 2019-09-16 08:05:33 -05:00
Maurice Parker 5d8d0d19df Refactor account tag determination so that SwiftUI would stop freaking out 2019-09-16 05:42:36 -05:00
Maurice Parker e3270f5ef4 Added vibrant selection to Account navigation links 2019-09-16 05:30:59 -05:00
Maurice Parker 8063488bc8 Enable clicking on most anyplace in the row 2019-09-15 20:47:01 -05:00
Maurice Parker 984431eb01 Add VibrantSelectAction and modified import and export OPML to use it 2019-09-15 17:14:27 -05:00
Maurice Parker 38200edb67 Bypass account selection on import and export of OPML if only one account is available 2019-09-15 13:35:36 -05:00
Maurice Parker e2816cba7a Implement Add NNW news in the settings 2019-09-15 12:03:28 -05:00
Maurice Parker 8e939e9942 Change Credentials to be a struct instead of an enum 2019-09-15 10:03:47 -05:00
Maurice Parker 4f401099b6 Fix empty space that sometimes appeared between the first section and the navigation bar of Feeds 2019-09-14 19:51:23 -05:00
Maurice Parker 11140f2289 Put a slight delay in hiding the progress bar 2019-09-14 18:11:03 -05:00
Maurice Parker 612d7d0755 Adjusted the progress bar so that it will make it to 100% 2019-09-14 17:53:37 -05:00
Maurice Parker 16954393c0 Store correct credentials for FreshRSS 2019-09-14 15:41:35 -05:00
Maurice Parker 157bd57c5e Add FreshRSS add account back into settings 2019-09-14 15:15:13 -05:00
Maurice Parker 5c59427e90 Add code to cleanup User Activities on Account delete 2019-09-14 13:38:12 -05:00
Maurice Parker 7a9ad97b32 Don't reload feeds or articles if they are reselected. Issue #1017 2019-09-13 11:19:19 -05:00
Phil Viso cc6767e0f6 Removed duplicate sort parameter change handling functions 2019-09-13 08:29:56 -05:00
Phil Viso 8a6e3c9f37 Merge branch 'master' of https://github.com/brentsimmons/NetNewsWire into GroupArticlesByFeed
# Conflicts:
#	Mac/MainWindow/Timeline/TimelineViewController.swift
2019-09-13 08:23:31 -05:00
Maurice Parker 979fcbc013 Don't update feed selection for zero rows. 2019-09-12 13:49:23 -05:00
Maurice Parker 2737f07906 Add folder picker to share extension 2019-09-12 12:33:05 -05:00
Maurice Parker a90a226e70 Remove obsolete code because add Feed errors are no longer handled this way 2019-09-12 11:36:28 -05:00
Maurice Parker 0225d5003f add error handling to share extension 2019-09-12 11:24:43 -05:00
Maurice Parker 5985b00480 Inject the Accounts folder name so that it can be in different locations between the iOS and Mac Apps. 2019-09-12 10:59:26 -05:00
Maurice Parker 125fb858b4 Clear the currently selected article when search ends 2019-09-12 10:32:58 -05:00
Maurice Parker 139cc4b236 Add the ability to hide the Feeds when in three panel mode 2019-09-12 10:27:03 -05:00
Maurice Parker eab67ae88a Fix iPhone account label layout 2019-09-12 10:19:06 -05:00
Maurice Parker 31b506b85a Work around SwiftUI on bugs on iPadOS so that we can add accounts on the iPad 2019-09-11 20:50:03 -05:00
Maurice Parker efcbdd642a Fix cell icon tint colors 2019-09-11 19:29:27 -05:00
Maurice Parker 7ec360a81e Delete unnecessary node reload 2019-09-11 17:20:33 -05:00
Maurice Parker 4e83b37c0b Rename Extensions to UIKit Extensions 2019-09-11 16:58:55 -05:00
Maurice Parker be84fc5a6b Simplify the section and folder expand/collapse logic 2019-09-11 16:53:27 -05:00
Maurice Parker 1b97aad79c Simplify code by moving the expanded indicator to Node 2019-09-11 15:24:38 -05:00
Maurice Parker ab38e755d3 Move apply snapshot to the viewWillAppear callback to prevent table artifacts 2019-09-11 14:33:39 -05:00
Maurice Parker fc0181cc2a Make Node to IndexPath resolving methods private as they should no longer be used by the controllers 2019-09-11 14:00:07 -05:00
Maurice Parker cf6a9c45b4 Clear selected article if you are using a phone and navigate away from the detail controller 2019-09-11 13:48:53 -05:00
Maurice Parker 42d19ba157 Fixed dark mode bar button tint color 2019-09-11 12:36:04 -05:00
Maurice Parker b1ddfb33ce Correct assignment of timeline controller 2019-09-11 12:07:09 -05:00
Maurice Parker b99483f32d Change progress bar to match bar tint color 2019-09-11 11:59:28 -05:00
Maurice Parker 93f4b29274 Add the ability to customize the smartfeed and folder color option using the Asset catalog 2019-09-11 11:26:22 -05:00
Maurice Parker 856006a19f Fixed timeline loading bug for portrait on the iPad 2019-09-11 10:41:48 -05:00
Maurice Parker d8b7d603bf Fix next and previous buttons on Detail 2019-09-11 09:45:48 -05:00
Maurice Parker c44fcbc198 Reformat article variables 2019-09-11 09:16:04 -05:00
Maurice Parker 19c8f9a067 Make currentArticleRow private 2019-09-11 09:15:22 -05:00
Maurice Parker 8545252265 Remove the usage of IndexPaths for the interface between the coordinator and the timeline 2019-09-11 09:11:33 -05:00
Maurice Parker d8513385e1 More refactoring to remove IndexPath dependencies 2019-09-11 05:45:35 -05:00
Maurice Parker 7278a86523 Refactor to reduce usage of IndexPath's in SceneCoordinator 2019-09-11 05:33:54 -05:00
Maurice Parker 597f1f4adc Made unread indicator and article links slightly brighter 2019-09-11 04:02:52 -05:00
Maurice Parker 8076cac266 Convert timeline to use the diffable datasource to lookup articles instead of the coordinator's article table 2019-09-10 20:32:03 -05:00
Maurice Parker 7a595fcc66 Remove the shim controller as it is no longer needed 2019-09-10 18:26:27 -05:00
Maurice Parker 670ae92f04 FIx navigation feed clearing code so that it works in three panel mode 2019-09-10 17:18:10 -05:00
Maurice Parker 4fa9ec0828 Remove obsolete sidebar hiding code 2019-09-10 17:08:11 -05:00
Maurice Parker c470e56c39 Clear the feed when we navigate back to the Feeds and Timeline isn't showing. 2019-09-10 17:02:41 -05:00
Maurice Parker aac3c86561 Ensure that selected feed is visible when transitioning to three panel mode 2019-09-10 16:38:59 -05:00
Maurice Parker 411413d783 Remove unnecessary selection that was causing the search function to crash 2019-09-10 16:18:40 -05:00
Maurice Parker 0f66e2b5e3 Use correct method to scan the nodes 2019-09-10 08:24:55 -05:00
Maurice Parker bceccd76b5 Restore the timeline selection lost while transitioning to three panel mode 2019-09-10 08:06:43 -05:00
Maurice Parker 2b17735cb0 Fix detail view overlay bug 2019-09-10 07:49:24 -05:00
Maurice Parker e3361abc77 Force the scroll even if the currently selected row is the same 2019-09-10 07:48:40 -05:00
Maurice Parker 6708017b5d Fix how the subsplit view controller was found 2019-09-10 07:22:32 -05:00
Maurice Parker 8a018acc00 Prevent the three panel configuration code from being called too fast when entering the background 2019-09-09 20:24:35 -05:00
Maurice Parker 35226b4af9 Fix the display mode button transitions between three panel mode and regular mode 2019-09-09 18:07:49 -05:00
Maurice Parker 93f6debae6 Changed preffered display mode to all visible 2019-09-09 17:40:18 -05:00
Maurice Parker d80d48916a Animate portrait to landscape transitions in three panel mode 2019-09-09 16:59:24 -05:00
Maurice Parker c59584a8f7 Change to trigger switch to and from three panel mode based on device orientation 2019-09-09 16:21:27 -05:00
Maurice Parker 122e7853a7 Correct issue where launches in portrait on iPad could result in NNW getting confused about being in three panel mode 2019-09-09 15:29:18 -05:00
Maurice Parker c5c7b12fa4 Rename and move entitlements file for iOS share extension 2019-09-09 12:46:38 -05:00
Maurice Parker bf14dd5a03 Rework keyboard commands so that the ones with menu bar counterparts on the mac act like the ones on the mac 2019-09-09 12:08:47 -05:00
Maurice Parker 98761510dd Reload visible cells after expanding/collapsing folders since the folder row might not get updated 2019-09-09 10:06:13 -05:00
Phil Viso cf404859e4 Fixed sort order description being flipped 2019-09-08 17:42:43 -05:00
Phil Viso 01c48e788b Implemented group by feed for iOS 2019-09-08 17:41:00 -05:00
Maurice Parker 7a1da9a01e Rough out the new share extension for iOS 2019-09-08 17:35:38 -05:00
Maurice Parker 1718810701 Automatically dismiss the add account view when an account is added 2019-09-08 10:18:45 -05:00
Maurice Parker ccaeeb8e6d Automatically dismiss the account detail view when the account is deleted. 2019-09-08 10:04:36 -05:00
Maurice Parker c4f7090b9c Automatically expand any activated accounts and clean up the expandedNodes table for inactivated accounts 2019-09-08 09:58:27 -05:00
Maurice Parker e61efbe47a Split AccountsDidChange notification into both add and delete notifications and automatically expanded new accounts on iOS 2019-09-08 09:43:51 -05:00
Maurice Parker 7f4027a527 Make sure we respect the expanded state of the sections when rebuilding the shadow table 2019-09-08 08:55:07 -05:00
Maurice Parker 9dc8f8d37a Clear the timeline if the deleted feed is showing in the timeline 2019-09-08 08:40:15 -05:00
Maurice Parker fc6341704b Make Add Feed activity indicator adopt darkmode appearance 2019-09-08 08:37:59 -05:00
Maurice Parker 51e37373df Don't block feedburner links as there are valid scenarios for those 2019-09-08 08:31:13 -05:00
Maurice Parker 8b901819a6 Make table views scroll even if the root split is collapsed 2019-09-08 08:30:08 -05:00
Maurice Parker 5bfeb77706 Update Add Account to use correct form of sheet showing 2019-09-08 06:43:29 -05:00
Maurice Parker 1caaf3c154 Organize settings folder 2019-09-08 04:52:05 -05:00
Maurice Parker 2497c50ade Add padding to settings account header to make it look like the other section headers 2019-09-08 04:48:30 -05:00
Maurice Parker bfdafee2ea Center service headings in add sync service scenes 2019-09-08 04:09:05 -05:00
Maurice Parker fe874f3ca7 Update Settings for Accounts to work with the latest SwiftUI 2019-09-07 20:50:57 -05:00
Maurice Parker a01b9ebe73 Add Done button to Setting modal 2019-09-07 16:43:44 -05:00
Maurice Parker dcd2a9c4f6 Reimplement Import and Export OPML 2019-09-07 15:30:54 -05:00
Maurice Parker a4b30c2f0e Add refresh interval to settings again 2019-09-07 14:33:15 -05:00
Maurice Parker 3b4ec7262f Refactor website links to make code clearer and more concise 2019-09-07 14:10:20 -05:00
Maurice Parker 22553b661d Begin to convert Settings to the latest SwiftUI 2019-09-07 14:00:31 -05:00
Maurice Parker ec4a6f3e0a Add search articles keyboard shortcut and make search work in three panel mode 2019-09-07 09:01:29 -05:00
Maurice Parker 12e417d311 Fix detail view link color. Issue #965 2019-09-06 18:14:51 -05:00
Maurice Parker 7d8a0234b6 changed to queue a reload of all visible cells when a favicon comes in 2019-09-06 17:22:12 -05:00
Maurice Parker a6f6462afd Make arrow key scrolling work like it does on the Mac timeline 2019-09-06 13:45:45 -05:00
Maurice Parker c8b5b10edd Check if the split is collapsed to see if we are maintaining the selection 2019-09-06 11:22:35 -05:00
Maurice Parker aa7c60ee3a Prevent row selection on iPhone as keeping selected rows highlighted is an iPad only feature 2019-09-06 11:11:28 -05:00
Maurice Parker cdbaeda97b Return to the Feeds scene when Add is executed using a keyboard shortcut key in another scene 2019-09-06 10:57:37 -05:00
Maurice Parker cc1c45095c Make feeds become first responder on load so that the keyboard is ready to go on initial app launch 2019-09-06 10:52:21 -05:00
Maurice Parker d0570d16a8 Prevent attempt to restore article selection when there are no articles 2019-09-06 10:38:02 -05:00
Maurice Parker 9f6203e839 Improve launch performance and fix Search home page quick action 2019-09-06 10:29:00 -05:00
Maurice Parker d6ea701d26 Prevent global keyboard shortcuts from being executed in modal dialogs 2019-09-06 07:58:36 -05:00
Maurice Parker 9b17293f4e Fix bugs in automated routing on application launch 2019-09-06 07:29:36 -05:00
Maurice Parker 1e7ed5bf35 Make the scrolling check more succinct and readable 2019-09-05 21:19:00 -05:00
Maurice Parker a2dda5f0f8 Add scroll or go to next unread keyboard shortcut 2019-09-05 21:14:19 -05:00
Maurice Parker 18d442d901 Add select previous unread keyboard shortcut 2019-09-05 18:02:40 -05:00
Maurice Parker 6d24ea642a Add expand and collapse all folders shortcuts 2019-09-05 16:38:33 -05:00
Maurice Parker 734ce4bc67 Rename expand and collapse functions to be more descriptive 2019-09-05 16:08:57 -05:00
Maurice Parker 953259f0d3 Add selected row expanding and collapsing keyboard shortcuts 2019-09-05 16:04:07 -05:00
Maurice Parker c9fd7d01d9 Add delete feed keyboard shortcut 2019-09-05 15:54:58 -05:00
Maurice Parker 9a52834b7a Implement shortcuts found in the Articles menu of NNW for Mac 2019-09-05 15:43:01 -05:00
Maurice Parker afce6ff26f Add keyboard shortcuts for Add Feed and Add Folder 2019-09-05 15:07:35 -05:00
Maurice Parker 7582ade6f5 Implement more keyboard shortcuts 2019-09-05 14:50:05 -05:00
Maurice Parker 73828e5115 Remove the coordinator dependency from KeyboadManager as it wasn't needed 2019-09-05 14:37:07 -05:00
Maurice Parker 988ec75d75 Added Brian Warren's image stretching fix to the iOS app 2019-09-05 13:21:14 -05:00
Maurice Parker ac37443dbb Stubbed out menu item keyboard shortcuts and implemented the numbered ones 2019-09-05 13:14:14 -05:00
Maurice Parker efd17502e0 Stub out all the global shortcut functions and move global shortcuts to the RootSplitViewController 2019-09-05 11:29:04 -05:00
Maurice Parker ac03992430 Fix bug in arrow key navigation where focus could get stolen from the timeline 2019-09-05 10:46:24 -05:00
Maurice Parker 7a452e2a3c Add keyboard arrow key navigation 2019-09-04 21:06:29 -05:00
Maurice Parker ae06544dd5 Add iframe to the list of max width elements to prevent youtube videos and others from being too large 2019-09-04 17:32:10 -05:00
Maurice Parker dabb78cde4 Merge branch 'mac-release' 2019-09-04 17:20:37 -05:00
Maurice Parker 8758d28cd7 Implement keyboard shortcut infrastructure and first shortcuts 2019-09-04 16:24:48 -05:00
Maurice Parker 68143aa2c5 Implement keyboard shortcut infrastructure and first shortcuts 2019-09-04 16:24:16 -05:00
Thomas Pritchard 091b43a9fb Apply figure styles to iOS as well 2019-09-04 19:58:30 +01:00
Maurice Parker 00a84ce6b5 Fix bug that prevented timeline from being restored after searching ends 2019-09-04 10:42:28 -05:00
Maurice Parker a29f69c0cb Create separate launch storyboard for iPad since we don't use large titles on iPad in three panel mode which is the only one you will see while launching 2019-09-04 04:46:13 -05:00
Maurice Parker 17a5d291f4 Remove become and resign first responder code in Feeds and Timeline 2019-09-03 20:39:00 -05:00
Maurice Parker fc872cf88f Add missing activity type 2019-09-03 19:58:48 -05:00
Maurice Parker 640faaa114 Simplify the article replacement logic 2019-09-03 16:07:02 -05:00
Maurice Parker 5cb099aee6 Add next unread as a user activity and more aggressively invalidate user activities 2019-09-03 15:52:59 -05:00
Maurice Parker e6a4338a86 Restore the feed selection if an account containing the selection is expanded 2019-09-03 13:59:22 -05:00
Maurice Parker b7ba2c809c Use better function for looking up article index 2019-09-03 13:43:59 -05:00
Maurice Parker bf572633f8 Enable drag and drop between accounts 2019-09-03 13:27:23 -05:00
Maurice Parker 960f09826b Add separator line to section headers so that they don't look smooshed together when collapsed 2019-09-03 13:00:31 -05:00
Maurice Parker 4bce625f18 Clear search results when no timeline fetcher is specified 2019-09-03 12:25:27 -05:00
Maurice Parker 2a00c879f8 Change to animate search results changes 2019-09-03 12:12:42 -05:00
Maurice Parker 2e71cc573d Cap the possible destination index used during Feed moves 2019-09-03 12:07:18 -05:00
Maurice Parker d5adbccd5b
Merge pull request #949 from correia/issue-948
Fix for issue #948 — bad highlight state for table cell views in light mode.
2019-09-03 11:56:14 -05:00
Jim Correia 061872b7ff Simplified/corrected highlighted/selected appearance of feed and timeline cells.
- Set the highlighted text color on labels in table cells. This will be used
  for both the highlight and selected states automatically. (And since it is
  used for both states, we avoid anachronistic state where we have black
  text on a dark blue background in light mode as we transition from none ->
  highlighted -> selected.)

- Keep the selected/highlighted overrides to adjust colors for non-UIControl
  subelements.
2019-09-02 22:39:01 -07:00
Jim Correia 932f6fdd30 Added NNWTableViewCell; a base class for cells with the NNW selection color.
Defined a semantic color for the selection color which is identical to
netNewsWireBlue.

MasterFeedTableViewCell and MasterTimelineTableViewCell now subclass
NNWTableViewCell and no longer directly customize their selected background
view.
2019-09-02 22:38:42 -07:00
Maurice Parker 0d6dbb6df3 Fix broken select next where it wasn't going to the next available fetcher in the Feeds scene 2019-09-02 17:28:28 -05:00
Maurice Parker 613cea5c7a Change next unread function so that it skips the current article even if that article is marked as unread 2019-09-02 17:24:20 -05:00
Maurice Parker fafb7de868 Remove Refresh shortcut item 2019-09-02 16:05:55 -05:00
Maurice Parker 93b702f170 Automatically copy any url in the pasteboard to the feed field for feed adds 2019-09-02 15:54:49 -05:00
Maurice Parker c5fed06581 Add refresh home screen shortcut. 2019-09-02 15:45:09 -05:00
Maurice Parker 2c4531f481 Add the Add scene as a home page quick action. 2019-09-02 15:14:26 -05:00
Maurice Parker b768877e23 Use correct delegate methods to begin and end searching 2019-09-02 12:40:14 -05:00
Maurice Parker 746c06d147 Prevent automated scrolling when selecting an article in the timeline 2019-09-02 12:05:11 -05:00
Maurice Parker c405fdf583 Implement search home page quick action 2019-09-01 17:41:46 -05:00
Maurice Parker 33882ab276 Add Home Page Quick Actions 2019-09-01 16:54:07 -05:00
Maurice Parker 189af8d816 Invalidate user activities when collapsed and returning to Feeds scene 2019-09-01 15:31:11 -05:00
Maurice Parker 1a9acdcc50 Remove TreeController from Delete command as it is no longer used there 2019-09-01 14:56:27 -05:00
Maurice Parker dfc3046bf0 Clear the timeline when the user begins searching 2019-09-01 14:49:56 -05:00
Maurice Parker a5298f0381 Refactor mark as read for articles to be in the SceneCoordinator instead of in the DetailViewController 2019-09-01 12:52:06 -05:00
Maurice Parker 858bdb7f21 Rename AppCoordinator to SceneCoordinator as that name better defines its purpose 2019-09-01 12:43:07 -05:00
Maurice Parker 43fb7dff9f Fix bug that prevented new folders from appearing in the Feeds 2019-09-01 10:29:30 -05:00
Maurice Parker 397d75c6f6 Restore animation when adds and deletes happen to feed items 2019-09-01 10:11:03 -05:00
Maurice Parker 27883632d0 Fix bug that prevented reading article user activities from being restored 2019-08-31 20:23:14 -05:00
Maurice Parker 87030a5921 Implement stateRestorationActivity to save most relevant current user activity 2019-08-31 19:30:21 -05:00
Maurice Parker 407bd296db Merge branch 'master' of https://github.com/brentsimmons/NetNewsWire 2019-08-31 17:37:49 -05:00
Maurice Parker 988ac1bbd8 Correct label color to specify correct platform 2019-08-31 17:37:42 -05:00
Maurice Parker 6caff148dd
Merge pull request #928 from correia/placeholder-content
Use noContentHTML rather than noSelectionHTML for prepared web views.
2019-08-31 17:20:52 -05:00
Jim Correia 5f11c42fc2 Use noContentHTML rather than noSelectionHTML for prepared web views.
Added a noContentHTML to ArticleRenderer. Use that for the initial content
for queued web views so that we don't see a temporary flash of "No
Selection" when pushing to an article that doesn't load instantly.
2019-08-31 15:03:03 -07:00
Maurice Parker c9858a0457 Show and hide scope bar based on editing state 2019-08-31 16:39:59 -05:00
Maurice Parker fe2e0155da Add scoped searching of articles 2019-08-31 15:53:47 -05:00
Maurice Parker ba36572497
Merge pull request #927 from correia/correia/webview-layout
Added missing constraints to the web container view in the Detail scene.
2019-08-31 15:27:52 -05:00
Jim Correia 77cf92ec13 Added missing constraints to the web container view in the Detail scene. 2019-08-31 13:20:23 -07:00
Jim Correia 52ad2623a8 Limit the size of the queue maintained by DetailViewControllerWebViewProvider. 2019-08-31 13:16:46 -07:00
Jim Correia f7b53283d6 Maintain a queue of "prepared" web views for use in DetailWebViewController.
WKWebView has an awful behavior of a flash to white on first load when in
dark mode.

Keep a queue of WebViews where we've already done a trivial load so that by
the time we need them in the UI, they're past the flash-to-shite part of
their lifecycle.
2019-08-31 12:53:03 -07:00
Jim Correia a5b2c759ec Create the WKWebView instance at runtime.
Specify a container view in the storyboard and create+install the web view
at viewDidLoad time.

This lets us experiment with solutions for providing a web view that avoids
the flash-to-white problem.
2019-08-31 12:30:01 -07:00
Jim Correia e5782ca464 Removed the hide the webview workaround to expose the flash to white problem. 2019-08-31 11:27:59 -07:00
Maurice Parker 67b9721a10 Made article search go fast 2019-08-31 12:12:50 -05:00