Commit Graph

5519 Commits

Author SHA1 Message Date
Rizwan Mohamed Ibrahim d671029828
refactor open in app browser for mac and iOS 2020-05-29 19:26:20 +05:30
Rizwan Mohamed Ibrahim eb7ac0f076
fix open in app browser for mac and iOS 2020-05-29 15:44:32 +05:30
Maurice Parker 8a03a26a10 Make sync status inserts async when done during the scope of a iCloud sync 2020-05-28 16:24:10 -05:00
Maurice Parker 9253222f96 Rollback change that incorrectly was stopping web activity on wrong controllers 2020-05-27 11:30:30 -05:00
Maurice Parker 2ad01885c1 Increase link brightness for darkmode to make links more easy to read 2020-05-27 10:37:50 -05:00
Maurice Parker 0b5ecb18cd Add looping to Reddit videos since they are gif substitutes almost always 2020-05-27 10:18:34 -05:00
Maurice Parker 809379038f Stop image zooming and video playback on page swipe 2020-05-27 10:12:20 -05:00
Maurice Parker e029b57e0d
Merge pull request #2112 from MartinJNash/mjn/return-key-open-article
Fix issue where pressing [return] would not open article in browser
2020-05-27 09:43:01 -05:00
Martin Nash 425b48a4e5 Updated keyboard shortcut title to match title of other shortcuts performing the same action. 2020-05-26 22:12:05 -07:00
Martin Nash d38c58942c Fix issue where pressing the [return] key with an article highlighted would not open that article in the browser. KeyboardShortcut was calling a selector that didn't exist in the macOS app. 2020-05-26 22:11:33 -07:00
Maurice Parker f6ee9d05bc Set all CloudKit operations to have a QoS of user initiated 2020-05-23 20:03:31 -05:00
Brent Simmons 64eec7ad6b
Merge pull request #2100 from Wevah/open-in-background-inversion
Make shift key invert the "open in background" preference
2020-05-23 16:06:47 -07:00
Brent Simmons b426ca98be
Merge pull request #2101 from MartinJNash/mjn/open-in-browser-alternate
2099 | Keyboard shortcut to open in browser with inverted preference
2020-05-23 16:02:04 -07:00
Brent Simmons 9e48843a53
Merge pull request #2105 from tynandebold/master
Fixes bugs in AppleScript example files
2020-05-23 11:25:14 -07:00
Tynan DeBold 5fffed4f40 Align indentation in AppleScript example file 2020-05-23 13:33:11 +02:00
Tynan DeBold 039c39f54f Fixes bugs in AppleScript example files 2020-05-23 13:26:30 +02:00
Martin Nash 3e48be050e Updated function name to openInBrowserUsingOppositeOfSettings 2020-05-21 22:28:30 -07:00
Martin Nash 834be9edff 2099 | Keyboard shortcut to open in browser in background/foreground contrary to user preference.
- Add openInBrowserAlternate() function
- Add shit-modified entries to to GlobalKeyboardShortcuts.plist to trigger new function
2020-05-20 22:15:00 -07:00
Nate Weaver 82d673851d Tweak constraints, add period 2020-05-20 20:23:13 -05:00
Nate Weaver a38ab12fb3 Add a note about holding the Shift key 2020-05-20 20:14:29 -05:00
Nate Weaver 5cd8dc9d5d Also let the Command key invert the background pref in web views 2020-05-20 20:08:13 -05:00
Nate Weaver 1e1fc06e7b Clean up shift-key checking and add it to more places 2020-05-20 19:59:21 -05:00
Nate Weaver 24338b135e Don't do shift-key detection in Browser 2020-05-20 19:54:25 -05:00
Nate Weaver e79cafc82e Make shift key invert the "open in background" preference
- Also add an appropriate menu item.
2020-05-20 19:41:23 -05:00
Maurice Parker 314df88e12
Merge pull request #2098 from Wevah/master
master: Strip inline max-width and max-height from elements
2020-05-20 17:53:42 -05:00
Nate Weaver 6723599ea0 Strip inline max-width and max-height from elements 2020-05-20 16:36:30 -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 4b1c40f264
Merge pull request #2085 from stuartbreckenridge/2057
2057 - Notification permissions are only requested when the user asks to be Notified of New Articles
2020-05-18 02:03:47 -05:00
Stuart Breckenridge 2297d218c0
Uses selector syntax. 2020-05-18 09:23:42 +08:00
Stuart Breckenridge 6224dfad03
Notification Permission Requests
Fixes #2057

