-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from galliumplus/fix/hotfix-2
halloween midnight merge 🎃
- Loading branch information
Showing
23 changed files
with
87 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ | |
|
||
if __name__ == "__main__": | ||
decimal.DefaultContext.prec = 2 | ||
Launcher.launch("0.6.0") | ||
Launcher.launch("0.8.2") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using GalliumPlus.WebApi.Core.Exceptions; | ||
using System.Reflection; | ||
|
||
namespace CoreTest.Orders | ||
{ | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using GalliumPlus.WebApi.Core.Email; | ||
using System.Text; | ||
|
||
namespace GalliumPlus.WebApi.Email.FakeEmailService | ||
{ | ||
public class FakeEmailSender : IEmailSender | ||
{ | ||
private static string Repeat(string text, int times) | ||
{ | ||
StringBuilder sb = new(); | ||
for (int i = 0; i < times; i++) sb.Append(text); | ||
return sb.ToString(); | ||
} | ||
|
||
public void Send(string recipient, string subject, string content) | ||
{ | ||
int width = Console.WindowWidth; | ||
|
||
Console.WriteLine("== Envoi de mail ==" + Repeat("=", width - 19)); | ||
Console.WriteLine(); | ||
Console.WriteLine(" De : Gallium+ <no-reply@etiq-dijon.fr>"); | ||
Console.WriteLine(" À : {0}", recipient); | ||
Console.WriteLine(" Sujet : {0}", subject); | ||
Console.WriteLine(); | ||
Console.Write(content); | ||
Console.WriteLine(); | ||
Console.WriteLine(Repeat("=", width)); | ||
} | ||
|
||
public Task SendAsync(string recipient, string subject, string content, CancellationToken ct = default) | ||
{ | ||
this.Send(recipient, subject, content); | ||
return Task.CompletedTask; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters