Add missing CEL variable declarations for tag_search and property in
the filter environment so the documented filter syntax works.
- schema.go: Add tag_search as VirtualAlias for tags, add property
as DynType CEL variable
- parser.go: Convert VirtualAlias==value to InCondition for JSONList
targets, handle property.X selector expressions
- render.go: Generalize hardcoded tag check to support any VirtualAlias
resolving to JSONList
- Add integration tests for tag_search, property, and combined filters
Fixes#5761
Signed-off-by: majiayu000 <1835304752@qq.com>
- 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.