Commit Graph
59 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 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 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 9eb64f4e6c Sort feed names using localizedCaseInsensitiveCompare. Simplify ArticleSorter. 2026-05-16 17:57:08 -07: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
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 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
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 4b7ea6d920 Mark classes as final when they can be, to communicate intent (don’t subclass these). Fix #4751. 2025-09-16 10:21:29 -07:00
Dimitris Apostolou 94ae4d348c Fix typos 2022-01-05 00:25:20 +02:00
Fábio Oliveira d05594dafb Fix Unit Tests
- Adopt new fields from SecretsProvider in FeedlyTestSecrets
-Fix call to Account init that was expecting an optional
- Linked `Articles` and `RSCore` libraries to the Unit Tests target
- Small change to order of imports for consistency
2021-02-24 01:13:47 +01:00
Maurice Parker ce33184502 Fix old test compile errors 2020-07-10 15:51:58 -05:00
Nate Weaver 58c90feccf Update to latest RSCore 2020-01-13 15:32:13 -06:00
Maurice Parker d3e5985258 Update AppleScript to differentiate between WebFeeds and Feeds 2019-11-15 15:46:43 -06:00
Maurice Parker a3a694333a Disable Sparke's check for updates on DEBUG builds 2019-10-11 15:07:41 -05:00
Maurice Parker 605607ece0 Remove HEADLESS code gating 2019-10-11 13:00:18 -05:00