Skip to content

Commit

Permalink
added license
Browse files Browse the repository at this point in the history
  • Loading branch information
m3sserschmitt committed Oct 12, 2024
1 parent 19a1c2c commit f220116
Show file tree
Hide file tree
Showing 159 changed files with 3,933 additions and 86 deletions.
22 changes: 21 additions & 1 deletion Client/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
using System.Text;
/*
Aenigma - Onion Routing based messaging application
Copyright (C) 2024 Romulus-Emanuel Ruja <romulus-emanuel.ruja@tutanota.com>
This file is part of Aenigma project.
Aenigma is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Aenigma is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Aenigma. If not, see <https://www.gnu.org/licenses/>.
*/

using System.Text;
using Enigma5.App.Common.Contracts.Hubs;
using Enigma5.Crypto.DataProviders;
using Enigma5.Structures;
Expand Down
22 changes: 21 additions & 1 deletion Enigma5.App.Common/Constants/DataPersistencePeriod.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
namespace Enigma5.App.Common.Constants;
/*
Aenigma - Onion Routing based messaging application
Copyright (C) 2024 Romulus-Emanuel Ruja <romulus-emanuel.ruja@tutanota.com>
This file is part of Aenigma project.
Aenigma is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Aenigma is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Aenigma. If not, see <https://www.gnu.org/licenses/>.
*/

namespace Enigma5.App.Common.Constants;

