Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to dotnet #115

Open
joseantmazonsb opened this issue Feb 22, 2022 · 0 comments
Open

Switch to dotnet #115

joseantmazonsb opened this issue Feb 22, 2022 · 0 comments
Assignees
Projects
Milestone

Comments

@joseantmazonsb
Copy link
Owner

No description provided.

@joseantmazonsb joseantmazonsb created this issue from a note in Linguard (To do) Feb 22, 2022
@joseantmazonsb joseantmazonsb moved this from To do to In progress in Linguard Feb 22, 2022
@joseantmazonsb joseantmazonsb self-assigned this Feb 22, 2022
joseantmazonsb added a commit that referenced this issue Feb 23, 2022
joseantmazonsb added a commit that referenced this issue Feb 23, 2022
+ added missing version tag for action setup-dotnet
@joseantmazonsb joseantmazonsb added this to the 2.0.0 milestone Feb 23, 2022
joseantmazonsb added a commit that referenced this issue Feb 25, 2022
…and fixed tests

+ The new structure of the yaml serializer allows for better mocking and extendability
+ Some tests used mutable gateways, which could vary depending of the computer running the test. This has been solved via mocking
+ All dependencies are now fully injected, even the configuration manager
+ Adjusted margins for Wireguard.razor
joseantmazonsb added a commit that referenced this issue Feb 26, 2022
joseantmazonsb added a commit that referenced this issue Feb 26, 2022
…ime service

+ Added an ExtendedException which provides clues about how to solve a specific error
+ The lifetime service manages the lifetime of the web app. It loads the configuration and start the interfaces at the beginning, and stop the interfaces when it's shutting down
+ Renamed TrafficInfo.razor to RealTimeTraffic.razor for better understanding
+ Replaced async void methods with async Task for best practices
+ Fixed a bug with the interface property of AddInterface.razor. It must be set only once, and it was a getter only property which was being generated with every call
joseantmazonsb added a commit that referenced this issue Feb 26, 2022
joseantmazonsb added a commit that referenced this issue Feb 27, 2022
+ Generalized clone method for Configuration
joseantmazonsb added a commit that referenced this issue Feb 27, 2022
+ This makes possible to completely mock the output of linux commands for e2e tests
joseantmazonsb added a commit that referenced this issue Feb 27, 2022
…ace stuff the WireguardService was doing until now

+ Added guid to generators
+ Fixed some issues with mocks
+ Removed unused imports
joseantmazonsb added a commit that referenced this issue Feb 27, 2022
…guardDumpParser

+ More mock related stuff
+ Added logic to add/remove wg interfaces
joseantmazonsb added a commit that referenced this issue Feb 28, 2022
+ Also added calls to AddClient and RemoveClient where needed
joseantmazonsb added a commit that referenced this issue Mar 12, 2022
+ Added autochange of interface rules when the name of the gateway changes
+ Correctly binded values to forms
+ Extended wireguard configuration and wireguard service mocks
+ Fixed interfaces and clients name validation
+ Fixed ip validation
+ Added more (and better) info in interfaces and clients tables
joseantmazonsb added a commit that referenced this issue Mar 12, 2022
+ Added configuration empty tests for serialization
joseantmazonsb added a commit that referenced this issue Mar 12, 2022
+ removed overwrite flag for logging and improved logging system using Microsoft.Extensions.ILogging
joseantmazonsb added a commit that referenced this issue Mar 16, 2022
+ fixed grid for settings in smaller devices
joseantmazonsb added a commit that referenced this issue Mar 16, 2022
+ basic login screen for username/pass
+ authentication cookie to keep the session alive until logout or expiration
+ some refactors
joseantmazonsb added a commit that referenced this issue Mar 20, 2022
…iguration

+ configuration is now fully module based, allowing for an easy way to extend it
joseantmazonsb added a commit that referenced this issue Mar 30, 2022
+ implemented json traffic driver
joseantmazonsb added a commit that referenced this issue Apr 16, 2022
joseantmazonsb added a commit that referenced this issue Apr 16, 2022
+ All configuration is now json
+ Logging options are specified in appsettings.json as well as the path to the linguard's json configuration file
+ Plugins location is set through configuration, but it is read before all settings so plugins can be loaded before deserializing options that depend of plugins (e.g.: traffic drivers)
joseantmazonsb added a commit that referenced this issue Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Linguard
In progress
Development

No branches or pull requests

1 participant