Commit Graph

841 Commits

Author SHA1 Message Date
Maurice Parker fe671f079d Change to use programmatic toolbar building 2020-08-10 03:58:19 -05:00
Maurice C Parker c30f9af68c Fix filter button placement on Catalina 2020-08-09 20:35:05 -05:00
Maurice Parker c4599cbcc4 Comment out Toolbar Search Item so that the storyboard can be opened on Catalina 2020-08-09 20:27:47 -05:00
Maurice Parker 58498ef33e Use the SF star for the timeline on Big Sur 2020-08-09 20:05:38 -05:00
Maurice Parker 8ee33c34b3 Hook up new search toolbar item 2020-08-09 16:40:44 -05:00
Maurice Parker 656d327692 Programmatically define the default set of toolbar items 2020-08-09 15:36:32 -05:00
Maurice Parker 0ec9e26db7 Change timeline sort bar appearance 2020-08-09 12:14:41 -05:00
Maurice Parker 258c89bf12 Add new sidebar item menu to toolbar 2020-08-09 11:46:53 -05:00
Maurice Parker f676de1ce1 Change toolbar separators to start with a lower case character to match modern Swift conventions 2020-08-09 10:47:56 -05:00
Maurice Parker c6885baaca Add New Reddit and New Twitter menu items 2020-08-09 06:21:02 -05:00
Maurice Parker afe8d23365 Add separator for timeline and make buttons stateful 2020-08-09 06:02:48 -05:00
Maurice Parker 57d988da95 Fix titles on Big Sur 2020-08-08 21:28:43 -05:00
Maurice Parker 0a9496a583 Initial support for the Unified Toolbar 2020-08-08 20:49:22 -05:00
Maurice Parker f23ebbd8db Use SF Symbols for icons in the Sidebar when on Big Sur Issue #2323 2020-08-08 18:15:45 -05:00
Maurice Parker 1fba0ed247 Don't show a background on symbol images 2020-08-08 17:27:32 -05:00
Maurice Parker c5ec93e8b5 Respect Sidebar size preferences from General preferences Issue #2321 2020-08-08 17:07:21 -05:00
Maurice Parker 314d425c49 Use high resolution Feed icons in the Sidebar #2320 2020-08-07 19:44:12 -05:00
Maurice Parker a7a17e3937 Merge branch 'mac-candidate' into main 2020-08-06 17:06:49 -05:00
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
Maurice Parker 634e9d2979 Set preferences toolbar style to preferences 2020-08-05 11:39:12 -05:00
Maurice Parker 75df979eed Merge branch 'mac-candidate' into main 2020-08-02 18:08:57 -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 4820413f74 Make CloudKit and NewsBlur addable accounts 2020-08-02 14:11:35 -05:00
Maurice Parker 844ef03a65 Reenable Extensions for the 5.5 release 2020-08-02 14:10:02 -05:00
Maurice Parker 87fc73c5de Merge branch 'mac-candidate' into main 2020-08-02 14:05:46 -05: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 b724658528 Refactor how we do Secrets to work with the new Swift Package structure 2020-07-30 17:40:45 -05:00
Nate Weaver 5630a4eba4 Correctly handle IRIs 2020-07-29 15:42:11 -05:00
Nate Weaver 1f9dfb80e2 Changes for IDNA support 2020-07-29 15:42:11 -05:00
Maurice Parker 32d6d2f3c1 Convert RSCore into an SPM package 2020-07-29 05:11:57 -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
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
Nate Weaver 68da48071a Add "Open Application Support Folder" Debug menu item 2020-05-15 17:29:24 -05:00
Maurice Parker a6b58beac7 Hide the account field for Popular and All reddit types 2020-05-12 14:14:39 -05:00
Maurice Parker fdfd91e53e Change Popular Reddit description 2020-05-12 10:17:58 -05:00
Maurice Parker 8434e7fa1f Add sort option to Add Reddit Feed dialog 2020-05-10 16:19:38 -05:00
Maurice Parker 06e91aa8b7 Add the Add Reddit Feed dialog 2020-05-10 11:44:30 -05:00
Maurice Parker 7ab4ca4291 Delete dead code 2020-05-10 11:04:45 -05:00
Maurice Parker faab33ab2e Save and toggle full screen state. Issue #2053 2020-05-09 14:14:46 -05:00
Jonathan Bennett a37bfd5d74 Adds an account behavior to disable folders
Some sync services (Feed Wrangler) don't support folders. This behavior removes the account from the UI when adding new folders.
2020-05-07 10:03:04 -04:00
Maurice Parker be4691abd0 Use different assets for Snoo when in light vs dark mode 2020-05-06 15:32:05 -05:00
Maurice Parker 5f05e945a8 Added Reddit extension point enablement 2020-05-03 14:10:21 -05:00
Maurice Parker ccd600b880 Make authorize endpoint async 2020-05-03 13:23:36 -05:00
Maurice Parker e681fd6402 Stub out Reddit Feed Provider / Extension Point 2020-05-02 19:38:57 -05:00
Maurice Parker 41a17dfb06 Restrict build button on iOS so that it only appears if Twitter is enabled 2020-05-02 17:21:01 -05:00
Maurice Parker b6a0057439 Fix bug where Unread feed could get filtered even while selected. 2020-05-02 16:44:24 -05:00
Maurice Parker 6ba862244a Add placeholder text for Twitter search 2020-05-02 16:31:42 -05:00
Maurice Parker 7420b607ce Disable the Add Twitter menu item if there are no active accounts 2020-05-02 15:06:59 -05:00
Maurice Parker 3bc4b9e4b2 Hide filter button when searching 2020-05-02 13:25:48 -05:00
Nate Weaver 37f1ebc025 Remove the color parameter as it's no longer needed 2020-05-01 01:45:12 -05:00
Nate Weaver c555646fb2 Add attributed title support in the timeline 2020-05-01 01:42:43 -05:00
Maurice Parker 86fb98c17b
Revert "WIP: Title tags" 2020-04-24 20:24:24 -05:00
Nate Weaver b437ddab5c Move NSAttributedString+NetNewsWire into Shared/Extensions 2020-04-24 18:25:56 -05:00
Nate Weaver fde4f53f42 Documentation comments 2020-04-24 16:20:41 -05:00
Nate Weaver 154e78b0c0 Add a comment about why these constants differ between OSs 2020-04-24 16:20:41 -05:00
Nate Weaver 26415f0c62 Assign multiple attributes in one go rather than one at a time 2020-04-24 16:20:41 -05:00
Nate Weaver df4ea1479a Tweak comment 2020-04-24 16:20:41 -05:00
Nate Weaver d3e6606cf5 Use a constant for clarity 2020-04-24 16:20:41 -05:00
Nate Weaver 6aff83481f Make attributed titles work on iOS 2020-04-24 16:20:41 -05:00
Nate Weaver dc787620c5 Use API that works on both macOS and iOS 2020-04-24 16:20:41 -05:00
Nate Weaver ba73e3289a Remove redundant call to updateTextFieldText() 2020-04-24 16:20:41 -05:00
Nate Weaver d84ed6068f Add a convenience initializer for attributed strings from an html string 2020-04-24 16:20:41 -05:00
Nate Weaver 2a00b4a4a9 Keep monospace fonts monospaced; use a variable for the current symbolic traits 2020-04-24 16:20:41 -05:00
Nate Weaver 39255a8422 Initialize baseWeight outside the enumeration 2020-04-24 16:20:41 -05:00
Nate Weaver a6411c7afa Check for semibold base font before changing bold text to heavy 2020-04-24 16:20:41 -05:00
Nate Weaver 57a6561733 Use superscript/subscript font feature 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 ee92cf69d2 Merge branch 'extension-point' 2020-04-24 13:34:13 -05:00
Nate Weaver 37ae46ea4c Merge more styles and fix styling of tables with explicit thead/tbody/tfoot
Also use :matches() to simplify some rules.

