memos/server/router/api/v1
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
..
test feat: allow setting custom timestamps when creating memos and comments 2026-01-17 12:56:03 +08:00
acl_config.go fix: allow guests to view public memo comments 2026-01-11 22:35:12 +08:00
acl_config_test.go refactor: user auth improvements (#5360) 2025-12-18 18:15:51 +08:00
activity_service.go chore: fix linter 2025-10-31 08:36:12 +08:00
attachment_service.go fix: attachment type checks 2026-01-06 20:37:04 +08:00
auth_service.go feat: implement refresh token rotation with sliding window sessions in the auth service 2025-12-30 23:00:15 +08:00
auth_service_client_info_test.go refactor: remove deprecated Sessions and AccessTokens settings 2025-12-19 08:35:57 +08:00
common.go refactor: remove unused constants 2025-10-16 20:40:46 +08:00
connect_handler.go refactor: migrate to connect-rpc (#5338) 2025-12-11 19:49:07 +08:00
connect_interceptors.go fix: prevent browser cache from serving stale memo data (#5470) 2026-01-13 20:55:21 +08:00
connect_services.go refactor: remove deprecated Sessions and AccessTokens settings 2025-12-19 08:35:57 +08:00
header_carrier.go fix(backend): correct generic type parameter in withHeaderCarrier helper 2025-12-12 08:06:13 +08:00
health_service.go refactor(store): remove deprecated migration_history table and backward compatibility code 2025-12-01 22:54:30 +08:00
idp_service.go fix: return Unauthenticated instead of PermissionDenied on token expiration (#5454) 2026-01-08 23:21:33 +08:00
instance_service.go fix: return Unauthenticated instead of PermissionDenied on token expiration (#5454) 2026-01-08 23:21:33 +08:00
memo_attachment_service.go refactor: user auth improvements (#5360) 2025-12-18 18:15:51 +08:00
memo_relation_service.go refactor: user auth improvements (#5360) 2025-12-18 18:15:51 +08:00
memo_service.go feat: allow setting custom timestamps when creating memos and comments 2026-01-17 12:56:03 +08:00
memo_service_converter.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
memo_service_filter.go refactor: deprecate old filter 2025-07-22 21:25:57 +08:00
reaction_service.go refactor: nest reaction resource names under memos 2025-12-30 23:29:54 +08:00
resource_name.go refactor: nest reaction resource names under memos 2025-12-30 23:29:54 +08:00
shortcut_service.go refactor: user auth improvements (#5360) 2025-12-18 18:15:51 +08:00
user_service.go fix: return Unauthenticated instead of PermissionDenied on token expiration (#5454) 2026-01-08 23:21:33 +08:00
user_service_stats.go perf: optimize memory usage for statistics and image processing 2025-12-30 00:06:23 +08:00
v1.go fix: allow public memo API access without authentication (#5451) 2026-01-07 20:52:04 +08:00