17:51
231
output/ticket_T0167/T0167_20250403_174954/all_messages.json
Normal file
111
output/ticket_T0167/T0167_20250403_174954/all_messages.txt
Normal file
@ -0,0 +1,111 @@
|
||||
TICKET: T0167 - Pb d'affaire/chantier/partie dans un programme d'essai
|
||||
Date d'extraction: 2025-04-03 17:49:56
|
||||
Nombre de messages: 5
|
||||
|
||||
================================================================================
|
||||
|
||||
********************************************************************************
|
||||
*** MESSAGE TRANSFÉRÉ ***
|
||||
********************************************************************************
|
||||
|
||||
DATE: 2020-04-27 06:20:22
|
||||
DE: Youness BENDEQ
|
||||
OBJET: Pb d'affaire/chantier/partie dans un programme d'essai
|
||||
|
||||
\-------- Message transféré -------- Sujet : | De retour !
|
||||
---|---
|
||||
Date : | Mon, 20 Apr 2020 14:52:05 +0000
|
||||
De : | LENEVEU Guillaume [](mailto:Guillaume.LENEVEU@calvados.fr)
|
||||
Pour : | Youness BENDEQ [](mailto:youness.bendeq@cbao.fr)
|
||||
|
||||
Bonjour Youness,
|
||||
|
||||
J’espère que tu vas bien ainsi que toute l’équipe BRG-LAB.
|
||||
|
||||
Je viens vers toi car Mr NOVO m’a fait remonter un léger beug sur le numéro d’échantillon B2020-0001 (Voir PJ). En effet, il n’arrive pas à mettre le nom de la partie dans la partie ( en rouge sur la PJ). Il faudrait mettre « joint de chaussée côté giberville » comme stipulé dans le numéro d’affaire -> 20017 SETR -> LIAISON RD403 – RD402 DESSERTE PORTUAIRE VIADUC -> JOINT DE CHAUSSEE COTE GIBERVILLE.
|
||||
|
||||
J’ai essayé de modifié la partie mais je n’y arrive pas.
|
||||
|
||||
Merci de ta réponse.
|
||||
|
||||
Bonne fin de journée.
|
||||
|
||||
**Cordialement,
|
||||
|
||||
**
|
||||
|
||||
**Guillaume LENEVEU**
|
||||
|
||||
DGA Aménagement et Environnement Direction de l’eau et des Risques Adjoint au Chef du service Laboratoire Routes et Matériaux 24 rue des Monts Panneaux ZI Ouest
|
||||
|
||||
14650 Carpiquet
|
||||
|
||||
**Tél.** 02 31 26 52 62
|
||||
|
||||
**Port.** 06 11 39 10 60
|
||||
|
||||
**Fax.** 02 31 26 99 38 **Mail.**_[guillaume.leneveu@calvados.fr](mailto:guillaume.leneveu@calvados.fr)
|
||||
|
||||
_
|
||||
|
||||

