Commit Graph

53 Commits (v0.27.0-rc.1)

Author SHA1 Message Date
memoclaw 3f3133d6e2
feat(memo): add share links for private memos (#5742)
Co-authored-by: memoclaw <265580040+memoclaw@users.noreply.github.com>
2 months ago
memoclaw f759b416af
refactor(inbox): store memo comment payloads without activity records (#5741)
Co-authored-by: memoclaw <265580040+memoclaw@users.noreply.github.com>
2 months ago
Johnny 7932f6d0d0
refactor: user auth improvements (#5360) 5 months ago
Johnny 40e129b8af refactor(auth): streamline session authentication and cookie handling 6 months ago
Steven 0610257562 refactor(store): remove deprecated migration_history table and backward compatibility code
Complete removal of migration_history system in favor of instance_setting based schema versioning.

Changes:
- Remove migration_history table creation from all LATEST.sql files
- Delete all migration_history model and implementation files (~300 lines)
- Remove FindMigrationHistoryList and UpsertMigrationHistory from Driver interface
- Replace complex backward compatibility functions with simple version check
- Update health check to use instance_setting instead of migration_history
- Simplify checkMinimumUpgradeVersion to detect pre-v0.22 installations

Breaking change:
Users on versions < v0.22.0 (May 2024) must upgrade to v0.25.x first before upgrading to this version.
Clear error message with upgrade instructions will be shown for old installations.

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

Co-Authored-By: Claude <noreply@anthropic.com>
6 months ago
boojack 21d31e3609
fix(security): implement security review recommendations (#5228)
Co-authored-by: Claude <noreply@anthropic.com>
7 months ago
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
Steven 95de5cc700 refactor: update migration history methods 7 months ago
johnnyjoy ed23cbc011 refactor: memo filter 10 months ago
johnnyjoy d6a75bba4c refactor: webhook service 11 months ago
Steven a4920d464b refactor: attachment service part2 12 months ago
Johnny 3fd29f6493 refactor: schema migrator 12 months ago
johnnyjoy a7ca63434b feat: validate shortcut's filter 1 year ago
johnnyjoy d605faeffa refactor: move pinned to memo 1 year ago
Steven 525223c261 chore: add tests for migrator 2 years ago
Steven 6e901fc940 refactor: store migrator 2 years ago
Steven 292861be16 chore: retire tag store 2 years ago
Steven 26545c855c refactor: implement s3 storage 2 years ago
Steven 4338234641 chore: retire storage related functions 2 years ago
Steven cebc46adc7 chore: tweak store definition 2 years ago
Steven 707e5caf89 chore: update workspace setting store 2 years ago
Steven 4c47e93fce chore: tweak workspace setting store 2 years ago
Steven ce133ad69b chore: retire unused workspace settings 2 years ago
Steven 8e11826db1 chore: update workspace setting service 2 years ago
Steven 3a5bc82d39 chore: implement reaction service 2 years ago
Steven 559e427c50 chore: implement reaction store 2 years ago
Steven de8db63811 chore: rename workspace setting service 2 years ago
Steven e0cacfc6d6 chore: retire auto backup for sqlite 2 years ago
Steven 52f399a154 chore: remove unused functions 3 years ago
Steven 7fc7b19d64 chore: deprecate user setting legacy api 3 years ago
Steven 1a5bce49c2 chore: implement webhook store 3 years ago
Steven 695fb1e0ca chore: update migration history store 3 years ago
Steven 18107248aa chore: rename list inbox 3 years ago
Steven 67d2e4ebcb chore: update method name 3 years ago
Steven 052216c471 chore: fix list activities typo 3 years ago
Steven e5978a70f5 chore: initial inbox store model 3 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
3 years ago
Athurg Gooth 6bb6c043e5
feat: add support for ListMemoOrganizer (#2367)
* Add support for ListMemoOrganizer

* fix rows not close
3 years ago
Athurg Gooth fa2bba51c1
feat: add support for ListActivity (#2365)
Add support for ListActivity
3 years ago
Steven a6ee61e96d chore: update package name 3 years ago
Steven 87ddeb2c79 chore: adjust store test for mysql 3 years ago
Athurg Gooth 5121e9f954
chore: move migration and seed code into driver (#2294)
Move migration and seed code into driver
3 years ago
Athurg Gooth ca98367a0a
chore: store vacuum and clean (#2293)
* Move all vacuum code into driver

* Remove db from Store
3 years ago
Athurg Gooth 9ce22e849c
chore: move SQL code of Memo into Driver (#2292) 3 years ago
Athurg Gooth 58b84f83d1
chore: move SQL code of MemoOrganizer into Driver (#2291) 3 years ago
Athurg Gooth acbde4fb2d
chore: move SQL code of MemoRelation into Driver (#2290) 3 years ago
Steven 4180cc3a3d refactor: migrate storage to driver 3 years ago
Steven d6789550a0 refactor: migrate tag to driver 3 years ago
Steven d68da34eec refactor: migrate idp to driver 3 years ago
Athurg Gooth d3a6fa50d6
chore: move sql code of Resource into driver (#2286)
Move sql code of Resource into driver
3 years ago