Commit Graph

15 Commits

Author SHA1 Message Date
renjue 3c2285922e Fix CI go test by committing embed placeholder for web/dist.
CI / docker (push) Failing after 2m2s
Keep a minimal dist/index.html in version control so go:embed succeeds
when CI checks out without a frontend build; ignore other dist artifacts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-23 21:13:39 +08:00
renjue a831012c48 Add Gitea CI, align Docker for multi-arch, and drop legacy YAML config.
CI / docker (push) Failing after 1m35s
Introduce Gitea Actions workflow and CI-aligned Dockerfile; remove file-based
config in favor of SQLite settings; refresh branding and tighten gitignore.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-23 21:10:38 +08:00
renjue aca63d7526 Add model aliases, routing UX, and admin hardening.
Support ingress-facing model aliases with upstream rewrite, category-aware health checks, provider name validation, modal click-outside guard, and dropdown-based routing rule targets.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-21 02:49:49 +08:00
renjue af1f714fa2 Fix models drawer crash when provider has no models.
Return empty arrays from GetModels and normalize null API responses so the admin UI never reads length on null.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-21 02:03:17 +08:00
renjue e780197641 Fix provider admin UI and harden model management APIs.
Category-scoped protocol types, manual model add/delete, and safer sync behavior so egress configuration and model tables stay consistent.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-21 01:36:04 +08:00
renjue 694e3a8a4a Add image predictions, embedding/rerank egress, and Alpine Docker build.
Introduce ComfyUI workflow models with Replicate-style predictions API, complete embedding and Cohere-compatible rerank proxying, and rebuild images for linux/amd64 via docker.1panel.live.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-21 00:30:23 +08:00
renjue bd39a4cc05 Align admin frontend with UI design system, i18n, and dashboard charts.
Refactor theme and pages to match UI-DESIGN-SYSTEM.md, add zh/en i18n with Element Plus locale sync, and expose 24h request trend data for ECharts on the dashboard.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-18 17:49:37 +08:00
renjue ad6e192522 Unify admin UI typography with design system tokens.
Add font-size scale, harmonize Element Plus form and table text, fix settings label wrapping, and align body colors with the spec.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 22:36:10 +08:00
renjue af63df2391 Align admin UI spacing with the design system tokens.
Centralize spacing in theme.css, adopt card-toolbar/card-pager utilities, and remove per-page inline margins across all views.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 22:23:09 +08:00
renjue 7ab3bd9eff Move runtime configuration to admin UI and database.
Remove config-file validation that blocked startup; settings are stored in SQLite and editable from the system settings page, with optional legacy yaml import on first boot.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 16:32:35 +08:00
renjue 6ceda9e6f3 Include admin login attempts in request logs.
Record success and failure login events alongside API usage logs, with username-only request bodies and UI filters for admin_login entries.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 20:27:48 +08:00
renjue 29ace20d92 Improve request logs, IP rule safety, and add container recovery tooling.
Request logs now retain 500 records with pagination, filters, ingress names, and request/response bodies. IP rules default to proxy scope with loopback equivalence and schema migration to prevent admin lockout. Add luminary-recover CLI and script for password reset, IP rule cleanup, and login cooldown recovery without rebuilding the image.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 19:00:48 +08:00
renjue 495e6b29e7 Add provider model toggles, /v1/responses proxy, and upsert model sync.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 17:47:05 +08:00
renjue e6ce021289 Show provider models in egress UI and use multi-select ingress whitelists.
List models on providers API, expand rows in egress management, and replace JSON text inputs with provider/model pickers where empty means allow all.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 16:27:47 +08:00
renjue 30c94aac92 Add Luminary AI gateway: Go backend, Vue admin UI, and Docker deploy.
Push full source so container entrypoint can clone, build, and run from git.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 15:59:43 +08:00