|
||||
|
||||
|
||||
**************************************************************************************************
|
||||
« Cette transmission contient des informations confidentielles et/ou personnelles
|
||||
appartenant au conseil départemental du Calvados pour être utilisées exclusivement par le
|
||||
destinataire. Toute utilisation, reproduction, publication, diffusion en l'état ou
|
||||
partiellement par une autre personne que le destinataire est interdite, sauf autorisation
|
||||
expresse du conseil départemental du Calvados. En cas d'erreur de transmission, merci de
|
||||
détruire le(s) document(s) reçu(s). Le conseil départemental du Calvados n'est pas
|
||||
responsable des virus, altérations, falsifications.
|
||||
Droits réservés - conseil départemental du Calvados».
|
||||
**************************************************************************************************
|
||||
|
||||
---
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
********************************************************************************
|
||||
*** CHANGEMENT D'ÉTAT ***
|
||||
********************************************************************************
|
||||
|
||||
DATE: 2020-04-27 06:21:37
|
||||
DE: OdooBot
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
********************************************************************************
|
||||
*** CHANGEMENT D'ÉTAT ***
|
||||
********************************************************************************
|
||||
|
||||
DATE: 2020-04-27 07:19:57
|
||||
DE: Youness BENDEQ
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
********************************************************************************
|
||||
*** CHANGEMENT D'ÉTAT ***
|
||||
********************************************************************************
|
||||
|
||||
DATE: 2020-04-27 07:20:20
|
||||
DE: Youness BENDEQ
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
********************************************************************************
|
||||
*** CHANGEMENT D'ÉTAT ***
|
||||
********************************************************************************
|
||||
|
||||
DATE: 2020-04-27 07:24:40
|
||||
DE: Youness BENDEQ
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
After Width: | Height: | Size: 249 KiB |
|
After Width: | Height: | Size: 24 KiB |
@ -0,0 +1,38 @@
|
||||
[
|
||||
{
|
||||
"id": 32382,
|
||||
"name": "Problème partie.png",
|
||||
"mimetype": "image/png",
|
||||
"file_size": 255246,
|
||||
"create_date": "2020-04-27 06:21:36",
|
||||
"create_uid": [
|
||||
1,
|
||||
"OdooBot"
|
||||
],
|
||||
"description": "Problème partie.png",
|
||||
"res_name": "[T0167] Pb d'affaire/chantier/partie dans un programme d'essai",
|
||||
"creator_name": "OdooBot",
|
||||
"creator_id": 1,
|
||||
"download_status": "success",
|
||||
"local_path": "output/ticket_T0167/T0167_20250403_174954/attachments/Probleme_partie.png",
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"id": 32380,
|
||||
"name": "image001.png",
|
||||
"mimetype": "image/png",
|
||||
"file_size": 25085,
|
||||
"create_date": "2020-04-27 06:21:36",
|
||||
"create_uid": [
|
||||
1,
|
||||
"OdooBot"
|
||||
],
|
||||
"description": "image001.png",
|
||||
"res_name": "[T0167] Pb d'affaire/chantier/partie dans un programme d'essai",
|
||||
"creator_name": "OdooBot",
|
||||
"creator_id": 1,
|
||||
"download_status": "success",
|
||||
"local_path": "output/ticket_T0167/T0167_20250403_174954/attachments/image001.png",
|
||||
"error": ""
|
||||
}
|
||||
]
|
||||
9
output/ticket_T0167/T0167_20250403_174954/followers.json
Normal file
@ -0,0 +1,9 @@
|
||||
[
|
||||
{
|
||||
"id": 10972,
|
||||
"partner_id": [
|
||||
8504,
|
||||
"CONSEIL DEPARTEMENTAL DU CALVADOS (14), Guillaume LENEVEU"
|
||||
]
|
||||
}
|
||||
]
|
||||
276
output/ticket_T0167/T0167_20250403_174954/messages_raw.json
Normal file
71
output/ticket_T0167/T0167_20250403_174954/rapport.md
Normal file
@ -0,0 +1,71 @@
|
||||
# Ticket T0167: Pb d'affaire/chantier/partie dans un programme d'essai
|
||||
|
||||
## Informations du ticket
|
||||
|
||||
- **Référence**: T0167
|
||||
- **Nom**: Pb d'affaire/chantier/partie dans un programme d'essai
|
||||
- **Projet**: Demandes
|
||||
- **État**: Clôturé
|
||||
- **Assigné à**:
|
||||
- **Client**: CONSEIL DEPARTEMENTAL DU CALVADOS (14), Guillaume LENEVEU, guillaume.leneveu@calvados.fr
|
||||
- **Créé le**: 27/04/2020 06:21:36
|
||||
- **Dernière modification**: 03/10/2024 13:10:50
|
||||
|
||||
## Description
|
||||
|
||||
Je viens vers toi car Mr NOVO m’a fait remonter un léger beug sur le numéro d’échantillon B2020-0001 (Voir PJ).
|
||||
|
||||
En effet, il n’arrive pas à mettre le nom de la partie dans la partie ( en rouge sur la PJ). Il faudrait mettre « joint de chaussée côté giberville » comme stipulé dans le numéro d’affaire -> 20017 SETR -> LIAISON RD403 – RD402 DESSERTE PORTUAIRE VIADUC -> JOINT DE CHAUSSEE COTE GIBERVILLE.
|
||||
|
||||
J’ai essayé de modifié la partie mais je n’y arrive pas.
|
||||
|
||||
## Messages
|
||||
|
||||
### Message 1
|
||||
**De**: Youness BENDEQ
|
||||
**Date**: 27/04/2020 06:20:22
|
||||
**Type**: E-mail
|
||||
**Sujet**: Pb d'affaire/chantier/partie dans un programme d'essai
|
||||
|
||||
\-------- Message transféré -------- Sujet : | De retour !
|
||||
---|---
|
||||
Date : | Mon, 20 Apr 2020 14:52:05 +0000
|
||||
De : | LENEVEU Guillaume [](mailto:Guillaume.LENEVEU@calvados.fr)
|
||||
Pour : | Youness BENDEQ [](mailto:youness.bendeq@cbao.fr)
|
||||
|
||||
Bonjour Youness,
|
||||
|
||||
J’espère que tu vas bien ainsi que toute l’équipe BRG-LAB.
|
||||
|
||||
Je viens vers toi car Mr NOVO m’a fait remonter un léger beug sur le numéro d’échantillon B2020-0001 (Voir PJ). En effet, il n’arrive pas à mettre le nom de la partie dans la partie ( en rouge sur la PJ). Il faudrait mettre « joint de chaussée côté giberville » comme stipulé dans le numéro d’affaire -> 20017 SETR -> LIAISON RD403 – RD402 DESSERTE PORTUAIRE VIADUC -> JOINT DE CHAUSSEE COTE GIBERVILLE.
|
||||
|
||||
J’ai essayé de modifié la partie mais je n’y arrive pas.
|
||||
|
||||
Merci de ta réponse.
|
||||
|
||||
Bonne fin de journée.
|
||||
|
||||
**Cordialement,
|
||||
|
||||
DGA Aménagement et Environnement Direction de l’eau et des Risques Adjoint au Chef du service Laboratoire Routes et Matériaux 24 rue des Monts Panneaux ZI Ouest
|
||||
|
||||
14650 Carpiquet
|
||||
|
||||
**Tél.** 02 31 26 52 62
|
||||
|
||||
**Port.** 06 11 39 10 60
|
||||
|
||||
**Fax.** 02 31 26 99 38 **Mail.**_[guillaume.leneveu@calvados.fr](mailto:guillaume.leneveu@calvados.fr)
|
||||
|
||||
_
|
||||
|
||||
**Pièces jointes:**
|
||||
- Problème partie.png (image/png)
|
||||
- image001.png (image/png)
|
||||
|
||||
---
|
||||
|
||||
## Informations sur l'extraction
|
||||
|
||||
- **Date d'extraction**: 03/04/2025 17:49:57
|
||||
- **Répertoire**: output/ticket_T0167/T0167_20250403_174954
|
||||
20
output/ticket_T0167/T0167_20250403_174954/structure.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"date_extraction": "2025-04-03T17:49:57.111409",
|
||||
"ticket_id": 179,
|
||||
"ticket_code": "T0167",
|
||||
"ticket_name": "Pb d'affaire/chantier/partie dans un programme d'essai",
|
||||
"output_dir": "output/ticket_T0167/T0167_20250403_174954",
|
||||
"files": {
|
||||
"ticket_info": "ticket_info.json",
|
||||
"ticket_summary": "ticket_summary.json",
|
||||
"messages": "all_messages.json",
|
||||
"messages_raw": "messages_raw.json",
|
||||
"messages_text": "all_messages.txt",
|
||||
"attachments": "attachments_info.json",
|
||||
"followers": "followers.json"
|
||||
},
|
||||
"stats": {
|
||||
"messages_count": 5,
|
||||
"attachments_count": 2
|
||||
}
|
||||
}
|
||||
57
output/ticket_T0167/T0167_20250403_174954/ticket_info.json
Normal file
@ -0,0 +1,57 @@
|
||||
{
|
||||
"id": 179,
|
||||
"name": "Pb d'affaire/chantier/partie dans un programme d'essai",
|
||||
"description": "<p>Je viens vers toi car Mr NOVO m’a fait remonter un léger beug sur le numéro d’échantillon B2020-0001 (Voir PJ).</p><p>En effet, il n’arrive pas à mettre le nom de la partie dans la partie ( en rouge sur la PJ). Il faudrait mettre « joint de chaussée côté giberville » comme stipulé dans le numéro d’affaire -> 20017 SETR -> LIAISON RD403 – RD402 DESSERTE PORTUAIRE VIADUC -> JOINT DE CHAUSSEE COTE GIBERVILLE.</p><p>J’ai essayé de modifié la partie mais je n’y arrive pas.</p>",
|
||||
"stage_id": [
|
||||
8,
|
||||
"Clôturé"
|
||||
],
|
||||
"project_id": [
|
||||
3,
|
||||
"Demandes"
|
||||
],
|
||||
"partner_id": [
|
||||
8504,
|
||||
"CONSEIL DEPARTEMENTAL DU CALVADOS (14), Guillaume LENEVEU"
|
||||
],
|
||||
"user_id": [
|
||||
9,
|
||||
"Youness BENDEQ"
|
||||
],
|
||||
"date_start": "2020-04-20 14:52:00",
|
||||
"date_end": false,
|
||||
"date_deadline": false,
|
||||
"create_date": "2020-04-27 06:21:36",
|
||||
"write_date": "2024-10-03 13:10:50",
|
||||
"tag_ids": [
|
||||
15
|
||||
],
|
||||
"priority": "0",
|
||||
"email_from": "guillaume.leneveu@calvados.fr",
|
||||
"email_cc": "",
|
||||
"message_ids": [
|
||||
11346,
|
||||
11345,
|
||||
11344,
|
||||
11343,
|
||||
11342,
|
||||
11335,
|
||||
11334,
|
||||
11333,
|
||||
11332
|
||||
],
|
||||
"message_follower_ids": [
|
||||
10972
|
||||
],
|
||||
"timesheet_ids": [
|
||||
51
|
||||
],
|
||||
"attachment_ids": [],
|
||||
"stage_id_name": "Clôturé",
|
||||
"project_id_name": "Demandes",
|
||||
"partner_id_name": "CONSEIL DEPARTEMENTAL DU CALVADOS (14), Guillaume LENEVEU",
|
||||
"user_id_name": "Youness BENDEQ",
|
||||
"tag_names": [
|
||||
"BRG-LAB WEB"
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
{
|
||||
"id": 179,
|
||||
"code": "T0167",
|
||||
"name": "Pb d'affaire/chantier/partie dans un programme d'essai",
|
||||
"description": "<p>Je viens vers toi car Mr NOVO m’a fait remonter un léger beug sur le numéro d’échantillon B2020-0001 (Voir PJ).</p><p>En effet, il n’arrive pas à mettre le nom de la partie dans la partie ( en rouge sur la PJ). Il faudrait mettre « joint de chaussée côté giberville » comme stipulé dans le numéro d’affaire -> 20017 SETR -> LIAISON RD403 – RD402 DESSERTE PORTUAIRE VIADUC -> JOINT DE CHAUSSEE COTE GIBERVILLE.</p><p>J’ai essayé de modifié la partie mais je n’y arrive pas.</p>",
|
||||
"stage": "Clôturé",
|
||||
"project": "Demandes",
|
||||
"partner": "CONSEIL DEPARTEMENTAL DU CALVADOS (14), Guillaume LENEVEU",
|
||||
"assigned_to": "Youness BENDEQ",
|
||||
"tags": [
|
||||
"BRG-LAB WEB"
|
||||
],
|
||||
"create_date": "2020-04-27 06:21:36",
|
||||
"write_date": "2024-10-03 13:10:50",
|
||||
"deadline": false
|
||||
}
|
||||
272
output/ticket_T11067/T11067_20250403_174234/all_messages.json
Normal file
148
output/ticket_T11067/T11067_20250403_174234/all_messages.txt
Normal file
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 62 KiB |
@ -0,0 +1,56 @@
|
||||
[
|
||||
{
|
||||
"id": 144796,
|
||||
"name": "image.png",
|
||||
"mimetype": "image/png",
|
||||
"file_size": 45686,
|
||||
"create_date": "2025-03-18 14:18:51",
|
||||
"create_uid": [
|
||||
32,
|
||||
"Romuald GRUSON"
|
||||
],
|
||||
"description": false,
|
||||
"res_name": "[T11067] changement nom centrale d'enrobage",
|
||||
"creator_name": "Romuald GRUSON",
|
||||
"creator_id": 32,
|
||||
"download_status": "success",
|
||||
"local_path": "output/ticket_T11067/T11067_20250403_174234/attachments/image.png",
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"id": 144794,
|
||||
"name": "image004.jpg",
|
||||
"mimetype": "image/jpeg",
|
||||
"file_size": 63295,
|
||||
"create_date": "2025-03-18 13:22:27",
|
||||
"create_uid": [
|
||||
1,
|
||||
"OdooBot"
|
||||
],
|
||||
"description": "image004.jpg",
|
||||
"res_name": "[T11067] changement nom centrale d'enrobage",
|
||||
"creator_name": "OdooBot",
|
||||
"creator_id": 1,
|
||||
"download_status": "success",
|
||||
"local_path": "output/ticket_T11067/T11067_20250403_174234/attachments/image004.jpg",
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"id": 144792,
|
||||
"name": "image003.png",
|
||||
"mimetype": "image/png",
|
||||
"file_size": 5417,
|
||||
"create_date": "2025-03-18 13:22:27",
|
||||
"create_uid": [
|
||||
1,
|
||||
"OdooBot"
|
||||
],
|
||||
"description": "image003.png",
|
||||
"res_name": "[T11067] changement nom centrale d'enrobage",
|
||||
"creator_name": "OdooBot",
|
||||
"creator_id": 1,
|
||||
"download_status": "success",
|
||||
"local_path": "output/ticket_T11067/T11067_20250403_174234/attachments/image003.png",
|
||||
"error": ""
|
||||
}
|
||||
]
|
||||
23
output/ticket_T11067/T11067_20250403_174234/followers.json
Normal file
@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"id": 89590,
|
||||
"partner_id": [
|
||||
28961,
|
||||
"Fabien LAFAY"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 89592,
|
||||
"partner_id": [
|
||||
32165,
|
||||
"Romuald GRUSON"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 89593,
|
||||
"partner_id": [
|
||||
5144,
|
||||
"CONSEIL DEPARTEMENTAL DU MORBIHAN (56), Dominique CARVAL"
|
||||
]
|
||||
}
|
||||
]
|
||||
275
output/ticket_T11067/T11067_20250403_174234/messages_raw.json
Normal file
75
output/ticket_T11067/T11067_20250403_174234/rapport.md
Normal file
@ -0,0 +1,75 @@
|
||||
# Ticket T11067: changement nom centrale d'enrobage
|
||||
|
||||
## Informations du ticket
|
||||
|
||||
- **Référence**: T11067
|
||||
- **Nom**: changement nom centrale d'enrobage
|
||||
- **Projet**: Demandes
|
||||
- **État**: Clôturé
|
||||
- **Assigné à**:
|
||||
- **Client**: CONSEIL DEPARTEMENTAL DU MORBIHAN (56), Dominique CARVAL, CARVAL Dominique <dominique.carval@morbihan.fr>
|
||||
- **Créé le**: 18/03/2025 13:22:27
|
||||
- **Dernière modification**: 02/04/2025 07:16:48
|
||||
- **Date limite**: 02/04/2025 00:00:00
|
||||
|
||||
## Messages
|
||||
|
||||
### Message 1
|
||||
**De**: Dominique CARVAL
|
||||
**Date**: 18/03/2025 13:18:31
|
||||
**Type**: E-mail
|
||||
**Sujet**: changement nom centrale d'enrobage
|
||||
|
||||
Bonjour,
|
||||
|
||||
3 centrales d’enrobage ont changé de nom.
|
||||
|
||||
Comment faire ce changement sur BRG-LAB ?
|
||||
|
||||
(ici ARMOR ENROBÉS devient BREIZH ENROBÉS sur 3 sites)
|
||||
|
||||
Bonne réception
|
||||
|
||||
**Dominique CARVAL
|
||||
|
||||
Direction des Infrastructures et des mobilités (DIM)
|
||||
|
||||
Service d’Appui aux Politiques d’Aménagement / Pôle Laboratoire Routier (SAPA/PLR)
|
||||
|
||||
115, rue du commerce – 56000 VANNES
|
||||
|
||||
**tél : 02 97 54 71 14 - mobile : 06 98 32 88 30 –
|
||||
|
||||
**Pièces jointes:**
|
||||
- image004.jpg (image/jpeg)
|
||||
- image003.png (image/png)
|
||||
|
||||
---
|
||||
|
||||
### Message 2
|
||||
**De**: Romuald GRUSON
|
||||
**Date**: 18/03/2025 14:18:51
|
||||
**Type**: E-mail
|
||||
**Sujet**: Re: [T11067] - changement nom centrale d'enrobage
|
||||
|
||||
Bonjour,
|
||||
|
||||
Effectivement, il y a une anomalie lors du changement du nom d'un poste de production. Les mises à jour déployées ce soir et demain devraient vous permettre d’effectuer cette modification.
|
||||
|
||||
Pour cela, il faut éditer le nom du poste de production d’enrobée, l’enregistrer dans la fiche générale, puis cliquer sur la petite flèche à droite du nom et le modifier.
|
||||
|
||||
Je reste à votre entière disposition pour toute information complémentaire.
|
||||
|
||||
Cordialement,
|
||||
|
||||
\---
|
||||
|
||||
**Pièces jointes:**
|
||||
- image.png (image/png)
|
||||
|
||||
---
|
||||
|
||||
## Informations sur l'extraction
|
||||
|
||||
- **Date d'extraction**: 03/04/2025 17:47:09
|
||||
- **Répertoire**: output/ticket_T11067/T11067_20250403_174234
|
||||
@ -1,9 +1,9 @@
|
||||
{
|
||||
"date_extraction": "2025-04-03T16:31:29.565155",
|
||||
"ticket_id": 11060,
|
||||
"ticket_code": "T11081",
|
||||
"ticket_name": "Problème création d'échantillons",
|
||||
"output_dir": "output/ticket_T11081/T11081_20250403_163126",
|
||||
"date_extraction": "2025-04-03T17:42:37.203827",
|
||||
"ticket_id": 11046,
|
||||
"ticket_code": "T11067",
|
||||
"ticket_name": "changement nom centrale d'enrobage",
|
||||
"output_dir": "output/ticket_T11067/T11067_20250403_174234",
|
||||
"files": {
|
||||
"ticket_info": "ticket_info.json",
|
||||
"ticket_summary": "ticket_summary.json",
|
||||
57
output/ticket_T11067/T11067_20250403_174234/ticket_info.json
Normal file
@ -0,0 +1,57 @@
|
||||
{
|
||||
"id": 11046,
|
||||
"name": "changement nom centrale d'enrobage",
|
||||
"description": "<p><br></p>",
|
||||
"stage_id": [
|
||||
8,
|
||||
"Clôturé"
|
||||
],
|
||||
"project_id": [
|
||||
3,
|
||||
"Demandes"
|
||||
],
|
||||
"partner_id": [
|
||||
5144,
|
||||
"CONSEIL DEPARTEMENTAL DU MORBIHAN (56), Dominique CARVAL"
|
||||
],
|
||||
"user_id": [
|
||||
32,
|
||||
"Romuald GRUSON"
|
||||
],
|
||||
"date_start": "2025-03-18 13:22:28",
|
||||
"date_end": false,
|
||||
"date_deadline": "2025-04-02",
|
||||
"create_date": "2025-03-18 13:22:27",
|
||||
"write_date": "2025-04-02 07:16:48",
|
||||
"tag_ids": [
|
||||
15
|
||||
],
|
||||
"priority": "0",
|
||||
"email_from": "CARVAL Dominique <dominique.carval@morbihan.fr>",
|
||||
"email_cc": "",
|
||||
"message_ids": [
|
||||
228803,
|
||||
227733,
|
||||
227732,
|
||||
227731,
|
||||
227730,
|
||||
227728,
|
||||
227726,
|
||||
227725,
|
||||
227724
|
||||
],
|
||||
"message_follower_ids": [
|
||||
89590,
|
||||
89592,
|
||||
89593
|
||||
],
|
||||
"timesheet_ids": [],
|
||||
"attachment_ids": [],
|
||||
"stage_id_name": "Clôturé",
|
||||
"project_id_name": "Demandes",
|
||||
"partner_id_name": "CONSEIL DEPARTEMENTAL DU MORBIHAN (56), Dominique CARVAL",
|
||||
"user_id_name": "Romuald GRUSON",
|
||||
"tag_names": [
|
||||
"BRG-LAB WEB"
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
{
|
||||
"id": 11046,
|
||||
"code": "T11067",
|
||||
"name": "changement nom centrale d'enrobage",
|
||||
"description": "<p><br></p>",
|
||||
"stage": "Clôturé",
|
||||
"project": "Demandes",
|
||||
"partner": "CONSEIL DEPARTEMENTAL DU MORBIHAN (56), Dominique CARVAL",
|
||||
"assigned_to": "Romuald GRUSON",
|
||||
"tags": [
|
||||
"BRG-LAB WEB"
|
||||
],
|
||||
"create_date": "2025-03-18 13:22:27",
|
||||
"write_date": "2025-04-02 07:16:48",
|
||||
"deadline": "2025-04-02"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 571 KiB |
|
Before Width: | Height: | Size: 571 KiB |
|
Before Width: | Height: | Size: 328 KiB |
@ -1,56 +0,0 @@
|
||||
[
|
||||
{
|
||||
"id": 144878,
|
||||
"name": "Outlook-evdngl0z.png",
|
||||
"mimetype": "image/png",
|
||||
"file_size": 585071,
|
||||
"create_date": "2025-03-19 14:51:40",
|
||||
"create_uid": [
|
||||
1,
|
||||
"OdooBot"
|
||||
],
|
||||
"description": "Outlook-evdngl0z.png",
|
||||
"res_name": "[T11081] Problème création d'échantillons",
|
||||
"creator_name": "OdooBot",
|
||||
"creator_id": 1,
|
||||
"download_status": "success",
|
||||
"local_path": "output/ticket_T11081/T11081_20250403_163126/attachments/Outlook-evdngl0z.png",
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"id": 144861,
|
||||
"name": "erreur bgrlab.png",
|
||||
"mimetype": "image/png",
|
||||
"file_size": 335428,
|
||||
"create_date": "2025-03-19 10:41:35",
|
||||
"create_uid": [
|
||||
1,
|
||||
"OdooBot"
|
||||
],
|
||||
"description": "erreur bgrlab.png",
|
||||
"res_name": "[T11081] Problème création d'échantillons",
|
||||
"creator_name": "OdooBot",
|
||||
"creator_id": 1,
|
||||
"download_status": "success",
|
||||
"local_path": "output/ticket_T11081/T11081_20250403_163126/attachments/erreur_bgrlab.png",
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"id": 144859,
|
||||
"name": "Outlook-df0folaj.png",
|
||||
"mimetype": "image/png",
|
||||
"file_size": 585071,
|
||||
"create_date": "2025-03-19 10:41:35",
|
||||
"create_uid": [
|
||||
1,
|
||||
"OdooBot"
|
||||
],
|
||||
"description": "Outlook-df0folaj.png",
|
||||
"res_name": "[T11081] Problème création d'échantillons",
|
||||
"creator_name": "OdooBot",
|
||||
"creator_id": 1,
|
||||
"download_status": "success",
|
||||
"local_path": "output/ticket_T11081/T11081_20250403_163126/attachments/Outlook-df0folaj.png",
|
||||
"error": ""
|
||||
}
|
||||
]
|
||||
@ -1,58 +0,0 @@
|
||||
[
|
||||
{
|
||||
"id": 89662,
|
||||
"partner_id": [
|
||||
28961,
|
||||
"Fabien LAFAY"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 89663,
|
||||
"partner_id": [
|
||||
29025,
|
||||
"Peinda CISS, Peinda CISS"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 89664,
|
||||
"partner_id": [
|
||||
29730,
|
||||
"TOUT FAIRE GEOTECHNIQUE (TFG), Meissa NDIAYE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 89665,
|
||||
"partner_id": [
|
||||
27747,
|
||||
"TOUT FAIRE GEOTECHNIQUE (TFG), Khadidiatou DIAKHATE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 89666,
|
||||
"partner_id": [
|
||||
27749,
|
||||
"TOUT FAIRE GEOTECHNIQUE (TFG), Raïssa TENDENG"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 89667,
|
||||
"partner_id": [
|
||||
32339,
|
||||
"Ndeye Aissatou DIENG"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 89687,
|
||||
"partner_id": [
|
||||
32165,
|
||||
"Romuald GRUSON"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 89695,
|
||||
"partner_id": [
|
||||
28931,
|
||||
"TOUT FAIRE GEOTECHNIQUE (TFG), Edouard SYLLA"
|
||||
]
|
||||
}
|
||||
]
|
||||
@ -1,90 +0,0 @@
|
||||
# Ticket T11081: Problème création d'échantillons
|
||||
|
||||
## Informations du ticket
|
||||
|
||||
- **Code**: T11081
|
||||
- **Nom**: Problème création d'échantillons
|
||||
- **Projet**: Demandes
|
||||
- **État**: Clôturé
|
||||
- **Assigné à**:
|
||||
- **Client**: TOUT FAIRE GEOTECHNIQUE (TFG), Edouard SYLLA, Edouard SYLLA <edouard.sylla@laboratoiretfg.com>
|
||||
- **Créé le**: 19/03/2025 10:41:35
|
||||
- **Dernière modification**: 03/04/2025 07:50:56
|
||||
- **Date limite**: 03/04/2025 00:00:00
|
||||
|
||||
## Messages
|
||||
|
||||
### Message 1
|
||||
**De**: Edouard SYLLA
|
||||
**Date**: 19/03/2025 10:37:27
|
||||
**Type**: E-mail
|
||||
**Sujet**: Problème création d'échantillons
|
||||
|
||||
Bonjour,
|
||||
|
||||
Nous vous informons que depuis ce matin, la plateforme ne donne pas l'accès à la création d'un échantillon.
|
||||
|
||||
Merci de voir en PJ la capture de la notification (image avec cadenas)
|
||||
|
||||
Dans l'attente de votre retour dans les plus brefs délais.
|
||||
|
||||
Cordialement.
|
||||
|
||||
---
|
||||
|
||||
### Message 2
|
||||
**De**: Romuald GRUSON
|
||||
**Date**: 19/03/2025 13:54:04
|
||||
**Type**: E-mail
|
||||
**Sujet**: Re: [T11081] - Problème création d'échantillons
|
||||
|
||||
Bonjour,
|
||||
|
||||
Nous avons rétabli le droit vous permettant de consulter vos essais. Désolé pour le désagrément.
|
||||
|
||||
Je reste à votre entière disposition pour toute information complémentaire.
|
||||
|
||||
Cordialement,
|
||||
|
||||
\---
|
||||
|
||||
---
|
||||
|
||||
### Message 3
|
||||
**De**: Edouard SYLLA
|
||||
**Date**: 19/03/2025 14:46:48
|
||||
**Type**: E-mail
|
||||
**Sujet**: RE: [T11081] - Problème création d'échantillons
|
||||
|
||||
Bonjour,
|
||||
|
||||
Nous vous remercions de la diligence.
|
||||
|
||||
Cordialement.
|
||||
|
||||
**De :** support@cbao.fr **Envoyé :** mercredi 19 mars 2025 14:54 **À :** Edouard SYLLA **Objet :** Re: [T11081] - Problème création d'échantillons
|
||||
|
||||

|
||||
|
||||
Bonjour,
|
||||
|
||||
Nous avons rétabli le droit vous permettant de consulter vos essais. Désolé pour le désagrément.
|
||||
|
||||
Je reste à votre entière disposition pour toute information complémentaire.
|
||||
|
||||
Cordialement,
|
||||
|
||||
\---
|
||||
|
||||
[
|
||||
|
||||
Envoyé par [ CBAO S.A.R.L. ](https://www.cbao.fr).
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## Informations sur l'extraction
|
||||
|
||||
- **Date d'extraction**: 03/04/2025 16:31:29
|
||||
- **Répertoire**: output/ticket_T11081/T11081_20250403_163126
|
||||
@ -1,63 +0,0 @@
|
||||
{
|
||||
"id": 11060,
|
||||
"name": "Problème création d'échantillons",
|
||||
"description": "<p><br></p>",
|
||||
"stage_id": [
|
||||
8,
|
||||
"Clôturé"
|
||||
],
|
||||
"project_id": [
|
||||
3,
|
||||
"Demandes"
|
||||
],
|
||||
"partner_id": [
|
||||
28931,
|
||||
"TOUT FAIRE GEOTECHNIQUE (TFG), Edouard SYLLA"
|
||||
],
|
||||
"user_id": [
|
||||
32,
|
||||
"Romuald GRUSON"
|
||||
],
|
||||
"date_start": "2025-03-19 10:41:35",
|
||||
"date_end": false,
|
||||
"date_deadline": "2025-04-03",
|
||||
"create_date": "2025-03-19 10:41:35",
|
||||
"write_date": "2025-04-03 07:50:56",
|
||||
"tag_ids": [
|
||||
15
|
||||
],
|
||||
"priority": "0",
|
||||
"email_from": "Edouard SYLLA <edouard.sylla@laboratoiretfg.com>",
|
||||
"email_cc": "Ndeye Aissatou DIENG <ndeyeaissatou.dieng@laboratoiretfg.com>, Raissa\n TENDENG <raissa.tendeng@laboratoiretfg.com>, \"Khadidiatou DIAKHATE\"\n\t<khadidiatou.diakhate@laboratoiretfg.com>, \"Fatoumata CISSOKHO\"\n\t<fatoumata.cissokho@laboratoiretfg.com>, Peinda CISS\n\t<peindasow.ciss@laboratoiretfg.com>, Meissa NDIAYE\n\t<meissa.ndiaye@laboratoiretfg.com>",
|
||||
"message_ids": [
|
||||
228929,
|
||||
228000,
|
||||
227989,
|
||||
227988,
|
||||
227987,
|
||||
227930,
|
||||
227891,
|
||||
227890,
|
||||
227889,
|
||||
227888
|
||||
],
|
||||
"message_follower_ids": [
|
||||
89662,
|
||||
89663,
|
||||
89664,
|
||||
89665,
|
||||
89666,
|
||||
89667,
|
||||
89687,
|
||||
89695
|
||||
],
|
||||
"timesheet_ids": [],
|
||||
"attachment_ids": [],
|
||||
"stage_id_name": "Clôturé",
|
||||
"project_id_name": "Demandes",
|
||||
"partner_id_name": "TOUT FAIRE GEOTECHNIQUE (TFG), Edouard SYLLA",
|
||||
"user_id_name": "Romuald GRUSON",
|
||||
"tag_names": [
|
||||
"BRG-LAB WEB"
|
||||
]
|
||||
}
|
||||
@ -1,16 +0,0 @@
|
||||
{
|
||||
"id": 11060,
|
||||
"code": "T11081",
|
||||
"name": "Problème création d'échantillons",
|
||||
"description": "<p><br></p>",
|
||||
"stage": "Clôturé",
|
||||
"project": "Demandes",
|
||||
"partner": "TOUT FAIRE GEOTECHNIQUE (TFG), Edouard SYLLA",
|
||||
"assigned_to": "Romuald GRUSON",
|
||||
"tags": [
|
||||
"BRG-LAB WEB"
|
||||
],
|
||||
"create_date": "2025-03-19 10:41:35",
|
||||
"write_date": "2025-04-03 07:50:56",
|
||||
"deadline": "2025-04-03"
|
||||
}
|
||||
BIN
utils/__pycache__/clean_html.cpython-312.pyc
Normal file
151
utils/clean_html.py
Normal file
@ -0,0 +1,151 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import re
|
||||
|
||||
def clean_html(html_content):
|
||||
"""
|
||||
Nettoie le contenu HTML pour le Markdown.
|
||||
Supprime les balises, les bas de page, les messages automatiques et les sections vides.
|
||||
"""
|
||||
if not html_content:
|
||||
return ""
|
||||
|
||||
# Supprimer les balises simples
|
||||
html_content = re.sub(r'<br\s*/?>|<p>|</p>|<div>|</div>', '\n', html_content)
|
||||
|
||||
# Supprimer les bas de page et messages automatiques du support
|
||||
html_content = re.sub(r'Droit à la déconnexion :.*?(?=\n\n|\Z)', '', html_content, flags=re.DOTALL)
|
||||
html_content = re.sub(r'\*\s*\*\s*\*.*?(?=\n\n|\Z)', '', html_content, flags=re.DOTALL)
|
||||
html_content = re.sub(r'Ce message électronique et tous les fichiers.*?(?=\n\n|\Z)', '', html_content, flags=re.DOTALL)
|
||||
html_content = re.sub(r'Afin d\'assurer une meilleure traçabilité.*?(?=\n\n|\Z)', '', html_content, flags=re.DOTALL)
|
||||
html_content = re.sub(r'_Confidentialité :.*?(?=\n\n|\Z)', '', html_content, flags=re.DOTALL)
|
||||
html_content = re.sub(r'Support technique.*?(?=\n\n|\Z)', '', html_content, flags=re.DOTALL)
|
||||
|
||||
# Suppression de l'image signature CBAO et autres images
|
||||
html_content = re.sub(r'!\[CBAO - développeur de rentabilité.*?(?=\n\n|\Z)', '', html_content, flags=re.DOTALL)
|
||||
html_content = re.sub(r'!\[.*?\]\(/web/image/.*?\)', '', html_content)
|
||||
html_content = re.sub(r'!\[cid:.*?\]\(/web/image/.*?\)', '', html_content)
|
||||
|
||||
# Supprimer toutes les références d'images avec des URLs
|
||||
html_content = re.sub(r'!\[.*?\]\(http[s]?://.*?\)', '', html_content)
|
||||
|
||||
# Supprimer les URL "mailto:" qui restent
|
||||
html_content = re.sub(r'\[.*?\]\(mailto:.*?\)', '', html_content)
|
||||
|
||||
# Supprimer les liens qui pointent vers des sites web
|
||||
html_content = re.sub(r'\[.*?\]\(https?://.*?\)', '', html_content)
|
||||
|
||||
# Supprimer les lignes qui contiennent "Envoyé par" suivi d'un lien
|
||||
html_content = re.sub(r'Envoyé par .*$', '', html_content, flags=re.MULTILINE)
|
||||
|
||||
# Supprimer les balises HTML restantes
|
||||
html_content = re.sub(r'<.*?>', '', html_content)
|
||||
|
||||
# Remplacer les entités HTML courantes
|
||||
html_content = html_content.replace(' ', ' ')
|
||||
html_content = html_content.replace('<', '<')
|
||||
html_content = html_content.replace('>', '>')
|
||||
html_content = html_content.replace('&', '&')
|
||||
html_content = html_content.replace('"', '"')
|
||||
|
||||
# Supprimer les lignes avec uniquement des **
|
||||
html_content = re.sub(r'^\s*\*\*\s*\*\*\s*$', '', html_content, flags=re.MULTILINE)
|
||||
html_content = re.sub(r'^\s*\*\*\s*$', '', html_content, flags=re.MULTILINE)
|
||||
|
||||
# Supprimer le \--- à la fin des messages
|
||||
html_content = re.sub(r'\\---\s*$', '', html_content)
|
||||
|
||||
# Supprimer les crochets isolés
|
||||
html_content = re.sub(r'\[\s*$', '', html_content)
|
||||
|
||||
# Supprimer les lignes vides multiples
|
||||
html_content = re.sub(r'\n\s*\n', '\n\n', html_content)
|
||||
|
||||
# Nettoyer au début et à la fin
|
||||
html_content = html_content.strip()
|
||||
|
||||
# Supprimer les sections vides (comme "*Contenu vide*")
|
||||
if not html_content or html_content.lower() == "*contenu vide*":
|
||||
return "*Contenu vide*"
|
||||
|
||||
return html_content
|
||||
|
||||
def clean_text(text_content):
|
||||
"""
|
||||
Nettoie le texte brut pour supprimer les éléments indésirables.
|
||||
"""
|
||||
if not text_content:
|
||||
return ""
|
||||
|
||||
# Supprimer les éléments de signature de messagerie
|
||||
patterns = [
|
||||
r"De :.*\nEnvoyé :.*\nÀ :.*\nObjet :.*\n",
|
||||
r"From:.*\nSent:.*\nTo:.*\nSubject:.*\n",
|
||||
r"----+ ?Original Message ?----+\n",
|
||||
r".*wrote:$",
|
||||
r"^On .* wrote:$"
|
||||
]
|
||||
|
||||
for pattern in patterns:
|
||||
text_content = re.sub(pattern, "", text_content, flags=re.MULTILINE)
|
||||
|
||||
# Supprimer les lignes vides multiples
|
||||
text_content = re.sub(r'\n\s*\n', '\n\n', text_content)
|
||||
|
||||
# Nettoyer au début et à la fin
|
||||
text_content = text_content.strip()
|
||||
|
||||
return text_content
|
||||
|
||||
def format_date(date_str):
|
||||
"""
|
||||
Formate une date ISO en format lisible.
|
||||
"""
|
||||
if not date_str:
|
||||
return ""
|
||||
|
||||
try:
|
||||
# Extraire la partie date et heure (ignorer la timezone si présente)
|
||||
match = re.match(r'(\d{4}-\d{2}-\d{2})[T ](\d{2}:\d{2}:\d{2})', date_str)
|
||||
if match:
|
||||
date_part, time_part = match.groups()
|
||||
return f"{date_part} {time_part}"
|
||||
return date_str
|
||||
except Exception:
|
||||
return date_str
|
||||
|
||||
if __name__ == "__main__":
|
||||
# Test simple
|
||||
html = """<p>Bonjour,</p>
|
||||
<p>Voici un message avec <b>du HTML</b> et une signature.</p>
|
||||
<p>Cordialement,</p>
|
||||
<p>John Doe</p>
|
||||
<p>Support technique</p>
|
||||
<p>Afin d'assurer une meilleure traçabilité et vous garantir une prise en charge optimale,
|
||||
nous vous invitons à envoyer vos demandes d'assistance technique à support@exemple.fr</p>
|
||||
<p></p>
|
||||
"""
|
||||
|
||||
cleaned = clean_html(html)
|
||||
print("HTML nettoyé :\n", cleaned)
|
||||
|
||||
text = """Bonjour,
|
||||
|
||||
Voici un message avec une signature.
|
||||
|
||||
Cordialement,
|
||||
John
|
||||
|
||||
-------- Message d'origine --------
|
||||
De : Alice <alice@exemple.fr>
|
||||
Envoyé : lundi 18 mars 2025 14:52
|
||||
À : John <john@exemple.fr>
|
||||
Objet : Test
|
||||
|
||||
Bonjour John,
|
||||
Comment vas-tu ?
|
||||
"""
|
||||
|
||||
cleaned_text = clean_text(text)
|
||||
print("\nTexte nettoyé :\n", cleaned_text)
|
||||
@ -20,6 +20,14 @@ def clean_html(html_content):
|
||||
|
||||
import re
|
||||
|
||||
# Transformer les balises h1 en titres Markdown
|
||||
html_content = re.sub(r'<h1>(.*?)</h1>', r'### \1', html_content)
|
||||
|
||||
# Transformer les listes à puces
|
||||
html_content = re.sub(r'<ul>(.*?)</ul>', r'\1', html_content, flags=re.DOTALL)
|
||||
html_content = re.sub(r'<li><b>(.*?)</b></li>', r'- **\1**\n', html_content)
|
||||
html_content = re.sub(r'<li>(.*?)</li>', r'- \1\n', html_content)
|
||||
|
||||
# Supprimer les balises simples
|
||||
html_content = re.sub(r'<br\s*/?>|<p>|</p>|<div>|</div>', '\n', html_content)
|
||||
|
||||
@ -145,7 +153,7 @@ def create_markdown_from_json(json_file, output_file):
|
||||
# Ajouter des métadonnées du ticket
|
||||
md_content.append("## Informations du ticket")
|
||||
md_content.append("")
|
||||
md_content.append(f"- **Code**: {ticket_code}")
|
||||
md_content.append(f"- **Référence**: {ticket_code}")
|
||||
md_content.append(f"- **Nom**: {ticket_name}")
|
||||
md_content.append(f"- **Projet**: {ticket_summary.get('project_name', '')}")
|
||||
md_content.append(f"- **État**: {ticket_summary.get('stage_name', '')}")
|
||||
@ -203,6 +211,13 @@ def create_markdown_from_json(json_file, output_file):
|
||||
if cleaned_description and cleaned_description != "*Contenu vide*":
|
||||
md_content.append("## Description")
|
||||
md_content.append("")
|
||||
|
||||
# Amélioration du formatage des titres et sections
|
||||
cleaned_description = cleaned_description.replace("### ", "\n### ")
|
||||
# Correction du formatage des points importants
|
||||
import re
|
||||
cleaned_description = re.sub(r'(###.*?)\n?-', r'\1\n-', cleaned_description)
|
||||
|
||||
md_content.append(cleaned_description)
|
||||
md_content.append("")
|
||||
|
||||
@ -293,17 +308,35 @@ def create_markdown_from_json(json_file, output_file):
|
||||
|
||||
# Vérifier si les pièces jointes existent et ne sont pas vides
|
||||
if attachment_ids:
|
||||
# Récupérer les informations des pièces jointes
|
||||
valid_attachments = []
|
||||
for att in attachment_ids:
|
||||
if isinstance(att, list) and len(att) > 1:
|
||||
valid_attachments.append(att)
|
||||
if isinstance(attachment_ids, list) and all(isinstance(id, int) for id in attachment_ids):
|
||||
# Chercher les informations des pièces jointes dans attachments_info.json
|
||||
attachments_info_path = os.path.join(ticket_dir, "attachments_info.json")
|
||||
if os.path.exists(attachments_info_path):
|
||||
try:
|
||||
with open(attachments_info_path, 'r', encoding='utf-8') as f:
|
||||
attachments_info = json.load(f)
|
||||
for attachment_id in attachment_ids:
|
||||
for attachment_info in attachments_info:
|
||||
if attachment_info.get("id") == attachment_id:
|
||||
valid_attachments.append(attachment_info)
|
||||
except Exception as e:
|
||||
print(f"Avertissement: Impossible de lire attachments_info.json: {e}")
|
||||
elif isinstance(attachment_ids, list):
|
||||
for att in attachment_ids:
|
||||
if isinstance(att, list) and len(att) > 1:
|
||||
valid_attachments.append(att)
|
||||
|
||||
if valid_attachments:
|
||||
has_attachments = True
|
||||
md_content.append("")
|
||||
md_content.append("**Pièces jointes:**")
|
||||
for att in valid_attachments:
|
||||
md_content.append(f"- {att[1]}")
|
||||
if isinstance(att, list) and len(att) > 1:
|
||||
md_content.append(f"- {att[1]}")
|
||||
elif isinstance(att, dict):
|
||||
md_content.append(f"- {att.get('name', 'Pièce jointe sans nom')} ({att.get('mimetype', 'Type inconnu')})")
|
||||
|
||||
md_content.append("")
|
||||
md_content.append("---")
|
||||
|
||||