Ubuntu
|
b5c4d4a336
|
feat(auth): add JWT login screen, production Dockerfile and Azure Container App Bicep
- Backend: POST /api/auth/login endpoint (PyJWT HS256, 24h expiry)
require_auth before_request middleware protecting all /api/* routes
except /login and /health; wsgi.py entry point for gunicorn;
Flask serves compiled Vue SPA in production
- Frontend: LoginView.vue (MiroFish dark aesthetic), auth.js reactive
store, Axios Bearer token injection + 401 → /login redirect,
Vue Router global guard protecting all routes
- i18n: login keys added to en/zh/es/ca locale files
- Dockerfile: multi-stage build (node:20-slim → python:3.11-slim +
gunicorn), single port 5001
- Azure: container-app.bicep following CTTI guidelines — Log Analytics
(NOR0016-C 90d retention), Container Apps Environment, all .env vars
as env vars (secrets via secretRef, plain values inline)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-24 18:46:39 +00:00 |
ghostubborn
|
c6cafdd532
|
fix(i18n): translate world1/world2 platform labels in interview tool display
|
2026-04-01 18:38:22 +08:00 |
ghostubborn
|
5072a2eaa8
|
feat(i18n): replace Chinese UI text in Step4Report.vue render functions
Only UI display text is replaced. Regex parsing patterns are kept as-is
since they match the backend output format.
|
2026-04-01 18:35:18 +08:00 |
ghostubborn
|
1d358fc492
|
feat(i18n): replace expand/collapse Chinese text in Step4Report.vue
|
2026-04-01 17:44:45 +08:00 |
ghostubborn
|
380e456d41
|
fix(i18n): replace hardcoded Chinese stage names in simulation prepare SSE
|
2026-04-01 17:31:00 +08:00 |
ghostubborn
|
0e55e4cf6b
|
feat(i18n): replace remaining Chinese in config generator and profile generator
Also update simulation prompts to be locale-neutral for timezone/schedule.
|
2026-04-01 17:19:12 +08:00 |
ghostubborn
|
592ee52f59
|
feat(i18n): replace remaining hardcoded Chinese in progress callbacks
|
2026-04-01 16:53:29 +08:00 |
ghostubborn
|
9d43b77511
|
feat(i18n): replace hardcoded Chinese in backend SSE progress messages
|
2026-04-01 16:32:10 +08:00 |
ghostubborn
|
fc47ae81b5
|
feat(i18n): replace hardcoded Chinese in frontend components with i18n calls
Replace all user-visible hardcoded Chinese strings in 7 component files
with $t() / t() calls using vue-i18n:
- Step1GraphBuild: ontology generation, graph build, status badges
- Step2EnvSetup: simulation setup, agent personas, platform config,
time config, initial activation, modal profile details
- Step3Simulation: report generation button
- Step4Report: section loading text, interaction button
- Step5Interaction: chat interface, survey UI, tool descriptions,
error messages, agent selection
- GraphPanel: graph status hints, loading states, tooltips
- HistoryDatabase: history cards, modal, replay buttons
Added missing translation keys to both zh.json and en.json locale files.
Added useI18n imports to components that need script-level translations.
|
2026-04-01 15:43:11 +08:00 |
ghostubborn
|
74f673a238
|
feat(i18n): replace hardcoded Chinese in backend API responses with t() calls
|
2026-04-01 15:32:24 +08:00 |
ghostubborn
|
c8a1bd5cbf
|
feat(i18n): add shared translation files and language registry
|
2026-04-01 15:20:49 +08:00 |