* fix fraud posibility the client sent the unit price, fix unit test to use the fomat as server base
* fix bad coding convention
* update dotnet tool ef and nuget package
* Align MD with real database by default
* migrate from classic controller to minimal api
* fix all PublicApi integration test
* update all nuget package add forget project
* fix pay now
* Adapt readme use in memory database
* undo AuthenticateEndpoint to use EndpointBaseAsync
* Update README.md
Co-authored-by: Steve Smith <steve@kentsmiths.com>
Co-authored-by: Steve Smith <steve@kentsmiths.com>
* udated to .net6
* used the .net6 version RC2
* added editconfig.
* App core new Scoped Namespaces style.
* BlazorAdmin new Scoped Namespaces style.
* Blazor Shared new Scoped Namespaces style.
* Infra new Scoped Namespaces style.
* public api new Scoped Namespaces style.
* web new Scoped Namespaces style.
* FunctionalTests new Scoped Namespaces style.
* Integrational tests new Scoped Namespaces style.
* unit tests new Scoped Namespaces style.
* update github action.
* update github action.
* change the global.
* Updated ApplicationCore to net 5
* Updated Infrastructure project to net 5
* Updated BlazorShared project to net 5
* Updated PublicApi project to net 5
* Updated Web mvc project to net 5
* Updated BlazorAdmin project to net-5
* Updated FunctionalTests to net 5
* Updated UnitTests project to net 5
* Updated IntegrationTests project to net 5
* Fixed CSS specific bug in BlazorAdmin project
* Updated github action worflow yaml
* Changes the name to only .NET
* Removed hardcoded minor version from github action workflow.
* Removed commneted code.
* Removed minor versions from the docker file
* Updated dotnet-ef tool version configuration to net-5
* Removed old migration plans
* Added net5 migration plans
* Updated infrastructure projecti setting.
* Removed database error page related configuration
* Removed commented package.
* Updating Blazor services
* Adding Settings and Refactoring Services
* WIP - Fighting with DI
* Configuring dependencies in both Web Startup and BlazorAdmin Program.cs has them working again.
* Everything works; need to optimize calls to ListBrands
* LocalStorageBrandService decorator working
* Added cache duration of 1 minute
* Refactoring to reduce token storage
Fixed issue with dropdowns binding to int
* Remove token stuff from login; moved to CustomAuthStateProvider
* Migrated CatalogTypes to separate service
Implemented cache decorator
* Ardalis/blazor refactor (#440)
* 1. Migrate CatalogItemServices -> CatalogItemService.
3. Add caching to CatalogItemService.
* change to $"Loading {key} from local storage" ?
* docker settings added. (#441)
* docker settings added.
* InDocker Removed
* InDocker removed from web startup.
* removed unused using
* no reload list if close without save
* startup patch for localhost
* file name fixed
* removed docker from launchSettings.
* Configure logging via appsettings
Co-authored-by: Shady Nagy <info@shadynagy.com>
* replace NewtonSoft with System.Text.Json
* not use auth for brande and types and use GetFromJsonAsync
* fix
* fix
* Auth HttpGet more simple.
* Put, Delete and Post more simple.
* Fixed Edit for remove image and keep image and change other fields.
Added description required in Blazor Admin.
* Removed using not used
* Refactor AuthService and introduce HttpService. add validation for price.
* return null in HttpService if not success.
* Limt Price to 1000 mximum
* DI for Blazor Services
* one blazor service.
* fix
* - Using cdnjs not nuget on bootstrap and signalr.
- Bootstrap modal used for add, edit details and delete.
* EditForm inside modal-content
* Top close button action added
* Removed unused using.
* DeleteCookies moved inside AuthService
* ApplicationCore removed from BlazorAdmin dependencies
* SecureHttpClient removed
* Logout from identity manager added
* last thing to do in logout from admin is LogoutIdentityManager.
* JSRuntime used in AuthService without pass to the functions
* Link fixed when logout from MVC
* Added Blazor Client
Configured PublicAPI CORS to allow traffic from client
* Make admin page home page; remove extra pages
Add CatalogType list endpoint
* Wired up Types and Brands in the API and the admin list page
* Adding a custom HttpClient to talk securely to API
* Ardalis/blazor (#419)
* Login added
* AuthService will handel http request secure and not secure.
* Logout added
* CatalogBrandService in it is own service
* Get token from localstorage when refresh.
* used GetAsync
* Fixed Login and Logout switch.
* CatalogItemService added
* CatalogTypeService added & Auth for CatalogType.
using not used removed.
* Made BlazorComponent and BlazorLayoutComponent for refresh.
Index now small enough to be in one file.
* Removed the service from program main and use lazy singleton.
* used OnInitialized
* Refactoring and detecting login status in login.razor
* Refactoring login to redirect if user is already logged in
* Blazor login with MVC (#420)
* Blazor login with MVC
* return back the PasswordSignInAsync in Login page
* CRUD added (#422)
* CRUD added
* Unit Test changed to meet new redirect /admin
* CreateCatalogItemRequest added.
* Action caption added.
* Validation added for name and price.
* Updated port of api
Redirect to returnUrl from login
* Add username to /admin; link to my profile
* Working on authorization of /admin
* Working on custom auth locking down /admin page
* Microsoft authorize working.Login.razor removed.Login from SignInMana… (#425)
* Microsoft authorize working.Login.razor removed.Login from SignInManager and create token from it.unit test fixed.
* GetTokenFromController function used in CustomAuthStateProvider
* Cleaned up button styles
Refactored to use codebehind for List component
Updated Not Authorized view
Co-authored-by: Shady Nagy <shadynagi@gmail.com>