Brent Simmons
5fc54daa6a
Skip a Substack cover image when the body has its own top image, since it’s often a separate upload of the same picture.
2026-11-16 09:24:07 -08:00
Brent Simmons
f28c08c451
Deal with some special cases for enclosures in the article view.
2026-11-15 21:55:31 -08:00
Brent Simmons
9c787187b6
Make the enclosures audio filename a link. Underline that link in Default, Gray, Plum, and Verdana Revival themes.
2026-11-15 21:09:04 -08:00
Brent Simmons
409c55b39e
Handle Engadget’s weird duplicate-image issue.
2026-11-09 08:46:55 -08:00
Brent Simmons
e1749052e8
Fix test — compare two CGFloats.
2026-11-08 22:27:07 -08:00
Brent Simmons
898c44f961
Skip primary images for microblog (Mastodon etc.) style posts (no title, short or short-ish). They can still have video or audio for [[primary_media]] but all attached images will be in [[enclosures]].
2026-11-08 22:02:02 -08:00
Brent Simmons
d8417db7d5
Skip enclosure images that are the same as the feed image (as with Letters from an American), so they don’t become redundant timeline thumbnails or primary images.
2026-11-08 21:56:55 -08:00
Brent Simmons
2631c157ae
Change from [[primary_image]] to [[primary_media]] and include video and audio. Revert microblog handling — treat each article type the same with regard to primary_media.
2026-11-08 21:23:47 -08:00
Brent Simmons
9aea5204a1
Use media:thumbnail as fallback when there are no other images (as with Wired). Put all images at bottom for microblog-style articles.
2026-11-08 20:59:47 -08:00
Brent Simmons
1d8ae6abec
Add [[primary_image]] tag to article renderer. Replaced with div containing best guess at primary image from feed that is not otherwise included in the article HTML. (Comes from Media RSS, for instance.)
2026-11-08 18:05:06 -08:00
Brent Simmons
77e2c298dc
Put date above thumbnail when small thumbnails is on and feed-name-and-date-on-first-line is on (on Mac).
2026-11-08 10:59:53 -08:00
Brent Simmons
e223d7dcfe
Add setting to show byline at top of timeline row on Mac.
2026-11-07 16:20:30 -08:00
Brent Simmons
bf01d58e4d
Make whole-title/no-preview setting work on Mac.
2026-11-07 15:33:28 -08:00
Brent Simmons
fd475c7f53
Give each timeline row its own height.
2026-11-07 15:20:37 -08:00
Brent Simmons
70c5dce656
Add tests for enclosures rendering.
2026-10-24 21:53:05 -07:00
Brent Simmons
2c17fb77c9
Add thumbnail storage.
2026-10-23 12:11:33 -07:00
Brent Simmons
322b839387
Update tests to pass in attachments parameter.
2026-10-23 08:46:30 -07:00
Brent Simmons
b45fcbc7d0
Migrate iOS UserDefaults from suite to standard. Fixes #5466 .
2026-10-22 13:32:07 -07:00
Brent Simmons
2357a5ad61
Fix lint issue.
2026-10-22 12:32:03 -07:00
Brent Simmons
c6df463b12
Merge branch 'main' into fix/freshrss-inline-footnotes
2026-10-22 10:27:50 -07:00
Brent Simmons
9e21f5c097
Create a special case for MacRumors feed — remove some of the <br> tags that are in illegal places, which cause a bunch of extra vertical space. Fixes #5498 .
2026-10-20 09:57:13 -07:00
Brent Simmons
2dcb8641fb
Use localizedStandardCompare to sort articles.
2026-10-09 21:17:25 -07:00
Brent Simmons
a44cfe13ce
Improve Slashdot feed detection — handle case where it’s proxied through something like feedburner.
2026-10-09 10:44:46 -07:00
Dan Berglund
bdf638ba30
Improved regex, that's not greedy and only matches inside html tags
2026-10-08 19:14:14 +02:00
Dan Berglund
fc7416e10d
Only match data-sanitized-(id|class) inside html tags
2026-10-07 08:49:50 +02:00
Dan Berglund
6432162e66
fix: De-sanitize parts of FreshRSS sanitized HTML.
...
This de-sanitizes HTML from FreshRSS, which allows inline footnotes to work properly.
Initially I tried fixing this by adding workarounds in `newsfoot.js`, but I realized that we also use some CSS for the footnotes (notably to hide the backlink in the popover).
Thus it seems like a reasonable solution to just de-sanitize the `id` and `class` attributes that we need.
This can be tested by subscribing/reading an article through FreshRSS.
Without this fix the footnotes will be "dumb" and just link out to Safari, and with the fix they will properly be shown inline.
Here's two recent-ish articles with footnotes that can be tested:
- https://daringfireball.net/2026/09/iphone_4_antennagate_q_and_a
- https://www.seangoedecke.com/shipping-is-the-foundation/
Fixes : #5472
2026-10-06 10:17:42 +02:00
Brent Simmons
24b2b1f569
Do special case for articles that link to youtube.com — use netnewswire.com as base URL, so YouTube embeds play instead of showing an error. Fixes #4860 .
2026-10-03 09:24:17 -07:00
Brent Simmons
06ff4cbb6f
Add a special case for Slashdot articles in the article view — turn multiple returns in p tags, so the articles don’t run together as one big paragraph. Fixes #5460 .
2026-10-02 10:38:22 -07:00
Brent Simmons
2ccc95721a
Make the View > Sort Articles By menu patterned after Mail, and make sorting options available in both regular and column layouts.
2026-09-19 16:47:13 -07:00
Brent Simmons
24688d50e3
Save sorting preferences per-window.
2026-09-18 21:47:51 -07:00
Brent Simmons
8e2c199d8f
Disable JavaScript for Slashdot, no matter what user setting says. See < https://discourse.netnewswire.com/t/dickover-in-the-slashdot-rss-feed/372 >
2026-09-18 14:27:27 -07:00
Brent Simmons
a6dd4b2441
Write theme unzipping tests.
2026-08-31 20:56:01 -07:00
Brent Simmons
2dc650d449
Stop caching text measurements made at nonpositive widths since these are obviously wrong.
2026-08-06 14:49:33 -07:00
Brent Simmons
85e527b0a1
Extract the body fragment of articles that are full HTML pages. Fixes #3008 .
2026-07-30 08:43:39 -07:00
Brent Simmons
d81599f1d1
Add tests verifying angle-bracketed plain-text titles display literally. Verifies that #722 was already fixed.
2026-07-28 12:26:22 -07:00
Brent Simmons
f3ad3b4bc2
Strip location.href assignments.
2026-07-06 10:25:10 -07:00
Brent Simmons
de464b6a34
Handle < in title that is not used as beginning of HTML tag.
2026-07-04 17:26:43 -07:00
Brent Simmons
3eac947dd4
Match title tags by name so <abbr> and other attributed tags render as text instead of raw markup.
2026-07-04 12:45:05 -07:00
Brent Simmons
61c8f7de06
Credit Rizwan using his full name.
2026-05-17 09:53:05 -07:00
Brent Simmons
f98219d49f
Convert to Swift testing. Credit Rizwan.
2026-05-17 09:52:15 -07:00
Brent Simmons
b2f627e0f8
Delete unneeded Info.plist file for NetNewsWire-iOSTests.
2026-05-17 09:34:06 -07:00
Brent Simmons
9914e84041
Merge pull request #5188 from rizwankce/chor/bring-back-ci
...
Add GitHub Action CI to run tests
2026-05-17 09:19:33 -07:00
Brent Simmons
9eb64f4e6c
Sort feed names using localizedCaseInsensitiveCompare. Simplify ArticleSorter.
2026-05-16 17:57:08 -07:00
Rizwan Mohamed Ibrahim
07216f5b0b
Use CI test plan for macOS tests
2026-05-11 13:04:23 +02:00
Brent Simmons
38dafb3221
Optimize functions in ArticleStringFormatter. Add tests and performance tests.
2026-04-23 08:18:05 -07:00
Brent Simmons
1abd08279d
Optimize NSAttributedString creation from HTML. Add tests.
2026-04-22 14:21:41 -07:00
Brent Simmons
5555b8806d
Edit comments.
2026-04-22 14:20:25 -07:00
Brent Simmons
72c92ea261
Remove unneeded Info.plist.
2026-04-22 14:19:57 -07:00
Brent Simmons
6c15373960
Move sanitizedTitle from an Article extension to ArticleStringFormatter, where it belongs. Make it faster. Add tests.
2026-04-21 20:23:54 -07:00
Rizwan Mohamed Ibrahim
1d2c5294f2
Avoid AppleScript folder term collision in scripting test
2026-03-11 14:19:40 +01:00