mateclaw/mateclaw-server/src/main/java/vip/mate
matevip 03c8584910 fix(channels): resolve issue #19 — non-admin member errors on channel page
Three bugs surfaced when a non-admin workspace member opened the channel
admin page:

- vue-i18n "Invalid linked format" when '@' appeared in message strings
  without the linked-format escape. Replaced literal '@' with vue-i18n v9
  literal interpolation {'@'} in both zh-CN.ts and en-US.ts (6 strings:
  QQ guide step3, accessControl requireMention/Tooltip).

- 403 from WorkspaceAccessInterceptor was being treated as 401 by the
  axios interceptor and the chat SSE handler, clearing the token and
  redirecting to /login. Split the two:
    * 401 = authentication failure  -> handleAuthFailure (logout)
    * 403 = authorization failure   -> keep session, surface to caller
  Now a member who lacks workspace permission sees a toast instead of
  being silently logged out.

- Two backend exception sites threw with the default code=500 for what
  is semantically an auth/authz event, contradicting the codes returned
  elsewhere for the same business event:
    * AuthService.login() bad credentials  500 -> 401
    * WorkspaceService.requirePermission() 500 -> 403
  This aligns service-layer denials with SecurityConfig (401 for missing
  JWT) and WorkspaceAccessInterceptor (403 for permission denied), so
  the same business event always produces the same code.
2026-04-27 19:31:46 +08:00
..
agent refactor(bootstrap): drop legacy tools-sync.sql in favor of per-tool Flyway migrations 2026-04-27 14:00:08 +08:00
approval refactor(approval): unify state machine across DB/metadata/memory 2026-04-27 19:30:52 +08:00
audit feat(platform): workspace isolation, info architecture, and UI redesign 2026-04-09 16:29:02 +08:00
auth fix(channels): resolve issue #19 — non-admin member errors on channel page 2026-04-27 19:31:46 +08:00
channel refactor(approval): unify state machine across DB/metadata/memory 2026-04-27 19:30:52 +08:00
common feat: 5 defensive hardenings 2026-04-15 22:14:55 +08:00
config refactor(bootstrap): drop legacy tools-sync.sql in favor of per-tool Flyway migrations 2026-04-27 14:00:08 +08:00
cron refactor(memory): unify ConversationCompletedEvent publish 2026-04-23 08:09:48 +08:00
dashboard feat(wiki): real-time SSE progress + parallel page generation + partial-resume; fix concurrent slug collisions; fix skill overwrite + hub retry 2026-04-15 10:34:11 +08:00
datasource refactor(db): drop @TableLogic on all entities, purge soft-deleted rows 2026-04-18 23:31:48 +08:00
exception fix(security): remove debug console.log and hide internal error details 2026-04-11 18:26:41 +08:00
hook chore(channel): remove stale external-reference comments; fix(wiki): canonical slug lookup on merge path 2026-04-15 16:44:02 +08:00
i18n refactor(prompt): clean up prompt corpus, fix summary_budget bug, route fallbacks through i18n 2026-04-19 09:02:37 +08:00
llm feat(deepseek): integrate DeepSeek V4 (flash + pro) with thinking-mode support 2026-04-26 08:34:34 +08:00
memory feat(agent): Utf8SseEmitter + returnDirect end-to-end chain test 2026-04-26 08:32:44 +08:00
planning refactor(db): drop @TableLogic on all entities, purge soft-deleted rows 2026-04-18 23:31:48 +08:00
plugin refactor(db): drop @TableLogic on all entities, purge soft-deleted rows 2026-04-18 23:31:48 +08:00
skill fix(skill): resolve tool deps by runtime function name, not class/bean name 2026-04-24 23:24:34 +08:00
stt feat(stt): DashScope realtime voice + language-aware routing + TalkMode polish 2026-04-26 16:37:55 +08:00
system feat(minimax): expand video model catalog + add CN endpoint support 2026-04-26 08:34:35 +08:00
task feat(image,tts): add image generation with 4 providers and TTS with 3 providers 2026-04-07 22:14:31 +08:00
tool refactor(bootstrap): drop legacy tools-sync.sql in favor of per-tool Flyway migrations 2026-04-27 14:00:08 +08:00
tts fix(wiki): backend hardening + batch delete UI 2026-04-13 15:37:12 +08:00
wiki feat(wiki): download original raw material file 2026-04-26 20:46:52 +08:00
workspace fix(channels): resolve issue #19 — non-admin member errors on channel page 2026-04-27 19:31:46 +08:00
MateClawApplication.java fix(pagination): auto-detect DbType for correct total counts on MySQL 2026-04-24 06:55:19 +08:00