* 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.
* Updating repositories and specification version
Need to fix broken tests
* removing test that would just be testing mocked result now
* Refactored from IAsyncRepository and removed it.
Tests pass.
* Update packages
* Correctly manage page count when Page size = 0
* make =>TODO: Need to change the api to support full list
Manage to support full list when pagesize is unknow
* 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.
* Removed and Reordered the using statements
* Removed and Reordered the usings inside Web Project
* Removed and Reordered the usings inside PublicApi project
* Removed Unused usings and reorganized usings inside Infrastructure project
* Removed unused using and reorganized the usings inside ApplicationCore Project
* Removed unused usings and reorganized usings inside BlazorAdmin project
* 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
* 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
* 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
* 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
* Minor cleanups
- The change is a better way to do the configuration, but there is
currently an issue where the Value Objects are not being honored and
being treated like Entitys. When this happens, the container will throw
errors when trying to start up because the entitys are lacking primary
keys (when they don't need them).