Commit Graph

3811 Commits

Author SHA1 Message Date
ChaoLiu 69f946844b chore: generate protobuf code for AI connection test
- Update generated Go protobuf files for new test connection endpoints
- Add OpenAPI specifications for AI connection testing
- Generate TypeScript types for frontend AI connection test functionality

Signed-off-by: ChaoLiu <chaoliu719@gmail.com>
2025-08-22 10:05:40 +08:00
ChaoLiu 8fb7727fb8 feat: add AI connection test API and protobuf definitions
- Add TestAiConnection RPC endpoint with request/response messages
- Implement connection testing with OpenAI API validation
- Add proper authentication and error handling for test endpoint

Signed-off-by: ChaoLiu <chaoliu719@gmail.com>
2025-08-22 10:05:40 +08:00
Chao Liu fcd85d9651 feat: implement tag recommendation settings and UI integration
- Add TagRecommendationSection settings component
- Integrate tag recommendation button into memo editor
- Add localization for tag recommendation features
- Update AI settings to include tag recommendation configuration

Signed-off-by: Chao Liu <chaoliu719@gmail.com>
2025-08-22 10:05:40 +08:00
Chao Liu d706c32b35 feat: add tag recommendation UI components
- Create TagRecommendButton for memo editor with AI integration
- Add TagRecommendationPanel for displaying suggested tags

Signed-off-by: Chao Liu <chaoliu719@gmail.com>
2025-08-22 10:05:40 +08:00
Chao Liu 45bdb34612 feat: implement AI tag suggestion core logic and API
- Add tag suggestion service with OpenAI integration
- Add memo service API for tag recommendations
- Implement workspace tag management endpoints
- Add rate limiting and caching for AI requests

Signed-off-by: Chao Liu <chaoliu719@gmail.com>
2025-08-22 10:05:40 +08:00
Chao Liu 982ebb5876 chore: generate protobuf code for AI settings
- Update generated Go protobuf files for workspace service
- Add AI settings to OpenAPI specification
- Generate TypeScript types for AI settings frontend

Signed-off-by: Chao Liu <chaoliu719@gmail.com>
2025-08-22 10:05:40 +08:00
Chao Liu 1a58d1c633 feat: add AI settings configuration
- Add AI settings protobuf definitions and workspace service
- Implement AI settings management in backend store
- Add AI settings UI component with localization support
- Integrate AI settings into workspace and settings page

Signed-off-by: Chao Liu <chaoliu719@gmail.com>
2025-08-22 10:05:40 +08:00
Chao Liu f300b9499e feat: add AI settings database migration
- Add ai_setting table schema for v0.26
- Support for MySQL, PostgreSQL, and SQLite databases

Signed-off-by: Chao Liu <chaoliu719@gmail.com>
2025-08-22 10:05:40 +08:00
Chao Liu 070598cbd3 feat: implement AI client with OpenAI integration
- Add plugin/ai/client.go with OpenAI API wrapper
- Add comprehensive test suite for AI client functionality

Signed-off-by: Chao Liu <chaoliu719@gmail.com>
2025-08-22 10:05:40 +08:00
Chao Liu d8bddf3769 feat: add OpenAI Go SDK dependency for AI functionality
- Add github.com/openai/openai-go/v2 for AI features
 - Include required JSON processing dependencies

