mirror of
https://github.com/jeffusion/gitea-ai-assistant.git
synced 2026-05-22 07:26:46 +00:00
Replace env-var based config with DB-first approach (Portainer model). Only PORT, DATABASE_PATH, and MASTER_KEY_PATH remain as env vars. All other settings (Gitea, Feishu, security, review engine, memory) are managed through the Admin Dashboard Web UI backed by system_settings table. - ConfigManager rewrites getRawValue() to read from settingsRepo with fallback to compiled-in defaults (no more process.env reads) - seedDefaults() auto-generates JWT_SECRET and WEBHOOK_SECRET on first boot - getSource() returns 'db' | 'default' (removed 'env' source type) - Merged 'app'+'admin' config groups into 'security' group - Removed PORT from CONFIG_FIELDS (env-var only) - Removed readonly/readonlyWarning from all field definitions