FreshRSS/FreshRSS

[Feature] Re-scanning the database and re-applying filters

开放

#6,976 创建于 2024年11月4日

 (1 条评论) (4 个反应) (0 位负责人)PHP (1,171 个派生)batch import
help wanted

仓库指标

星标
 (15,022 个星标)
PR 合并指标
 (平均合并 11天 12小时) (30 天内合并 36 个 PR)

描述

Is your feature request related to a problem? Please describe. Not really a problem, just a small inconvenience. Sometimes when I go back and modify tag/label filters (i.e. "apply label" filters), they don't get applied retroactively. If I had a typo in the filter, there seems to be no way to re-run the filter on all saved feeds to apply the label to those (now) matching.

Describe the solution you’d like Honestly I don't think this is something that needs to be done often, so a simple utility like those in cli/ that could be ran and perhaps also a button somewhere in the UI (just like refreshing feeds is possible in multiple ways) that re-scans the database entries and applies label filters to them, and applies the label if filter matches.

Describe alternatives you’ve considered Unfortunately do not see any other alternatives, except perhaps using user queries (I believe the results of those are not persistent in the database hence defining a filter and running it would rescan all the entries, but that's pretty expensive).

Additional context I believe there is no other context I can provide, I hope the explanation is clear. If that feature is hidden somewhere already, I apologize, I could not find it.

贡献者指南