Signed-off-by: Chao Liu <chaoliu719@gmail.com>
2025-08-22 10:05:40 +08:00
varsnotwars e2454a8ae4
chore: add test for ListMemos (#5015) 2025-08-19 21:57:38 +08:00
boojack c5a61ba89e
chore: tweak README.md
Signed-off-by: boojack <stevenlgtm@gmail.com>
2025-08-18 22:13:58 +08:00
Steven 0d658088dc chore: bump version to 0.25.1 2025-08-18 20:21:30 +08:00
Steven e07e9f2e9f fix: theme selector 2025-08-18 20:08:53 +08:00
varsnotwars fbcdf0fba7
fix update theme not saving (#5012) 2025-08-18 01:39:48 +00:00
Johnny 01d3f2f86c chore: tweak dark theme 2025-08-17 21:11:54 +08:00
Johnny e93f3cbb8b refactor: unify theme and apperance 2025-08-17 11:27:59 +08:00
varsnotwars 4eb5b67baf
feat: attachments by id (#5008) 2025-08-15 22:02:29 +08:00
Amazingca a3add85c95
fix: Update SSO login flow to encode redirect_uri (#5006)
Signed-off-by: Amazingca <autumn@amazingca.dev>
2025-08-15 08:45:19 +08:00
varsnotwars a9508b2546
chore: simplify convert reaction (#5001) 2025-08-14 00:06:23 +08:00
Sara Vieira 51d643c780
chore: default type to text/plain (#4993)
Signed-off-by: Sara Vieira <hey@iamsaravieira.com>
Co-authored-by: boojack <stevenlgtm@gmail.com>
2025-08-13 20:09:02 +08:00
Liu Chao ba7dfb7d98
fix: OpenAPI Parameter Conflict in DeleteMemoTag Endpoint (#4985)
Signed-off-by: ChaoLiu <chaoliu719@gmail.com>
2025-08-13 07:14:18 +08:00
Huang Cheng Ting 5ba81d629c
fix: prevent default focus behavior on open and close events in sheet (#4998) 2025-08-13 07:13:45 +08:00
Johnny 76ca258f23 chore: simplify update user settings 2025-08-11 23:19:56 +08:00
Huang Cheng Ting d86756f104
feat: add an option to auto expand subtags in tree mode (#4994) 2025-08-11 23:05:36 +08:00
varsnotwars 3fd305dce7
fix: preferences being overwritten (#4990) 2025-08-11 22:57:52 +08:00
Neo c76ffb0fe4
chore: adds a check to only query reactions when there are actual memos (#4984) 2025-08-10 14:25:35 +08:00
Jason Shawn D' Souza 1dd25634fd
fix: Midi files show up as playable (#4991) 2025-08-10 14:23:41 +08:00
Neo 6b507ff600
fix: pinned shortcut comparison operators (#4987) 2025-08-10 14:22:54 +08:00
varsnotwars 9f8921d3b9
fix: preference not being saved (#4980)
Signed-off-by: varsnotwars <varsnotwars@protonmail.com>
Co-authored-by: Johnny <yourselfhosted@gmail.com>
2025-08-08 22:50:46 +08:00
Sara Vieira 1f1add1a48
fix: add mime type check for file types (#4981) 2025-08-08 20:39:16 +08:00
Tobias Waslowski 15c146cfc5
feat(editor): create text-based autocompleting commands (#4971) 2025-08-08 18:55:59 +08:00
varsnotwars f4bdfa28a0
feat: filter/method for reactions by content_id (#4969) 2025-08-08 00:00:51 +08:00
Brandon Sprague 931ddb7c1c
chore: add a new LOG_STACKTRACES option (#4973) 2025-08-07 23:56:21 +08:00
Johnny 8576001c83
fix: nl.json
Signed-off-by: Johnny <yourselfhosted@gmail.com>
2025-08-07 14:43:35 +08:00
Stephan Paternotte 1043fc8fba
chore: update nl.json (#4974)
Signed-off-by: Stephan Paternotte <Stephan-P@users.noreply.github.com>
2025-08-07 14:40:53 +08:00
Colin Holzman 8319516d1a
fix: boolean filters (#4966) 2025-08-06 21:06:15 +08:00
johnnyjoy 66b4f583a5 fix: linter 2025-08-06 20:22:20 +08:00
aarohee-he 0f2390a0b7
feat: add tooltips to editor buttons (#4934)
Co-authored-by: Anthony Cooper <antcoop096@gmail.com>
Co-authored-by: aarohee-he <aarohee-he@users.noreply.github.com>
Co-authored-by: Mishti Gala <mishtigala19@gmail.com>
2025-08-06 10:15:06 +08:00
boojack 13957472eb
chore: merge visibility selector into save button
Signed-off-by: boojack <stevenlgtm@gmail.com>
2025-08-06 00:03:59 +08:00
johnnyjoy a5e441b622 chore: tweak dark mdoe styles 2025-08-05 21:07:59 +08:00
Liu Chao 3427ae75ba
fix: resolve gRPC Gateway connection issue when server address is empty (#4968)
Signed-off-by: ChaoLiu <chaoliu719@gmail.com>
2025-08-05 19:42:20 +08:00
johnnyjoy 506b477d50 fix: get user by username 2025-08-04 19:56:12 +08:00
varsnotwars fa2fa8a5d7
refactor: remove call to db for parent memo name (#4947) 2025-08-04 19:39:52 +08:00
Huang Cheng Ting 896a3dccf2
chore: update zh-Hant translation (#4962) 2025-08-04 19:38:58 +08:00
johnnyjoy 34fb3f1514 chore: fix linter 2025-08-03 19:55:04 +08:00
Colin Holzman aae7ec8d1f
fix: calendar filter (#4942) 2025-08-03 19:11:09 +08:00
Maximilian Krauß 4d6042e35f
fix(tags): ensure JSON array elements are properly formatted in SQL queries (#4944) 2025-08-03 19:10:59 +08:00
XIN_____ 9c60165ba1
chore: update zh-Hans.json (#4940) 2025-08-03 19:10:49 +08:00
Andrea Marchetta 71464779dd
fix: change itemCount into an Int64 (#4945) 2025-08-03 19:07:17 +08:00