Phase 13 : sogoms-cron
- Jobs planifiés avec schedule cron standard
- Types: query_email, http, service
- Actions: list, trigger, status
Phase 16 : Réorganisation config/apps/{app}/
- Tous les fichiers d'une app dans un seul dossier
- Migration prokov vers nouvelle structure
Phase 17 : sogoms-admin
- Interface web d'administration (Go templates + htmx)
- Auth sessions cookies signées HMAC-SHA256
- Rôles super_admin / app_admin avec permissions
Phase 19 : Création d'app via Admin UI
- Formulaire création app avec config DB/auth
- Bouton "Scanner la base" : introspection + schema.yaml
- Rechargement automatique sogoway via SIGHUP
Infrastructure :
- sogoctl : socket de contrôle /run/sogoctl.sock
- sogoway : reload config sur SIGHUP sans restart
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
59 lines
1.4 KiB
HTML
59 lines
1.4 KiB
HTML
{{define "apps.html"}}
|
|
{{template "partials/header.html" .}}
|
|
|
|
<div style="display: flex; justify-content: space-between; align-items: center;">
|
|
<h1>Applications</h1>
|
|
{{if .IsSuperAdmin}}
|
|
<a href="/admin/apps/new" role="button">+ Nouvelle App</a>
|
|
{{end}}
|
|
</div>
|
|
|
|
{{if .Apps}}
|
|
<div class="apps-list">
|
|
{{range .Apps}}
|
|
<article>
|
|
<header>
|
|
<strong>{{.App}}</strong>
|
|
{{if .Version}}<small>v{{.Version}}</small>{{end}}
|
|
</header>
|
|
|
|
<dl>
|
|
<dt>Hosts</dt>
|
|
<dd>
|
|
{{range .Hosts}}
|
|
<code>{{.}}</code><br>
|
|
{{end}}
|
|
</dd>
|
|
|
|
<dt>Base Path</dt>
|
|
<dd><code>{{.BasePath}}</code></dd>
|
|
|
|
<dt>Database</dt>
|
|
<dd>
|
|
<code>{{.Database.User}}@{{.Database.Host}}:{{.Database.Port}}/{{.Database.Name}}</code>
|
|
</dd>
|
|
|
|
{{if .Schema}}
|
|
<dt>Tables (schema)</dt>
|
|
<dd>{{.SchemaTableCount}} tables</dd>
|
|
{{end}}
|
|
|
|
{{if .Queries}}
|
|
<dt>Queries</dt>
|
|
<dd>{{.QueriesCount}} fichiers</dd>
|
|
{{end}}
|
|
</dl>
|
|
|
|
<footer>
|
|
<a href="/admin/apps/{{.App}}" role="button" class="outline">Détails</a>
|
|
</footer>
|
|
</article>
|
|
{{end}}
|
|
</div>
|
|
{{else}}
|
|
<p>Aucune application configurée.</p>
|
|
{{end}}
|
|
|
|
{{template "partials/footer.html" .}}
|
|
{{end}}
|