Commit Graph

102 Commits (main)

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>
1 week 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>
2 weeks ago
Claude 7eec424274 chore: remove references handling from markdown extraction 3 weeks ago
Steven b4ea7d843f feat: enhance memo sorting functionality to support multiple fields 4 weeks 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.
2 months ago
Johnny 7cc2df9254 chore: fix linter 3 months ago
Johnny e93f3cbb8b refactor: unify theme and apperance 3 months ago
Liu Chao ba7dfb7d98
fix: OpenAPI Parameter Conflict in DeleteMemoTag Endpoint (#4985)
Signed-off-by: ChaoLiu <chaoliu719@gmail.com>
3 months ago
Steven 1fcafd807e chore: enable memo comments by default 4 months ago
Steven 533591af2b chore: theme in user setting 4 months ago
Johnny 1b3083b216
feat: themes (#4824) 4 months ago
johnnyjoy 1fffc41f79 feat: sliding expiration for user sessions 5 months ago
johnnyjoy d6a75bba4c refactor: webhook service 5 months ago
Johnny e6e460493c refactor: general user setting 5 months ago
Steven 83febf9928 chore: clean resource definition 5 months ago
Johnny 4e3a4e36f6 feat: implement user sessions 5 months ago
Johnny 741fe35c2a refactor: rename session methods in auth service 5 months ago
Steven a4920d464b refactor: attachment service part2 5 months ago
johnnyjoy ee99afd7a4 chore: enable location by default 6 months ago
johnnyjoy eb33a604b2 feat: support mapping avatar url from oauth2 7 months ago
Anubhav Singh a63d9b471b
feat: update ItalicNode to use repeated children instead of content (#4566)
* feat: update ItalicNode to use repeated children instead of content

* chore: update gomark dependency to latest version

---------

Co-authored-by: Anubhav Singh <anubhav@mail.techindika.com>
8 months ago
Johnny 16a0872972 chore: enable auto compact by default 8 months ago
MHZ 174b8b048a
feat: support blur processing for NSFW content with customizable NSFW tags (#4407) 9 months ago
Johnny 6abd51fe5a chore: update resource storage type comment 9 months ago
Johnny 0a429a899f chore: remove version update activity 9 months ago
johnnyjoy 13f6fa7b37 refactor: remove default visibility in workspace setting 9 months ago
johnnyjoy 14c72fa7df feat: implement shortcuts 10 months ago
johnnyjoy d605faeffa refactor: move pinned to memo 10 months ago
johnnyjoy 2058a8ab7b chore: move references to memo property 10 months ago
Comix d9a92b2ef8
feat: support path style of s3 url (#4304)
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
10 months ago
Steven edc3f1d9d9 chore: retire unused memo view 10 months ago
johnnyjoy 65da94521d chore: buf generate 10 months ago
johnnyjoy a78bfffb17 chore: add output only flag 11 months 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>
11 months ago
johnnyjoy 2a1c0bba6c chore: remove unused `reaction.proto` 12 months ago
Steven 7b70c203cc chore: buf generate 12 months ago
d0zingcat e5cb2037e4
feat: allow to disable markdown shortcuts (#4025)
* add settting to disable markdown keymap

Signed-off-by: d0zingcat <leewtang@gmail.com>

* rename disable markdown shortcuts

Signed-off-by: d0zingcat <leewtang@gmail.com>

* fix lint

Signed-off-by: d0zingcat <leewtang@gmail.com>

---------

Signed-off-by: d0zingcat <leewtang@gmail.com>
1 year ago
Steven e527b6a878 feat: move reaction type to setting 1 year ago
wjsoj 1f9d657065
feat: support set global Default memo visibility (#3989)
* feat: support set global Default memo visibility

* feat: Move to WorkspaceMemoRelatedSetting

* fix: goimports check failure

* chore: change item name to default_visibility

* fix: goimports check failure
1 year ago
Steven cf4e660f41 chore: add memo location setting 1 year ago
Steven 63989ab365 feat: add location to memo payload 1 year ago
johnnyjoy 1da0752922 chore: add schema version to workspace setting 1 year ago
Zisu Zhang b787d1c7b6
feat: support disable change username and nickname (#3911)
* feat: support disable change username and nickname

* chore: update UX
1 year ago
Steven bb86482b71 chore: tweak setting name 1 year ago
Steven 1167df29d8 feat: add security related settings 1 year ago
Steven f4d6675363 chore: add enable memo comment setting 1 year ago
Steven 3c5aa41a78 feat: implement week start day setting 1 year ago
Johnny 7c9e54afbd
chore: update disallow public visibility setting name (#3687) 1 year ago
Johnny 4d2b953e23
chore: add enable link preview setting to memo related settings (#3647) 1 year ago
Johnny 736637a362
feat: add public flag instead of system setting to enable signup (#3589) 1 year ago