Commit Graph
70 Commits
Author SHA1 Message Date
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
Rizwan Mohamed Ibrahim 5c1ff35b13 Fix iOS tests are not working
- Add a new test for iOS
- Fix xcconfig settings to make the test run fine
2026-03-11 13:34:53 +01:00
Brent Simmons 0d6c222d40 Fix various SwiftLint warnings. 2026-01-01 15:50:20 -08:00
Brent Simmons 36cb48bae3 Fix various SwiftLint warnings. 2026-01-01 15:38:51 -08:00
Brent Simmons 6ba9940834 Fix various SwiftLint warnings. 2025-12-31 11:38:56 -08:00
Brent Simmons 78f39ebc6f Remove unused test file. 2025-12-31 11:13:59 -08:00
Brent Simmons 20d363433d Fix various concurrency issues. 2025-11-18 19:58:48 -08:00
Brent Simmons 1f51119aa3 Convert RSCore to approachable concurrency. 2025-11-13 17:11:34 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Brent Simmons d0a3c5cae7 Rename some instances of webfeed as feed. 2025-11-03 10:33:09 -08:00
Brent Simmons 7e120bcbb4 Rename some instances of webfeed as feed. 2025-11-03 10:16:03 -08:00
Brent Simmons ac19ea47a4 Rename some instances of webfeed as feed. 2025-11-02 15:57:33 -08:00
Brent Simmons 6e1379c29f Write release notes. 2025-10-29 21:21:10 -07:00
Brent Simmons 553b4e9b16 Deleted flaky test. 2025-10-14 18:54:20 -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