Commit Graph
24 Commits
Author SHA1 Message Date
1e13733d3d Feature/migrate to minimal api (#662)
* 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>
2022-01-21 10:13:31 -05:00
Cédric MichelandGitHub 02b509711b Feature/exception response (#663)
* return 500 code for other exception with json response

* not throw
2022-01-21 10:07:11 -05:00
Cédric MichelandGitHub 3a81dcfd84 use GetRequiredSection and Service to inject options (#640) 2021-12-01 14:31:08 -05:00
Cédric MichelandGitHub 13fed892ee update nuget package and adapt dockerfile to .net 6 (#639) 2021-12-01 12:53:35 -05:00
Cédric MichelandGitHub 64f150dc07 replace counter by specific query to avoid load each items in memory (#611)
* replace counter by specific query to avoid load each items in memory

* Create IBasketQueryService
2021-11-02 10:16:57 -04:00
Cédric MichelandGitHub 553a10187d remove unsupported string.Compare with real database (#612) 2021-11-02 09:20:39 -04:00
Cédric MichelandGitHub 984740d422 Basket : Improve, reduce, remove duplication call to database (#610) 2021-11-01 17:09:34 -04:00
Cédric MichelandGitHub 47f69eb294 protect basket by manual manipulation of basket shop cookie (#609)
* protect basket by manual maipulation of  basket shop cookie (get and set)

* add diagram to explain issue 449
2021-11-01 12:28:01 -04:00
Cédric MichelandGitHub ed30f3dcc4 fix bad redirection (#608)
* fix bad redirection
fix cleanning of local storage on startup

* update all nuget package

* avoid magic string
2021-11-01 10:35:26 -04:00
5d34222f28 add cached on logout with revoke cookie identity key (#605)
* add cached on logout with revoke cookie identity key

* properly signout as recommended : https://docs.microsoft.com/en-us/aspnet/core/security/authentication/cookie?view=aspnetcore-5.0#react-to-back-end-changes

* add remark regarding multi-host scenario

* Update src/Web/Configuration/RevokeAuthenticationEvents.cs

Co-authored-by: Steve Smith <steve@kentsmiths.com>
2021-11-01 09:49:53 -04:00
Cédric MichelandGitHub 68beb21f07 Feature/generic cached decorator (#604)
* make TODO: Make a generic decorator for any LookupData type

* remove useless GetById in ICatalogLookupDataService
2021-10-31 14:54:00 -04:00
Cédric MichelandGitHub ed63faac84 update all nuget package (#603) 2021-10-28 09:25:55 -04:00
Cédric MichelandGitHub 463e6f522d change BuyerId to 256 because it represent the user name from identity and it also mandatory (#597) 2021-10-26 14:04:40 -04:00
Cédric MichelGitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
cfd4f4e22d Dependabot/nuget/blazored.local storage 4.1.5 (#596)
* Bump Blazored.LocalStorage from 3.0.0 to 4.1.5

Bumps [Blazored.LocalStorage](https://github.com/Blazored/LocalStorage) from 3.0.0 to 4.1.5.
- [Release notes](https://github.com/Blazored/LocalStorage/releases)
- [Commits](https://github.com/Blazored/LocalStorage/compare/v3.0.0...v4.1.5)

---
updated-dependencies:
- dependency-name: Blazored.LocalStorage
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* use AddBlazoredLocalStorage instead of add Localstorage
align version of nuget package

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-26 13:44:32 -04:00
f6a975acbe make : // TODO: Make a generic service for any LookupData type (#594)
* make :  // TODO: Make a generic service for any LookupData type => CatalogLookupDataService

* Update src/BlazorAdmin/Services/CachedCatalogTypeServiceDecorator.cs

Co-authored-by: Steve Smith <steve@kentsmiths.com>
2021-10-26 10:59:50 -04:00
Cédric MichelandGitHub 8f55b1b56a manage conflict (generic way) use toast to show error (#588)
* manage conflict (generic way) use toast to show error

* fix httpservice after merge conflict, adapt to use new repository
2021-10-25 17:32:07 -04:00
Cédric MichelandGitHub 729354297f Make TODO: Only run this if using a real database (#569)
use IsSqlServer extension method on catalogContext.Database (DatabaseFacade)
2021-10-24 18:09:36 -04:00
530df9d685 fix to remove usage of IIS port. (#552)
* fix to not using IIS port.
add more information in readme to start application with correct profile correcponding in the appsettings

* Update README.md

Co-authored-by: Steve Smith <steve@kentsmiths.com>
2021-10-24 17:55:35 -04:00
Cédric MichelandGitHub 5b5abd9c8d Issue/567 (#568)
* 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
2021-10-24 17:41:36 -04:00
6041a1f183 Use cancellation token in repository and web fie system (http call can cancelled) (#471)
Co-authored-by: cmichel <cmichel@interparking.com>
2020-11-30 12:21:19 -05:00
Cédric MichelandGitHub 92ca22cf8b Feature load improvement (#374)
* 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
2020-05-13 13:45:52 -04:00
Cédric MichelandGitHub 516d87aaa1 manage basket checkout after login (#371) 2020-05-06 15:53:52 -04:00
Cédric MichelandGitHub fdb4869c0b add FirstAsync in respository (#370)
* add FirstAsync in respository

* use new FirstOrDefaultAsync() method from repository
2020-05-05 10:23:57 -04:00
Cédric MichelandGitHub 3e228035c0 Feature/respect encapsulation (#349)
* 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
2020-02-03 12:47:59 -07:00