Commit Graph

168 Commits

Author SHA1 Message Date
Shaun Walker
9bbbff31f8 Added support for per site options and OpenID Connect 2022-03-13 22:55:52 -04:00
Shaun Walker
fd89254d5a fix #2041 - Server restart post module install fails with null exception 2022-03-07 12:19:00 -05:00
Shaun Walker
5adecc307f Allow user identity password and lockout configuration to be customized. Included additional environment information in System Info. 2022-03-04 10:41:45 -05:00
Shaun Walker
c635351a12 resolved UI error when closing Event Log and Visitor Management, made button class consistent in Recycle Bin, refactored RichTextEditor, made use of ConfigManager consistently throughout framework, added support for deleted Sites, removed reference to Runtime in Startup as it is now set per Site, added versioning to Html/Text, added Meta tag support to Page Management 2022-02-06 12:19:42 -05:00
Shaun Walker
9e04230d99 added interop method for setting scroll position, persisted RemoteIPAddress in PageState so it is available on Blazor Server, added support for forwarded headers from load balancers and proxy servers, replaced DateTime.Now references DateTimeUtcNow for consistency, fixed issue where upgrade logic was being executed for prior version 2022-01-13 07:18:37 -05:00
Hisham Bin Ateya
d431c607ba Handle SchemaId in Swagger 2021-11-18 14:50:17 +03:00
Shaun Walker
306b78b526 Added ability for Runtime and RenderMode to be set per Site - enabling the framework to support multiple hosting models concurrently in the same installation. Fixed WebAssembly Prerendering issue (this also resolved the issue where the component taghelper was not passing parameters correctly to the app when running on WebAssembly). Fix #1702 - remove web,config from upgrade package. 2021-10-05 14:32:05 -04:00
Shaun Walker
525cbb87b0 allow disabling of swagger and package service 2021-07-01 09:11:29 -04:00
hishamco
7c181b65cd Fix merge conflict 2021-06-12 00:18:57 +03:00
hishamco
126024991c Merge remote-tracking branch 'upstream/dev' into clean-startup
# Conflicts:
#	Oqtane.Client/Program.cs
#	Oqtane.Server/Startup.cs
2021-06-11 23:54:38 +03:00
Shaun Walker
bc720555c4 refactoring, enhancements, and some fixes 2021-06-10 08:16:02 -04:00
Shaun Walker
82c05a841f Improve validation and error handling in Controller methods 2021-06-07 15:29:08 -04:00
Shaun Walker
fbce6c7248 automate the 2.1.0 upgrade 2021-05-27 16:18:45 -04:00
Charles Nurse
d280a4aa01 Move Available Databases to appsettings and use IOptions 2021-05-25 15:03:27 -07:00
Shaun Walker
72b06b16cf fix #1272 - add support for ref folder in package installation 2021-05-24 15:50:38 -04:00
Shaun Walker
09537ab0e4 auth improvements related to multi-tenancy 2021-05-19 08:46:02 -04:00
Charles Nurse
c036a9d11f Remove DbConfig and new constructors on DbContextBase and refactor Migrations to use explcit generation of IOqtaneDatabase instance 2021-05-12 15:17:40 -07:00
Shaun Walker
bae6120e3b added DatabaseService to get list of database types from server 2021-05-11 15:56:41 -04:00
Shaun Walker
a5de639d15 optimizing tenant resolution and routing 2021-05-10 17:45:39 -04:00
Shaun Walker
38aebf5aff Allow installation of Language packages through Language Management 2021-05-05 19:03:06 -04:00
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
Shaun Walker
d9265e127e SQL maanager, Module Creator, module settings enhancements 2020-03-24 14:08:29 -04:00
Shaun Walker
7da2824e50 fixed issues with client-side Blazor 2020-03-19 15:03:11 -04:00
Shaun Walker
0c2d1d2449
Merge branch 'master' into master 2020-03-19 12:10:12 -04:00
Shaun Walker
18a843e74f extensibility enhancements for site templates 2020-03-19 12:07:33 -04:00
Pavel Vesely
65d39974b5 Magic Strings - EntityNames 2020-03-18 09:11:49 +01:00
Pavel Vesely
5b3feaf26f Server naming fixes and cleanup
Server is now completely cleaned up and without warnings
2020-03-15 11:53:24 +01:00
Pavel Vesely
b4d3903517 Replace magic strings in other places 2020-03-14 10:12:07 +01:00
Shaun Walker
2436f74830 fixes for client-side Blazor 2020-03-10 14:44:50 -04:00
Shaun Walker
d7b3b444b5 infrastructure for dealing with client cache invalidation in a multi-user environment 2020-03-09 15:37:49 -04:00
Shaun Walker
6a92c9f764 Folder and file management service 2020-02-11 14:25:38 -05:00
Shaun Walker
0aed11e71c notification service and user management improvements 2020-02-03 16:43:37 -05:00
Hisham Bin Ateya
35c55750bb Add ServiceCollection extensions for Oqtane 2020-01-03 20:01:08 +03:00
Shaun Walker
c64e3bca52
Merge pull request #176 from sbwalker/master
fixed issue #175 when running in Wasm
2019-11-18 11:13:37 -05:00
Shaun Walker
e256056963 fixed issue #175 when running in Wasm 2019-11-18 11:12:28 -05:00
Shaun Walker
8474368c52
Merge pull request #173 from ADefWebserver/debugging
Adds DetailedErrors when Debugging
2019-11-15 09:42:14 -05:00
Shaun Walker
25d2c6596d completed background job scheduler 2019-11-15 08:42:31 -05:00
Michael Washington
5d3017412f Adds DetailedErrors 2019-11-14 05:42:06 -08:00
Shaun Walker
b4cd038e17 fix issue #170 which is related to the host user not being part of the Registered Users role 2019-11-13 18:39:04 -05:00
Shaun Walker
ab564f7244 modified all admin UIs to position action buttons on the left side of grids and implemented ActionDialog throughout rather than dedicated delete components 2019-11-04 23:29:35 -05:00
Shaun Walker
e25bbe2e24 logging abstraction 2019-10-26 11:00:45 -04:00
Shaun Walker
e710fd61ca logging improvements 2019-10-22 18:16:04 -04:00
Shaun Walker
2e3a4efb74 structured logging 2019-10-22 11:57:28 -04:00
Shaun Walker
2607d4dbb3 improvements to module/theme installation and removal 2019-10-09 12:06:53 -04:00
Shaun Walker
a8cbfb711e Added ability to install modules and skins at run-time directly from Nuget 2019-10-04 16:21:05 -04:00
Shaun Walker
00d8f17254 fix Swashbuckle reference, fix folder issue in installationmanager, disabled blazor linking on build 2019-09-26 18:02:47 -04:00
Shaun Walker
07c00765ac Fixed issue in client-side Blazor, added ModuleMessage to ModuleInstance 2019-09-25 14:02:30 -04:00
Shaun Walker
c3ff9ff12b improve installationmanager 2019-09-20 08:50:55 -04:00
Shaun Walker
83a212e7e3 Refactor host user security model, support static assets in modules and themes, module definition permissions and categories, paging control, remove SiteUsers, move seed data from script to site template for installation 2019-09-19 16:33:48 -04:00
Shaun Walker
35b9b9e89b Optimized page reloading 2019-09-16 16:14:17 -04:00
Shaun Walker
cb6428f483 Refactor AbsoluteUri references 2019-09-16 03:13:33 -04:00