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>
26 lines
852 B
YAML
26 lines
852 B
YAML
# Requêtes d'authentification
|
|
|
|
# Données chargées après login réussi
|
|
login_data:
|
|
projects: >
|
|
SELECT id, parent_id, name, description, position, created_at, updated_at
|
|
FROM projects WHERE user_id = ? ORDER BY position
|
|
tasks: >
|
|
SELECT id, project_id, status_id, title, description, priority,
|
|
date_start, date_end, time_estimated, time_spent, billing, position,
|
|
created_at, updated_at
|
|
FROM tasks WHERE user_id = ? ORDER BY position
|
|
tags: >
|
|
SELECT id, name, color, created_at
|
|
FROM tags WHERE user_id = ?
|
|
statuses: >
|
|
SELECT id, project_id, code, name, color, position, created_at
|
|
FROM statuses WHERE user_id = ? ORDER BY code
|
|
|
|
# Requêtes unitaires
|
|
user_by_email: >
|
|
SELECT id, email, name, password FROM users WHERE email = ?
|
|
|
|
user_by_id: >
|
|
SELECT id, email, name, created_at FROM users WHERE id = ?
|