Commit Graph
624 Commits
Author SHA1 Message Date
Brent Simmons ff623614f3 Remove the download cache from the feed refresher. Now using other mechanisms to prevent excessive feed polling. 2026-05-15 13:55:12 -07:00
Brent Simmons a187eeb92c Shorten TTL for the Downloader cache and clean up more often. This is part of lowering memory use. 2026-05-15 13:54:27 -07:00
Brent Simmons 0c4fd3ed2d Remove no-longer-used vacuumIfNeeded. 2026-04-29 16:35:06 -07:00
Brent Simmons b64de0cd6e Add logging and signpost for fetching articles. 2026-04-29 16:23:26 -07:00
Brent Simmons a1ce49286e Delete some unused code. 2026-04-29 16:19:20 -07:00
Brent Simmons 66bdf3a7ab Delete database ID cache — it was complexity not actually needed. 2026-04-29 15:50:08 -07:00
Brent Simmons e9ae90ca26 Delete no-longer-needed code. 2026-04-29 15:40:32 -07:00
Brent Simmons b811981f45 Complete authors schema migration. Read and write to JSON authors column. Delete old tables and indexes. 2026-04-29 15:31:40 -07:00
Brent Simmons 0c3245c41b Migrate authors from two separate tables into a JSON-encoded column in articles. 2026-04-29 15:02:56 -07:00
Brent Simmons 48c9f1af90 Add AuthorCache to de-duplicate Authors. 2026-04-29 09:00:55 -07:00
Brent Simmons 3411bc9eef Add more no-minimum-interval feed domains. 2026-04-28 07:45:03 -07:00
Brent Simmons 5d5fcb13bb Add additional no-minimum domains. 2026-04-27 20:32:05 -07:00
Brent Simmons 62c73d2c95 Match example.com and www.example.com in urlStringMatchesDomain. 2026-04-27 20:31:49 -07:00
Brent Simmons c509f2324a Add special case domainsWithNoMinimumTime — we use Cache-Control (when present) with these. 2026-04-27 17:46:00 -07:00
Brent Simmons 40f7c83a35 Make browser paths more meaningful (show volume name, mainly). Add tests. 2026-04-27 17:07:52 -07:00
Brent Simmons 03ae54e2c2 Merge pull request #5210 from mven/feat/dupe-browsers-path
Add paths to duplicate browser names in Settings
2026-04-27 14:18:46 -07:00
Brent Simmons bcfab245aa Parse FeedSettings JSON columns directly from Data, not String. 2026-04-27 10:47:37 -07:00
Brent Simmons bca1449a22 Use the new swiftString method to get UTF-8 String instead of UTF-16 String. 2026-04-26 10:58:46 -07:00
Brent Simmons 8a86696b60 Add tests for the new swiftString method. 2026-04-26 10:51:25 -07:00
Brent Simmons 3dfe7e19b5 Add extension method swiftString to get a UTF-8 Swift string — so we don’t have UTF-16-backed Strings, which take more memory (generally) and are slower to manipulate in our code which prepares Strings for UI display (stripping HTML etc.). 2026-04-26 10:50:58 -07:00
Brent Simmons 200e5b19f3 Clean up the authorsLookup and authors tables on account startup. Fixes #5232. 2026-04-26 09:50:11 -07:00
Brent Simmons fb7598eff8 Fix FreshRSS getting feed IDs mixed up. Fixes #5231. 2026-04-25 10:03:25 -07:00
Brent Simmons cd3c6d0173 Simplify and make faster the time zone parser. 2026-04-24 12:54:42 -07:00
Brent Simmons 9972fed89a Simplify nextMonthValue. Edit some comments. 2026-04-24 11:59:12 -07:00
Brent Simmons 1a94463b70 Delete some unneeded comments. 2026-04-24 11:50:29 -07:00
Brent Simmons 450fc850e8 Edit comments. 2026-04-24 11:47:10 -07:00
Brent Simmons 41cab354ea Rename MutableItem to RSSItem. 2026-04-24 10:39:48 -07:00
Brent Simmons fdf8325b55 Use CryptoKit instead of CommonCrypto with SHA1. Add tests. 2026-04-24 10:34:34 -07:00
Brent Simmons 2c323b5e92 Deleted unneeded file that blocked Swift Testing adoption. 2026-04-24 10:26:23 -07:00
Brent Simmons 3b9347ce05 Make RSParser depend on RSCore and use a single md5String implementation (in RSCore). Make Swift Testing work with RSCore. 2026-04-24 10:23:34 -07:00
Brent Simmons 598bec6b3e Share a MutableItem feed item object between RSS and Atom parsers. 2026-04-24 09:54:14 -07:00
Brent Simmons 9402655bce Use single shared unique ID calculator for Atom and RSS feeds. 2026-04-24 09:40:49 -07:00
Brent Simmons bc836fe901 Rename AtomAuthor.build to AtomAuthor.toParsedAuthor. 2026-04-24 09:02:30 -07:00
Brent Simmons d6eb8df7d0 Parse Atom summary. 2026-04-24 08:56:21 -07:00
Brent Simmons 9bfd09f7b5 Dropped the Mutable part of some private names. 2026-04-24 08:36:21 -07:00
Brent Simmons 8a4b30012e Pick up favicon from Atom feed, when specified. Edit some comments. 2026-04-24 08:28:13 -07:00
Brent Simmons 2a75872cba Update comment. 2026-04-24 08:18:35 -07:00
Brent Simmons a3296249f1 Remove unneeded comment. 2026-04-23 08:23:57 -07:00
Brent Simmons dfaa1d9c6e Add performance tests for the new String.decodingHTMLEntities. 2026-04-22 09:52:40 -07:00
Brent Simmons 15ae566e2a Use withContiguousStorageIfAvailable to avoid Array(utf8) when possible. Performance enhancement when the string has no & characters. (Common for titles, for instance.) 2026-04-22 09:52:07 -07:00
Brent Simmons 24311778a7 Make String.collapsingWhiteSpace much faster. Add tests. 2026-04-21 21:01:31 -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 6fa553132b Remove some metadata that shouldn’t be checked in. 2026-04-21 17:28:23 -07:00
Brent Simmons 86ddbe54e2 Use Swift 6 language mode for RSCore tests. 2026-04-21 08:56:42 -07:00
Brent Simmons eafa6a808a Add additional strip-html tests. Move performance tests to a separate file. 2026-04-21 08:53:30 -07:00
Brent Simmons d318ec9e12 Port striphtml from C to Swift. 2026-04-21 08:23:24 -07:00
Brent Simmons 5aacdab85e Remove comment. 2026-04-20 13:20:04 -07:00
Brent Simmons 8c7bb12928 Remove unneeded code. 2026-04-20 12:18:25 -07:00
Brent Simmons fa79a03fa6 Make pushImage return value discardable. 2026-04-20 12:16:32 -07:00
Brent Simmons 3d4c502101 Create and use TestHelpers.swift. 2026-04-20 12:16:02 -07:00