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>
3 weeks ago
Steven
f1b365f928
refactor: clean packages
6 months ago
Steven
ad2c5f0d05
refactor: store cache
6 months ago
johnnyjoy
a7ca63434b
feat: validate shortcut's filter
10 months ago
Steven
6e901fc940
refactor: store migrator
1 year ago
Steven
cf423026a5
chore: update store cache
2 years ago
Steven
26545c855c
refactor: implement s3 storage
2 years ago
Steven
2cdcd17ba3
chore: tweak linter
2 years ago
Steven
14d4cfd5a4
chore: tweak store methods name
2 years ago
Steven
c373131b89
chore: migrate idp service
2 years ago
Steven
51d58d3982
chore: add workspace setting migrator
2 years ago
Steven
8e11826db1
chore: update workspace setting service
2 years ago
Steven
b4f2a3bd14
chore: remove migrator
2 years ago
Lincoln Nogueira
279cba0e6b
chore: greatly speed up migrator and lower memory usage ( #2874 )
...
* chore: add en-GB language
* chore: remove en-GB contents
* chore: prevent visitors from breaking demo
- prevent disabling password login
- prevent updating `memos-demo` user
- prevent setting additional style
- prevent setting additional script
- add some error feedback to system settings UI
* Revert "chore: add en-GB language"
This reverts commit 2716377b04 .
* chore: speed-up migrator and lower memory usage
- remove all Store indirections
- query database directly with prepared statements
* chore: fix golangci-lint warnings
2 years ago
Steven
5e74394643
chore: add resource name migrator
2 years ago
Steven
c797099950
chore: update resource internal path migrator
2 years ago
Steven
e0cacfc6d6
chore: retire auto backup for sqlite
2 years ago
guopeng
73f59eaf09
fix: storage setting changed don't take effect ( #2385 )
...
* fix: Storage setting changed don't take effect
* fix: Storage setting changed don't take effect
* fix: Storage setting changed don't take effect
2 years ago
Athurg Gooth
ca98367a0a
chore: store vacuum and clean ( #2293 )
...
* Move all vacuum code into driver
* Remove db from Store
2 years ago
Steven
6007f48b7d
chore: retire memo resource relation table
2 years ago
Athurg Gooth
41eba71f0f
chore: split sql to driver ( #2279 )
...
* Add new database interface for SQL operations
* Move SQL code of Activity into Database
* Rename `Database` into `Driver`
* Move SQL code of SystemSetting into Driver
* Fix store.New in text code
* Change database into driver in the variables
* Change sqlite3.New into sqlite3.NewDriver
2 years ago
Steven
cd0ea6558d
chore: update golangci-lint config
2 years ago
boojack
1ce82ba0d6
chore: remove shortcut related api ( #2072 )
2 years ago
Athurg Gooth
d9b3501fae
feat: add support for auto backup db file ( #1950 )
...
Add support for auto backup db file
2 years ago
boojack
0e05c62a3b
chore: update common utils ( #1908 )
2 years ago
boojack
1fa9f162a5
refactor: migrate resource to apiv1 ( #1901 )
2 years ago
boojack
66e65e4dc1
refactor: migrate definition to api v1 ( #1879 )
...
* refactor: user api v1
* refactor: system setting to apiv1
* chore: remove unused definition
* chore: update
* chore: refactor: system setting
* chore: update
* refactor: migrate tag
* feat: migrate activity store
* refactor: migrate shortcut apiv1
* chore: update
2 years ago
boojack
9a8d43bf88
chore: update user store names ( #1877 )
...
* chore: update user store names
* chore: update
2 years ago
boojack
6a78887f1d
chore: update store types name ( #1862 )
2 years ago
boojack
7226a9ad47
chore: update idp store ( #1856 )
2 years ago
boojack
b44f2b5ffb
chore: migrate user setting to api v1 package ( #1855 )
...
* chore: migrate to api v1 package
* chore: update
2 years ago
boojack
4ed9a3a0ea
refactor: migrate auth routes to v1 package ( #1841 )
...
* feat: add api v1 packages
* chore: migrate auth to v1
* chore: update test
2 years ago
boojack
de8014dfe8
feat: resource store cache ( #1742 )
3 years ago
boojack
ea728d232d
refactor: memo store ( #1741 )
3 years ago
boojack
1d7627dd72
chore: upgrade version `0.13.0` ( #1685 )
...
* chore: upgrade version `0.13.0`
* chore: update
3 years ago
boojack
9b8d69b2dd
chore: add vacuum memo relation to dev guard ( #1644 )
...
* chore: add vacuum memo relation to dev guard
* chore: update
3 years ago
boojack
4603f414db
chore: add system setting cache ( #1609 )
3 years ago
boojack
fab8a71fd2
feat: implement memo relation store ( #1598 )
...
* feat: implement memo relation store
* chore: update
3 years ago
boojack
cbbd284e7a
feat: add store cache for idp ( #1116 )
...
feat: add cache for idp
3 years ago
boojack
3590d3f8b6
feat: update store cache ( #1066 )
...
* feat: update store cache
* chore: update
3 years ago
boojack
f74d1b7bf8
chore: remove resource cache ( #1059 )
3 years ago
boojack
e4a8a4d708
feat: tag table ( #811 )
...
* feat: tag table
* chore: update
* chore: update
3 years ago
Zeng1998
54271c1598
chore: fix some typos ( #587 )
3 years ago
boojack
dc5d705f8c
feat: vacuum records manually ( #420 )
3 years ago
Steven
7d0407013e
chore: make `golangci-lint` happy
3 years ago
boojack
da333b0b1e
chore: add store cache service
3 years ago
boojack
011fcc7dd4
chore: rename module
3 years ago
boojack
c3c2882dc5
chore: update server profile
4 years ago
boojack
8e01eb8702
feat: `store/db` module with sqlite
4 years ago
boojack
fbf4afff8e
refactor: store
4 years ago