From 1b95f95c955e331fc9c5c2043fc70c72854f3570 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 14 Nov 2016 14:05:14 +0100 Subject: [PATCH 1/4] cleaning --- Yavsc/estimate-3.t2d/pdf/bak/estimate-3.aux | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 Yavsc/estimate-3.t2d/pdf/bak/estimate-3.aux diff --git a/Yavsc/estimate-3.t2d/pdf/bak/estimate-3.aux b/Yavsc/estimate-3.t2d/pdf/bak/estimate-3.aux deleted file mode 100644 index 2398624f..00000000 --- a/Yavsc/estimate-3.t2d/pdf/bak/estimate-3.aux +++ /dev/null @@ -1,9 +0,0 @@ -\relax -\catcode `:\active -\catcode `;\active -\catcode `!\active -\catcode `?\active -\select@language{french} -\@writefile{toc}{\select@language{french}} -\@writefile{lof}{\select@language{french}} -\@writefile{lot}{\select@language{french}} From 8255b02b98fba8c70c74de7add0aacc072b683da Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 14 Nov 2016 14:09:24 +0100 Subject: [PATCH 2/4] removes an ambiguity relative to api --- Yavsc/ViewModels/UserFiles/UserDirectoryInfo.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Yavsc/ViewModels/UserFiles/UserDirectoryInfo.cs b/Yavsc/ViewModels/UserFiles/UserDirectoryInfo.cs index eb2b6420..39513a87 100644 --- a/Yavsc/ViewModels/UserFiles/UserDirectoryInfo.cs +++ b/Yavsc/ViewModels/UserFiles/UserDirectoryInfo.cs @@ -8,6 +8,7 @@ namespace Yavsc.ViewModels.UserFiles { public class UserDirectoryInfo { + public string UserName { get; private set; } public string SubPath { get; private set; } public UserFileInfo [] Files { get; private set; @@ -18,13 +19,14 @@ namespace Yavsc.ViewModels.UserFiles private DirectoryInfo dInfo; public UserDirectoryInfo(string username, string path) { - SubPath = (path==null) ? username : username + Path.DirectorySeparatorChar + path; - if ( !SubPath.IsValidPath() ) + UserName = username; + var finalPath = (path==null) ? username : username + Path.DirectorySeparatorChar + path; + if ( !finalPath.IsValidPath() ) throw new InvalidOperationException( $"File name contains invalid chars, using path {SubPath}"); dInfo = new DirectoryInfo( - Path.Combine(Startup.UserFilesDirName,SubPath)); + Path.Combine(Startup.UserFilesDirName,finalPath)); Files = dInfo.GetFiles().Select ( entry => new UserFileInfo { Name = entry.Name, Size = entry.Length, CreationTime = entry.CreationTime, LastModified = entry.LastWriteTime }).ToArray(); From 13c12a558e5d2006795f7828fee9773c51196318 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 14 Nov 2016 17:42:27 +0100 Subject: [PATCH 3/4] using Paket from VS Code --- paket.dependencies | 1 + 1 file changed, 1 insertion(+) create mode 100644 paket.dependencies diff --git a/paket.dependencies b/paket.dependencies new file mode 100644 index 00000000..b6891688 --- /dev/null +++ b/paket.dependencies @@ -0,0 +1 @@ +source https://www.nuget.org/api/v2 From 7842b504ae295f7385b31208c4cf46ccb5edb4a8 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 14 Nov 2016 17:42:38 +0100 Subject: [PATCH 4/4] updated --- Yavsc/tasks.todo | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Yavsc/tasks.todo b/Yavsc/tasks.todo index 3b0921ee..7a344f25 100644 --- a/Yavsc/tasks.todo +++ b/Yavsc/tasks.todo @@ -36,6 +36,8 @@ Da road to the hell à un cercle ou à un groupe, de manière temporaire ou définitive, par une plage de temps spécifié ou par la validité d'une demande de devis ou une intervention en cours ou récente ou à venir ☐ Paiement client du reste de la prestation + ☐ Podcasts + ☐ Personalisation des blogs ☐ Monétarisations ### Réécritures prévues :