Commit Graph

713 Commits (e53b7d96e70965529ba3b04ea720ea6966f77b60)

Author SHA1 Message Date
Claude e35f16306e feat: add id as final tie-breaker in ListMemos 8 months ago
Steven 2d4361d5fe chore: update memo content formatting and enhance link styling 8 months ago
Steven d8f7a4e739 chore: tweak demo data 8 months ago
Steven b19e736f10 chore: tweak demo data 8 months ago
Steven b4ea7d843f feat: enhance memo sorting functionality to support multiple fields 8 months ago
Steven 95de5cc700 refactor: update migration history methods 8 months ago
Johnny bc7decf642 refactor: remove unused constants 8 months ago
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.
8 months ago
Steven c3d4f8e9d1 feat: implement user-specific SQL converter for filtering in user service 9 months ago
Johnny 7cc2df9254 chore: fix linter 10 months ago
varsnotwars 4eb5b67baf
feat: attachments by id (#5008) 10 months ago
varsnotwars f4bdfa28a0
feat: filter/method for reactions by content_id (#4969) 10 months ago
Colin Holzman 8319516d1a
fix: boolean filters (#4966) 10 months ago
johnnyjoy 506b477d50 fix: get user by username 11 months ago
varsnotwars fa2fa8a5d7
refactor: remove call to db for parent memo name (#4947) 11 months ago
johnnyjoy 34fb3f1514 chore: fix linter 11 months ago
Colin Holzman aae7ec8d1f
fix: calendar filter (#4942) 11 months ago
Maximilian Krauß 4d6042e35f
fix(tags): ensure JSON array elements are properly formatted in SQL queries (#4944) 11 months ago
Andrea Marchetta 71464779dd
fix: change itemCount into an Int64 (#4945) 11 months ago
johnnyjoy ed23cbc011 refactor: memo filter 11 months ago
Steven 1a75d19a89 fix: memo filter for sqlite 11 months ago
johnnyjoy 7098721617 chore: fix linter 11 months ago
johnnyjoy e24f92b719 fix: tests 11 months ago
johnnyjoy b55904a428 feat: support more filter factors 11 months ago
johnnyjoy 6d9770b9c8 chore: move filter to filters 11 months ago
johnnyjoy 7481fe10bf chore: remove order by pinned 11 months ago
Johnny 40130350c5 fix: args offset for postgres 11 months ago
Steven 834f92f67c chore: fix linter 11 months ago
Steven 0398df1d21 chore: update migrator comments 11 months ago
Johnny 3e24f8cf62
fix: seed data 12 months ago
Steven 42d1650c6d chore: tweak auth service 12 months ago
Steven 6e1b01cb68 chore: bump version 12 months ago
johnnyjoy d6a75bba4c refactor: webhook service 12 months ago
jinjingroad 03399a6007
refactor: use the built-in max/min to simplify the code (#4781)
Signed-off-by: jinjingroad <jinjingroad@sina.com>
12 months ago
Johnny e6e460493c refactor: general user setting 12 months ago
Johnny 9b15936873 refactor: clean unused fields 12 months ago
Johnny 778a5eb184 refactor: memo filter 12 months ago
Johnny 77b7fc4441 feat: implement user session 12 months ago
Steven 9972a77d9e refactor: memo service 1 year ago
Steven a4920d464b refactor: attachment service part2 1 year ago
Steven 8e8e246ab2 chore: add server tests 1 year ago
Johnny 38b6c3afb9 chore: fix linter 1 year ago
Johnny 3fd29f6493 refactor: schema migrator 1 year ago
Johnny b942643785 chore: tweak seed data 1 year ago
Steven f1b365f928 refactor: clean packages 1 year ago
Steven de3e55c2e6 feat: support `now()` time functions 1 year ago
Steven 8520e30721 fix: handle type assertion safely 1 year ago
Steven ef6f80d925 chore: fix linter 1 year ago
Steven 81ae42518e chore: fix linter 1 year ago
Steven ad2c5f0d05 refactor: store cache 1 year ago
Steven b89d8f5342 feat: implement hasTaskList filter 1 year 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 2a92baf52c fix: filter args of postgres 1 year ago
Johnny b94682dc4f
chore: fix linter 1 year ago
Johnny 18b9b9d18f
chore: implement memo filter in list memo relations 1 year ago
Johnny 08f9b18ced
fix: list memo relations 1 year ago
Johnny 3cc0e255ce fix: memo filter for postgres 1 year ago
cmuangs d649d326ef
fix: remove errors.Wrap(nil) (#4576)
* Fix errors.Wrap(nil)

* fix resource_test failure where resource does not exist
1 year ago
Steven 9b957edd1f chore: fix linter 1 year ago
Steven 8164986fcc chore: move store test 1 year ago
Amir Ehsandar c0643ff6fa
fix: use valid query parameters for postgres (#4515) 1 year ago
Johnny 34ab88348e chore: sort by pinned 1 year ago
Johnny e3a4f49c5c feat: implement creator_id factor 1 year ago
Johnny 925e97882e feat: support pinned factor 1 year ago
Johnny 9107a941ca chore: update linter config 1 year ago
Johnny f98c519834 fix: linter 1 year ago
Johnny 2aaaef79f7 chore: fix tests 1 year ago
Johnny 2dc7766fd0 fix: content contains for postgres 1 year ago
MHZ 174b8b048a
feat: support blur processing for NSFW content with customizable NSFW tags (#4407) 1 year ago
Johnny 9299c216e2 chore: move migration to 0.24.0 1 year ago
Chris Dzombak d25f355392
chore: allow storing resource references >256 chars long in mysql (#4408)
fix: allow storing resource references >256 chars long in mysql
1 year ago
Johnny 0a429a899f chore: remove version update activity 1 year ago
wzc90 3f33ccd906
fix: update 01__memo_pinned.sql (#4370) 1 year ago
Steven 7996586488 chore: fix migration script for sqlite 1 year ago
johnnyjoy 54a48b58d7 chore: remove random field 1 year ago
johnnyjoy 07336f0392 chore: update condition concat check 1 year ago
johnnyjoy a7ca63434b feat: validate shortcut's filter 1 year ago
johnnyjoy ff04fdc459 feat: support more operators in filter 1 year ago
johnnyjoy f25acfe8e2 chore: fix linter 1 year ago
johnnyjoy e0e735d14d feat: support memo filter for mysql and postgres 1 year ago
johnnyjoy 364f005ee5 fix: filter 1 year ago
johnnyjoy 3a085f3639 chore: fix filter tests 1 year ago
johnnyjoy 8e586d348e chore: fix tag filter 1 year ago
johnnyjoy bf5a29524a chore: remove drop index 1 year ago
johnnyjoy 14c72fa7df feat: implement shortcuts 1 year ago
johnnyjoy b9a0c56163 feat: support more factors in filter 1 year ago
johnnyjoy 2a392b8f8d chore: fix import order 1 year ago
johnnyjoy f31800456e chore: fix import order 1 year ago
johnnyjoy 58a867e4da fix: linter warning 1 year ago
johnnyjoy 2d731c5cc5 feat: memo filter for sqlite 1 year ago
johnnyjoy 0af08d9c06 chore: add if exists to postgres 1 year ago
Xiao Wei 37a81f9d28
fix: migrate sql error (#4338)
* fix: migrate sql error

sqlite not support postgres sql

* Apply suggestions from code review

---------

Co-authored-by: Johnny <yourselfhosted@gmail.com>
1 year ago
johnnyjoy b0119f320a chore: tweak migration scripts 1 year ago
johnnyjoy 9bd6d17864 chore: add migration script 1 year ago
johnnyjoy 39d4d4f4f3 chore: update migrate scripts 1 year ago
johnnyjoy d605faeffa refactor: move pinned to memo 1 year ago
johnnyjoy 2058a8ab7b chore: move references to memo property 1 year ago
Viacheslav Potoropin 7ed3a12a64
fix: internal error on pin/unpin (#4332) 1 year ago
Zero King 5ec3150e0e
fix: use correct separator in migration file name (#4327)
Fixes: e913271f15 ("refactor: move tags from property to payload (#4229)")
1 year ago
Steven 8b7e9f5443 chore: remove unused user id 1 year ago
johnnyjoy c1498a1844 chore: retire webhook state 1 year 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>
1 year ago
Steven 51c80c37d1 revert: tweak reaction_type column type for mysql 2 years ago
Steven 9f2c1b2556 chore: tweak reaction_type column type for mysql 2 years ago
johnnyjoy 80785de900 chore: remove unused script 2 years ago
Steven 378b6a51c1 chore: tweak default reactions 2 years ago
RoccoSmit bcd8856732
fix: added missing " (#4119)
Added missing "
2 years ago
RoccoSmit 3b25a6bbec
fix: handle missing reaction (#4094)
* migration version

* Updated test to match with current version set in version.go file

* updated logic to check if migration should run for fresh install

* Update test to test for version number set in version.go

* fixed test

* Revert "fixed test"

This reverts commit 4004d0e92b.

* Revert "Update test to test for version number set in version.go"

This reverts commit d304add5d6.

* Revert "updated logic to check if migration should run for fresh install"

This reverts commit b44dca2194.

* Revert "Updated test to match with current version set in version.go file"

This reverts commit 3ad0d889b6.

* Revert "migration version"

This reverts commit b13cfc346a.

* Added default reaction if no reation found

* Fixed static check issue

* Use emoji
2 years ago
Steven 317cf06579 chore: tweak demo data 2 years ago
Steven 14712b42fa chore: add pagination to list inboxes 2 years ago
Steven d066d46f6e chore: tweak schema version 2 years ago
Steven d54c8065b5 chore: update demo data 2 years ago
Steven e527b6a878 feat: move reaction type to setting 2 years ago
Steven cf4e660f41 chore: add memo location setting 2 years ago
Steven 8b444be6ca chore: update tag search 2 years ago
Sriniwas 2db67118fc
fix: case insensetive memo search for postgres (#3938)
fix:case insensetive memo search for postgres #3892
2 years ago
johnnyjoy 1da0752922 chore: add schema version to workspace setting 2 years ago
Leo 95939ebcf1
fix: v0.22.5: start fail caused by incorrect migration file naming (#3873)
fix incorrect naming of migration file
2 years ago
johnnyjoy 5bbf57ece4 chore: update comments of find memo 2 years ago
Steven 4322bfa506 chore: tweak seed data 2 years ago
Steven fa2b01cfb1 chore: tweak latest schema file name 2 years ago
Steven 20570fc771 refactor: resource thumbnail 2 years ago
Steven 615aa94793 fix: base path of migrator 2 years ago
Steven d11bd30ec6 chore: tweak logger 2 years ago
Steven 7134ad4883 chore: fix migration history 2 years ago
Steven fbdfaf85d9 chore: update migrator 2 years ago
Steven ccd3fdcd38 chore: fix tests 2 years ago
Steven 70837f88cb chore: fix linter 2 years ago
Steven 525223c261 chore: add tests for migrator 2 years ago
Steven 06c460b476 chore: tweak linter warning 2 years ago
Steven 07012e3f60 chore: remove unused files 2 years ago
Steven 1b6685d7cf chore: tweak linter warning 2 years ago
Steven 6e901fc940 refactor: store migrator 2 years ago
Steven 724db203f7 chore: tweak seed data 2 years ago
tiltshiftfocus a5978e7657
fix: tag query for mysql (#3785) 2 years ago
Steven 07667257d5 feat: support order by time asc 2 years ago
Steven 342b6ad696 chore: tweak seed data 2 years ago
Steven 4b415e519e chore: tweak demo data 2 years ago
Steven 8bf7cdfd31 feat: add password auth flag 2 years ago
Steven edc3b578d6 feat: implement search multi tags 2 years ago
Steven 446e38f15b fix: memo content snippet 2 years ago
Steven 457cf92cc1 feat(api): implement get resource by uid 2 years ago
Steven 54539aa047 chore: tweak seed data 2 years ago
Steven 797f5a123c feat: add `HasIncompleteTasks` to memo property 2 years ago
Steven b1cc1255bb chore: tweak seed data 2 years ago
Steven 423861d48c fix: create idp in postgres 2 years ago
Steven e475f00ba1 chore: tweak seed data 2 years ago
Steven f0e5a72271 feat: update search memo filter 2 years ago
Steven 93d06bc0f0 chore: tweak readme 2 years ago