# Conflicts:
#	Mac/MainWindow/Detail/styleSheet.css
#	iOS/Resources/styleSheet.css
2020-04-23 23:21:22 -05:00
Maurice Parker 211a9c329f Make screen name entry tolerant of @ usage. 2020-04-23 11:42:00 -05:00
Maurice Parker 7d2eba537b Change callback URL scheme to final scheme 2020-04-23 07:58:00 -05:00
Maurice Parker 8371517c8d Disable Add Twitter Feed menu item if no Twitter extension points are available 2020-04-22 11:36:07 -05:00
Maurice Parker 0369d976fa Add twitter URL creation logic 2020-04-22 11:25:49 -05:00
Maurice Parker c37bbe2fbb Fix add button UI rules bug 2020-04-22 07:36:22 -05:00
Maurice Parker adf2d75f95 Added Twitter add UI rules 2020-04-22 05:04:39 -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 b7a37e2a25 Make mouseover/mouseout work with anchors that nest 2020-04-20 12:14:43 -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 eeb7b518a8 Change how showIcons is determined to take into consideration empty bylines 2020-04-19 17:29:11 -05:00
Maurice Parker ac41c7af69 Added timestamp to retweets 2020-04-18 16:27:19 -05:00
Maurice Parker 2a0d75cf23 Add rendering as HTML 2020-04-18 10:41:18 -05:00
Maurice Parker 1778a270d6 Show byline in timeline for single feed timelines when available. 2020-04-18 07:53:56 -05:00
Maurice Parker 9b39165018 Merge branch 'master' into extension-point 2020-04-16 16:37:18 -05:00
Maurice Parker afdfe5fe71 Merge branch 'ios-release' 2020-04-16 16:36:53 -05:00
Brent Simmons f9a11198f0 Remove Omni from credits and about text. 2020-04-16 13:24:20 -07:00
Maurice Parker d4b5d7bde4 Add FeedProviderManager 2020-04-16 15:06:56 -05:00
Maurice Parker 96dd4bb731 Merge branch 'master' into extension-point 2020-04-16 13:37:38 -05:00
Maurice Parker 9e0248c494 Correctly save Twitter ExtensionPoints 2020-04-14 23:03:08 -05:00
Maurice Parker df79da291f Change how ExtensionPoint titles are handled. 2020-04-14 22:33:05 -05:00
Maurice Parker ad6d5ef7ed Enhance OAuth error handling. 2020-04-14 16:55:26 -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 f5aac9516f Stub out Twitter auth. 2020-04-14 11:05:15 -05:00
Brent Simmons 6d9eda442f Remove userDeleted support. The read-items filter seems to fill the need to hide things. We’re simplifying the backend by removing this unused feature. 2020-04-12 17:12:36 -07:00
Maurice Parker de5c087fa6 Merge branch 'master' into accent-color-experimental 2020-04-11 12:31:26 -05:00
Maurice Parker 3ba9ca8c8a Added new Secrets framework project 2020-04-09 21:07:56 -05:00
Maurice Parker e32af77e39 Merge branch 'master' into feed-provider 2020-04-09 19:30:49 -05:00
Maurice Parker 5106cde976 Hide the credentials account button on the Mac for iCloud. 2020-04-09 19:29:37 -05:00
Maurice Parker 0e588b5e09 Update MarsEdit icon and remove "Information" from Preferences tab. 2020-04-09 10:50:23 -05:00
Maurice Parker d49eabbcb3 Add extension management for our two SendToCommand implementations 2020-04-08 20:22:13 -05:00