Commit Graph

1837 Commits

Author SHA1 Message Date
Stuart Breckenridge 08a1120e00
Adds app default option
Adds app defaults option for controlling link opening preferences.

Adds browser logic and images.

Browser Manager Updates

- Handles deletion of current browser
- Fixes detection of installed browsers by moving URL Types to LSApplicationQuery
- Updates icons to glyphs
- Context menus update

tidy up

- removes browser specific options and offers in-app or default browser options (can be enabled via a bool)
- adds 1Password as an option
- removes custom wording on context menus

Fixes

- makes sure browser options are available on iPad
- uses VibrantCell
- Changes Settings title to "Open Links In"
2021-08-23 23:01:48 +08:00
Maurice Parker b3773ad01b Implement the WKUIDelegate method that is reached when JavaScript in a web view invokes window.open(). This ensures that attempts to open links from code, such as from the YouTube embedded video player, work as expected. Fixes #3088. 2021-07-29 16:48:42 -05:00
Maurice Parker 9d6bfc87b0 Fix crash on iOS 15 2021-07-16 15:39:23 -05:00
Maurice Parker cc19b6b13e Fix crash on iOS 15 2021-07-16 14:28:56 -05:00
Maurice Parker 3ea427bd2d Fix open in browser when the article is selected. Fixes #3215 2021-07-06 18:50:48 -05:00
Maurice Parker c2413cda37 Restore alpha of the indicators to 1 incase the animation completion handler doesn't get called. Fixes #3156 2021-06-23 03:24:23 -05:00
Maurice Parker 86ca397221 Ignore key commands when the web view has focus. Fixes #3179 2021-06-23 02:44:34 -05:00
Maurice Parker f1dbc2de71 Merge branch 'ios-release' 2021-06-22 19:14:50 -05:00
Brent Simmons 8be9bf6861 Update Help book URL. 2021-06-20 16:03:54 -07:00
Maurice Parker cc176134ea Put in a slight delay to prevent the screen from flashing. Fixes #3038 2021-06-17 19:23:41 -05:00
Maurice Parker d6aa5f23ba Don't allow the creation of iCloud accounts if iCloud and iCloud Drive aren't enabled. Fixes #3106 2021-06-17 19:05:39 -05:00
Stuart Breckenridge 50327a97d3 Password Updates
• Removes LD_RUNPATH_SEARCH_PATHS which caused an issue when building for running on device
• Autofill enabled on macOS 11 +
• Adds sender for 1Password (for iPad)
2021-06-17 12:38:53 +08:00
Stuart Breckenridge a86f1d8a49 FreshRSS will use the entered API url 2021-06-16 14:55:11 +08:00
Stuart Breckenridge db9d326457 moved bridging header to iOS resources 2021-06-16 14:50:53 +08:00
Stuart Breckenridge 0e19a9d98a Adds 1Password Extension to UIKit. 2021-06-16 14:41:51 +08:00
Maurice Parker 29458fb03b Change to use destructive style on delete button. Fixes #3159 2021-06-15 21:33:23 -05:00
Maurice Parker b27be9c8ea Don't animate the Feeds rebuild when responding to the initial unread count initialization. Fixes #2985 2021-06-15 16:35:29 -05:00
Brent Simmons 0d0f1e4908 Replace “don't” with “don’t” everywhere. 2021-05-31 16:01:01 -07:00
Brent Simmons ae63d0feb7 Add a warning about iCloud sync being slow sometimes. Also: in user-facing text, change “subscriptions” to “feeds.” We want to use the word “feed” — a “subscription” makes people think of IAP. 2021-05-31 15:52:56 -07:00
Maurice Parker f9af3c786b Merge branch 'ios-candidate' 2021-05-25 20:12:50 -05:00
Stuart Breckenridge eb7860eeb9
Adds new Tweetbot share extension identifier.
Fixes #3123 on iOS.
2021-05-23 18:24:27 +08:00
Brent Simmons b83b4904e7 Update credits, dedication, and copyright on iOS. Fix #3005. 2021-05-22 21:50:32 -07:00
Brent Simmons 251b19d26c Tweak text for Feed Providers explanation. Now: “Feed Providers allow you to subscribe to some pages as if they were RSS feeds.” 2021-05-16 20:22:15 -07:00
Brent Simmons 5490e3ab49 Merge branch 'ios-candidate' of https://github.com/Ranchero-Software/NetNewsWire into ios-candidate 2021-05-08 12:42:52 -07:00
Brent Simmons 9d2c8f000f Create and use IconImageCache. It centralizes and de-dupes logic for getting feed/article images, and it caches the results, which helps performance. 2021-05-08 12:42:44 -07:00
Maurice Parker 9b53fcbe37 Fix regression that prevented the timeline and article from being cleared when the current feed is deleted. Fixes #3054 2021-05-06 20:07:49 -05:00
Maurice Parker 7e820c58e5 Reload the webview when rotating the device on an iPhone. Fixes #3041 2021-05-04 21:44:55 -05:00
Rob Mathers 8707a71313 Add Copy Article URL & Copy External URL Menu Items
The Mac items display in the edit and contextual menus, and in the iOS contextual menu for an article.
2021-05-01 16:47:39 -04:00
Brent Simmons 28b00260e0 Cache IconImage for feeds on the Feeds screen.
Empty the cache, and reload visible cells, when the trait collection changes, so that we get the proper icons for light/dark mode. This caching provides a small-but-worthwhile performance increase for the Feeds screen.
2021-05-01 12:29:18 -07:00
Duncan Babbage bc056e4952 Mark as read just before display. Fixes #3037
Marking an article as read just before navigating to it prevents the read status from flashing unread/read on display when swiping to new unread articles, or navigating with the next article toolbar button.
2021-04-29 22:46:52 +12:00
Duncan Babbage 9092d075a0 Handle links with unencoded spaces. Fixes #3069 2021-04-28 22:49:32 +12:00
Duncan Babbage 7e71814011 Rename accessibility action labels as per #3072 2021-04-26 08:19:31 +12:00
Stuart Breckenridge 2023d59e5a
adds helper text
fixes #3055 on iOS
2021-04-25 16:46:24 +08:00
Brent Simmons 1d4ef582a7 Simplify iconImage:didSet. Move background color update to a private helper function. 2021-04-24 17:55:48 -07:00
Brent Simmons 954a676cbe
Merge pull request #3064 from stuartbreckenridge/fix/3035
Fixes #3035
2021-04-24 11:57:23 -07:00
Brent Simmons 9540316e6f
Merge pull request #3065 from stuartbreckenridge/fix/3062
Fixes #3062
2021-04-24 11:56:16 -07:00
Stuart Breckenridge 72e68a62f8
further typo fix 2021-04-24 19:11:53 +08:00
Stuart Breckenridge d0c3f05f0e
Delete change to Remove 2021-04-24 15:16:20 +08:00
Stuart Breckenridge 925bbadecb
Fixes #3062 2021-04-24 15:10:26 +08:00
Stuart Breckenridge 15fb5637ff
Fixes #3035
MarkAllAsReadAction will check for and handle SmartFeeds.
2021-04-24 15:05:11 +08:00
Stuart Breckenridge cde7bf9589
restores storyboard to previous commit 2021-04-22 09:00:06 +08:00
Stuart Breckenridge 5af2643479
standardised naming 2021-04-19 11:21:00 +08:00
Stuart Breckenridge d4130e7c65
Corrects naming convention
[iOS]
Twitter: Notify about new tweets
Reddit: Notify about new posts
Default: Notify about new articles
+ Fixes alignment issues in the inspector view

