Commit Graph

46 Commits

Author SHA1 Message Date
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
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
d5446de65f Adding scaffolding for Logout page
- Removing Identity route from startup
2019-06-20 20:41:00 -04: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
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
Abhith Rajan
33fb52cee3 jquery reference path corrected 2019-05-21 11:29:02 +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
d0dcb63e1e Component will now redirect to basket when clicking on cart icon 2019-03-09 18:57:48 -05:00
Eric Fleming
374c950a49 Fixing footer styling 2019-02-16 20:53:57 -05:00
Eric Fleming
ae46185a0b Working on styling for new Login page 2019-02-15 23:01:16 -05:00
Eric Fleming
8c2e43d775 Removing old Signin.cshtml 2019-02-15 22:14:18 -05:00
Eric Fleming
fbde5dae90 Added scaffolded Login page for Identity
- Also updated the _LoginPartial to use the new page
2019-02-15 21:54:35 -05:00
Eric Fleming
f8abe0be12 Adding compilerconfig and updating variables 2019-02-09 15:18:49 -05:00
Eric Fleming
a38027d7c9 Adjusting navbar brand styles 2019-02-01 21:26:52 -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
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
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
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
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
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
Jeremy Hutchinson
f953495e38 Standardize namespaces to all be under the Microsoft.eShopOnWeb namespace and update default namespaces. (#102) 2018-06-05 08:52:54 -04:00
Steve Smith
549baab979 Merge remote-tracking branch 'origin/master' into netcore2.1 2018-05-31 12:29:12 -04:00
lisabii
7a28c62910 fix an asp-action value (#98)
There is no "Update" in BasketController and it should be "Index".
2018-05-31 10:09:52 -04:00
Steve Smith
2ab390fa6d Using partial Tag Helper 2018-05-29 13:35:14 -04:00
Steve Smith
3d46c80cff Adding 2FA Authenticator Support (#66)
* Adding support for 2fa, more auth options

* WIP getting auth stuff working

* Added Manage views. 2FA working now for MVC app.

* Switching to using a controller for no-UI logout scenario

* Adding Razor Pages impl of 2FA auth stuff. Works.
2017-10-23 21:58:21 -04:00
Steve Smith
dea73a5f5e Adding Razor Pages Version (#60)
* In progress copying code into new RP project
Cleaning up namespaces and whitespace in original Web project

* Cleaning up some more namespaces

* Removing unused page.

* Index page loads correctly.

* Fixing up paging.

* Moving views; getting ready to convert to RPs

* Auto stash before merge of "master" and "origin/master"

Basket and Checkout pages wired up

* WIP on Account pages

* Working on signin/signout

* Working on auth

* Getting order history working
Fixing auth bug

* Fixing Checkout issue

* Fixing link
2017-10-23 09:23:57 -04:00
Steve Smith
964173f277 Using Base Specification Class (#56)
* Ardalis/upgrade1 (#44)

* Upgrading to netcore 2.0
Updating repository to support async options and refactoring to use it.

* Starting work on tracking customer orders feature.

* Cleaning up some bugs
Working on basket view component implementation

* Fixing up styles, especially for basket in header.

* Adding Order Features (#47)

* Working on order model binding from checkout page - WIP

* Small layout tweaks (#43)

* Updating quantities implemented.

* Fixed basket widget count

* Order History (#49)

* working on creating and viewing orders.
* Working on wiring up listing of orders
* List orders page works as expected. Needed to support ThenInclude scenarios. Currently using strings.

* Remove non-icon basket link from header
Add comments to EF query logic

* Refactoring to use base specification type

* minor cleanup
2017-10-18 13:18:25 -04:00
Steve Smith
aca618316a Initial Upgrade to .NET Core 2.0 (#50)
* Ardalis/upgrade1 (#44)

* Upgrading to netcore 2.0
Updating repository to support async options and refactoring to use it.

* Starting work on tracking customer orders feature.

* Cleaning up some bugs
Working on basket view component implementation

* Fixing up styles, especially for basket in header.

* Adding Order Features (#47)

* Working on order model binding from checkout page - WIP

* Small layout tweaks (#43)

* Updating quantities implemented.

* Fixed basket widget count

* Order History (#49)

* working on creating and viewing orders.
* Working on wiring up listing of orders
* List orders page works as expected. Needed to support ThenInclude scenarios. Currently using strings.
2017-09-22 11:28:55 -04:00
Robert Sandu
b90bd08d11 Small layout tweaks (#43) 2017-09-01 09:15:42 -04:00
Steve Smith
3a95375ae7 Renaming Cart to Basket (#38) 2017-08-15 14:28:36 -04:00
Steve Smith
434da3f257 Fixing Layout and Updating book (#35)
* Auto stash before merge of "master" and "origin/master"

Using catalog CSS files regradless of environment

* Removed duplicate paragraph
2017-08-14 16:37:45 -04:00
Steve Smith
a8f150aac7 Implementing Registration. (#32) 2017-08-07 15:21:03 -04:00
Steve Smith
97ef1c79a0 Controller cleanup (#30)
* Cleaning up routes.

* Adding signout functionality

* Added simple checkout behavior
2017-08-07 14:12:48 -04:00
Steve Smith
d7eb59c097 Refactoring and Adding Tests (#28)
* Introducing repository and refactoring services.
Changing entities to use int keys everywhere.

* Refactoring application services to live in web project and only reference repositories, not EF contexts.

* Cleaning up implementations

* Moving logic out of CatalogController
Moving entity knowledge out of viewmodels.

* Implementing specification includes better for catalogservice

* Cleaning up and adding specification unit tests
2017-08-07 13:25:11 -04:00
Steve Smith
b67f8cc050 Cart Updates (#26)
* ardalis/cart-updates

Updating how items are added to cart and displayed in cart.

* Cleaning up UI
2017-08-07 09:49:12 -04:00
Steve Smith
acdc072cb9 Merge branch 'ardalis/basket-add' into master 2017-07-27 11:39:42 -04:00
Steve Smith
af406f86ef Updated logging
Moved images to use static files
Got login working with demo user.
2017-07-26 17:30:29 -04:00
Steve Smith
925ad6b557 Cleaning things up and getting add item to cart working for anonymous or authenticated users. 2017-07-24 16:45:54 -04:00
Steve Smith
408c5d97ec Working on wiring up identity and basket 2017-04-20 17:04:03 -04:00
Steve Smith
c871497569 Renaming innermost project to ApplicationCore 2017-03-22 22:19:33 -04:00
Steve Smith
6d874ee3ef Refactoring to use common BaseEntity class.
Fixed error on view page referencing old Models namespace.
2017-03-22 21:10:01 -04:00
Steve Smith
884f7c0cfb adding initial project and solution files 2017-03-22 20:58:43 -04:00