Commit Graph

297 Commits

Author SHA1 Message Date
Eric Fleming 9695e9e3ba Adding a ConfigureTestingServices (#335) 2019-12-11 21:59:45 -05:00
Eric Fleming f3f74a342e Admin page (#324)
* 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
2019-12-10 22:04:59 -05:00
Eric Fleming 29d1497a3f Mediatr example (#325)
* 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

* Installing MediatR nuget packages

* Configure MediatR in Startup

* Creating GetMyOrders MediatR query and handler

* Adding GetOrderDetails MediatR handler

* Refactoring out default values

* Added tests for GetOrderDetails mediator handler

* Defaulting values on Models for now

* Removing some spaces

* Splitting files

* Splitting out the GetOrderDetails files

* Adding test for GetMyOrders

* restructuing folders

* Using constant
2019-11-15 13:36:51 -05:00
Gregg Miskelly 0fcf43ea78 Update database instructions to work in .NET Core 3.0
In the 3.0 SDK `dotnet ef` needs to be installed. This updates the instructions/tool config to do so.

More info: https://docs.microsoft.com/en-us/ef/core/miscellaneous/cli/dotnet
2019-11-11 09:13:30 -08:00
Eric Fleming 4442015835 Netcore3.0 (#323)
* 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
2019-11-06 14:17:56 -05:00
Konrad Masalski d422c42c24 minor code rearange, quantity as optional parameter, removed some unused fields 2019-10-28 22:44:40 +01:00
Eric Fleming 9b7dc2c1ce Reverting package version
- The new version of this package appears to have a bug or no longer compatible with .NET Core 2.2
2019-10-05 13:30:06 -04:00
Eric Fleming e7b411cb92 Update Microsoft.VS.Web.CodeGeneration.Design 2019-10-04 20:24:24 -04:00
Eric Fleming 4418e36fc5 Updating Microsoft.Web.LibraryManager.Build 2019-10-04 20:23:17 -04:00
Eric Fleming 1ac91c5c8e Updating Microsoft.CodeAnalysis 2019-10-04 20:22:13 -04:00
Steve Smith 4127d90b01 Adding docker-compose project (#302) 2019-09-11 23:35:13 -04:00
Eric Fleming 1cf176c107 Update style for when the basket is empty 2019-09-11 21:13:30 -04:00
Ovi 70e009bda2 Allow to remove items from the basket setting quantity to zero 2019-09-11 09:16:00 -04:00
Steve Smith 8e1952158a Update BaseApiController.cs 2019-08-30 10:05:23 -04:00
Eric Fleming d2e826331b Removing unnecessary class 2019-08-28 20:34:01 -04:00
Eric Fleming 2da7421568 Updating the styles/page layout of the register page 2019-08-28 20:18:20 -04:00
Eric Fleming 4802d078a2 Removing old view and adding the scaffolded Register page so we can apply some styles to it 2019-08-28 19:43:42 -04:00
Eric Fleming 4fb07d4d88 Configuring to use In-Memory Database by default 2019-08-19 21:46:14 -04:00
Steve Smith 305be555db Updated packages; Using configuration classes for EF Core. 2019-08-18 15:16:31 -04:00
Eric Fleming 63cb73bf2d Merge pull request #275 from saschagottfried/master
Remove client-side libraries managed by Library Manager from reposito…
2019-07-16 21:19:41 -04:00
Nemi Chand 1c0dbfa9bd Adding Continue shopping link/button to Cart 2019-07-15 23:01:14 +05:30
Sascha Gottfried ae6368558e Remove client-side libraries managed by Library Manager from repository. Add default target location wwwroot/lib/ to .gitignore file. 2019-07-15 10:13:34 +02:00
Eric Fleming 89ab19cf19 Removing the AccountController 2019-06-21 21:40:02 -04:00
Eric Fleming c2e37b9019 Adding confirmEmail scaffolding
- Also updating the UrlHelpExtensions to not have a dependency on the AccountController
2019-06-21 21:39:52 -04:00
Eric Fleming e19ade962a Removing unused UrlHelperExtension 2019-06-21 21:18:50 -04:00
Eric Fleming 3ec2477175 Updating to match previous logic 2019-06-20 20:52:46 -04:00
Eric Fleming d5446de65f Adding scaffolding for Logout page
- Removing Identity route from startup
2019-06-20 20:41:00 -04:00
Bohdan Stupak 7e7c60eac4 Fixing indentation 2019-06-13 22:11:33 +03:00
Bohdan Stupak 772a65b3b3 Removing blocking calls in main 2019-06-13 22:04:29 +03:00
Eric Fleming e87f11b0e1 Merge pull request #256 from dotnet-architecture/adjusting-styles-on-order-details
Adjusting styles on order details
2019-05-28 21:40:43 -04:00
Eric Fleming 3a9d8d0698 Removing font-size adjustment on wrong element 2019-05-28 21:38:39 -04:00
Eric Fleming 804d924988 Updating styles for Order details 2019-05-28 21:36:44 -04:00
Vilimek, Jan 451f20b515 Fixed missing CSS on published site = adding bundling.
Justification:
When published (under Release configuration) in layout there is just app.min.css. We can either add also other minified CSS there (components, headers,...) or add one bundled and minified 8KB css.
2019-05-27 13:54:17 +02:00
Eric Fleming 4d27a4731c Adding z-index so menu displays in front of everything 2019-05-23 22:10:50 -04:00
Eric Fleming 835528ece0 Removing unused uri composer 2019-05-23 21:40:44 -04:00
Abhith Rajan 33fb52cee3 jquery reference path corrected 2019-05-21 11:29:02 +04:00
Eric Fleming 794b9d7ab8 Updated NuGet Packages 2019-04-05 22:10:53 -04:00
Eric Fleming 69dafa29e2 No need to pass in a LinkGenerator anymore 2019-04-05 22:06:07 -04:00
Eric Fleming 05767d6afc Switch to using NuGet package for listing all registered services 2019-04-05 21:10:14 -04:00
Eric Fleming 555c3295f1 Renaming CatalogServices to CatalogViewModelService
- I believe this causes some confusion when people see "Service" in the Web project. We have another service in there named BasketViewModelService instead of BasketService anyways. Adding "ViewModel" to the name is a better representation of what the "services" in the Web project represent.
2019-03-30 15:29:32 -04:00
Eric Fleming 5efd175a90 Removing app and app.min from ContentRemove 2019-03-23 16:04:30 -04:00
Eric Fleming 392b68e89d Merge pull request #226 from dotnet-architecture/upate-profile-menu-link
Changing asp-action to go to MyAccount instead of Index
2019-03-10 19:08:37 -04:00
Eric Fleming 0cc045356c Changing asp-action to go to MyAccount instead of Index 2019-03-10 17:04:28 -04:00
Eric Fleming 847276a4e5 Adjusting filter button styles 2019-03-10 16:56:01 -04:00
Eric Fleming 300cce7a88 Cleanup UpToDateCheckInput 2019-03-09 19:25:50 -05:00
Eric Fleming 7c044d9c57 Removing ContentIncludedByDefault section that was added 2019-03-09 19:21:10 -05:00
Eric Fleming db517b9c1d Merge pull request #223 from dotnet-architecture/fix-clicking-cart-button
Component will now redirect to basket when clicking on cart icon
2019-03-09 18:59:42 -05:00
Eric Fleming d0dcb63e1e Component will now redirect to basket when clicking on cart icon 2019-03-09 18:57:48 -05:00
Eric Fleming 8a00269ebd Removing IRepository
- This also involved cleaning up places where IRepository was still being references in Startup
- Removed unused repository from Basket service
2019-03-01 22:21:12 -05:00
Eric Fleming b084d4e770 Removing List and all the places it was used 2019-03-01 22:07:46 -05:00