Commit Graph

538 Commits

Author SHA1 Message Date
Eric Fleming
83f94726b3 Merge pull request #202 from dotnet-architecture/adjusting-navbar-brand
Adjusting navbar brand styles
2019-02-01 21:27:31 -05:00
Eric Fleming
a38027d7c9 Adjusting navbar brand styles 2019-02-01 21:26:52 -05:00
Eric Fleming
c8f30a220b Merge pull request #201 from dotnet-architecture/fixing-header-styles
Fixing header styles
2019-02-01 20:44:14 -05:00
Eric Fleming
3752f80560 More cleanup 2019-02-01 20:16:04 -05:00
Eric Fleming
dbb7bbc4d8 Using the correct login name 2019-02-01 19:58:13 -05:00
Eric Fleming
c0a2aee9f0 Adding header styles 2019-02-01 19:46:32 -05:00
Steve Smith
746c0c9945 Updated docker-compose port 2019-01-28 15:22:09 -05:00
Steve Smith
9d75890302 Test cleanup and adding code coverage 2019-01-25 15:58:59 -05:00
Steve Smith
8941e6b9a6 Login POST Test Working (#198)
* Got login test working

With request verification token
2019-01-25 13:54:35 -05:00
Steve Smith
1b610dd7a4 Adding functional tests (#197)
* Working on login tests

* Testing login with an integration test

Working on login functional test.

* Got functional login test working
2019-01-25 13:13:01 -05:00
Nish
be06e777a6 Updated eBook to v2.2 2019-01-25 18:06:38 +05:30
Steve Smith
cd7bbc0e59 Merge remote-tracking branch 'origin/master' 2019-01-22 21:44:14 -05:00
Steve Smith
88835916d8 Cleaning up docker files 2019-01-22 21:44:06 -05:00
Eric Fleming
8aa92f2635 Merge pull request #119 from Matthiee/master
Add extra max length and required constraints
2019-01-22 20:37:43 -05:00
Eric Fleming
6b12999df1 Merge branch 'master' into pr/119 2019-01-22 20:33:06 -05:00
Eric Fleming
9c65c4e3f7 Updates to existing PR
- updating City value to be 100 instead of 189. The longest city name in the world is 85 characters long, so making it 100 just in case.
- Fixed typo in file name: constrains to constraints
2019-01-22 20:28:56 -05:00
Steve Smith
2bf7f9f78b Fixing port mapping 2019-01-21 17:23:50 -05:00
Praveen Verma
2a6939ad02 Docker Build Failing: In dockerfile updated .net core version to 2.2 (#195)
Thanks!
2019-01-21 11:10:26 -05:00
Steve Smith
99c416142f Consolidate Web and WebRazorPages Projects (#192)
* Moved Privacy, Home page to Razor Pages

* Migrating Basket from RazorPages to Web.

* Removed BasketController; refactored viewmodels

* Moved BasketComponent into Pages/Shared
Added auth rules to Startup for Pages
Added notes to controllers about Pages usage.

* Fixed broken my orders test
Consolidated Functional Tests

* Fixed logo link to home page
Fixed Order Detail Total $ format
2019-01-18 13:29:00 -05:00
Steve Smith
483340f21e Adding API Health Check (#191) 2019-01-18 11:48:26 -05:00
Eric Fleming
e41e37ff05 Merge pull request #189 from dotnet-architecture/anonymous-signin
Anonymous signin
2019-01-17 22:34:46 -05:00
Eric Fleming
118f386c7c Applying some style updates
- Moving the total out of the foreach so it only displays once
- Making the total display proper number of Decimals
2019-01-17 20:33:00 -05:00
Eric Fleming
fa9b04f53d Moving Components directory in to Shared
- Based on the Microsoft documentation, they recommend you put the Components directory inside of Shared. https://docs.microsoft.com/en-us/aspnet/core/mvc/views/view-components?view=aspnetcore-2.2
2019-01-15 20:09:25 -05:00
Eric Fleming
007fb6a0af Display 2 decimal places for Total on Basket screen 2019-01-12 20:10:55 -05:00
Eric Fleming
2d6e9106a3 Setting Cookie to IsEssential to fix anonymous signin 2019-01-12 19:11:26 -05:00
Steve Smith
84f1eeee8c Added HealthCheck (#188)
Checks home page.
2019-01-11 13:27:15 -05:00
Steve Smith
c64c70b183 Add LinkGenerator to AllServices middleware (#187)
* Adding slugify parameter transform

Fixes #172

* Cleaning up code

And slugifying my orders

* Added links to allservices using LinkGenerator
2019-01-11 12:53:08 -05:00
Steve Smith
bc328077b0 Adding slugify parameter transform (#185)
* Adding slugify parameter transform

Fixes #172

* Cleaning up code

And slugifying my orders
2019-01-11 12:39:48 -05:00
BlackFrog1
8e748a4c62 change relative image source path (../) to use ~/ for webroot. (#184) 2019-01-11 09:48:09 -05:00
Eric Fleming
b123945a01 Merge pull request #183 from dotnet-architecture/display-total-once-in-cart
Move the "Total" div out of the for loop so it only appears once in t…
2019-01-05 15:21:48 -05:00
Eric Fleming
482a5dc515 Move the "Total" div out of the for loop so it only appears once in the cart 2019-01-05 15:21:11 -05:00
Eric Fleming
5d429ad093 Merge pull request #181 from dotnet-architecture/resolve-179/convert-to-list-before-deleting
Adding ToList to IReadOnlyCollection used in foreach
2019-01-02 21:09:39 -05:00
Eric Fleming
4444bd20a3 Adding ToList to IReadOnlyCollection used in foreach 2019-01-02 21:04:21 -05:00
Steve Smith
6c41a1bab9 Upgrade to 2.2 (#171)
* Initial Web2 project working

* Initial WebRazorPages project working

* Adding additional sln files

* Removing old project

* Fixed integration tests

* Getting FunctionalTests working.

* Got Swagger working in Web

* Moved web2 to web
2018-12-28 10:04:35 -08:00
Eric Fleming
eb02750841 Remove basket items when basket is deleted (#170)
* Proving out removing the basket items at the same time the basket is deleted

* Fixing existing unit tests

* Adding a unit test for the Deletebasket method

* Rename test and deleting basket items before basket

* Added integration test for DeleteAsync method for BasketItems

- Also added a BasketBuilder to create a Basket with no items, or one item.
2018-12-28 07:40:35 -08:00
Eric Fleming
95285593c9 Updating numbering of README 2018-12-15 14:15:41 -05:00
Eric Fleming
0d44a514ab Fix 147 include order id in details query (#169)
* Adding Id to query so the correct order details are always pulled back

* Removing unused usings

- also removed the sync method as it is not used anywhere in the solution. The Async should be the preferred one.

* Adding integration test for GetByIdWithItemAsync

* Rename test
2018-12-14 17:54:23 -08:00
Eric Fleming
c7c16c4265 Merge pull request #140 from hemantkd/Removing-unused-directives
Removed all the unused directives in the Solution with the assistance…
2018-12-14 19:54:06 -05:00
Eric Fleming
431ff513c3 Merge pull request #168 from ratanparai/patch-1
Consistency in setting up private variable field
2018-12-14 19:34:11 -05:00
Ratan Sunder Parai
c384623315 Consistency in setting up private variable field 2018-12-09 16:57:03 +06:00
Eric Fleming
69054b0002 Merge pull request #150 from beam-codegrind/fix-108
Fixed #108
2018-12-08 14:46:47 -05:00
Steve Smith
1fe6becfcc Reformatting 2018-11-27 10:13:43 -05:00
Steve Smith
9cca5553e2 Adding one more set of curly braces 2018-11-27 10:12:22 -05:00
Steve Smith
fe0471eea4 Adding curly braces for if statements 2018-11-27 10:11:41 -05:00
Hemant Kumar Dundigalla
218c832583 Merge branch 'master' into Removing-unused-directives 2018-11-19 16:32:04 +00:00
Fati Iseni
04530db118 Paging infrastructure implemented through specifications. (#151)
* Paging criterias added in BaseSpecification. New paginated specification added (CatalogFilterPaginatedSpecification) . EFRepository cleaned up and paging implementation added. Usage of the new paging infrastructure in CatalogService (Web and WebRazor).

* Use IReadOnlyList<T> instead of List<T> as return type from repositories.

* - Ordering possibility added in the specification.
- Evaluation of the specification placed in separate class.
2018-11-09 01:46:58 -05:00
beam
886615e740 fix issue #108 2018-10-18 01:25:46 +07:00
Jakub Ciechowski
156d5c6b25 changed name of IBasketService to IBasketViewModelService in order to match file name (#143) 2018-10-15 10:35:38 -05:00
Hemant Kumar Dundigalla
6299d5ccc7 Removed all the unused directives in the Solution with the assistance of Resharper 2018-10-06 23:21:15 +01:00
Rafsanul Hasan
1b5b179c7f Update ASP.NET Core Version to 2.10 to 2.1.3 (#126)
* Updated Web Applications' NuGet Packages:
- [x] Microsoft.AspNetCore.App 2.1.0->2.1.3
- [x] Microsoft.EntityFrameworkCore.Tools 2.1.0->2.1.2
- [x] Microsoft.VisualStudio.Web.CodeGeneration.Design 2.1.0->2.1.3

* Updated Infrastructure Library's BuGet Packages:
- [x] Microsoft.AspNetCore.Identity 2.1.0->2.1.3
- [x] Microsoft.AspNetCore.Identity.EntityFrameworkCore 2.1.0->2.1.3
- [x] Microsoft.EntityFrameworkCore.SqlServer 2.1.0->2.1.2
- [x] Microsoft.EntityFrameworkCore.Tools 2.1.0->2.1.2

* Updated Test projects' NuGetPackages:
- [x] Microsoft.AspNetCore.Mvc.Testing 2.1.0->2.1.2
- [x] Microsoft.NET.Test.Sdk 15.8.0-preview-20180510-03->15.8.0
- [x] Microsoft.AspNetCore.Mvc 2.1.0->2.1.3
2018-09-05 08:09:42 -04:00