WeKnora/internal
ochan.kwon 5c0cda3630 fix(storage): add S3 provider scheme support to frontend and backend allowlists
The S3 storage adapter (s3.go) was added in e309e0b but the provider
scheme integration was incomplete — ParseProviderScheme() and frontend
security.ts were not updated, causing s3:// URLs to fail in the /files
proxy, VLM image processing, and frontend rendering.

Additionally, S3-compatible services (MinIO, Ceph, etc.) require
path-style addressing (endpoint/bucket/key) but the SDK client only
used virtual-hosted style. The deprecated WithEndpointResolver API
is replaced with BaseEndpoint, and path-style is auto-enabled for
non-AWS endpoints (detected by amazonaws.com in the URL).

Changes:
- types/knowledgebase.go: add "s3" to ParseProviderScheme()
- file/s3.go: auto path-style for S3-compatible endpoints + replace
  deprecated WithEndpointResolver with BaseEndpoint
- frontend/security.ts: add s3 to 5 provider scheme allowlists
- knowledgebase_test.go: add ParseProviderScheme + InferStorage tests
- s3_test.go: add path-style detection + parseS3FilePath tests
2026-03-30 16:57:27 +08:00
..
agent feat: support parallel tool calling 2026-03-30 10:41:08 +08:00
application fix(storage): add S3 provider scheme support to frontend and backend allowlists 2026-03-30 16:57:27 +08:00
common feat: add organization management features 2026-02-09 11:40:25 +08:00
config feat(prompt): enhance context and intent classification in templates 2026-03-26 18:57:12 +08:00
container Add im channel Mattermost 2026-03-27 14:32:07 +08:00
database feat: enhance system information display with database version 2026-03-02 21:21:49 +08:00
errors feat: Add agent configuration and cleanup scripts for database migrations 2025-11-05 23:18:44 +08:00
event refactor(agent): remove query display from DatabaseQuery component and update tool result structure 2026-03-25 22:08:29 +08:00
handler Add im channel Mattermost 2026-03-27 14:32:07 +08:00
im [NELO-1102] feat(im): add thread-based session mode for IM channels 2026-03-30 10:43:14 +08:00
infrastructure feat(image-multimodal): add task enqueuing for question generation based on image knowledge 2026-03-25 22:08:29 +08:00
logger chore: update fallback templates 2026-03-17 22:23:24 +08:00
mcp fix: MCP Client connection state not marked as closed after connection loss in SSE transport type 2026-02-02 10:42:19 +08:00
middleware feat(prompt): enhance context and intent classification in templates 2026-03-26 18:57:12 +08:00
models feat: support system proxy for remote API 2026-03-30 10:46:19 +08:00
router feat(suggested-questions): implement suggested questions feature for chat interface 2026-03-25 22:08:29 +08:00
runtime init commit 2025-08-05 15:08:07 +08:00
sandbox feat: optimize security and deployment of agent skills 2026-02-04 20:08:49 +08:00
searchutil refactor(chat_pipeline): enhance merging logic and add partial overlap removal 2026-03-25 22:08:29 +08:00
stream feat(redis): add REDIS_USERNAME support for Redis ACL 2026-02-04 19:38:40 +08:00
tracing init commit 2025-08-05 15:08:07 +08:00
types fix(storage): add S3 provider scheme support to frontend and backend allowlists 2026-03-30 16:57:27 +08:00
utils feat: support system proxy for remote API 2026-03-30 10:46:19 +08:00