Commit Graph

98 Commits

Author SHA1 Message Date
hishamco
97fb6ede7e Reuse AddOqtaneScopedServices() 2021-04-20 19:10:06 +03:00
hishamco
e7f5fe9827 Merge branch 'database' into clean-startup
# Conflicts:
#	Oqtane.Server/Startup.cs
2021-04-20 17:42:39 +03:00
Shaun Walker
40f8436947
Merge pull request #1239 from cnurse/dev
Implement Database Migrations and add Multi-Database Support
2021-04-19 21:11:11 -04:00
Charles Nurse
74c403cef1 Merge remote-tracking branch 'upstream/dev' into dev 2021-04-19 11:08:35 -07:00
hishamco
7417e8dd27 Merge branch 'dev' of https://github.com/oqtane/oqtane.framework into dev 2021-04-18 02:29:39 +03:00
hishamco
a018e853a8 Register configuration in startup 2021-04-18 02:27:31 +03:00
hishamco
73b13d7a54 Add Oqtane extension methods for clean startup 2021-04-18 02:25:40 +03:00
Shaun Walker
cbe843bafc User experience improvements 2021-04-17 19:18:24 -04:00
Shaun Walker
bd48e1d8f1 if running on WebAssembly reload the client application if the server application is restarted 2021-03-31 15:39:01 -04:00
Charles Nurse
2fb63e8117 Added suuport to inject an IOqtaneDatabase in EntityBuilders to allow each Database to control certain Migration behaviors. Also updated Installer to dynamically build Database Configuration section 2021-03-27 11:16:16 -07:00
Charles Nurse
8f1c760e87 Updated the Installation of Oqtane to use Migrations 2021-03-21 14:52:45 -07:00
Shaun Walker
531cba715e performance and user experience improvements 2021-02-04 08:54:59 -05:00
Shaun Walker
c0ed7c7934 Localization fixes - table definition, SQL script naming, SQL script not marked as Embedded Resource, changed column name from IsCurrrent to IsDefault to reflect intent, set default language for site in _Host 2021-01-21 17:09:34 -05:00
hishamco
3059e8c763 Add language service 2021-01-10 20:17:35 +03:00
hishamco
aa19a35834 Add language repository & controller 2021-01-10 20:09:04 +03:00
hishamco
c4d1b16abb Add LanguageSwitcher component 2020-12-02 01:52:46 +03:00
hishamco
322d45dd12 Runtime enum should be in Oqtane,Shared 2020-11-19 17:33:49 +03:00
Tony Valenti
8cf846ba90 Factor out Policy Names
Change AppDomain to AppContext
2020-10-19 20:04:13 -05:00
hishamco
4a90e6e64f Use ServiceActivator instead of IHttpContextAccessor 2020-10-15 06:07:11 +03:00
hishamco
86bb6d1ea8 Simplify localization settings configurations 2020-10-10 22:19:21 +03:00
hishamco
b3db92ee95 Add blazor error details on DEV environment 2020-10-09 19:17:42 +03:00
hishamco
bcb6c81e43 Avoid Building ServiceProvider in ConfigureServices 2020-10-03 22:41:48 +03:00
hishamco
2e2d46996a Refactoring 2020-09-30 00:07:00 +03:00
hishamco
2924e7849f Read supported cultures from appsettings.json 2020-09-29 21:23:22 +03:00
hishamco
437170671f Support server-sider localization 2020-09-29 20:20:38 +03:00
hishamco
ec73c958c9 AddOqtaneParts -> AddOqtane 2020-09-29 18:03:24 +03:00
Shaun Walker
6e7c8e7b05 improvements for custom authorization policy usage 2020-06-25 10:23:27 -04:00
Pavel Vesely
aed71fbf96 Add possibility to switch off swagger on production. 2020-06-04 07:10:45 +02:00
Pavel Vesely
e24c6fc235 Move module startup install up to allow install middleware 2020-06-03 20:13:48 +02:00
Shaun Walker
8a1e83ff7f Modified the package installer to use target folders ( based on the Nuget specification ) rather than file extensions 2020-05-15 17:43:45 -04:00
Pavel Vesely
da73d519d7 IClientStartup implementation 2020-05-12 10:00:28 +02:00
Pavel Vesely
7c814a67b3 IServerStartup implementation 2020-05-11 11:19:12 +02:00
Pavel Vesely
47f17a589f implementation of [OqtaneIgnore] class attribute in controls 2020-05-07 21:02:43 +02:00
Shaun Walker
7c6dc6d774 Added ability to execute version specific code during framework upgrade (removed ApplicationVersion table and replaced with Version field on Tenant table), updated version number to 0.9.0 and renamed install scripts to match - this will be a baseline release which will be upgradeable 2020-05-01 10:27:14 -04:00
Shaun Walker
34538dd945 install/upgrade refactoring to consolidate all use cases and implement IInstallable interface for modules, moved tenant creation to site management UI, fixed z-order issues in Blazor theme, enhanced JS Interop methods to support integrity and crossorigin 2020-04-30 13:58:04 -04:00
Shaun Walker
72995cd8fa added system info admin page/module, improved UI for framework, module, and theme install/upgrade, added version to ModuleDefinitions, fixed bug in logging logic introduced during code standardization 2020-04-20 18:05:37 -04:00
Pavel Vesely
95e9bee4e2 Migration to using System.Net.Http.Json; part one - functional migration 2020-04-15 23:07:27 +02:00
Pavel Vesely
72965cfbb2 Return JSON null instead of 204 stantus from controller
Services GET returns null instead of exception :)
2020-04-15 12:34:43 +02:00
Pavel Vesely
94cab7d4db Solution of warning
"Calling 'BuildServiceProvider' from application code results in an additional copy of singleton services being created. Consider alternatives such as dependency injecting services as parameters to 'Configure'"
2020-04-12 11:14:59 +02:00
Shaun Walker
dbcb973119 fixes to emable module package installation from wwwroot/modules 2020-04-11 14:02:42 -04:00
Shaun Walker
139e33b539
Merge pull request #351 from chlupac/InstallModuleBug
nuget module installation fix
2020-04-11 11:06:34 -04:00
Pavel Vesely
6d0043669c nuget module installation fix II 2020-04-07 16:44:38 +02:00
Pavel Vesely
3fc7e78e56 nuget module installation fix 2020-04-07 11:21:33 +02:00
Shaun Walker
7421df2970 fixed issues when running on WebAssembly, made IModule implementations consistent 2020-04-06 13:25:19 -04:00
Shaun Walker
02fde9cec3
rolled back change creating an Infrastructure.Interfaces namespace, modified IModule interface to be strongly typed (#343)
* upgrade to .NET Core 3.2 Preview 3 and fixes for issues created by #314

* Components based on Bootstrap4 for Sections and  TabStrip to increase productivity and promote uniformity in Module UIs

* rolled back change creating an Infrastructure.Interfaces namespace, modified IModule interface to be strongly typed
2020-04-05 14:39:08 -04:00
Pavel Veselý
05de65d3a0
Webassembly problem solved (#342) 2020-04-05 13:58:50 -04:00
Pavel Veselý
5af6f7a52d
Namespace Fix undo (#340) 2020-04-04 14:06:24 -04:00
Pavel Veselý
71bd3a8d6a
Namespace fix (#335) 2020-04-03 17:18:33 -04:00
Shaun Walker
e8efc5e508
upgrade to .NET Core 3.2 Preview 3 and fixes for issues created by #314 (#323) 2020-04-02 12:07:35 -04:00
Pavel Vesely
940cdcb349 Database Manager
done:
+ master.sql as resource
+ implemented incremental database changes also for Master
+ dbUp sql script variables implemented
+ improved database handling and creation code
+ simpified database creation
+ almost all Database and Tenant creation moved to DatabaseManager.cs (rest code marked with TODO)
+ Unattended install of master can be performed by settings in appsettings.json
+ Improved IsInstalled checking
+ Removed DBSchema field from Tenant
+ Default database and site creation moved to Program.Main
2020-03-29 14:45:02 +02:00