172 Commits

Author SHA1 Message Date
Brent Simmons
1368f3dace Move images-related code into Images module. 2024-04-15 22:21:17 -07:00
Brent Simmons
d1dc4cceec Fix numerous concurrency warnings. 2024-04-07 21:32:47 -07:00
Brent Simmons
6db1d40597 Replace forEach for for-in. 2024-04-07 17:06:39 -07:00
Brent Simmons
0949aefa93 Fix concurrency warnings by marking things as MainActor. 2024-04-02 22:26:16 -07:00
Brent Simmons
8fa2d9bda4 Convert createFeed to async await. 2024-04-02 20:46:28 -07:00
Brent Simmons
323d0404f2 Convert moveFeed to async await. 2024-04-02 20:17:03 -07:00
Brent Simmons
e56b1513b6 Move RSWeb from remote to local project; rename as Web. 2024-04-01 19:31:57 -07:00
Brent Simmons
c5441bddc3 Convert addFeed to async await. 2024-03-28 08:24:35 -07:00
Brent Simmons
6ad90583a4 Convert renameFeed and renameFolder to async await. 2024-03-27 17:49:09 -07:00
Brent Simmons
c68738bf64 Convert createFolder to async await. 2024-03-26 22:18:48 -07:00
Brent Simmons
27d27cbf1a Mark many things as MainActor and deal with the fallout. 2024-03-25 21:10:37 -07:00
Brent Simmons
8ad09228db Mark several classes as final. 2024-03-24 21:24:31 -07:00
Brent Simmons
797d7ef2e0 Fix Mac build errors. 2024-03-21 17:21:50 -07:00
Brent Simmons
ce2b2112d1 Make UnreadCountView.Appearance MainActor. 2024-03-21 17:17:24 -07:00
Brent Simmons
2461e937bf Replace RSCore with several local modules. Update code as needed. 2024-03-20 20:49:15 -07:00
Brent Simmons
d0760f3d12 Continue fixing concurrency warnings. 2024-03-19 23:05:30 -07:00
Brent Simmons
e58f8ada42 Fix many build errors. 2024-03-18 21:08:37 -07:00
Ethan Wong
711eeddecc Do not make the sidebar first responder when it’s collapsed. 2024-02-27 22:16:38 -08:00
Brent Simmons
9129cd382c Remove some no-longer-needed #available checks. 2024-02-27 20:02:31 -08:00
Brent Simmons
4c866b7230 Rename WebFeed and webFeed to Feed and feed. 2024-02-25 23:12:21 -08:00
Brent Simmons
b705433270 Rename WebFeed to Feed. 2024-02-25 21:41:18 -08:00
Brent Simmons
b25c9eae94 Rename feedID to sidebarItemID. 2024-02-25 21:34:22 -08:00
Brent Simmons
a75e5eb52a Rename FeedIdentifier to SidebarItemIdentifier. Rename FeedIdentifiable to SidebarItemIdentifiable. 2024-02-25 21:17:00 -08:00
Brent Simmons
d5794a7b4e Rename Feed protocol to SidebarItem. 2024-02-25 21:14:10 -08:00
Brent Simmons
fb51185c05 Remove references to isFeedProvider. 2023-06-25 16:15:21 -07:00
Brent Simmons
06910b1e58 Avoid force-unwrapping, which was causing a crash. Add an assertionFailure so we can catch this issue in the act — we need to know why an item would not be a Node. Fix https://github.com/Ranchero-Software/NetNewsWire/issues/3824 2023-01-22 14:57:56 -08:00
Maurice Parker
f9af3c786b Merge branch 'ios-candidate' 2021-05-25 20:12:50 -05: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
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
Stuart Breckenridge
4e517a6db4
Disable Reader View
This commit:
- adds a `isFeedProvider: Bool` property to `WebFeed`
- if `isFeedProvider` is `true`, the article extractor is disabled on the inspector, hidden from the context menu, and the toolbar button is disabled. Additionally, if `isFeedProvider` is `true`, `isArticleExtractorAlwaysOn` returns `false` and cannot be set to `true`.
2021-04-09 07:47:14 +08:00
Maurice Parker
ab5421f533 Merge branch 'mac-release' into main 2021-03-27 17:21:49 -05:00
Maurice Parker
52f11ff538 Add validateFeed parameter to createWebFeed 2021-03-15 18:01:12 -05:00
Maurice Parker
f1e4d70481 Simplify the folder copy logic 2021-03-15 17:47:53 -05:00
Maurice Parker
d57cb7b21f Delete obsolete code 2021-03-15 17:35:23 -05:00
Maurice Parker
7e4e7091e2 Delete obsolete code 2021-03-15 17:33:12 -05:00
Maurice Parker
bf76cb810d Change to always copy between accounts. Fixes #2871 2021-03-11 19:43:05 -06:00
Maurice Parker
74298e7cde Add hidden GruberFeedDoubleClickMarkAsRead preference 2021-02-26 17:38:26 -06:00
Maurice Parker
1f159a5bff Change drag-n-drop behavior to default to copy when dragging between accounts 2021-02-22 18:50:29 -06:00
Maurice Parker
afd9a47abd Change so that we only show one error dialog when folder moves/copies can't find one or more feeds. 2021-02-22 17:50:30 -06:00
Maurice Parker
931b1f9afd Show Folder as it is created to give better visual feedback that a folder copy was successful. Fixes #2815 2021-02-22 17:14:41 -06:00
Maurice Parker
731d0d0d88 Show Folder as it is created to give better visual feedback that a folder copy was successful. Fixes #2815 2021-02-16 14:24:21 -06:00
Stuart Breckenridge
1e578828e9
: class chnaged to : AnyObject for protocols 2021-02-06 07:06:45 +08:00
Stuart Breckenridge
e88327be78
You can’t toggle an optional Bool 2021-02-02 13:25:06 +08:00
Stuart Breckenridge
aa0a5d2269
Checks for notification permissions
If notifications are authorised, the toggle will work.

Otherwise, an alert is shown giving the user required information to enable notifications.
2021-02-02 11:54:47 +08:00
Stuart Breckenridge
62ed7492eb
Adds checkmarks
Also adds notification to keep Inspector in sync.
2021-02-02 10:26:34 +08:00
Stuart Breckenridge
6b1ad170ca
Adds sidebar toggles for notifications/reader 2021-02-02 08:16:45 +08:00
Maurice Parker
73ba42fa1a Use the correct font for the preferred sidebar icon size. Fixes #2761 2021-01-24 10:34:27 -06:00
Maurice Parker
f8ba630cf1 Delete dead code 2021-01-22 17:04:16 -06:00
Maurice Parker
ef18600acc Separate background suppression from symbol processing. Fixes #2646 & Fixes #2635 2020-12-06 14:25:22 -06:00