Commit Graph

323 Commits (v0.25.3)

Author SHA1 Message Date
Steven 4c1d1c70d1 refactor: rename workspace to instance throughout codebase
Remove work-related terminology by renaming "workspace" to "instance"
across the entire application. This change better reflects that Memos
is a self-hosted tool suitable for personal and non-work use cases.

Breaking Changes:
- API endpoints: /api/v1/workspace/* → /api/v1/instance/*
- gRPC service: WorkspaceService → InstanceService
- Proto types: WorkspaceSetting → InstanceSetting
- Frontend translation keys: workspace-section → instance-section

Backend Changes:
- Renamed proto definitions and regenerated code
- Updated all store layer methods and database drivers
- Renamed service implementations and API handlers
- Updated cache from workspaceSettingCache to instanceSettingCache

Frontend Changes:
- Renamed service client: workspaceServiceClient → instanceServiceClient
- Updated all React components and state management
- Refactored stores: workspace.ts → instance.ts
- Updated all 32 locale translation files

All tests pass and both backend and frontend build successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
7 months ago
boojack d98ee36178
chore: standardize and improve API structure (#5224)
Co-authored-by: Claude <noreply@anthropic.com>
7 months ago
Steven bc1550e926 refactor(api): migrate inbox functionality to user notifications
- Remove standalone InboxService and move functionality to UserService
- Rename inbox to user notifications for better API consistency
- Add ListUserNotifications, UpdateUserNotification, DeleteUserNotification methods
- Update frontend components to use new notification endpoints
- Update store layer to support new notification model

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
7 months ago
Steven 243ecf14b0 refactor(api): remove DeleteMemoTag and RenameMemoTag endpoints
BREAKING CHANGE: Removed DeleteMemoTag and RenameMemoTag API endpoints
for better API consistency. Tags should now be managed by updating memo
content directly via UpdateMemo endpoint.

Backend changes:
- Remove RenameMemoTag and DeleteMemoTag RPC methods from proto
- Remove backend implementations in memo_service.go
- Regenerate protocol buffers (Go, TypeScript, OpenAPI)

Frontend changes:
- Remove RenameTagDialog component
- Simplify TagsSection to remove rename/delete functionality
- Improve tag styling with active state highlighting
- Add smooth transitions and better hover interactions
- Polish TagTree component for consistency
- Tags now only support click-to-filter (no inline editing)

Style improvements:
- Active tags highlighted with primary color and font-medium
- Consistent hover states across flat and tree views
- Better spacing and visual hierarchy
- Improved empty state styling

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
7 months ago
Claude 7eec424274 chore: remove references handling from markdown extraction 7 months ago
Claude 739fd2cde6 refactor: update markdown parser
- Removed the `nodes` field from the `Memo` interface in `memo_service.ts`.
- Updated the `createBaseMemo` function and the `Memo` message functions to reflect the removal of `nodes`.
- Cleaned up the serialization and deserialization logic accordingly.

chore: remove code-inspector-plugin from Vite configuration

- Deleted the `codeInspectorPlugin` from the Vite configuration in `vite.config.mts`.
- Simplified the plugins array to include only `react` and `tailwindcss`.
7 months ago
Steven 9121ddbad9 feat(api): support username lookup in GetUser endpoint
- Update GetUser to accept both numeric IDs and username strings (users/{id} or users/{username})
- Implement CEL filter parsing for username-based lookups
- Update proto documentation to reflect dual lookup capability
- Simplify frontend user store to use GetUser instead of ListUsers filter
- Update ListUsers filter documentation to show current capabilities
7 months ago
Steven b4ea7d843f feat: enhance memo sorting functionality to support multiple fields 7 months ago
github-actions[bot] 074c580214 chore: bump gomark
- Bump protoc-gen-go version from v1.36.8 to v1.36.9 in multiple generated files.
- Enhance OpenAPI descriptions for various endpoints to improve clarity and readability.
- Fix typo in the description list handling in the markdown service.
- Update HTMLElement component to handle children and self-closing tags correctly.
- Modify types in the markdown service to include children and self-closing properties for HTML elements.
8 months ago
Johnny 7cc2df9254 chore: fix linter 9 months ago
Johnny e93f3cbb8b refactor: unify theme and apperance 10 months ago
Liu Chao ba7dfb7d98
fix: OpenAPI Parameter Conflict in DeleteMemoTag Endpoint (#4985)
Signed-off-by: ChaoLiu <chaoliu719@gmail.com>
10 months ago
johnnyjoy 506b477d50 fix: get user by username 10 months ago
Steven 1fcafd807e chore: enable memo comments by default 10 months ago
Johnny 8f51791da8 chore: update user setting definition 10 months ago
johnnyjoy c5d497a1f0 chore: update user settings 10 months ago
johnnyjoy 3f56ce47d2 chore: update definition of workspace setting 10 months ago
johnnyjoy db63b1949a chore: fix creator id format 10 months ago
johnnyjoy ed23cbc011 refactor: memo filter 10 months ago
Steven ac386c218d fix: workspace setting keys 10 months ago
johnnyjoy 6e45e9f8b6 refactor: deprecate old filter 10 months ago
Johnny 71181b1640 chore: update openapi version 11 months ago
Steven 533591af2b chore: theme in user setting 11 months ago
Johnny 1b3083b216
feat: themes (#4824) 11 months ago
Johnny 240d89fbca feat: migrate dialogs 11 months ago
johnnyjoy 1fffc41f79 feat: sliding expiration for user sessions 11 months ago
Steven 42d1650c6d chore: tweak auth service 11 months ago
johnnyjoy 976bd332fe chore: fix linter 11 months ago
johnnyjoy d6a75bba4c refactor: webhook service 11 months ago
Johnny e6e460493c refactor: general user setting 11 months ago
Johnny 9b15936873 refactor: clean unused fields 11 months ago
Steven 83febf9928 chore: clean resource definition 11 months ago
Steven 5821bb7a65 chore: update auth service 11 months ago
Johnny 4e3a4e36f6 feat: implement user sessions 11 months ago
Johnny 77b7fc4441 feat: implement user session 11 months ago
Johnny 741fe35c2a refactor: rename session methods in auth service 11 months ago
Steven 35df62a96c chore: remove duplicated prefix from enums 12 months ago
Steven d71fd2f84a refactor: auth service 12 months ago
Steven 9972a77d9e refactor: memo service 12 months ago
Steven 91c2a4cef9 refactor: inbox service 12 months ago
Steven a4920d464b refactor: attachment service part2 12 months ago
Steven bb5809cae4 refactor: attachment service 12 months ago
Steven 174b1a0361 chore: fix linter 12 months ago
Steven f6e5da4499 refator: activity service 12 months ago
Steven dac059a7f7 refactor: identity provider service 12 months ago
Steven 8d8e9b3b30 refactor: shortcut service 12 months ago
Steven 1ea4cc453c refactor: workspace setting service 12 months ago
Steven da906c665c chore: tweak workspace service 12 months ago
Steven 3b0c87591f refactor: webhook service 12 months ago
Steven c9ab03e1a0 refactor: user service 12 months ago