Copilot
|
a076ce5756
|
feat: Add API key authentication system for external service access (#1757)
* Initial plan
* feat: Add API key authentication system backend
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
* feat: Add API key management UI in frontend sidebar
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
* fix: Correct import paths in API controller groups
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
* fix: Address code review feedback - add i18n and validation
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
* refactor: Enable API key auth on existing endpoints instead of creating separate service API
- Added USER_TOKEN_OR_API_KEY auth type that accepts both authentication methods
- Removed separate /api/service/v1/models endpoints
- Updated existing endpoints (models, bots, pipelines) to accept API keys
- External services can now use API keys to access all existing LangBot APIs
- Updated documentation to reflect unified API approach
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
* docs: Add OpenAPI specification for API key authenticated endpoints
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
* chore: rename openapi spec
* perf: ui and i18n
* fix: ui bug
* chore: tidy docs
* chore: fix linter errors
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
Co-authored-by: Junyan Qin <rockchinq@gmail.com>
|
2025-11-07 14:08:11 +08:00 |
|
Copilot
|
68eb0290e0
|
Fix: Enforce 10MB upload limit for knowledge base with clear error handling (#1755)
* Initial plan
* Set MAX_CONTENT_LENGTH to 10MB and add file size validation
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
* Add custom error handler for 413 RequestEntityTooLarge
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
* Refactor: Extract MAX_FILE_SIZE constant to avoid duplication
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
* Fix file name extraction and add missing file validation
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
* Apply file size validation to all upload endpoints consistently
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
* Add frontend file size validation for knowledge base and plugin uploads
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
* Remove file size validation from plugin uploads, keep only for knowledge base
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
* perf: ui
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
Co-authored-by: Junyan Qin <rockchinq@gmail.com>
|
2025-11-06 18:50:29 +08:00 |
|
WangCham
|
eab08dfbf3
|
fix: format the code
|
2025-08-12 23:13:00 +08:00 |
|
Junyan Qin (Chin)
|
bb672d8f46
|
Merge branch 'master' into feat/rag
|
2025-07-18 00:45:24 +08:00 |
|
Junyan Qin
|
2f2db4d445
|
feat(rag): make embedding and retrieving available
|
2025-07-16 21:17:18 +08:00 |
|
Junyan Qin
|
67bc065ccd
|
chore: stash
|
2025-07-15 22:09:10 +08:00 |
|
Junyan Qin
|
4d0a39eb65
|
chore: switch comments to en
|
2025-07-10 11:01:16 +08:00 |
|
Junyan Qin
|
055b389353
|
style: restrict line-length
|
2025-05-10 18:04:58 +08:00 |
|
Junyan Qin
|
e914d93c25
|
feat: check user existence when authing
|
2025-05-10 15:32:41 +08:00 |
|
Junyan Qin (Chin)
|
209f16af76
|
style: introduce ruff as linter and formatter (#1356)
* style: remove necessary imports
* style: fix F841
* style: fix F401
* style: fix F811
* style: fix E402
* style: fix E721
* style: fix E722
* style: fix E722
* style: fix F541
* style: ruff format
* style: all passed
* style: add ruff in deps
* style: more ignores in ruff.toml
* style: add pre-commit
|
2025-04-29 17:24:07 +08:00 |
|
Junyan Qin
|
47d8358272
|
feat: llmmodels crud
|
2025-03-25 21:37:19 +08:00 |
|
Junyan Qin
|
20e3edba8f
|
feat: 用户账户系统
|
2024-11-17 19:11:44 +08:00 |
|
Junyan Qin
|
d52f9b9543
|
feat(settings): json 编辑器
|
2024-10-15 14:23:56 +08:00 |
|
Junyan Qin
|
1fbc92bc6d
|
perf: 首页展示版本信息
|
2024-10-14 21:18:36 +08:00 |
|
RockChinQ
|
7c3557e943
|
feat: 持久化和 web 接口基础架构
|
2024-10-11 22:27:53 +08:00 |
|