Commit Graph
31 Commits
Author SHA1 Message Date
mnightingale 112d449446 Continue with the other RSS feed URIs when one fails 2026-09-11 14:35:33 +02:00
mnightingale adde7b961c Fix rss "Clear Downloaded" did not appear to do anything (#3569) 2026-08-18 12:30:38 +02:00
mnightingale f481496e5d Fix rss clearing at startup and downloaded items still in the feed (#3576)
* Only purge unconfigured rss feeds at startup

* Only perform remove obsolete actions if the feed was read

* Update seen_at so downloaded items are not removed while still in the feed

* Increase hardcoded retention to 7 days
2026-08-18 11:46:51 +02:00
Safihre ba36e62695 Refactor Config object (#3552) 2026-08-10 09:24:53 +02:00
mnightingale ba2099d006 Add RSS Age rule (#3498)
* RSS age rule

* Support years (y) and months (mo) and do not approximate durations in seconds

* Better handling of entries with no age

* Formatting

* Allow >=, =>, <=, and =< aliases

* Implement feedback

* Fix existing issue with From SxxEyy in default row

* Test unitless ages
2026-07-16 21:24:41 +02:00
mnightingale 45aafe0774 Also purge rss history for downloaded items (#3452) 2026-06-09 20:30:18 +02:00
mnightingale a141dc942b Purge rss by seen_at (#3454) 2026-06-08 20:22:38 +02:00
mnightingale babd8517e9 Database SQLite storage for RSS feeds (#3253)
* Store RSS in database

* Use context manager for rss repository in most instances

* Combine _evaluate_entry and _process_entry
2026-06-07 08:43:14 +02:00
Safihre 0950393b82 Correctly format tests based on new rules and remove star imports 2026-06-05 14:34:17 +02:00
mnightingale 2f4750f77d Match previous RSS parsing behaviour (#3425)
* Match to previous RSS behaviour

* Cleanup logic due to normalisation

* Tests comparing 4.5.5 outcome

* Remove comment - fixed since 4.5.5

* Consistent types for prio, rule, season, and episode

* Rename matching_rule_index

* Fix type warnings
2026-05-22 22:34:30 +02:00
Safihre 8be8af018f Refactor RSS processing for clarity and option precedence
Refactor RSS feed processing logic to enhance clarity and ensure correct precedence for resolved options. Renames functions and variables for better understanding, and inlines feed configuration logic. Adds new tests to verify how category, post-processing, script, and priority settings are applied hierarchically. Also provides a default display for empty RSS log categories.
2026-05-11 15:45:24 +02:00
Safihre 2122503762 Update copyright to 2026 2026-02-09 16:44:38 +01:00
Safihre 3384beed24 Make black 26.1.0 happy again - almost 2026-01-19 12:42:51 +01:00
mnightingale b6691003db Refactor RSS flow (#3247) 2025-12-30 09:23:20 +01:00
mnightingale 62401cba27 Simplify RSS rule evaluation (#3243) 2025-12-29 10:50:55 +01:00
Michael Nightingale d129eec4a7 Filter rss enclosures by application/x-nzb mimetype (#3093)
* Filter rss enclosures by application/x-nzb mimetype

* Add tests and fix the failing one

* Change empty RSS entry logging to info
2025-05-22 20:44:30 +02:00
thezoggy dd0122865a bump copyright year (#3034) 2025-02-17 14:06:12 +01:00
thezoggy 9f6a9f9912 normalize and update copyright year 2024-01-02 09:42:17 +01:00
Safihre 7cbbff727f Remove (almost) all references to unused team@sabnzbd.org 2023-07-21 11:33:51 +02:00
Safihre 6492cfb430 Update copyright year to 2023 2023-01-25 22:39:49 +01:00
Safihre 09f2b36920 Style refactor of config.py 2022-01-18 16:39:08 +01:00
Safihre 9c7b61070b Update copyright year to 2022 2022-01-07 09:29:32 +01:00
Safihre faf1a44944 Black formatting update 2021-04-26 10:52:11 +02:00
Safihre f0bfb08c2e Update copyright year to 2021 2021-01-03 20:43:19 +01:00
Safihre 6e06d954fe Refactor of config.py and added typing hints to config.py and others 2020-10-22 16:10:24 +02:00
Safihre 82b3f210f6 Refactor RSS to fit the rest of the threads 2020-09-27 09:22:51 +02:00
Safihre 9c83fd14bc Improve typing hints after rework of main threads 2020-09-23 13:13:36 +02:00
Safihre 433dcab02b Update code-style 2020-08-28 10:12:29 +02:00
Safihre 7562444763 Convert functions to staticmethod if applicable 2020-08-14 22:45:34 +02:00
Safihre 6d8c264e90 Update copyright year to 2020 2020-04-25 16:30:38 +02:00
Safihre 973483930b Py3: Fix parsing of newznab/nZEDb/nntmux in feedparser and added tests 2019-03-04 15:35:18 +01:00