-
Notifications
You must be signed in to change notification settings - Fork 38
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
Decode Base64 usernames/passwords as UTF-8 strings #269
Conversation
* fixed incorrect usage of Assert on some tests * added Shouldy and Bogus to tests * refactored some tests accordingly * added minor formatting rules * upgraded several nuget packages in the test projects
* tests: created new fixture and supporting container components * tests: global usings for a few tools
* new warmup function attempt :P
* added solution settings * major cleanup on tests
* code reformat where possible for better readability
* optimized test fixtures. * reverted spaces to tabs...
* fixed legacy test runners not finding certs * moved test logger configuration to settings file * deleted zombie files
…rrors * reverted editor config
* removed zombie code
Tests run great locally, but are flaky when running on CI. Having another look at this before making it ready for review again. |
* minor refactor of global environments
* disabled ES atom pub and log file
* fail fast for ci tests
* by default run the oldest lts instead of ci image * fixed gencert cli version mismatch
* fixing tabs
* fixed clients warmup * killed zombie code
* code format on samples project files.
Perhaps this should be
probably best mention utf8 anyway |
<GrpcPackageVersion>2.49.0</GrpcPackageVersion> | ||
<GrpcToolsPackageVersion>2.50.0</GrpcToolsPackageVersion> | ||
</PropertyGroup> | ||
<PropertyGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did tabs get changed to spaces here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix on another PR of "cosmetic" nature. And yes I'm struggling with tabs a lot XD
@@ -0,0 +1,405 @@ | |||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dotsettings and editorconfig are going to conflict, aren't they?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe they will and we can create a new PR to align those.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍
For posterity, the fix is in UserCredentials.cs with corresponding tests in UserCredentialsTests.cs
Added: Support for UTF8 usernames and passwords
Changed: full cleanup from code format to structure (added .DotSettings)
Changed: created a tests common project to share fixtures and more.
Changed: brand new fixtures and fluent docker abstractions.
Changed: added Shouldy for test assertions.
Changed: added Bogus for creating object fakers.
Changed: removed source generators to provide a path to certs and now simply copy them over.
Changed: refactored client warmup functions.