Commit Graph

47 Commits

Author SHA1 Message Date
Javier Calvarro Nelson a8246e2a99 [Fixes #327] Replace AAD template code with packages
* Add Microsoft.AspNetCore.Authentication.AzureAD.UI package.
* Add Microsoft.AspNetCore.Authentication.AzureADB2C.UI package.
* Remove AccountController.
* Remove Pages/Views related to authentication.
2018-03-26 20:37:46 -07:00
Hao Kung e1cb3f25ac Switch to AddDefaultIdentity 2018-03-26 12:18:01 -07:00
Jass Bagga 4acda9dd9b
Set userBrowserLink to false for VS host file (#395)
Addresses #394
2018-03-22 17:04:09 -07:00
Jass Bagga b24e3b2e78
Use applicationUrl instead of ASPNETCORE_URLS (#390)
Addresses #328
2018-03-22 10:32:20 -07:00
Jass Bagga f786df9dc9
Use partial tag helper (#375)
Addresses #338
2018-03-20 10:36:08 -07:00
Jass Bagga cbdc7bd3b8
Remove tools references and explicit EF.Design reference (#370)
Addresses #99 and #357
2018-03-19 16:27:54 -07:00
Kiran Challa fa8fcc9a62 Made wwwroot 'copyOnly' to avoid modifications in it's files 2018-03-19 16:15:34 -07:00
Jass Bagga 79b4cafe68
Remove BOM from json files (#369)
Addresses #276
2018-03-19 10:11:00 -07:00
Hao Kung 7db6925ffc
Split sqllite and sql server migrations (#348)
* Split sqllite and sql server migrations

* Fix casing, move files around

* Remove if defs and add check
2018-03-13 11:41:16 -07:00
Jass Bagga c4d1f20c78
Remove bundleconfig.json files from project templates (#335)
Addresses #326
2018-03-01 11:58:18 -08:00
Jass Bagga 8cac91b15e
Update jQuery (#307) 2018-02-22 14:39:18 -08:00
Javier Calvarro Nelson e81e124586 Fix whitespaces 2018-02-09 15:07:33 -08:00
Javier Calvarro Nelson 025d366b83 Fix bad merge 2018-02-09 14:08:01 -08:00
Javier Calvarro Nelson 6bb798d2b7 Add minimumsamesitepolicy.None in the cookie policy options on the templates 2018-02-09 13:51:34 -08:00
Javier Calvarro Nelson 67cf534bda Fix B2C templates 2018-02-09 13:20:16 -08:00
Hao Kung 06f1340f2a
[2.1] Update initial identity migration (#313) 2018-02-08 12:37:40 -08:00
Jass Bagga 6b490836b1 Remove hard coded copyright year 2018-02-07 14:13:02 -08:00
Javier Calvarro Nelson 216e9f62c4 Fix kestrel urls in launchSettings.json 2018-02-02 16:10:15 -08:00
Javier Calvarro Nelson 1ea32bd569
[Fixes #283] Updates vs-2017.3.host.json to include the HTTP port 2018-02-02 10:32:19 -08:00
Jass Bagga c15cd757cf Set ASPNETCORE_URLS 2018-01-26 15:59:54 -08:00
Nate McMaster 04dfc5cc6b Remove RuntimeFrameworkVersion from the templates
This property is no longer needed because the Microsoft.AspNetCore.All and .App packages set the shared framework version. RuntimeFrameworkVersion is inferred by Microsoft.NET.Sdk
2018-01-25 12:25:34 -08:00
Jass Bagga d978b0da6c
Revert "Update jQuery" (#257)
This reverts commit 78f4c7342b.
2018-01-24 17:17:57 -08:00
Javier Calvarro Nelson 2269a31983 [Fixes #245] Update Identity to use the default layout from the application.
Added /Areas/Identity/Pages/_ViewStart.cshtml and set the layout to the
applications layout.
2018-01-23 17:40:57 -08:00
Jass Bagga 78f4c7342b
Update jQuery (#250)
Addresses #248
2018-01-23 16:11:41 -08:00
Javier Calvarro Nelson d159cb9b00 Add application DbContext 2018-01-22 13:24:54 -08:00
Jass Bagga 767a857635
Set CompatibilityVersion for templates (#240)
Addresses #235
2018-01-18 16:11:09 -08:00
Hao Kung 5d2f598c80 Update initial migrations 2018-01-16 14:44:29 -08:00
Chris Ross (ASP.NET) eabde9fe9e Add CookiePolicy and consent UI 2018-01-09 12:42:07 -08:00
Javier Calvarro Nelson 5325c65b88 Replace identity code with built-in version on the templates 2017-12-29 11:45:10 -08:00
Javier Calvarro Nelson 8c94d27d6a [Fixes #181] Go back to server selected listening ports. 2017-12-28 19:00:29 -08:00
Jass Bagga e7749b9ccc
return ReturnUrl when ExternalLogin fails (#186)
Addresses #97
2017-12-14 10:29:36 -08:00
Jass Bagga eb74ea32f1
Add app.config to net 4.x templates (#191)
Addresses #73
2017-12-13 11:12:12 -08:00
Jass Bagga 6eaf1219f6
Use nameof() when returning Views (#196) 2017-12-13 11:11:32 -08:00
Biarity 13e4025dac Using nameof() instead of hard-coded string. (#188) 2017-12-12 12:05:06 -08:00
Jass Bagga 26ea920fa6
Set LoginProvider when ExternalLoginConfirmation fails (#187)
Addresses #98
2017-12-12 11:27:11 -08:00
Javier Calvarro Nelson 4d2e642b94 Add launchSettings.json by default to our templates
* Adds launchSettings.json to all of our templates.
* Provides an alternative flag to exclude it.
* Adds HTTPS support in launchSettings.json.
* Re-adds HTTPS redirect and HSTS middleware for C# templates.
* Improves some infrastructure aspects:
    * Prefix all our test projects with AspNet.Template to allow easy
      killing of orphaned processes.
    * Setup an HTTPS certificate automatically for use with tests in the
      same way our tooling does it on customers machines.
    * Switch from OS selected ports to randomly selected ports. This is
      required as we need to know the port to use for HTTPS.
    * Allow disabling browser automation through an environment variable.
    * Setup Firefox to allow untrusted certificates when using Selenium.
    * Allow running Selenium tests on firefox by setting an environment
      variable.
2017-12-08 13:08:36 -08:00
Jass Bagga bc95a4a6c1
Add missing @ (#184)
Addresses #183
2017-12-07 15:45:34 -08:00
Jass Bagga ed9e34caab
Set ErrorViewModel in ConfirmEmail (#180)
Addresses #80
2017-12-07 12:44:48 -08:00
Jass Bagga 88e05f71a5
Add no-cache header to error pages (#182)
Addresses #123
2017-12-07 12:11:44 -08:00
Jass Bagga aba10e768b
Remove user.Id from ResetPasswordCallbackLink (#173)
Addresses #71
2017-12-05 12:44:37 -08:00
Jass Bagga f5dcdfd8de
Encode ForgotPassword email link (#179) 2017-12-05 12:38:19 -08:00
Jass Bagga 269cff5bf5
Change parameter name to htmlMessage (#178)
Addresses #79
2017-12-04 13:00:57 -08:00
Scott Addie af23185c06 Change order of UseBrowserLink method invocation 2017-11-24 10:30:48 +00:00
Justin Kotalik 9d9daa8db7
Removes Https middlewares from templates (#157) 2017-11-17 11:02:10 -08:00
Nate McMaster aee0d26d67 Merge build infrastructure changes from rel/2.0.3
Changes:
- Replaces PackageLineup with the dependencies.props approach to manage package versions.
- Generate the csproj/fsproj files that go into template packages
- Remove the DependencyUpdater and PullRequestSubmitter tasks
- Remove bower.json and bowerrc from Microsoft.DotNet.Web.ProjectTemplates
- Set MyGet feeds via MSBuild instead of NuGet.config
- Upgrades to the functional tests
- Update Selenium
- Make it possible to run tests on macOS/linux
- Disable test parallelization
2017-11-06 16:06:24 -08:00
Nate McMaster 09161305bb Reorganize repo branch and project folder structure
When the code lived in dotnet/templating, the 1.x, 2.0, and 2.1 templates all needed to sit side-by-side.
Now that this code builds from aspnet/templating, we're reorganizing the folder and branch structure to
match the aspnetcore runtime repos.

Branches:

rel/1.1.5 = Microsoft.DotNet.Web.ProjectTemplates.1.x
rel/2.0.3 = Microsoft.DotNet.Web.ProjectTemplates.2.0
dev = Microsoft.DotNet.Web.ProjectTemplates.2.1

Changes:
Remove the 2.0 and 1.x templates projects from this branch
2017-11-06 15:54:02 -08:00
Nate McMaster 1ffcf2c009 Reorganize repo branch and project folder structure
When the code lived in dotnet/templating, the 1.x, 2.0, and 2.1 templates all needed to sit side-by-side.
Now that this code builds from aspnet/templating, we're reorganizing the folder and branch structure to
match the aspnetcore runtime repos.

Branches:

rel/1.1.5 = Microsoft.DotNet.Web.ProjectTemplates.1.x
rel/2.0.3 = Microsoft.DotNet.Web.ProjectTemplates.2.0
dev = Microsoft.DotNet.Web.ProjectTemplates.2.1
2017-11-06 10:19:59 -08:00