• Brice's avatar
    Extract UI project for use in existing setups (v1) (#780) · 91a8ff9b
    Brice authored
    * Moved UI folders and files to new Admin.UI project
    
    * Fixed application version page can no longer refer to Startup type for detecting assembly version
    
    * Fixed build of Admin project that now depends on UI project
    
    * Extracted UI-specific startup helpers and classes into UI project
    
    * Removed bogus project dependency
    
    * Removed now unused namespace imports in map app startup helpers
    
    * Moved styles and scripts and more helpers to UI project
    
    * Moved back root configuration to Admin app because database migration and seeding is probably out of scope of UI
    
    * Moved startup service configuration to UI project through dependency injection helpers
    
    * Moved back one constant unrelated to UI into main project
    
    * Refactored UI project namespaces for consistency
    
    * Fixed some build issues
    
    * Stub for app builder extensions for UI project
    
    * Fixed test project build
    
    * Moved security headers feature to UI project
    
    * Moved startup app building to UI project
    
    * Fixed authorization middleware setup
    
    * Fixed UI view build
    
    * Fixed views cannot be resolved
    
    * Fixed static assets not accessible from root URL (e.g. ~/)
    
    * Cleaned up startup
    
    * Added convenience DI extensions for setting up UI
    
    * Cleaned up startup test
    
    * Moved migration helpers to UI project
    
    * Support for custom migration assemblies
    
    * Moved migration helpers and config down to EntityFramework.Shared
    
    * Fixed build and tests
    
    * Fixed DI UI helper not using custom entity types completely
    
    * Moved UI config json files to UI project
    
    * Disabled unused code in startup
    
    * Minor code style
    
    * Fixed view localization of UI failing when used in custom web app project
    
    * Refactored middleware configuration to simplify usage of Use* methods in Startup
    
    * Added configuration of health checks middleware
    
    * Options to further configure the auth pipelines, and better separation of endpoint routing
    
    * Ported UI to area
    
    * Fixed test build
    
    * Fixed seeding not working due to missing configuration bind
    
    (backported from 93d5e3adacaf424e4a638a141758b9267be94177 and 01646fd5f397dfb94d902a4b85da02915413076d)
    91a8ff9b
.gitignore 4.93 KB
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/

# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

# NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

# DNX
project.lock.json
project.fragment.lock.json
artifacts/
Properties/launchSettings.json

*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb

# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding add-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# Visual Studio code coverage results
*.coverage
*.coveragexml

# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj

# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/

# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# NuGet v3's project.json files produces more ignoreable files
*.nuget.props
*.nuget.targets

# Microsoft Azure Build Output
csx/
*.build.csdef

# Microsoft Azure Emulator
ecf/
rcf/

# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt

# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/

# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
node_modules/
orleans.codegen.cs

# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
*.mdf
*.ldf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings

# Microsoft Fakes
FakesAssemblies/

# GhostDoc plugin setting file
*.GhostDoc.xml

# Node.js Tools for Visual Studio
.ntvs_analysis.dat

# Visual Studio 6 build log
*.plg

# Visual Studio 6 workspace options file
*.opt

# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw

# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions

# Paket dependency manager
.paket/paket.exe
paket-files/

# FAKE - F# Make
.fake/

# JetBrains Rider
.idea/
*.sln.iml

# CodeRush
.cr/

# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc

# Cake - Uncomment if you are using it
# tools/
/src/Skoruba.IdentityServer4.Admin/appsettings.production.json
/src/Skoruba.IdentityServer4.Admin/Scripts/Libs/
/src/Skoruba.IdentityServer4.Admin/Data/Migrations/

# Don't ignore these log folders
!/src/Skoruba.IdentityServer4.Admin.UI/Resources/Views/Log/
!/src/Skoruba.IdentityServer4.Admin.BusinessLogic/Dtos/Log/
!**/Views/Log/
!/src/Skoruba.IdentityServer4.Admin.BusinessLogic/Events/Log/
/src/Skoruba.IdentityServer4.Admin.Api/appsettings.Production.json

appsettings.*.json

/shared/nginx/certs/