Commit Graph

5 Commits (47ebb04dc3231498e4340f648111067c83730571)

Author SHA1 Message Date
Johnny d326c71078 refactor(db): rename tables for clarity - resource→attachment, system_setting→instance_setting 6 months ago
Johnny d68ca84832 fix: delete unused attachments by using filter 6 months ago
Johnny bd02de9895
chore: add store tests (#5397) 6 months ago
Johnny 78aa41336a feat: implement attachment filtering functionality 6 months ago
Copilot b685ffacdf refactor: memo filter
- Updated memo and reaction filtering logic to use a unified engine for compiling filter expressions into SQL statements.
- Removed redundant filter parsing and conversion code from ListMemoRelations, ListReactions, and ListAttachments methods.
- Introduced IDList and UIDList fields in FindMemo and FindReaction structs to support filtering by multiple IDs.
- Removed old filter test files for reactions and attachments, as the filtering logic has been centralized.
- Updated tests for memo filtering to reflect the new SQL statement compilation approach.
- Ensured that unsupported user filters return an error in ListUsers method.
8 months ago