v 1.0.5-rc20-alpha5

in order to build 1.0.5-rc20-alpha5

* fixing dep graph, while moving as must as possible code from Yavsc to
Yavsc.Server
* impoved topmost Makefile
* cleaned the badly desined, ans system redondant "Action" definiton
This commit is contained in:
Paul Schneider 2018-06-11 14:43:18 +02:00
commit 781ce94edc
21 changed files with 24 additions and 8664 deletions

View file

@ -77,9 +77,9 @@ namespace Yavsc
var auth = Configuration["Site:Authority"];
var cxstr = Configuration["Data:DefaultConnection:ConnectionString"];
DbHelpers.ConnectionString = cxstr;
ConnectionString = cxstr;
}
public static string ConnectionString { get; set; }
public static GoogleAuthSettings GoogleSettings { get; set; }
public IConfigurationRoot Configuration { get; set; }
@ -158,7 +158,7 @@ namespace Yavsc
services.AddEntityFramework()
.AddNpgsql()
.AddDbContext<ApplicationDbContext>(
db => db.UseNpgsql(DbHelpers.ConnectionString)
db => db.UseNpgsql(ConnectionString)
);
ConfigureOAuthServices(services);