memos/proto
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
..
api/v1 feat: allow setting custom timestamps when creating memos and comments 2026-01-17 12:56:03 +08:00
gen feat: allow setting custom timestamps when creating memos and comments 2026-01-17 12:56:03 +08:00
store refactor: remove NSFW content settings from instance configuration 2025-12-29 20:13:54 +08:00
README.md chore: tweak readme 2024-02-23 08:25:54 +08:00
buf.gen.yaml fix: openapi generation (#5349) 2025-12-15 10:55:04 +08:00
buf.lock chore: update gitignore 2025-04-17 23:11:36 +08:00
buf.yaml chore: update gitignore 2025-04-17 23:11:36 +08:00

README.md

Guide

Prerequisites

Generate

buf generate

Format

buf format -w