From d72054b9d74161911ef13be3cdb3d6a1268fafe3 Mon Sep 17 00:00:00 2001 From: "liam.monchanin" Date: Thu, 18 May 2023 17:56:41 +0200 Subject: [PATCH 1/7] je teste --- notus/Notus_Console/Program.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/notus/Notus_Console/Program.cs b/notus/Notus_Console/Program.cs index 5451fbf..74d27f9 100644 --- a/notus/Notus_Console/Program.cs +++ b/notus/Notus_Console/Program.cs @@ -15,15 +15,15 @@ string choixNom = "u"; string choixCouleur = "u"; string name = "u"; string name2 = "u"; -int choixModif; -int choix2 = 0; +string choixModif = 0; +string choix2 = 0; string color = "u"; string couleur = "u"; string newColor = "u"; string position = "u"; string linkimage = "u"; -List NewColorList; -List listCouleurs; +List NewColorList = <>; +List listCouleurs = <>; Utilisateur user = new Utilisateur(Upseudo, Umail, Upassword); NoteImage image = new NoteImage(nom2, linkimage, position); From 373b91eee803c95b3b94a2b06d7f515ba3a19354 Mon Sep 17 00:00:00 2001 From: "liam.monchanin" Date: Thu, 18 May 2023 17:58:05 +0200 Subject: [PATCH 2/7] je teste --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index d373d05..8736c10 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,8 +3,8 @@ type: docker name: pipelinefordeveloppement trigger: - branch: - - vSonar_test + #branch: + #- vSonar_test event: - push From 83f1ab948df459b4f50044cc6e29bae02a3906b3 Mon Sep 17 00:00:00 2001 From: "liam.monchanin" Date: Thu, 18 May 2023 17:59:06 +0200 Subject: [PATCH 3/7] je teste --- notus/Notus_Console/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notus/Notus_Console/Program.cs b/notus/Notus_Console/Program.cs index 74d27f9..75cb180 100644 --- a/notus/Notus_Console/Program.cs +++ b/notus/Notus_Console/Program.cs @@ -22,8 +22,8 @@ string couleur = "u"; string newColor = "u"; string position = "u"; string linkimage = "u"; -List NewColorList = <>; -List listCouleurs = <>; +List NewColorList = null; +List listCouleurs = null; Utilisateur user = new Utilisateur(Upseudo, Umail, Upassword); NoteImage image = new NoteImage(nom2, linkimage, position); From 1a1f50230c36c39077c42afeb86d49bcdb861006 Mon Sep 17 00:00:00 2001 From: "liam.monchanin" Date: Thu, 18 May 2023 18:00:02 +0200 Subject: [PATCH 4/7] je teste --- notus/Notus_Console/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notus/Notus_Console/Program.cs b/notus/Notus_Console/Program.cs index 75cb180..466b6d1 100644 --- a/notus/Notus_Console/Program.cs +++ b/notus/Notus_Console/Program.cs @@ -15,8 +15,8 @@ string choixNom = "u"; string choixCouleur = "u"; string name = "u"; string name2 = "u"; -string choixModif = 0; -string choix2 = 0; +int choixModif = 0; +int choix2 = 0; string color = "u"; string couleur = "u"; string newColor = "u"; From e00886d7104ca81bab40c781657af1d17c24b3c4 Mon Sep 17 00:00:00 2001 From: "liam.monchanin" Date: Thu, 18 May 2023 18:02:03 +0200 Subject: [PATCH 5/7] je teste --- notus/Notus_Console/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notus/Notus_Console/Program.cs b/notus/Notus_Console/Program.cs index 466b6d1..0b1d946 100644 --- a/notus/Notus_Console/Program.cs +++ b/notus/Notus_Console/Program.cs @@ -148,7 +148,7 @@ while (boucle == 0){ case "8":///Ajouter un tag a une note Console.WriteLine("Cherchez une note"); name2 = Console.ReadLine(); - Note note = u.RechercherNote(name2); + n = u.RechercherNote(name2); Console.WriteLine("Cherchez un tag"); name = Console.ReadLine(); Tags tagToAdd = u.RechercherTags(name); @@ -158,7 +158,7 @@ while (boucle == 0){ case "9":///Supprimer un tag a une note Console.WriteLine("Cherchez une note"); name2 = Console.ReadLine(); - Note note = u.RechercherNote(name2); + n = u.RechercherNote(name2); Console.WriteLine("Cherchez un tag"); name = Console.ReadLine(); Tags tagToSupp = u.RechercherTags(name); From d115e27b670d244cd46a7f44ea7b78eb0e9a75cc Mon Sep 17 00:00:00 2001 From: "liam.monchanin" Date: Thu, 18 May 2023 18:03:24 +0200 Subject: [PATCH 6/7] je teste --- notus/Notus_Console/Program.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/notus/Notus_Console/Program.cs b/notus/Notus_Console/Program.cs index 0b1d946..d6daaa8 100644 --- a/notus/Notus_Console/Program.cs +++ b/notus/Notus_Console/Program.cs @@ -133,8 +133,8 @@ while (boucle == 0){ break; case "6":///Supprimer une note - u.RechercherNote(note); - u.SuppNote(note); + u.RechercherNote(n); + u.SuppNote(n); break; case "7":///Creer un tag @@ -179,12 +179,12 @@ while (boucle == 0){ case "13":///Supprimer un tag definitivement t= u.RechercherTags(name); - u.SupTagToNoteList(note); + u.SupTagToNoteList(n); break; case "14":///AJouter une note en favori - u.RechercherNote(note); - u.AddFav(note); + u.RechercherNote(n); + u.AddFav(n); break; case "15":///Supprimer une note des favoris From 0a8ca83e9c24c9ff9defaa213ba92b1bf562e3c6 Mon Sep 17 00:00:00 2001 From: "liam.monchanin" Date: Thu, 18 May 2023 18:05:55 +0200 Subject: [PATCH 7/7] je teste --- notus/Notus_Console/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notus/Notus_Console/Program.cs b/notus/Notus_Console/Program.cs index d6daaa8..e30e969 100644 --- a/notus/Notus_Console/Program.cs +++ b/notus/Notus_Console/Program.cs @@ -152,7 +152,7 @@ while (boucle == 0){ Console.WriteLine("Cherchez un tag"); name = Console.ReadLine(); Tags tagToAdd = u.RechercherTags(name); - u.AddOneTagToNoteList(note,tagToAdd); + u.AddOneTagToNoteList(n,tagToAdd); break; case "9":///Supprimer un tag a une note @@ -162,7 +162,7 @@ while (boucle == 0){ Console.WriteLine("Cherchez un tag"); name = Console.ReadLine(); Tags tagToSupp = u.RechercherTags(name); - u.SupOneTagToNoteList(note,tagToSupp); + u.SupOneTagToNoteList(n,tagToSupp); break; case "10":///Ajouter une image @@ -174,7 +174,7 @@ while (boucle == 0){ break; case "12":///Deplacer une image - n.DeplacerImage(image); + //n.DeplacerImage(image); break; case "13":///Supprimer un tag definitivement