[macOS]
Twitter: Show notifications for new tweets
Reddit: Show notifications for new posts
Default: Show notifications for new articles
2021-04-19 11:10:57 +08:00
Maurice Parker 6a4c761ed8 Merge branch 'ios-candidate' into main 2021-04-15 14:30:32 -05:00
Maurice Parker 0ac3ba0bbb Change force unwraps so that we just fail on the move instead of crashing 2021-04-13 07:38:41 -05:00
Maurice Parker d418835086 Merge branch 'ios-candidate' into main 2021-04-12 21:09:56 -05:00
Maurice Parker c47480614c Fix regression where marking all as unread wouldn't take you back to the sidebar 2021-04-12 21:09:34 -05:00
Maurice Parker 991297165b Add completion callbacks so that we can ensure that unreads have been marked before determining the next unread. Fixes #2993 2021-04-12 19:42:05 -05:00
Maurice Parker c95daa208f Add completion callbacks so that we can ensure that unreads have been marked before determining the next unread. Fixes #2993 2021-04-12 19:41:01 -05:00
Maurice Parker 11e2a3eca8 Change so that sync accounts have a Remove button instead of a Delete button. Fixes #2991 2021-04-12 13:48:54 -05:00
Maurice Parker 3a1b3f96bb Change so that sync accounts have a Remove button instead of a Delete button. Fixes #2991 2021-04-12 13:48:03 -05:00
Stuart Breckenridge 0a433b8573
Disables reader view in iOS for Feed Providers 2021-04-10 09:03:08 +08:00
Maurice Parker 7b3a8ba0e1 Merge branch 'ios-candidate' into main 2021-04-07 19:32:03 -05:00
Maurice Parker 913e2e0666 Scale super large images down so that they can be drawn on the canvas 2021-04-07 19:31:46 -05:00
Maurice Parker cc6449ed2a Merge branch 'ios-candidate' into main 2021-04-03 11:10:04 -05:00
Maurice Parker b69f936cb1 Change the Mark All As Read confirmation back to an Alert. Fixes #2968 2021-04-03 11:02:15 -05:00
Maurice Parker 0d5de9c325 Renamed Open in Safari activity to Open in Browser 2021-04-03 09:06:51 -05:00
Jed Fox 6666ce7e83
Add dir=auto to iOS and Multiplatform 2021-03-29 17:20:09 -04:00
Maurice Parker d1e5c90ebf Update the iOS app to work with the new Account createWebFeed signature. 2021-03-29 16:19:05 -05:00
Maurice Parker ab5421f533 Merge branch 'mac-release' into main 2021-03-27 17:21:49 -05:00
Maurice Parker 3c2c17df0d Fix threading issue 2021-03-25 16:28:15 -05:00
Stuart Breckenridge 7f702abc8a
fixes build error 2021-03-24 20:06:48 +08:00
Maurice Parker d0e3ec6d1c Fix variable name 2021-03-06 16:25:44 -06:00
Maurice Parker a7abde04ab Fix variable name 2021-03-06 16:25:10 -06:00
Stuart Breckenridge 59ceac43dd
changes background colour on extension views 2021-02-25 20:51:04 +08:00
Stuart Breckenridge 38799d4848
Adds missing vars to AppAssets.swift 2021-02-24 08:07:09 +08:00
Stuart Breckenridge 4e882e7285
adds assets 2021-02-24 07:49:47 +08:00
Stuart Breckenridge f00241e73e
revised context menu code 2021-02-24 07:47:52 +08:00
Brent Simmons b0a1183e11 Update URLs to use netnewswire.com where appropriate. 2021-02-21 20:21:01 -06:00
Brent Simmons 649e3e86ef Update URLs to use netnewswire.com where appropriate. 2021-02-21 18:00:40 -08:00
Stuart Breckenridge 23bb0d1120
Fixes #2781 2021-02-16 09:56:20 +08:00
Stuart Breckenridge 1e578828e9
: class chnaged to : AnyObject for protocols 2021-02-06 07:06:45 +08:00
Stuart Breckenridge 0a10544905
Fixes context menu logic
Prevents both a menu and action being attached to the `markAllAsRead` button. This caused issues on iPad where the popover would show instead of the menu. When the user changes the preference the toolbar is now rebuilt.

