Commit Graph

186 Commits

Author SHA1 Message Date
Brent Simmons
090e63b017 Replace uses of forEach with for-in loops. 2023-07-09 22:04:38 -07:00
Brent Simmons
b49731cc34 Continue adopting MainActor. 2023-07-09 11:34:56 -07:00
Brent Simmons
771badecc6 Rename webFeed to feed. 2023-07-05 20:46:25 -07:00
Brent Simmons
2f07f4ee16 Rename WebFeed type to just Feed. 2023-07-05 10:02:53 -07:00
Brent Simmons
428cb73c34 Continue changing webFeed to feed. 2023-07-05 08:42:56 -07:00
Brent Simmons
a6832dd2a5 Use ItemIdentifier and itemID instead of FeedIdentifier and feedID. (FeedIdentifier was renamed to ItemIdentifier.) 2023-07-04 14:41:02 -07:00
Brent Simmons
2598385be3 Rename WebFeedTreeControllerDelegate to FeedTreeControllerDelegate. 2023-07-02 16:24:44 -07:00
Brent Simmons
bb450ababa Rename WebFeedPasteboardWriter to FeedPasteboardWriter. 2023-07-02 16:14:20 -07:00
Brent Simmons
e3cddc2bc2 Rename WebFeedMetadata to FeedMetadata. 2023-07-02 16:12:43 -07:00
Brent Simmons
cc438a9057 Rename PasteboardWebFeed to PasteboardFeed. 2023-07-02 15:35:20 -07:00
Brent Simmons
a9e78451a2 Rename showAddWebFeedWindow to showAddFeedWindow. 2023-07-02 15:22:51 -07:00
Brent Simmons
e6e03e0d7a Rename Feed to FeedProtocol. (This is part one of renaming WebFeed to Feed.) 2023-07-01 12:43:36 -07:00
Brent Simmons
d309c05cb0 Continue removing feed provider and extension point references. 2023-06-30 21:47:17 -07:00
Brent Simmons
bd47c699a7 Merge pull request #3987 from GetToSet/ethanwong/sidabar-activation
Do not make the sidebar first responder when it’s collapsed.
2023-05-30 22:19:45 -07:00
Stuart Breckenridge
ed6ff090be Merge branch 'ios-ui-settings-localised' into localize_strings
# Conflicts:
#	Mac/AppDelegate.swift
#	Mac/Base.lproj/Preferences.storyboard
#	NetNewsWire.xcodeproj/project.pbxproj
#	Shared/Localizations/LocalizedNetNewsWireError.swift
#	iOS/MasterFeed/MasterFeedViewController.swift
#	iOS/Settings/Appearance/ArticleThemeManagerView.swift
#	iOS/Settings/Appearance/DisplayAndBehaviorsView.swift
#	iOS/Settings/General/SettingsView.swift
2023-05-27 17:00:42 +08:00
Ethan Wong
cc99524dce Do not make the sidebar first responder when it’s collapsed. 2023-05-26 13:34:15 +08:00
Brent Simmons
ed730b45a2 Continue adopting @MainActor. 2023-04-05 12:28:24 -07:00
Brent Simmons
402c5e7bbb Continue adopting @MainActor. 2023-04-05 09:24:43 -07:00
Stuart Breckenridge
3e72a48d49 Adds NumberFormatter to Unread Counts
Fixes #3892
2023-03-03 07:30:03 +08:00
Stuart Breckenridge
6efed337db Merge branch 'main' into localize_strings
# Conflicts:
#	Mac/MainWindow/AddFeed/AddTwitterFeedWindowController.swift
#	Mac/MainWindow/MainWindowController.swift
#	NetNewsWire.xcodeproj/project.pbxproj
#	Shared/ArticleStyles/ArticleTheme.swift
#	iOS/Add/AddFeedViewController.swift
#	iOS/Add/Twitter/TwitterEnterDetailTableViewController.swift
#	iOS/Article/ArticleViewController.swift
#	iOS/MasterFeed/MasterFeedViewController.swift
2023-02-10 09:26:05 +08:00
Maurice Parker
f7bb4bc447 Merge branch 'mac-release' 2023-02-04 13:21:58 -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
Stuart Breckenridge
053d057e79 Adds localisation for button.title.mark-as-read-older-than 2023-01-04 15:32:28 +08:00
Stuart Breckenridge
3f6edb8094 Localizes catchUpSubMenu 2023-01-04 15:25:23 +08:00
Stuart Breckenridge
fbba9d4339 Merge branch 'main' into localize_strings
# Conflicts:
#	Shared/Timer/AccountRefreshTimer.swift
2023-01-04 15:17:14 +08:00
Stuart Breckenridge
e670d610e3 Localized mac app 2023-01-04 12:33:38 +08:00
Dimitris Apostolou
13e78f120f Fix typos 2022-12-31 18:52:42 +02:00
Maurice Parker
339fd937a7 Change the Catch Up command menu option to something that flows a little better. 2022-12-12 16:35:32 -07:00
Bryan Culver
ae21bbd546 Review updates 2022-12-09 20:56:12 -05:00
Bryan Culver
e5d0efdcfd Skip on today 2022-12-07 00:47:46 -05:00
Bryan Culver
35a6cf551b Working implementations 2022-12-07 00:30:19 -05:00
Bryan Culver
a85141e0ab Merge branch 'main' into bsc-662-catch-up 2022-11-21 23:07:29 -05:00
Maurice Parker
7c9ac3d712 Add the concept of direct vs. indirect marking of articles. Fixes #3734 2022-11-14 21:10:16 -06:00
Maurice Parker
eba6c364da Change how we display progress per #3566. 2022-11-11 17:16:42 -06:00
Bryan Culver
b7a358c986 Prototype 2022-10-01 15:20:13 -04:00
haikusw
eae1eec246 rename to shorter version since we no longer need to distinguish between this and other dragOperation type. 2022-06-08 13:14:49 -07:00
Tyler
665e97232d Address 3580 by using only the items in the DraggingInfo to handle the drag and no view properties associated with a single window.
Remove cached `draggedNodes` optimization and just always use the data on the dragging pasteboard because it works both within the same window and across two windows.

Add support for WebFeedPasteboardWriter to include a parent containerName in the pasteboard dictionary written for a WebFeed object (which doesn't know about it's parent) because we need this for drag and drop to be able to perform a move operation.

Fix issue with dragged feeds not knowing their parent folder and delete deleting the wrong item by telling WebFeedPasteboardWriter what the container of items is.  Remove code that is now unused now that draggedNodes is removed and consolidate code that was expanded to handle both node and pasteboard items since we are just using pasteboard items now.
2022-06-04 20:24:48 -07:00
Maurice Parker
ae33228fe3 Merge branch 'main' into ios-6.2 2022-01-22 11:14:30 -08:00
Stuart Breckenridge
b08d9dfe73 if #available mac
Removes if #available for anything less than macOS 11
2022-01-22 20:55:09 +08:00
J-rg
b11db14017 Fix blurry sidebar symbols (#3268) 2022-01-22 03:53:50 +01: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