• On app launch, the app checks if notification permissions are granted and registers with APNS if that is the case. It will not request permissions as part of the app launch.

• When a user requests to be notified of new articles, the authorizationStatus is checked:
- if `notDetermined` or `provisional`, an authorization request is made, and if successful, the Notify of New Articles status is updated (otherwise it is reverted)
- if `denied`, an alert is thrown asking the user to enable in settings (and the change to notify of new articles is reverted)
- if `authorized` the update is made.

`WebFeedInspectorViewController` also monitors for the app entering the foreground so that it can get the latest notification auth settings.
2020-05-18 08:39:22 +08:00
Stuart Breckenridge e6e77c10f3
Merge pull request #3 from Ranchero-Software/ios-release
catchup
2020-05-16 18:11:21 +08:00
Brian Sanders d8dced6347 Adds a key command (ESC) to the article search bar 2020-05-15 21:41:14 -04:00
Brian Sanders b058f27064 Fixes bugs in article search
Placement of the article search bar is now always done with constraints.
Previously, I'd used inputAccessoryView when the keyboard appeared. That
approach, although ostensibly permitted, causes a hierarchy inconsistency error
when the device orientation changes.
2020-05-15 21:41:14 -04:00
Brian Sanders 62d04e8881 Adds stored inputAccessoryView to ArticleSearchBar
It should have been obvious that inputAccessoryView traverses the responder
chain
2020-05-15 21:41:14 -04:00
Brian Sanders 46ce824b98 Adds guard against empty search strings to Find in Article 2020-05-15 21:41:14 -04:00
Brian Sanders 96671df667 Adds keyboard shortcut for "Find in Article" (iOS) 2020-05-15 21:41:14 -04:00
Brian Sanders 2631f4f3f0 Alters search highlights so they don't intercept pointer events 2020-05-15 21:41:14 -04:00
Brian Sanders edb7c50cb3 Improves incremental search for "Find in Article"
Article search now maintains its position in the document, if possible.
2020-05-15 21:41:14 -04:00
Brian Sanders 98e0434077 Alters Find in Article to escape regex characters by default 2020-05-15 21:40:22 -04:00
Maurice Parker 1dbbd3bd32
Merge pull request #2081 from Wevah/master
Add "Open Application Support Folder" Debug menu item
2020-05-15 17:32:45 -05:00
Nate Weaver 68da48071a Add "Open Application Support Folder" Debug menu item 2020-05-15 17:29:24 -05:00
Maurice Parker c2b749a74c Rebuild backing stores immediately when deselecting a Feed. Issue #2079 2020-05-15 17:06:49 -05:00
Maurice Parker 4e22489d97 Merge branch 'ios-release' of https://github.com/Ranchero-Software/NetNewsWire into ios-release 2020-05-15 10:45:22 -05:00
Maurice Parker 8ff2776d88 Make sure we have only one web view in the view hierarchy after navigation. Issue #2075 2020-05-15 10:45:05 -05:00
Maurice Parker fd6736a897
Merge pull request #2077 from stuartbreckenridge/notifications
Notifications
2020-05-15 07:41:01 -05:00
Stuart Breckenridge fa51fa47b4
reorged the send notification code 2020-05-15 20:32:33 +08:00
Stuart Breckenridge 23ee6761ca
adds grouping and summaries to notifications 2020-05-15 19:53:44 +08:00
Maurice Parker 225c98a70e
Merge pull request #2073 from rizwankce/open-in-safari-shortcut
Keyboard shortcuts for "Open in App Browser"
2020-05-15 04:38:26 -05:00
Rizwan Mohamed Ibrahim c9ebb6bd75
adds "Open In App Browser" shortcut 2020-05-15 12:39:33 +05:30