Commit Graph

14 Commits (9f5a7bb889ee210c21a0d981eb2a6db504246d8b)

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.
9 months ago
Steven c3d4f8e9d1 feat: implement user-specific SQL converter for filtering in user service 10 months ago
johnnyjoy 506b477d50 fix: get user by username 11 months ago
johnnyjoy f9e07a2245 feat: support update user's role 1 year ago
Steven 1f79ee575b fix: create user with avatar url for sqlite 1 year ago
johnnyjoy 54a48b58d7 chore: remove random field 1 year ago
Steven 26545c855c refactor: implement s3 storage 2 years ago
Steven 03c93785f4 chore: implement list random users 2 years ago
Steven 8fe6874b1b chore: add description field to user 2 years ago
Steven 501f8898f6 chore: fix postgres stmts 3 years ago
Steven 7eb5be0a4e chore: fix update user 3 years ago
Steven c608877c3e chore: clean binary entries 3 years ago
Steven d275713aff chore: fix timestamp type in postgres 3 years ago
Irving Ou 9c18960f47
feat: support Postgres (#2569)
* skeleton of postgres

skeleton

* Adding Postgres specific db schema sql

* user test passed

* memo store test passed

* tag is working

* update user setting test done

* activity test done

* idp test passed

* inbox test done

* memo_organizer, UNTESTED

* memo relation test passed

* webhook test passed

* system setting test passed

* passed storage test

* pass resource test

* migration_history done

* fix memo_relation_test

* fixing server memo_relation test

* passes memo relation server test

* paess memo test

* final manual testing done

* final fixes

* final fixes cleanup

* sync schema

* lint

* lint

* lint

* lint

* lint
3 years ago