This commit also fixes the widget building on M1 where SwiftGen is available.
2021-02-04 08:19:35 +08:00
Stuart Breckenridge ab80d190d4
Notifications
MasterFeedViewController now observes changes in active extension points so the context menu can be rebuilt.
2021-02-01 08:33:37 +08:00
Stuart Breckenridge 19ab74527b
AppAssets 2021-02-01 08:25:34 +08:00
Stuart Breckenridge e2c63174a5
removes test logic 2021-02-01 08:14:02 +08:00
Stuart Breckenridge 6eba67c158
Adds context menus to mark all as read 2021-02-01 08:12:20 +08:00
Stuart Breckenridge 7c4e93e1c4
adds add item context menu for iOS 14 2021-01-31 22:37:47 +08:00
Maurice Parker 9f446b05fc Update entitlements so that we are always test uses production 2021-01-13 15:18:30 -06:00
Maurice Parker bf6e4b5bf3 Add preferred action to all alert dialogs. 2021-01-11 19:57:14 -06:00
Maurice Parker fa3d76d034 Change so that we always refresh after updating sync service credentials. Fixes #2713 2021-01-09 15:15:14 -06:00
Stuart Breckenridge f85c1234a5
Adds to the URL-Extensions file 2021-01-09 06:09:50 +08:00
Stuart Breckenridge ea77504f3a
percent encodes email addresses 2021-01-09 05:56:13 +08:00
Stuart Breckenridge c59e3e4ddf
Emails
Acquiesce to the user’s request for a different default mail app.
2021-01-08 12:15:16 +08:00
Maurice Parker b8419737cf Handle the feed protocol on iOS. Fixes #2703 2021-01-05 00:11:09 -06:00
Stuart Breckenridge d267660d34
Merge branch 'main' into richer-notifications
# Conflicts:
#	NetNewsWire.xcodeproj/project.pbxproj
2020-12-24 07:16:59 +08:00
Maurice Parker 97f9799e67 Change reader view verbiage. Fixes #2687 2020-12-23 15:34:41 -06:00
Stuart Breckenridge 3898edc8b1
widget text spacing 2020-12-23 21:16:32 +08:00
Stuart Breckenridge 8a05d2f448
handles actions from notifications 2020-12-23 20:15:25 +08:00
Maurice Parker 6631676f62 Change style of default buttons that close scenes to use the Done style. 2020-12-16 16:05:05 -06:00
Maurice Parker ac4f5d658d Add confirmation dialogs for deactivating extensions. Fixes #2632 2020-12-08 16:54:34 -06:00
Stuart Breckenridge d8a56435ac
fixes #2655
fixes #2655
2020-12-08 15:04:25 +08:00
Maurice Parker 513cbbd6a4
Merge pull request #2623 from stuartbreckenridge/swift-ui-target-fixes
Multiplatform Updates
2020-12-07 12:08:23 -06:00
Maurice Parker 3785af1620 Go back to the filled folder image and make it a the secondary accent color 2020-12-06 16:58:22 -06:00
Maurice Parker 5927c77a04 Convert iOS smart feed icons back to symbol images so that they show up as white when selected. 2020-12-06 16:01:43 -06:00
Maurice Parker ef18600acc Separate background suppression from symbol processing. Fixes #2646 & Fixes #2635 2020-12-06 14:25:22 -06:00
Stuart Breckenridge 762417e2ba
additional work on iOS sheets 2020-12-05 22:58:11 +08:00
Stuart Breckenridge 8498e723ce
Widget Performance 2020-12-03 20:32:26 +08:00
Nate Weaver a33d42ba66 Replace the single usage of a Log object with os_log() 2020-12-02 07:57:48 -06:00
Stuart Breckenridge d9c39a6964
timeline refresh can now be controlled 2020-11-30 10:08:23 +08:00
Stuart Breckenridge e5b97abe17
Adds assets for smart feeds
Fixes #2610
Fixes #2611
2020-11-25 09:07:18 +08:00
Stuart Breckenridge 34b8c3a788
Fixes #2603 2020-11-21 20:19:58 +08:00
Stuart Breckenridge 97517f1baf
Fixes #2602 2020-11-21 20:17:45 +08:00
Maurice Parker 71cdf2548d Don't use the commands from the KeyboardManager if the user is typing in a text field. Fixes #2437 2020-11-20 13:00:58 -06:00
Maurice Parker 1a65211f19 Change how smart feeds are shown so that they appear even if they have been filtered 2020-11-19 05:23:07 -06:00
Stuart Breckenridge fd33dc9be1 fixes cold launch from widget 2020-11-19 17:29:03 +08:00
Stuart Breckenridge fa26fd565e makes feed icons a bit bigger 2020-11-19 16:32:44 +08:00
Stuart Breckenridge 3e69571d09 handle launching to articles from a cold start 2020-11-19 15:52:43 +08:00
Stuart Breckenridge 361ca85762 Removes need for dispatchAsync delay 2020-11-19 12:17:29 +08:00
Stuart Breckenridge 0b4640db04 Tidies up Delegate and Coordinator code 2020-11-19 11:30:52 +08:00
Stuart Breckenridge 58e18f4bcb Widget Bundle
• Adds small smartfeed summary widget.
• Adds medium widgets for today, unread, and starred.
2020-11-18 10:49:12 +08:00
Maurice Parker def0bfea27 Add menu separators to article view context menu. 2020-11-13 10:18:48 -06:00
Maurice Parker a80fc871c4 Add separators to iOS context menus 2020-11-13 05:23:04 -06:00
Maurice Parker de1f8c80a5 Gate FeedWrangler from the release build 2020-11-12 15:48:25 -06:00
Maurice Parker 505134c971
Merge pull request #2565 from stuartbreckenridge/ios-add-account-refresh
iOS | Add Account Sheet Footers & Sign Ups
2020-11-09 11:22:01 -06:00
Stuart Breckenridge 020cd0eb3c
Localises footers 2020-11-09 21:41:05 +08:00
Stuart Breckenridge d5a7020239
Adds help text to iOS add account sheets. 2020-11-09 21:31:29 +08:00
Maurice Parker ad29fc2dd2 Delete code that wasn't being executed 2020-11-08 20:44:32 -06:00
Maurice Parker f391eb1669 Allow users to drop onto expanded folders. Fixes #2022 2020-11-02 14:53:00 -06:00
Maurice Parker 93cd9dd14b Enable dropping onto empty accounts. Fixes #2024 2020-11-02 14:35:48 -06:00
Maurice Parker 5742395686 Change FreshRSS URL feed so that it uses the URL keyboard and stops trying to change spellings 2020-11-02 13:58:21 -06:00
Maurice Parker ef1829618f Merge branch 'ios-release' into main 2020-11-02 11:30:56 -06:00
Maurice Parker 75fb3fa5fb Implement account specific drag and drop behaviors for iOS 2020-10-31 20:14:50 -05:00
Maurice Parker 0b4fb4250a Fix extension point image name 2020-10-30 17:10:24 -05:00
Maurice Parker 5739c819af Fix logic test to determine if an image is symbol or not. Fixes #2523 2020-10-30 03:52:57 -05:00
Maurice Parker 7c91a1df3a Change NetNewsWire News URL to use the XML version since some sync services don't understand JSON. 2020-10-29 17:52:58 -05:00
Maurice Parker 1cfe248c6a Store the NewsBlur basic credentials so that they can be updated 2020-10-29 15:06:27 -05:00
Maurice Parker 1a4ab96038 Enable credentials button for newer sync services 2020-10-29 14:53:52 -05:00
Maurice Parker 515dd5f63f Check for duplicate accounts and make sure it doesn't interfere with credentials updates 2020-10-29 14:05:55 -05:00
Maurice Parker 61a86a5ad4 Allow Feedbin credentials to be updated. Fixes #2533 2020-10-29 12:01:27 -05:00
Maurice Parker 4d2b5f0286 Update Mac account assets to be more colorful 2020-10-27 18:04:17 -05:00
Maurice Parker a2abbe5da5 Dim the label of any unavailable accounts 2020-10-27 15:08:34 -05:00
Maurice Parker ba7565b487 Remove table row height 2020-10-27 14:54:13 -05:00
Maurice Parker ef978a9f89 Add title to Add Extension scene 2020-10-27 14:50:47 -05:00
Maurice Parker 2edd558139 Stop validation fall through for Reader API adds/edits 2020-10-27 14:45:21 -05:00
Maurice Parker 1035fd7b76 Make Reader API table cells unselectable 2020-10-27 14:44:47 -05:00
Maurice Parker b72948bc8e Update Extensions to match the new styling of the Accounts management functionality 2020-10-27 14:25:45 -05:00
Maurice Parker fa08dec5ff Add Inoreader to the list of services not available in the developer build 2020-10-27 14:03:53 -05:00
Stuart Breckenridge 83a3a0315b
Using Feedbin filled PDF 2020-10-27 22:06:23 +08:00
Stuart Breckenridge ef057d2f93
Removes fuzziness
Feed icons have been updated with any/dark appearance traits where possible instead of using tinting. Where possible, they’ve been converted to PDFs. iPhone/iPad icons now use PDFs based on SF Symbols.
2020-10-27 17:37:25 +08:00
Stuart Breckenridge 8661aae6b9
Tinting added to Settings and Inspector 2020-10-27 15:10:30 +08:00
Stuart Breckenridge ee88e83548
Tints added to iOS Account controllers 2020-10-27 12:25:15 +08:00
Stuart Breckenridge 5190bf0577
Restrict Accounts now part of cellForRow 2020-10-27 12:13:45 +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
Maurice Parker 43382df4ec Make iOS match macOS for availability and order of offered accounts 2020-10-25 20:33:56 -05:00
Maurice Parker be7f0c5ddb
Merge pull request #2527 from stuartbreckenridge/additional-ios-account-types
Additional iOS account types
2020-10-25 20:11:16 -05:00
Stuart Breckenridge c25e42fc7e
additional iOS account types 2020-10-26 09:03:32 +08:00
Maurice Parker 807b2d3109 Don't delay hiding the progress bar unless we are animating it. 2020-10-25 12:46:25 -05:00
Maurice Parker b0fc1eccca Fix deprecation warnings for Xcode 12.2 2020-10-25 12:34:02 -05:00
Maurice Parker 6d9dcecd81 Prevent backgrounds from showing up when displaying symbol icons. Fixes #2523 2020-10-24 18:15:59 -05:00