Commit Graph

392 Commits

Author SHA1 Message Date
Steve Smith
8a45a2c858 Update Specification and other packages to latest version (#582)
* 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
2021-10-25 15:13:02 -04:00
Daniyar Alpyspayev
fee2bbce3d refactored the Infrastructure project (#553) 2021-10-24 18:25:15 -04:00
Cédric Michel
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
dependabot[bot]
52e2f0b06f Bump Microsoft.VisualStudio.Azure.Containers.Tools.Targets (#576)
Bumps Microsoft.VisualStudio.Azure.Containers.Tools.Targets from 1.10.9 to 1.11.1.

---
updated-dependencies:
- dependency-name: Microsoft.VisualStudio.Azure.Containers.Tools.Targets
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-24 18:09:07 -04:00
dependabot[bot]
896fad1587 Bump AutoMapper.Extensions.Microsoft.DependencyInjection (#575)
Bumps [AutoMapper.Extensions.Microsoft.DependencyInjection](https://github.com/AutoMapper/AutoMapper.Extensions.Microsoft.DependencyInjection) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/AutoMapper/AutoMapper.Extensions.Microsoft.DependencyInjection/releases)
- [Commits](https://github.com/AutoMapper/AutoMapper.Extensions.Microsoft.DependencyInjection/compare/v8.1.0...v8.1.1)

---
updated-dependencies:
- dependency-name: AutoMapper.Extensions.Microsoft.DependencyInjection
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-24 17:56:08 -04:00
dependabot[bot]
742f515720 Bump Microsoft.Extensions.Identity.Core from 5.0.0 to 5.0.11 (#577)
Bumps [Microsoft.Extensions.Identity.Core](https://github.com/dotnet/aspnetcore) from 5.0.0 to 5.0.11.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.0...v5.0.11)

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Identity.Core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-24 17:55:51 -04:00
Cédric Michel
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
Abu Zafor Khairuzzaman
c02efcd4be Fix profile update routing issue (#564) 2021-10-24 17:51:38 -04:00
dependabot[bot]
7066f429ea Bump FluentValidation from 9.3.0 to 10.3.4 (#573)
Bumps [FluentValidation](https://github.com/JeremySkinner/fluentvalidation) from 9.3.0 to 10.3.4.
- [Release notes](https://github.com/JeremySkinner/fluentvalidation/releases)
- [Changelog](https://github.com/FluentValidation/FluentValidation/blob/main/Changelog.txt)
- [Commits](https://github.com/JeremySkinner/fluentvalidation/compare/9.3.0...10.3.4)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-24 17:48:50 -04:00
dependabot[bot]
a508e6ea23 Bump Microsoft.AspNetCore.Components.Authorization from 5.0.0 to 5.0.11 (#574)
Bumps [Microsoft.AspNetCore.Components.Authorization](https://github.com/dotnet/aspnetcore) from 5.0.0 to 5.0.11.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.0...v5.0.11)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.Authorization
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-24 17:48:01 -04:00
dependabot[bot]
40ca20ad91 Bump Microsoft.EntityFrameworkCore.SqlServer from 5.0.0 to 5.0.11 (#571)
Bumps [Microsoft.EntityFrameworkCore.SqlServer](https://github.com/dotnet/efcore) from 5.0.0 to 5.0.11.
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/commits)

---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.SqlServer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steve Smith <steve@kentsmiths.com>
2021-10-24 17:47:31 -04:00
Cédric Michel
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
dependabot[bot]
cafd5d0544 Bump Microsoft.AspNetCore.Authentication.JwtBearer from 5.0.9 to 5.0.11 (#570)
Bumps [Microsoft.AspNetCore.Authentication.JwtBearer](https://github.com/dotnet/aspnetcore) from 5.0.9 to 5.0.11.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Commits](https://github.com/dotnet/aspnetcore/commits)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-24 17:40:42 -04:00
Sumit Ghosh
ec1dc0ede3 Merge pull request #558 from dotnet-architecture/dependabot/nuget/Swashbuckle.AspNetCore.SwaggerUI-6.2.2
Bump Swashbuckle.AspNetCore.SwaggerUI from 5.6.3 to 6.2.2
2021-09-27 19:35:51 +05:30
dependabot[bot]
ab7122bed7 Bump Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
Bumps [Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore](https://github.com/dotnet/aspnetcore) from 5.0.0 to 5.0.10.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.0...v5.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 14:03:22 +00:00
Sumit Ghosh
45bf78eda7 Merge pull request #556 from dotnet-architecture/dependabot/nuget/BuildBundlerMinifier-3.2.449
Bump BuildBundlerMinifier from 2.9.406 to 3.2.449
2021-09-27 19:33:07 +05:30
Sumit Ghosh
951acfcd44 Merge pull request #555 from dotnet-architecture/dependabot/nuget/Microsoft.AspNetCore.Identity.EntityFrameworkCore-5.0.10
Bump Microsoft.AspNetCore.Identity.EntityFrameworkCore from 5.0.0 to 5.0.10
2021-09-27 19:32:39 +05:30
dependabot[bot]
065f9445ca Bump Swashbuckle.AspNetCore.SwaggerUI from 5.6.3 to 6.2.2
Bumps [Swashbuckle.AspNetCore.SwaggerUI](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 5.6.3 to 6.2.2.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v5.6.3...v6.2.2)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore.SwaggerUI
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 12:42:36 +00:00
dependabot[bot]
f42b1ce349 Bump BuildBundlerMinifier from 2.9.406 to 3.2.449
Bumps [BuildBundlerMinifier](https://github.com/madskristensen/BundlerMinifier) from 2.9.406 to 3.2.449.
- [Release notes](https://github.com/madskristensen/BundlerMinifier/releases)
- [Changelog](https://github.com/madskristensen/BundlerMinifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/madskristensen/BundlerMinifier/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 12:42:29 +00:00
dependabot[bot]
f67ca2766c Bump Microsoft.AspNetCore.Identity.EntityFrameworkCore
Bumps [Microsoft.AspNetCore.Identity.EntityFrameworkCore](https://github.com/dotnet/aspnetcore) from 5.0.0 to 5.0.10.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.0...v5.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Identity.EntityFrameworkCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 12:42:26 +00:00
dependabot[bot]
9b5ca33708 Bump Microsoft.AspNetCore.Components.WebAssembly.DevServer
Bumps [Microsoft.AspNetCore.Components.WebAssembly.DevServer](https://github.com/dotnet/aspnetcore) from 5.0.0 to 5.0.10.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.0...v5.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.WebAssembly.DevServer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 12:42:22 +00:00
Sumit Ghosh
ccc9bd724a Merge pull request #551 from khairuzzaman/master
Fix Manage Account Broken UI
2021-09-24 19:51:20 +05:30
Sumit Ghosh
e9869cc7d8 Merge pull request #548 from dotnet-architecture/dependabot/nuget/src/PublicApi/Microsoft.AspNetCore.Authentication.JwtBearer-5.0.9
Bump Microsoft.AspNetCore.Authentication.JwtBearer from 5.0.0 to 5.0.9 in /src/PublicApi
2021-09-24 19:00:54 +05:30
Abu Zafor Khairuzzaman
d35a0d4d3f fix Manage Account broken UI 2021-09-21 22:10:45 +06:00
dependabot[bot]
f58cd5aa17 Bump Microsoft.AspNetCore.Authentication.JwtBearer in /src/Web
Bumps [Microsoft.AspNetCore.Authentication.JwtBearer](https://github.com/dotnet/aspnetcore) from 5.0.0 to 5.0.9.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.0...v5.0.9)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-25 14:59:30 +00:00
dependabot[bot]
a0cfec094d Bump Microsoft.AspNetCore.Authentication.JwtBearer in /src/PublicApi
Bumps [Microsoft.AspNetCore.Authentication.JwtBearer](https://github.com/dotnet/aspnetcore) from 5.0.0 to 5.0.9.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.0...v5.0.9)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-25 14:59:24 +00:00
KurnakovMaksim
ce20b08e7d Edit Include to ThenInclude (#540) 2021-07-08 11:36:38 -04:00
Sumit Ghosh
1c9c491c51 Included feedback 2021-06-29 11:53:43 +05:30
Sumit Ghosh
c29001aae3 Update src/PublicApi/CatalogItemEndpoints/Create.cs
Co-authored-by: David Pine <david.pine@microsoft.com>
2021-06-28 20:12:48 +05:30
Sumit Ghosh
c6bd0543e2 Removed image upload functionality 2021-06-24 15:01:51 +05:30
Sayed M. Hussein
9251940529 Renamed private field name (#535)
Conditional statement is to compare the file data length when it is more than a specific size, to the private filed was renamed from "ImageMinimumBytes" to "ImageMaximumBytes".
2021-05-27 12:00:58 -04:00
Steve Smith
15bd78ee5b Add default Development launch profile for Kestreal (#522) 2021-04-14 16:27:56 -04:00
Mykola
1131617fde #510 fixed static images behind path-based proxy (#511) 2021-02-16 11:42:37 -05:00
Youssef Victor
1dd3979d2a Remove unneeded references in Infrastructure.csproj (#509) 2021-02-13 11:18:15 -05:00
Mykola
9168f3324b Fix for #507 - right arrow image not shown (#508) 2021-02-13 10:51:33 -05:00
Shady Nagy
7a7625662e context to catalogContext (#493) 2021-02-13 10:51:03 -05:00
Steve Smith
ba9aea29bd Update to latest Endpoints package and fix breaking changes (#506) 2021-02-13 10:50:31 -05:00
Sumit Ghosh
28af1642f6 Feature/update net 5 (#487)
* 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.
2020-12-03 11:23:11 -05:00
Viswanatha Swamy
3463c89418 Swamy/remove unused usings and reorganize usings (#490)
* 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
2020-12-03 11:22:14 -05:00
Viswanatha Swamy
1598d0bbe1 Swamy/remove unused usings and reorganize usings (#489)
* 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
2020-12-03 08:05:28 -05:00
Cédric Michel
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
Onur BIYIK
2502e01efd Fix for Nullreference exception when public api authenticate endpoint called with invalid username. (#482) 2020-11-14 14:15:08 -05:00
Tim Heuer
c2fe05dbd4 Fix favicon.ico build bug and modify CI to run on PR (#479) 2020-11-10 21:22:14 -05:00
Shady Nagy
d5610aad12 Upgrade ardalis.ApiEndpoints to v2. (#451) 2020-08-07 17:19:32 -04:00
Steve Smith
754c845e9f Upgrade to use Specification 4.0.0 (#444) 2020-07-31 14:52:14 -04:00
Shady Nagy
e520126857 Docker working without Configure ConfigureAppConfiguration (#443)
* Docker working without Configure ConfigureAppConfiguration.

* Sort modifiers
2020-07-31 12:05:37 -04:00
Steve Smith
f901db156a Removing AuthService and fixing Dockerfile for PublicApi 2020-07-31 00:19:17 -04:00
Steve Smith
e9a9dc06d7 Updating Blazor Admin (#442)
* 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>
2020-07-30 23:50:51 -04:00
Shady Nagy
98fb0ee8ce Removed WebUrl from AuthService (#438) 2020-07-29 12:21:40 -04:00
Shady Nagy
b640926a19 Shady nagy/remove newton soft (#436)
* 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
2020-07-29 10:28:55 -04:00