Commit Graph

54 Commits (10a955fd6241f82424cefc2cf3c25a13021f5af6)

Author SHA1 Message Date
boojack 10a955fd62 refactor: move plugin packages under internal 2 months ago
memoclaw acddef1f3d
fix(api): switch user resource names to usernames (#5779)
Co-authored-by: memoclaw <265580040+memoclaw@users.noreply.github.com>
2 months ago
Mudkip 09d73e8b6e
fix(mysql): handle CreateMemo custom timestamps with FROM_UNIXTIME (#5673) 3 months ago
Johnny dc7ec8a8ad feat: allow setting custom timestamps when creating memos and comments
Allow API users to set custom create_time, update_time, and display_time
when creating memos and comments. This enables importing historical data
with accurate timestamps.

Changes:
- Update proto definitions: change create_time and update_time from
  OUTPUT_ONLY to OPTIONAL to allow setting on creation
- Modify CreateMemo service to handle custom timestamps from request
- Update database drivers (SQLite, MySQL, PostgreSQL) to support
  inserting custom timestamps when provided
- Add comprehensive test coverage for custom timestamp functionality
- Maintain backward compatibility: auto-generated timestamps still
  work when custom values are not provided
- Fix golangci-lint issues in plugin/filter (godot and revive)

Fixes #5483
4 months ago
Claude e35f16306e feat: add id as final tie-breaker in ListMemos 7 months ago
Steven b4ea7d843f feat: enhance memo sorting functionality to support multiple fields 7 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
varsnotwars fa2fa8a5d7
refactor: remove call to db for parent memo name (#4947) 10 months ago
johnnyjoy ed23cbc011 refactor: memo filter 10 months ago
Steven 1a75d19a89 fix: memo filter for sqlite 10 months ago
johnnyjoy 6d9770b9c8 chore: move filter to filters 10 months ago
johnnyjoy 7481fe10bf chore: remove order by pinned 10 months ago
Johnny 34ab88348e chore: sort by pinned 1 year ago
Johnny 925e97882e feat: support pinned factor 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 e0e735d14d feat: support memo filter for mysql and postgres 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
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
RoccoSmit bcd8856732
fix: added missing " (#4119)
Added missing "
2 years ago
Steven 8b444be6ca chore: update tag search 2 years ago
Steven 20570fc771 refactor: resource thumbnail 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 edc3b578d6 feat: implement search multi tags 2 years ago
Steven 797f5a123c feat: add `HasIncompleteTasks` to memo property 2 years ago
Steven f0e5a72271 feat: update search memo filter 2 years ago
wzc90 0a9212f815
fix: memo find for mysql(#3387)
* Update memo.go

* Update store/db/mysql/memo.go

Co-authored-by: boojack <stevenlgtm@gmail.com>

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
Steven 0c673d49ef chore: retire memo tags 2 years ago
Steven c561362d62 feat: implement memo property 2 years ago
Steven 8948edf654 chore: impl memo payload definition 2 years ago
Steven 041f9b1beb chore: bump version 2 years ago
Steven d0655ece53 refactor: update memo tags 2 years ago
Steven 26545c855c refactor: implement s3 storage 2 years ago
Steven bb10bb200c chore: implement search random memos 2 years ago
Steven 7cc8b951a3 refactor: update resource id naming 2 years ago
Steven b2fc3076f6 chore: update memo store 2 years ago
Steven d426f89cf0 chore: add time filter to timeline 2 years ago
Steven 8e0ce4d678 fix: list memos with pinned 2 years ago
Steven d67eaaaee2 chore: update database migrator 2 years ago
Steven fd8333eeda chore: fix memo parent_id 2 years ago
Steven a297cc3140 chore: exclude comments in memo list response 2 years ago
Steven d8a0528135 chore: tweak variable names 2 years ago
Steven c608877c3e chore: clean binary entries 3 years ago
Steven 52f399a154 chore: remove unused functions 3 years ago
Steven fa6693a7ae chore: update list memos 3 years ago
Steven ec2995d64a chore: fix order by pinned 3 years ago