mirror of https://github.com/usememos/memos.git
- 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. |
||
|---|---|---|
| .. | ||
| activity.go | ||
| attachment.go | ||
| common.go | ||
| idp.go | ||
| inbox.go | ||
| memo.go | ||
| memo_filter_test.go | ||
| memo_relation.go | ||
| migration_history.go | ||
| reaction.go | ||
| sqlite.go | ||
| user.go | ||
| user_setting.go | ||
| workspace_setting.go | ||