memos/store/db/mysql
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.
2025-10-16 09:22:52 +08:00
..
activity.go chore: update database migrator 2024-01-06 16:55:13 +08:00
attachment.go refactor: memo filter 2025-10-16 09:22:52 +08:00
common.go fix: memo content snippet 2024-07-16 22:19:48 +08:00
idp.go chore: migrate idp service 2024-04-13 10:50:25 +08:00
inbox.go fix: remove errors.Wrap(nil) (#4576) 2025-03-31 12:56:51 +08:00
memo.go refactor: memo filter 2025-10-16 09:22:52 +08:00
memo_filter_test.go refactor: memo filter 2025-10-16 09:22:52 +08:00
memo_relation.go refactor: memo filter 2025-10-16 09:22:52 +08:00
migration_history.go chore: update database migrator 2024-01-06 16:55:13 +08:00
mysql.go chore: fix linter 2025-06-15 10:27:24 +08:00
reaction.go refactor: memo filter 2025-10-16 09:22:52 +08:00
user.go refactor: memo filter 2025-10-16 09:22:52 +08:00
user_setting.go refactor: general user setting 2025-06-23 23:23:57 +08:00
workspace_setting.go chore: tweak workspace setting store 2024-04-10 22:31:55 +08:00