Brent Simmons
3ff09d71cc
Merge branch 'feature/rachel-by-the-bay-special-cases'
2025-10-17 13:59:42 -07:00
Brent Simmons
4a9e0ca8cc
Use English locale for lowercasing host names.
2025-10-17 13:59:32 -07:00
Brent Simmons
adae8b41a8
Set feed.lastCheckDate on initial download.
2025-10-17 11:36:27 -07:00
Brent Simmons
f197b1d9a1
Add lastCheckDate to feed metadata.
2025-10-17 11:36:13 -07:00
Brent Simmons
9950bb9def
Save conditional GET info on initial feed download so that it gets used for subsequent refreshes.
2025-10-17 11:10:40 -07:00
Brent Simmons
f880032e3a
Handle special cases for skipping downloading feed icons and HTML metadata.
2025-10-16 21:53:44 -07:00
Brent Simmons
5e6734047c
Add and use special case FeedSpecifier.
2025-10-16 15:54:32 -07:00
Brent Simmons
27f72db413
Use request.addSpecialCaseUserAgentIfNeeded.
2025-10-16 15:54:13 -07:00
Brent Simmons
6fd18c8bc2
Add isRachelByTheBayURL detector.
2025-10-16 15:31:56 -07:00
Brent Simmons
6f468c8213
Use modifiedRequest.addSpecialCaseUserAgentIfNeeded instead of the duplicate code it was using.
2025-10-16 15:31:13 -07:00
Brent Simmons
df74ac70da
Merge branch 'bug/double-read-4573'
2025-10-16 15:19:51 -07:00
Brent Simmons
d6d3419aa3
Remove unneeded whitespace.
2025-10-16 15:19:46 -07:00
Brent Simmons
bbc0313e79
Use shared DownloadCache.
2025-10-16 14:49:50 -07:00
Brent Simmons
0b215c3c76
Add shared DownloadCache, to be used across different URLSessions.
2025-10-16 14:45:31 -07:00
Brent Simmons
a16cda2665
Cache responses for just over 10 minutes, so that feeds can’t be refreshed too often. Be kind to feed publishers! Fix #4700 .
2025-10-16 14:14:03 -07:00
Brent Simmons
502b23b9fe
Merge branch 'feature/download-once-week-1980'
2025-10-15 14:18:19 -07:00
Brent Simmons
2cd88eca96
Set feed.conditionalGetInfo only if it’s different.
2025-10-15 13:57:13 -07:00
Brent Simmons
634bc21c24
Drop conditional GET info every 8 days, to handle buggy servers that always respond with a 304 when *any* conditional GET info is sent. Also: add some more logging.
2025-10-15 10:48:58 -07:00
Brent Simmons
00376a91b6
Add conditionalGetInfoDate to keep track of when conditional GET info is set.
2025-10-15 10:48:26 -07:00
Brent Simmons
18d239c946
Cache 4xx responses for some hours (53, currently) — instead of for the duration of the current run of the app. This fixes one possible cause of feeds not updating.
2025-10-14 22:24:42 -07:00
Brent Simmons
ecac7a1e2a
Merge branch 'bug/atom-relative-urls-3534'
2025-10-14 21:23:11 -07:00
Brent Simmons
553b4e9b16
Deleted flaky test.
2025-10-14 18:54:20 -07:00
Brent Simmons
212d9b40be
Resolve link URLs. Handle Daring Fireball’s sometimes-crossed permalinks and external links.
2025-10-14 18:50:17 -07:00
Brent Simmons
31eb5b5bfd
Add baseline for performance tests.
2025-10-14 18:49:19 -07:00
Brent Simmons
7314f9a7f3
Lightly improve isValidURLString.
2025-10-14 16:17:13 -07:00
Brent Simmons
ea771e9b27
Add code and tests to parse relative home page URLs in Atom feeds.
2025-10-14 11:23:37 -07:00
Brent Simmons
7ae95dbe57
Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire
2025-10-14 09:44:45 -07:00
Brent Simmons
b23148ab60
Give Claude permission for some Git and GitHub things.
2025-10-14 09:44:43 -07:00
Brent Simmons
afd4c2f938
Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire
2025-10-08 17:51:17 -07:00
Brent Simmons
71b4472e53
Add RSMarkdown module which imports swift-markdown and cmark-gfm external modules. Create function to generate HTML from Markdown.
2025-10-07 11:53:07 -07:00
Brent Simmons
5d0236f7e4
Show the web view after navigation did commit rather than after didFinish, which can prevent a surprisingly long delay in some cases. Fix #4030 .
2025-10-07 09:20:24 -07:00
Brent Simmons
207fe6649f
Skip refreshing in local and Feedly accounts if running unit tests.
2025-10-06 10:59:25 -07:00
Brent Simmons
22ef2f849f
Add logging to isRunningUnitTests (one log per run, not per call).
2025-10-06 10:59:07 -07:00
Brent Simmons
5d6c9ebb4f
Skip checking for crash reports when running unit tests.
2025-10-06 10:58:37 -07:00
Brent Simmons
cba14bdb0b
Delete testFeedOPML tests — flaky for some reason. We’ll add more scripting tests in a future release.
2025-10-06 10:34:05 -07:00
Brent Simmons
4e9f29d54b
Add check to see if running unit tests. This will allow us to skip certain work (like syncing) when running unit tests. Also useful later for self-mocking.
2025-10-06 10:25:17 -07:00
Brent Simmons
b5e3041489
Delete scripts that require keystroke-sending. Difficult to get working across machines (including CI, I figure). Also: run test scripts on main thread.
2025-10-06 10:24:50 -07:00
Brent Simmons
cfaf1e855e
Make sure all the scripting tests that should work are working and not skipped.
2025-10-06 10:06:57 -07:00
Brent Simmons
35c573e8f8
Add scripting support for getting articles from folders.
...
Make this script work:
tell application "NetNewsWire"
set onMyMacAccount to first account whose accountType is onmymac
every article of folder "Commits" of onMyMacAccount whose read is false
end tell
2025-10-05 12:01:30 -07:00
Brent Simmons
3ae3d8eb6a
Allow Claude to use xcodebuild.
2025-10-05 12:00:41 -07:00
Brent Simmons
375914f906
Fix crashing bug when adding a folder.
2025-10-05 11:43:41 -07:00
Brent Simmons
0d460d3545
Add additional needed KVO accessors.
2025-10-05 11:29:37 -07:00
Brent Simmons
2d8b47075a
Update scripting support for selected articles to make get title of selected articles work.
2025-10-05 11:20:42 -07:00
Brent Simmons
c04daf289f
Update sdef and add needed KVO accessors to make get item 1 of (allWebFeeds of account 1) work.
2025-10-05 11:13:59 -07:00
Brent Simmons
b495def859
Fix container hierarchy for AppleScript selectedArticles() command. Fix #4218 .
2025-10-04 17:07:15 -07:00
Brent Simmons
e0a3ba69e1
Use correct container hierarchy to fix AppleScript access to articles in feeds in folders. Fix #4412 .
2025-10-04 16:56:59 -07:00
Brent Simmons
dbf522b551
Allow Claude to use more GitHub stuff.
2025-10-04 16:28:27 -07:00
Brent Simmons
b784abbec1
Create and use pngData() method for Mac to get data from image as PNG instead of TIFF — use less memory.
2025-10-04 08:27:30 -07:00
Brent Simmons
d7a23a69da
Set sidebar collapse state synchronously so there’s no visible collapsing on launch.
2025-10-03 20:42:19 -07:00
Brent Simmons
abeb3f2ab8
Let Claude read pages from GitHub.
2025-10-03 20:41:30 -07:00