Commit Graph

9 Commits (f5624fa6826cd44255cff6e368047e6b92564269)

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
johnnyjoy ed23cbc011 refactor: memo filter 4 months ago
johnnyjoy 2a92baf52c fix: filter args of postgres 6 months ago
Johnny b94682dc4f
chore: fix linter 7 months ago
Johnny 18b9b9d18f
chore: implement memo filter in list memo relations 7 months ago
Steven 26545c855c refactor: implement s3 storage 2 years ago
Steven 501f8898f6 chore: fix postgres stmts 2 years ago
Steven 0127e08a28 fix: data conflict handler 2 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
2 years ago