Checkpoint: Sauvegarde complète de l'application avec toutes les modifications récentes :
Corrections d'affichage du formateur : - Correction du placeholder "Sélectionner un formateur (optionnel)" en "Sélectionner un formateur" dans le formulaire de modification de séquence - Ajout d'une colonne "Formateur" dans le tableau de la liste des séquences - Le formateur s'affiche maintenant dans la liste avec "-" si non assigné Corrections d'affichage du nom de formation : - Création de la fonction getSequencesWithFormation() qui récupère les informations de formation via jointure - Mise à jour de la procédure sequences.list pour utiliser cette nouvelle fonction - Le nom de la formation s'affiche maintenant correctement dans le calendrier et les détails de séquence Nettoyage de la base de données : - Suppression de tous les utilisateurs sauf les 4 spécifiés (IDs: 1110110, 2010001, 2040001, 2070001) - La table utilisateurs ne contient maintenant que les utilisateurs autorisés
This commit is contained in:
3895
.manus/db/db-query-1763573670421.json
Normal file
3895
.manus/db/db-query-1763573670421.json
Normal file
File diff suppressed because one or more lines are too long
9
.manus/db/db-query-1763573686454.json
Normal file
9
.manus/db/db-query-1763573686454.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"query": "DELETE FROM users WHERE id NOT IN (1110110, 2010001, 2040001, 2070001)",
|
||||||
|
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway02.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 4CrrYuB5tme73Qo.root --database 7PAT67UmWoxv8vwp8Bbcv6 --execute DELETE FROM users WHERE id NOT IN (1110110, 2010001, 2040001, 2070001)",
|
||||||
|
"rows": [],
|
||||||
|
"messages": [],
|
||||||
|
"stdout": "",
|
||||||
|
"stderr": "",
|
||||||
|
"execution_time_ms": 66
|
||||||
|
}
|
||||||
52
.manus/db/db-query-1763573705066.json
Normal file
52
.manus/db/db-query-1763573705066.json
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
{
|
||||||
|
"query": "SELECT id, openId, name, email, role FROM users ORDER BY id",
|
||||||
|
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway02.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 4CrrYuB5tme73Qo.root --database 7PAT67UmWoxv8vwp8Bbcv6 --execute SELECT id, openId, name, email, role FROM users ORDER BY id",
|
||||||
|
"rows": [
|
||||||
|
{
|
||||||
|
"id": "1110110",
|
||||||
|
"openId": "",
|
||||||
|
"name": "Dua LIPA",
|
||||||
|
"email": "opareige@gmail.com",
|
||||||
|
"role": "admin"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2010001",
|
||||||
|
"openId": "",
|
||||||
|
"name": "Olivier Pareige",
|
||||||
|
"email": "o.pareige@itinova.org",
|
||||||
|
"role": "admin"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2040001",
|
||||||
|
"openId": "",
|
||||||
|
"name": "Test Utilisateur",
|
||||||
|
"email": "test@itinova.org",
|
||||||
|
"role": "user"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2070001",
|
||||||
|
"openId": "PdkqbRJkpFYtceh4p8f3Wh",
|
||||||
|
"name": "olivier pareige",
|
||||||
|
"email": "o.pareige@itinova.org",
|
||||||
|
"role": "admin"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2400136",
|
||||||
|
"openId": "PdkqbRJkpFYtceh4p8f3Wh",
|
||||||
|
"name": "NULL",
|
||||||
|
"email": "NULL",
|
||||||
|
"role": "admin"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2400137",
|
||||||
|
"openId": "PdkqbRJkpFYtceh4p8f3Wh",
|
||||||
|
"name": "NULL",
|
||||||
|
"email": "NULL",
|
||||||
|
"role": "admin"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"messages": [],
|
||||||
|
"stdout": "id\topenId\tname\temail\trole\n1110110\t\tDua LIPA\topareige@gmail.com\tadmin\n2010001\t\tOlivier Pareige\to.pareige@itinova.org\tadmin\n2040001\t\tTest Utilisateur\ttest@itinova.org\tuser\n2070001\tPdkqbRJkpFYtceh4p8f3Wh\tolivier pareige\to.pareige@itinova.org\tadmin\n2400136\tPdkqbRJkpFYtceh4p8f3Wh\tNULL\tNULL\tadmin\n2400137\tPdkqbRJkpFYtceh4p8f3Wh\tNULL\tNULL\tadmin\n",
|
||||||
|
"stderr": "",
|
||||||
|
"execution_time_ms": 47
|
||||||
|
}
|
||||||
58
.manus/db/db-query-1763573715401.json
Normal file
58
.manus/db/db-query-1763573715401.json
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
{
|
||||||
|
"query": "SELECT id, openId, name, email, role, createdAt FROM users ORDER BY id",
|
||||||
|
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway02.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 4CrrYuB5tme73Qo.root --database 7PAT67UmWoxv8vwp8Bbcv6 --execute SELECT id, openId, name, email, role, createdAt FROM users ORDER BY id",
|
||||||
|
"rows": [
|
||||||
|
{
|
||||||
|
"id": "1110110",
|
||||||
|
"openId": "",
|
||||||
|
"name": "Dua LIPA",
|
||||||
|
"email": "opareige@gmail.com",
|
||||||
|
"role": "admin",
|
||||||
|
"createdAt": "2025-11-17 21:25:48"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2010001",
|
||||||
|
"openId": "",
|
||||||
|
"name": "Olivier Pareige",
|
||||||
|
"email": "o.pareige@itinova.org",
|
||||||
|
"role": "admin",
|
||||||
|
"createdAt": "2025-11-19 09:57:19"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2040001",
|
||||||
|
"openId": "",
|
||||||
|
"name": "Test Utilisateur",
|
||||||
|
"email": "test@itinova.org",
|
||||||
|
"role": "user",
|
||||||
|
"createdAt": "2025-11-19 10:31:23"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2070001",
|
||||||
|
"openId": "PdkqbRJkpFYtceh4p8f3Wh",
|
||||||
|
"name": "olivier pareige",
|
||||||
|
"email": "o.pareige@itinova.org",
|
||||||
|
"role": "admin",
|
||||||
|
"createdAt": "2025-11-19 13:56:21"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2400136",
|
||||||
|
"openId": "PdkqbRJkpFYtceh4p8f3Wh",
|
||||||
|
"name": "NULL",
|
||||||
|
"email": "NULL",
|
||||||
|
"role": "admin",
|
||||||
|
"createdAt": "2025-11-19 17:34:56"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2400137",
|
||||||
|
"openId": "PdkqbRJkpFYtceh4p8f3Wh",
|
||||||
|
"name": "NULL",
|
||||||
|
"email": "NULL",
|
||||||
|
"role": "admin",
|
||||||
|
"createdAt": "2025-11-19 17:34:57"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"messages": [],
|
||||||
|
"stdout": "id\topenId\tname\temail\trole\tcreatedAt\n1110110\t\tDua LIPA\topareige@gmail.com\tadmin\t2025-11-17 21:25:48\n2010001\t\tOlivier Pareige\to.pareige@itinova.org\tadmin\t2025-11-19 09:57:19\n2040001\t\tTest Utilisateur\ttest@itinova.org\tuser\t2025-11-19 10:31:23\n2070001\tPdkqbRJkpFYtceh4p8f3Wh\tolivier pareige\to.pareige@itinova.org\tadmin\t2025-11-19 13:56:21\n2400136\tPdkqbRJkpFYtceh4p8f3Wh\tNULL\tNULL\tadmin\t2025-11-19 17:34:56\n2400137\tPdkqbRJkpFYtceh4p8f3Wh\tNULL\tNULL\tadmin\t2025-11-19 17:34:57\n",
|
||||||
|
"stderr": "",
|
||||||
|
"execution_time_ms": 57
|
||||||
|
}
|
||||||
9
.manus/db/db-query-1763573750099.json
Normal file
9
.manus/db/db-query-1763573750099.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"query": "DELETE FROM users WHERE id IN (2400136, 2400137, 2400138)",
|
||||||
|
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway02.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 4CrrYuB5tme73Qo.root --database 7PAT67UmWoxv8vwp8Bbcv6 --execute DELETE FROM users WHERE id IN (2400136, 2400137, 2400138)",
|
||||||
|
"rows": [],
|
||||||
|
"messages": [],
|
||||||
|
"stdout": "",
|
||||||
|
"stderr": "",
|
||||||
|
"execution_time_ms": 51
|
||||||
|
}
|
||||||
40
.manus/db/db-query-1763573755597.json
Normal file
40
.manus/db/db-query-1763573755597.json
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"query": "SELECT id, name, email, role FROM users ORDER BY id",
|
||||||
|
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway02.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 4CrrYuB5tme73Qo.root --database 7PAT67UmWoxv8vwp8Bbcv6 --execute SELECT id, name, email, role FROM users ORDER BY id",
|
||||||
|
"rows": [
|
||||||
|
{
|
||||||
|
"id": "1110110",
|
||||||
|
"name": "Dua LIPA",
|
||||||
|
"email": "opareige@gmail.com",
|
||||||
|
"role": "admin"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2010001",
|
||||||
|
"name": "Olivier Pareige",
|
||||||
|
"email": "o.pareige@itinova.org",
|
||||||
|
"role": "admin"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2040001",
|
||||||
|
"name": "Test Utilisateur",
|
||||||
|
"email": "test@itinova.org",
|
||||||
|
"role": "user"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2070001",
|
||||||
|
"name": "olivier pareige",
|
||||||
|
"email": "o.pareige@itinova.org",
|
||||||
|
"role": "admin"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2400139",
|
||||||
|
"name": "NULL",
|
||||||
|
"email": "NULL",
|
||||||
|
"role": "admin"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"messages": [],
|
||||||
|
"stdout": "id\tname\temail\trole\n1110110\tDua LIPA\topareige@gmail.com\tadmin\n2010001\tOlivier Pareige\to.pareige@itinova.org\tadmin\n2040001\tTest Utilisateur\ttest@itinova.org\tuser\n2070001\tolivier pareige\to.pareige@itinova.org\tadmin\n2400139\tNULL\tNULL\tadmin\n",
|
||||||
|
"stderr": "",
|
||||||
|
"execution_time_ms": 48
|
||||||
|
}
|
||||||
9
.manus/db/db-query-1763573790800.json
Normal file
9
.manus/db/db-query-1763573790800.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"query": "DELETE FROM users WHERE id NOT IN (1110110, 2010001, 2040001, 2070001)",
|
||||||
|
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway02.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 4CrrYuB5tme73Qo.root --database 7PAT67UmWoxv8vwp8Bbcv6 --execute DELETE FROM users WHERE id NOT IN (1110110, 2010001, 2040001, 2070001)",
|
||||||
|
"rows": [],
|
||||||
|
"messages": [],
|
||||||
|
"stdout": "",
|
||||||
|
"stderr": "",
|
||||||
|
"execution_time_ms": 55
|
||||||
|
}
|
||||||
13
.manus/db/db-query-1763573796007.json
Normal file
13
.manus/db/db-query-1763573796007.json
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"query": "SELECT COUNT(*) as total FROM users",
|
||||||
|
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway02.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 4CrrYuB5tme73Qo.root --database 7PAT67UmWoxv8vwp8Bbcv6 --execute SELECT COUNT(*) as total FROM users",
|
||||||
|
"rows": [
|
||||||
|
{
|
||||||
|
"total": "4"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"messages": [],
|
||||||
|
"stdout": "total\n4\n",
|
||||||
|
"stderr": "",
|
||||||
|
"execution_time_ms": 52
|
||||||
|
}
|
||||||
9
.manus/db/db-query-1763573831125.json
Normal file
9
.manus/db/db-query-1763573831125.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"query": "DELETE FROM users WHERE id NOT IN (1110110, 2010001, 2040001, 2070001)",
|
||||||
|
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway02.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 4CrrYuB5tme73Qo.root --database 7PAT67UmWoxv8vwp8Bbcv6 --execute DELETE FROM users WHERE id NOT IN (1110110, 2010001, 2040001, 2070001)",
|
||||||
|
"rows": [],
|
||||||
|
"messages": [],
|
||||||
|
"stdout": "",
|
||||||
|
"stderr": "",
|
||||||
|
"execution_time_ms": 58
|
||||||
|
}
|
||||||
34
.manus/db/db-query-1763573837257.json
Normal file
34
.manus/db/db-query-1763573837257.json
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"query": "SELECT id, name, email, role FROM users ORDER BY id",
|
||||||
|
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway02.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 4CrrYuB5tme73Qo.root --database 7PAT67UmWoxv8vwp8Bbcv6 --execute SELECT id, name, email, role FROM users ORDER BY id",
|
||||||
|
"rows": [
|
||||||
|
{
|
||||||
|
"id": "1110110",
|
||||||
|
"name": "Dua LIPA",
|
||||||
|
"email": "opareige@gmail.com",
|
||||||
|
"role": "admin"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2010001",
|
||||||
|
"name": "Olivier Pareige",
|
||||||
|
"email": "o.pareige@itinova.org",
|
||||||
|
"role": "admin"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2040001",
|
||||||
|
"name": "Test Utilisateur",
|
||||||
|
"email": "test@itinova.org",
|
||||||
|
"role": "user"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2070001",
|
||||||
|
"name": "olivier pareige",
|
||||||
|
"email": "o.pareige@itinova.org",
|
||||||
|
"role": "admin"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"messages": [],
|
||||||
|
"stdout": "id\tname\temail\trole\n1110110\tDua LIPA\topareige@gmail.com\tadmin\n2010001\tOlivier Pareige\to.pareige@itinova.org\tadmin\n2040001\tTest Utilisateur\ttest@itinova.org\tuser\n2070001\tolivier pareige\to.pareige@itinova.org\tadmin\n",
|
||||||
|
"stderr": "",
|
||||||
|
"execution_time_ms": 50
|
||||||
|
}
|
||||||
6
todo.md
6
todo.md
@@ -332,3 +332,9 @@
|
|||||||
- [x] Corriger le placeholder "Sélectionner un formateur (optionnel)" en "Sélectionner un formateur" dans le formulaire de modification de séquence
|
- [x] Corriger le placeholder "Sélectionner un formateur (optionnel)" en "Sélectionner un formateur" dans le formulaire de modification de séquence
|
||||||
- [x] Ajouter l'affichage du formateur dans la liste des séquences (AdminSequences)
|
- [x] Ajouter l'affichage du formateur dans la liste des séquences (AdminSequences)
|
||||||
- [x] Tester les modifications
|
- [x] Tester les modifications
|
||||||
|
|
||||||
|
## Nettoyage de la table utilisateurs
|
||||||
|
|
||||||
|
- [x] Vérifier les utilisateurs existants dans la base de données
|
||||||
|
- [x] Supprimer tous les utilisateurs sauf les 4 spécifiés (IDs: 1110110, 2010001, 2040001, 2070001)
|
||||||
|
- [x] Vérifier que la suppression a réussi
|
||||||
|
|||||||
Reference in New Issue
Block a user