Commit Graph

714 Commits

Author SHA1 Message Date
Maurice Parker
7baebfeb6a Don't notify the delegate of a selected article change if they haven't actually changed 2020-08-06 17:05:53 -05:00
Angelo Stavrow
be8fedbf11
Use conditional in guard statement instead of setting an unused variable 2020-08-02 17:10:57 -04:00
Angelo Stavrow
a0fea768bf
Fix race condition between getting and checking notification settings 2020-08-02 17:10:46 -04:00
Angelo Stavrow
88ac27ef50
Only dispatch UI code for async execution 2020-08-02 17:10:41 -04:00
Angelo Stavrow
193aab2cef
Open the Notifications prefPane directly in System Preferences 2020-08-02 17:10:28 -04:00
Angelo Stavrow
3cb47afe65
Group all update-UI functions together in file 2020-08-02 17:10:14 -04:00
Angelo Stavrow
288a5b18db
Improve the open-notifications-prefPane alert's message 2020-08-02 17:10:10 -04:00
Angelo Stavrow
619ddc6ea2
Remove comments, and move post-request actions to the main queue 2020-08-02 17:10:01 -04:00
Angelo Stavrow
42cfe2380a
Present an alert to the user if notifications are denied in System Prefs 2020-08-02 17:09:39 -04:00
Angelo Stavrow
952d066199
Apply same behavior on checkbox toggle as iOS app 2020-08-02 17:09:31 -04:00
Angelo Stavrow
1123a0be86
Try to register for remote notifications when feed inspector appears 2020-08-02 17:09:26 -04:00
Angelo Stavrow
927db2c375
Import UserNotifications 2020-08-02 17:08:44 -04:00
Angelo Stavrow
2d2c14f9ba
Check if authorized for notifications in AppDelegate before registering 2020-08-02 17:08:30 -04:00
Maurice Parker
fd56a19edf Hard code enable the MarsEdit and Micro.blog extension points so that they work like 5.0.x 2020-08-02 14:03:51 -05:00
Maurice Parker
d7caad9f7b
Merge pull request #2294 from Wevah/applescript-article-feed
AppleScript: Add a "feed" property to articles
2020-07-28 21:29:39 -05:00
Maurice Parker
f2f3ccbe00 Configure star swipe images as template so that they render in the correct color 2020-07-27 19:32:08 -05:00
Noelle Leigh
39ab38ff42 Fix Mac/AppDelegate.swift 2020-07-26 05:46:48 -04:00
Nate Weaver
ae1aafdd31 Add "email" as a synonym of "email address" 2020-07-23 08:04:53 -05:00
Nate Weaver
42f63808f3 AppleScript: Add a "feed" property to articles
- Also make scripts like

feed id "foo" of account id "bar"

find feeds in folders.
2020-07-22 21:08:15 -05:00
Maurice Parker
cf233f4825
Merge pull request #2259 from stuartbreckenridge/feature/mac-preferences
Mac Preferences
2020-07-15 19:16:19 -05:00
Stuart Breckenridge
1b5b219e54
Restores storyboard to 36b4907e 2020-07-16 06:49:01 +08:00
Nate Weaver
5c29fde2c6 Fix sidebar column resizing on Mac
Since 17e1247.
2020-07-14 12:16:46 -05:00
Maurice Parker
17e1247ff0 Add sort control for macOS 2020-07-12 19:43:25 -05:00
Stuart Breckenridge
31b93c5d13
small refactoring 2020-07-12 14:07:52 +08:00
Maurice Parker
4af8e0ab1c Select next item in Sidebar on delete. Issue #2114 2020-07-10 16:49:10 -05:00
Maurice Parker
3215c98253 Disable Extensions until we move Mac 5.1 to mac-candidate 2020-07-10 16:28:57 -05:00
Maurice Parker
7480e42455 Remove iCloud and NewsBlur from the available account types until we move 5.1 to mac-candidate 2020-07-10 16:13:42 -05:00
Maurice Parker
95a8f6d72d Merge branch 'swiftui' 2020-07-10 15:28:14 -05:00
Nate Weaver
5acce87995 Mac: Make shift-space scroll up even when the detail view doesn't have focus
Issue #969.
2020-07-10 13:57:34 -05:00
Maurice Parker
d15dbe18ef Change AppDefaults to be final classes on macOS and iOS 2020-07-02 05:36:23 -05:00
Stuart Breckenridge
a57f98e4e7 NetNewsWire-Mac AppDefaults is now a singleton 2020-07-02 11:17:38 +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
67c0e00957 Make multiplatform compile shared app resources 2020-06-28 03:05:01 -05:00
Maurice Parker
9a82d2e233
Merge pull request #2121 from rizwankce/fix/in-app-browser-shortcut
fix open in app browser for mac and iOS
2020-05-29 10:13:07 -05:00
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
Nate Weaver
1b344be2c2 Add some documentation comments 2020-05-28 17:03:28 -05:00
Nate Weaver
36b4907e90 Put the default browser popup under "Web pages:" 2020-05-28 16:57:06 -05:00
Nate Weaver
0da3372b6d Fix Preferences xib and Browser.swift after rebase 2020-05-25 21:32:56 -05:00
Nate Weaver
41d96be8b4 Revert toolbar item updating 2020-05-25 21:25:52 -05:00
Nate Weaver
40b68f6ec6 Revert "Update "Open in Browser" menu item title as well"
This reverts commit 4b2fe7789895993a8bb0e034703bbb7c5a99f6d8.
2020-05-25 21:25:52 -05:00
Nate Weaver
baf2dcf0c7 Update "Open in Browser" menu item title as well 2020-05-25 21:24:50 -05:00
Nate Weaver
1ab17b2574 Add a preference for the browser to use to open articles
- Selectable in General Preferences
- Toolbar item now updates to show the browser's icon
2020-05-25 21:24:49 -05:00
Nate Weaver
0c2d057860 Add defaultBrowserID user default and make the appropriate toolbar item use that browser's icon 2020-05-25 21:19:50 -05:00
Nate Weaver
b8220d3a9c Show the current default browser in the "Open in Browser" toolbar item 2020-05-25 21:19:29 -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
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