* - 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>
* Initial update endpoint working
* Updated CatalogItem to support more updates; added tests
* Got MediatR domain events working to check for duplicate item names
* Adding reference link
* Remove domain events spike code
* clean up usings
* Adding tests for GetById endpoint
* Updating tests and messages
* Adding paged endpoint and also AutoMapper
* Authenticate endpoint works as bool with tests
* Got JWT token security working with Create and Delete endpoints and Swashbuckle.
* Working on getting cookie and jwt token auth working in the same app
All tests are passing
* Creating new project and moving APIs
Build succeeds; tests need updated.
* all tests passing after moving services to PublicApi project
* Fix authorize attributes
* Uncomment and update ApiCatalogControllerLists tests
Co-authored-by: Eric Fleming <eric-fleming18@hotmail.com>
* Creating new test class for RemoveEmptyItems
* Adding tests for AddItemToBasket in BasketService
* Removing unused GetBasketItemCountAsync
* Adding tests for BasketWithItemsSpecification
* Adding CustomerORdersWithItemsSpecification tests
* Adding CatalogFilterPaginatedSpecifciation tests
* Adding CatalogItemsSpecification tests
* Updating CahceHelperTests names
* Updating OrdersTests names
* Removing tests for "Include" functionality as it lives in a NuGet Package now
* Updating Integration Test anems
* Changed the order of the projects, Web first to infer as startup.
* Added encapsulated JSON serialization - and moved to System.Text.Json
* Refactored a few minor updates out
Co-authored-by: Eric Fleming <eric-fleming18@hotmail.com>
- updating to use Ardalis.Specifications package as it is maintained and has a more robust implementation
- Removing all custom specification implementation
- Updating unit tests
* use lambda expression => improve database call
* use lambda instead for each replace call to repository to reduce call to database
* improve readability and maintainability, and add order by
* clean semicolon
* fix use correct catalog item id
* resolve osbsolete method
* put all properties as private, align unit test
* fix version of version in MD, add instruction to install ef tool
* fix url stored
* Build with GitHub Actions
* Changing dotnet-version
* Updating version again
* Updating path to sln and adding test step
* Updates to file path
* Path is probably starting out at the root
* Updating path once again
* Updating name
* Adding build badge to readme
* Making the build work in markdown
* Updates based on documentation
* Getting the build passing
* Getting app functioning
* A few cleanups to confirm it's working as expected
* Fixing functional tests
* Updating dockerfile for 3.0
* Functional Tests now run sequentially
* Updating to latest version of moq
* Adding migration for post 3.0 upgrades
* Removing commented out lines
* Moving address and catalogitemordered configuration in to classes that own them
* Adding admin user
* Adding admin catalog screen
- will also only display menu option if user is logged in as an admin
* WIP - squash this
* Allow user to edit a catalog item
* Adding entry for new service
* Invalidating cache after catalog item update
- also a little bit of cleanup
* Fixing bad merge
* Removing Picture Uri and making Id readonly
* Adjusting style in menu dropdown so all options are shown
* Creating Cache helpers with unit tests