Commit Graph

161 Commits (b685ffacdfca37330335393420a23ad707ba3453)

Author SHA1 Message Date
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.
3 weeks ago
Steven c3d4f8e9d1 feat: implement user-specific SQL converter for filtering in user service 2 months ago
varsnotwars 4eb5b67baf
feat: attachments by id (#5008) 3 months ago
varsnotwars f4bdfa28a0
feat: filter/method for reactions by content_id (#4969) 3 months ago
johnnyjoy 506b477d50 fix: get user by username 3 months ago
varsnotwars fa2fa8a5d7
refactor: remove call to db for parent memo name (#4947) 3 months ago
Maximilian Krauß 4d6042e35f
fix(tags): ensure JSON array elements are properly formatted in SQL queries (#4944) 3 months ago
johnnyjoy ed23cbc011 refactor: memo filter 4 months ago
Steven 1a75d19a89 fix: memo filter for sqlite 4 months ago
johnnyjoy e24f92b719 fix: tests 4 months ago
johnnyjoy b55904a428 feat: support more filter factors 4 months ago
johnnyjoy 6d9770b9c8 chore: move filter to filters 4 months ago
johnnyjoy 7481fe10bf chore: remove order by pinned 4 months ago
johnnyjoy d6a75bba4c refactor: webhook service 4 months ago
Johnny e6e460493c refactor: general user setting 5 months ago
Johnny 9b15936873 refactor: clean unused fields 5 months ago
Johnny 778a5eb184 refactor: memo filter 5 months ago
Steven a4920d464b refactor: attachment service part2 5 months ago
Johnny 38b6c3afb9 chore: fix linter 5 months ago
Johnny 3fd29f6493 refactor: schema migrator 5 months ago
Steven f1b365f928 refactor: clean packages 5 months ago
Steven de3e55c2e6 feat: support `now()` time functions 5 months ago
Steven b89d8f5342 feat: implement hasTaskList filter 5 months ago
johnnyjoy f9e07a2245 feat: support update user's role 6 months ago
Johnny b94682dc4f
chore: fix linter 7 months ago
Johnny 18b9b9d18f
chore: implement memo filter in list memo relations 7 months ago
cmuangs d649d326ef
fix: remove errors.Wrap(nil) (#4576)
* Fix errors.Wrap(nil)

* fix resource_test failure where resource does not exist
7 months ago
Johnny 34ab88348e chore: sort by pinned 8 months ago
Johnny e3a4f49c5c feat: implement creator_id factor 8 months ago
Johnny 925e97882e feat: support pinned factor 8 months ago
johnnyjoy 54a48b58d7 chore: remove random field 9 months ago
johnnyjoy 07336f0392 chore: update condition concat check 9 months ago
johnnyjoy a7ca63434b feat: validate shortcut's filter 9 months ago
johnnyjoy ff04fdc459 feat: support more operators in filter 9 months ago
johnnyjoy f25acfe8e2 chore: fix linter 9 months ago
johnnyjoy e0e735d14d feat: support memo filter for mysql and postgres 9 months ago
johnnyjoy d605faeffa refactor: move pinned to memo 9 months ago
johnnyjoy 2058a8ab7b chore: move references to memo property 9 months ago
Viacheslav Potoropin 7ed3a12a64
fix: internal error on pin/unpin (#4332) 9 months ago
johnnyjoy c1498a1844 chore: retire webhook state 10 months ago
Johnny e913271f15
refactor: move tags from property to payload (#4229)
* refactor: move tags from property to payload

* chore: fix tests

* chore: drop memo tags

* chore: update

---------

Co-authored-by: Steven <stevenlgtm@gmail.com>
11 months ago
RoccoSmit bcd8856732
fix: added missing " (#4119)
Added missing "
12 months ago
Steven 14712b42fa chore: add pagination to list inboxes 1 year ago
Steven e527b6a878 feat: move reaction type to setting 1 year ago
Steven 8b444be6ca chore: update tag search 1 year ago
Steven 20570fc771 refactor: resource thumbnail 1 year ago
Steven 525223c261 chore: add tests for migrator 1 year ago
Steven 1b6685d7cf chore: tweak linter warning 1 year ago
Steven 6e901fc940 refactor: store migrator 1 year ago
tiltshiftfocus a5978e7657
fix: tag query for mysql (#3785) 1 year ago