public static class DataPersistencePeriod
{
Expand Down
22 changes: 21 additions & 1 deletion Enigma5.App.Common/Constants/Endpoints.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
namespace Enigma5.App.Common.Constants;
/*
Aenigma - Onion Routing based messaging application
Copyright (C) 2024 Romulus-Emanuel Ruja <romulus-emanuel.ruja@tutanota.com>
This file is part of Aenigma project.
Aenigma is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Aenigma is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Aenigma. If not, see <https://www.gnu.org/licenses/>.
*/

namespace Enigma5.App.Common.Constants;

public static class Endpoints
{
Expand Down
22 changes: 21 additions & 1 deletion Enigma5.App.Common/Contracts/Hubs/IHub.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
using Enigma5.App.Models;
/*
Aenigma - Onion Routing based messaging application
Copyright (C) 2024 Romulus-Emanuel Ruja <romulus-emanuel.ruja@tutanota.com>
This file is part of Aenigma project.
Aenigma is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Aenigma is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Aenigma. If not, see <https://www.gnu.org/licenses/>.
*/

using Enigma5.App.Models;
using Enigma5.App.Models.HubInvocation;

namespace Enigma5.App.Common.Contracts.Hubs;
Expand Down
20 changes: 20 additions & 0 deletions Enigma5.App.Common/Contracts/Hubs/IOnionParsingHub.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Aenigma - Onion Routing based messaging application
Copyright (C) 2024 Romulus-Emanuel Ruja <romulus-emanuel.ruja@tutanota.com>
This file is part of Aenigma project.
Aenigma is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Aenigma is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Aenigma. If not, see <https://www.gnu.org/licenses/>.
*/

namespace Enigma5.App.Common.Contracts.Hubs;

public interface IOnionParsingHub
Expand Down
20 changes: 20 additions & 0 deletions Enigma5.App.Common/Contracts/Hubs/IOnionRoutingHub.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Aenigma - Onion Routing based messaging application
Copyright (C) 2024 Romulus-Emanuel Ruja <romulus-emanuel.ruja@tutanota.com>
This file is part of Aenigma project.
Aenigma is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Aenigma is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Aenigma. If not, see <https://www.gnu.org/licenses/>.
*/

namespace Enigma5.App.Common.Contracts.Hubs;

public interface IOnionRoutingHub
Expand Down
22 changes: 21 additions & 1 deletion Enigma5.App.Common/Extensions/ConfigurationExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
using Microsoft.Extensions.Configuration;
/*
Aenigma - Onion Routing based messaging application
Copyright (C) 2024 Romulus-Emanuel Ruja <romulus-emanuel.ruja@tutanota.com>
This file is part of Aenigma project.
Aenigma is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Aenigma is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Aenigma. If not, see <https://www.gnu.org/licenses/>.
*/

using Microsoft.Extensions.Configuration;

namespace Enigma5.App.Common.Extensions;

Expand Down
22 changes: 21 additions & 1 deletion Enigma5.App.Common/Extensions/CopyExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
using System.Text.Json;
/*
Aenigma - Onion Routing based messaging application
Copyright (C) 2024 Romulus-Emanuel Ruja <romulus-emanuel.ruja@tutanota.com>
This file is part of Aenigma project.
Aenigma is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Aenigma is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Aenigma. If not, see <https://www.gnu.org/licenses/>.
*/

using System.Text.Json;

namespace Enigma5.App.Common.Extensions;

Expand Down
20 changes: 20 additions & 0 deletions Enigma5.App.Common/Utils/SingleThreadExecutor.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Aenigma - Onion Routing based messaging application
Copyright (C) 2024 Romulus-Emanuel Ruja <romulus-emanuel.ruja@tutanota.com>
This file is part of Aenigma project.
Aenigma is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Aenigma is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Aenigma. If not, see <https://www.gnu.org/licenses/>.
*/

using System.Collections.Concurrent;

namespace Enigma5.App.Common.Utils;
Expand Down
20 changes: 20 additions & 0 deletions Enigma5.App.Common/Utils/SingleThreadExecutorAction.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Aenigma - Onion Routing based messaging application
Copyright (C) 2024 Romulus-Emanuel Ruja <romulus-emanuel.ruja@tutanota.com>
This file is part of Aenigma project.
Aenigma is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Aenigma is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Aenigma. If not, see <https://www.gnu.org/licenses/>.
*/

namespace Enigma5.App.Common.Utils;

public class SingleThreadExecutorAction(Action action)
Expand Down
20 changes: 20 additions & 0 deletions Enigma5.App.Common/Utils/SingleThreadExecutorResult.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Aenigma - Onion Routing based messaging application
Copyright (C) 2024 Romulus-Emanuel Ruja <romulus-emanuel.ruja@tutanota.com>
This file is part of Aenigma project.
Aenigma is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Aenigma is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Aenigma. If not, see <https://www.gnu.org/licenses/>.
*/

namespace Enigma5.App.Common.Utils;

public record class SingleThreadExecutorResult<T>(T? Value, Exception? Exception);
20 changes: 20 additions & 0 deletions Enigma5.App.Common/Utils/ThreadSafeExecution.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Aenigma - Onion Routing based messaging application
Copyright (C) 2024 Romulus-Emanuel Ruja <romulus-emanuel.ruja@tutanota.com>
This file is part of Aenigma project.
Aenigma is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Aenigma is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Aenigma. If not, see <https://www.gnu.org/licenses/>.
*/

namespace Enigma5.App.Common.Utils;

public static class ThreadSafeExecution
Expand Down
20 changes: 20 additions & 0 deletions Enigma5.App.Models/AdjacencyList.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Aenigma - Onion Routing based messaging application
Copyright (C) 2024 Romulus-Emanuel Ruja <romulus-emanuel.ruja@tutanota.com>
This file is part of Aenigma project.
Aenigma is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Aenigma is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Aenigma. If not, see <https://www.gnu.org/licenses/>.
*/

using Enigma5.App.Models.Contracts;
using Enigma5.App.Models.Extensions;

Expand Down
22 changes: 21 additions & 1 deletion Enigma5.App.Models/AuthenticationRequest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
using System.Buffers.Text;
/*
Aenigma - Onion Routing based messaging application
Copyright (C) 2024 Romulus-Emanuel Ruja <romulus-emanuel.ruja@tutanota.com>
This file is part of Aenigma project.
Aenigma is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Aenigma is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Aenigma. If not, see <https://www.gnu.org/licenses/>.
*/

using System.Buffers.Text;
using Enigma5.App.Models.Contracts;
using Enigma5.App.Models.Extensions;

Expand Down
22 changes: 21 additions & 1 deletion Enigma5.App.Models/Contracts/IValidatable.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
namespace Enigma5.App.Models.Contracts;
/*
Aenigma - Onion Routing based messaging application
Copyright (C) 2024 Romulus-Emanuel Ruja <romulus-emanuel.ruja@tutanota.com>
This file is part of Aenigma project.
Aenigma is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Aenigma is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Aenigma. If not, see <https://www.gnu.org/licenses/>.
*/

namespace Enigma5.App.Models.Contracts;

public interface IValidatable
{
Expand Down
Loading

0 comments on commit f220116

Please sign in to comment.