memos/store/db/mysql
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
2026-01-17 12:56:03 +08:00
..
activity.go chore: update database migrator 2024-01-06 16:55:13 +08:00
attachment.go refactor(db): rename tables for clarity - resource→attachment, system_setting→instance_setting 2026-01-06 23:36:42 +08:00
common.go fix: memo content snippet 2024-07-16 22:19:48 +08:00
idp.go chore: migrate idp service 2024-04-13 10:50:25 +08:00
inbox.go test: optimize store tests performance by reusing docker image and reducing build context 2026-01-12 23:30:56 +08:00
instance_setting.go revert: revert system_setting to instance_setting rename changes 2026-01-07 20:38:02 +08:00
memo.go feat: allow setting custom timestamps when creating memos and comments 2026-01-17 12:56:03 +08:00
memo_filter_test.go feat(store): add hierarchical tag filtering support 2025-10-30 00:21:53 +08:00
memo_relation.go test: optimize store tests performance by reusing docker image and reducing build context 2026-01-12 23:30:56 +08:00
mysql.go chore: add store tests (#5397) 2025-12-31 21:26:35 +08:00
reaction.go refactor: memo filter 2025-10-16 09:22:52 +08:00
user.go refactor: memo filter 2025-10-16 09:22:52 +08:00
user_setting.go refactor: user auth improvements (#5360) 2025-12-18 18:15:51 +08:00