Commit Graph

298 Commits

Author SHA1 Message Date
Charles Nurse
74c403cef1 Merge remote-tracking branch 'upstream/dev' into dev 2021-04-19 11:08:35 -07:00
Shaun Walker
82b85ab24d optimize GetSupportedCultures 2021-04-18 11:51:33 -04:00
Shaun Walker
cbe843bafc User experience improvements 2021-04-17 19:18:24 -04:00
Charles Nurse
8c45b7e42f Added support for migrating existing Oqtane installations from DbUp to Migrations. Also added a Migration for version 2.0.2, and set current version to 2.1.0 2021-04-08 12:20:21 -07:00
Shaun Walker
d05747af1e enhanced ModuleActions component to display panes in a submenu, added more containers to Oqtane theme, added more panes to MultiPane layout, added module outline in edit mode to distinguish modules in panes, consolidated to use a single default AdminPane named "Content", fixed bug related to custom Admin Container behavior 2021-04-06 17:45:11 -04:00
Shaun Walker
14480edd67 added globally unique identifier for Site ( used string data type to ensure compatibility with multiple database engines ) 2021-04-02 12:30:20 -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
Shaun Walker
09c040128a Ensure Install Wizard will only be displayed if the Master database connection string in appsettings.json is not specified. This addresses a potential security issue where the Install Wizard could be displayed in an existing installation if the Master database connection failed during startup. 2021-03-30 17:48:49 -04:00
Shaun Walker
62362b9194 make module creator templates extensible 2021-03-30 10:06:25 -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
3a032f401a Added IDatabase interface and refactored to use it to handle database type - updated Installer to dynamically add databases to selector 2021-03-24 11:45:44 -07:00
Charles Nurse
cbcfc88492 Add support for Sqlite - Installation path tested but AddSite not supported yet 2021-03-23 11:06:18 -07:00
Charles Nurse
8f1c760e87 Updated the Installation of Oqtane to use Migrations 2021-03-21 14:52:45 -07:00
Charles Nurse
8376a09ad6 Create new UseOqtaneDatabase extension method and replace all uses of UseSqlServer.
This is a preparative step to locate all database configuration in one file.
2021-03-06 14:13:06 -08:00
Shaun Walker
12fd845ed5 Fix issue when creating assets.json and folder does not exist. Improve module/theme uninstall to remove empty folders. 2021-02-26 09:08:25 -05:00
Shaun Walker
af1eebbf0d update copyright content 2021-02-26 07:45:10 -05:00
Shaun Walker
531cba715e performance and user experience improvements 2021-02-04 08:54:59 -05:00
Shaun Walker
82a118b603 notification improvements 2021-01-18 14:39:56 -05:00
Shaun Walker
8be9fd6eb2 set SiteState in HostedServiceBase for scheduled jobs 2021-01-18 08:59:07 -05:00
Shaun Walker
a2029a3ca3 auto registration of scheduled jobs 2021-01-17 11:46:09 -05:00
Shaun Walker
1276c0269e add SMTP sender email 2021-01-07 15:06:48 -05:00
Shaun Walker
778f9cb356 added better validaton and user feedback related to SMTP configuration 2021-01-05 16:57:36 -05:00
Shaun Walker
df382ce7a3 allow developers to use custom icon libraries (Open Iconic is the default) 2020-12-22 08:37:33 -05:00
hishamco
eec680a151 Revert LogManager localization changes 2020-12-15 00:22:33 +03:00
hishamco
2ea0b7199b Localize log messages 2020-11-27 21:48:52 +03:00
Shaun Walker
5e42ab8cca improve user experience by delegating application restart responsibility to the host user 2020-11-24 16:22:53 -05:00
Shaun Walker
5b49e1bc7c use logo with glow effect so it is visible on both black and white backgrounds 2020-11-04 16:58:02 -05:00
Shaun Walker
cdb7de84fa fix folder parsing issue specific to Azure environment where WebRootPath contains 2 wwwroot nested folders 2020-10-22 16:30:27 -04:00
Shaun Walker
9294537e23 modify comment 2020-10-19 08:50:37 -04:00
Shaun Walker
ecacb681b4 introduce Resource Declaration and Location properties to offer more resource management options for developers 2020-10-19 08:03:04 -04:00
Tony Valenti
c683de2cda Refactor TenantNames.Master 2020-10-16 10:45:13 -05:00
Tony Valenti
f33fb4d001 Factoring out Constants.AdminPane and Constants.HostUser 2020-10-16 10:23:17 -05:00
Tony Valenti
955e7a3856 Factored out Contants.*** Role into RoleNames.***
Renamed 'AllUsers' to 'Everyone'
2020-10-16 06:22:52 -05: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
52d1d5841e Avoid looking for en-US culture resources 2020-09-29 18:50:06 +03:00
hishamco
0796ce54a9 Add localization settings 2020-09-29 17:30:56 +03:00
Shaun Walker
8196112a59 fixed Theme install/uninstall issue, fixed Layout inheritance issue, fixed File server performance issue, cleaned up remaining hardcoded permission strings 2020-09-16 15:24:07 -04:00
Shaun Walker
4065d87a74 improved module/theme installation by saving the list of files which are in the Nuget package and using that list to remove them during uninstall 2020-08-29 10:55:40 -04:00
Shaun Walker
a8cd84e798 added support for dynamic inclusion of global resources in _host.cshtml ( ie. global stylesheets and scripts such as those required by UI component suites ) 2020-08-28 11:24:43 -04:00
Shaun Walker
282579fcf2 resolve #526 remove pluralization from module creation templates 2020-08-14 12:44:37 -04:00
Shaun Walker
a471784cf3 allow user to reinstall current version 2020-08-06 16:46:22 -04:00
Shaun Walker
5cf35fd70a fix regression bug caused by #649 related to installing nupkg packages 2020-08-06 16:10:19 -04:00
Shaun Walker
04257f75e7 modifications for System Update feature 2020-08-04 13:06:54 -04:00
Shaun Walker
94f0bdcce9 Improvements to System Update 2020-08-04 08:47:39 -04:00
Shaun Walker
8d539d058c preparing for 1.0.2 release 2020-07-23 15:07:18 -04:00
Shaun Walker
51bf822392 fix regression bug caused by #648 - the entries within a nupkg (zip) package use the '/' separator - the fix in #648 was causing a wwwroot\wwwroot\... folder to be created on Windows 2020-07-23 14:58:33 -04:00
Shaun Walker
679cc04178
Merge pull request #660 from sbwalker/master
optimize NotificationJob so that it only processes the sites for each tenant once.
2020-07-23 14:15:24 -04:00
Shaun Walker
75fe4e7c89 optimize NotificationJob so that it only processes the sites for each tenant once. 2020-07-23 14:14:29 -04:00
Shaun Walker
410f8c74e5
Merge pull request #649 from JoergH66/feature/LoadDependDlls_InstallManager
Fixes 2 external module installation problems
2020-07-23 11:39:35 -04:00
Shaun Walker
3a6cde0e24 fixed scheduler so that it does not set NextExecution until after the job has finished executing 2020-07-23 11:38:20 -04:00
Shaun Walker
bc73e5e3d0 modifications to ActionLink and ActionDialog controls, added logic to prevent IHostedService from blocking startup, made controller route prefix consistent in module template 2020-07-17 15:09:05 -04:00
Shaun Walker
9db4985b14
Merge pull request #655 from alexhendel/fix-path-handling
Fix directory separator for path operations
2020-07-16 10:27:34 -04:00
Alexander Hendel
807252c9e5 Fix directory separator for path operations 2020-07-15 16:09:19 +02:00
Shaun Walker
f515def414 Html encode job log messages, add new IModule property to allow modules to specify Runtime support, provide feedback during module content import, remove default EditMode option at the Page level (should be implemented at Module level) - resolves issue where Admin modules could not be deleted, include link to Event Log in AddModuleMessage for Error message type, fixed fallback support for themes in siterouter, integrated auth policy into site templates for Module Creator 2020-07-08 19:56:02 -04:00
Jörg Helmrich
4bdf20822f check whether the file is in use, dependent runtime-dlls will distribute 2020-07-08 14:06:41 +02:00
Shaun Walker
e615263706
Merge pull request #647 from chlupac/Notifications
Notification changes UNDO
2020-07-07 08:43:52 -04:00
Alexander Hendel
a083405b48 Fix directory seperator in InstallationManager 2020-07-07 09:56:24 +02:00
Pavel Vesely
3ea280c82a Motification changes UNDO 2020-07-06 15:27:35 +02:00
Pavel Vesely
b17f679f38 Notification job optimalization 2020-07-03 10:19:12 +02:00
Shaun Walker
4285603563 migrate script naming convention 2020-06-14 13:06:33 -04:00
Shaun Walker
99cad13890 restrict user data leakage 2020-06-03 19:46:47 -04:00
Shaun Walker
f1f07f45c6
Merge pull request #531 from chlupac/ControlPanel
Control panel persistence between module addings
2020-05-24 10:54:10 -04:00
Pavel Vesely
068803615b Notification job fill mail subject 2020-05-22 21:29:52 +02:00
Shaun Walker
6ac2b64d7d improvements to module creator templates 2020-05-22 13:39:59 -04:00
Shaun Walker
066ef44773 fixes to upgrade project 2020-05-20 11:57:41 -04:00
Shaun Walker
b61446a50a updated screenshots 2020-05-19 17:49:11 -04:00
Shaun Walker
35b26c7525 update to version 1.0.0 2020-05-19 14:08:03 -04:00
Shaun Walker
263b045c75 module creator template updates 2020-05-19 09:08:29 -04:00
Shaun Walker
1532eb7586 Optimized downloading of assemblies when using WebAssembly 2020-05-18 18:02:23 -04:00
Shaun Walker
6ae019336d changing default theme to Oqtane theme 2020-05-18 10:44:54 -04: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
Shaun Walker
aa97dd4d0d Allow modules to be installed/uninstalled with embedded scripts or IInstallable interface. Fix module uninstall issues. 2020-05-14 11:54:28 -04:00
Pavel Vesely
7c814a67b3 IServerStartup implementation 2020-05-11 11:19:12 +02:00
Shaun Walker
d7ad175cd7 fixes for framework upgrade, fixes for control panel CSS styles, added AllPages attrubute for Modules, bumped version to 0.9.1 to test upgrades 2020-05-07 14:38:24 -04:00
Shaun Walker
a02cfea6c9 improve performance of alias handling and allow aliases to be an unlimited number of subfolders in depth 2020-05-05 09:15:36 -04:00
Shaun Walker
45aeb17020 fixed module action import/export, improved module installation 2020-05-01 15:58:34 -04: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
Pavel Vesely
d387e6e573 Page editor fix
Script check
2020-05-01 11:24:10 +02: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
Pavel Vesely
375c706029 Get custom theme and layout on a default install 2020-04-28 14:51:27 +02:00
Shaun Walker
df3afb1e21
Merge branch 'master' into master 2020-04-26 13:27:16 -04:00
Shaun Walker
6d93fcfc1c
Merge pull request #401 from chlupac/DatabaseManagerBug
Create Data directoty if does not exists
2020-04-26 13:21:42 -04:00
Shaun Walker
06db9efc08
Merge branch 'master' into PermissionOptimalization 2020-04-26 13:19:54 -04:00
Shaun Walker
58d3c406cd added IInstallable interface and uninstall implementation for modules. Refactoring module installation to use interface still in progress. 2020-04-26 13:15:02 -04:00
Pavel Vesely
7606e7b488 Permission Optimalization 2020-04-26 16:19:20 +02:00
Pavel Vesely
a09be84824 Create Data directoty if does not exists 2020-04-25 10:58:38 +02:00
Shaun Walker
79eae9c5fa
Merge branch 'master' into master 2020-04-21 15:17:22 -04:00
Shaun Walker
ab5257cea2 Security fixes for Site Administrators to ensure proper access. Improvements to User and Role management components. Fix logic in CreateUser so that it does not prevent Administrators from creating users. 2020-04-21 15:16:12 -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
Shaun Walker
22b0f42461
Merge pull request #391 from sbwalker/master
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:01 -04:00
Sean Long
f0043f53ee OS independent file paths & Utility.PathCombine added
System.IO.Path.Combine provides cross-platform support for system paths, however rooted paths discarding of earlier segments
Utilities.PathCombine ensures if any parameters start with root chacters does not discard previous Utilities.PathCombine allows appending of "\\" to translate to the correct cross-platform result
2020-04-18 14:57:31 -04:00
SPSeanLong
46b205102a
Merge pull request #1 from oqtane/master
Update to match source
2020-04-18 12:22:30 -04:00
Shaun Walker
62987ca72f allow users to modify default module names, descriptions, and categories and improve control panel behavior 2020-04-18 10:51:07 -04:00
Shaun Walker
b84db01810
Merge pull request #389 from sbwalker/master
allow users to modify default module names, descriptions, and categories and improve control panel behavior
2020-04-18 10:50:54 -04:00
Pavel Vesely
69ceb5dd42 HostUser change is not allowed in silent install 2020-04-18 11:11:44 +02:00
Pavel Vesely
209f6db0fb Database creation bug
HostUser change is not allowed in silent install
2020-04-17 22:29:39 +02:00
Sean Long
70502cd881 OS independent file paths 2020-04-17 16:25:00 -04:00
Shaun Walker
482747627e added uninstall support for modules 2020-04-12 20:08:19 -04: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
Pavel Vesely
3fc7e78e56 nuget module installation fix 2020-04-07 11:21:33 +02:00
Pavel Vesely
b15ff4732c Fix of tenant migration and module installation 2020-04-06 08:53:52 +02: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ý
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
Pavel Veselý
2433cc06be
Tenant repository bug (#329)
Database Manager bug
2020-04-03 11:36:59 -04:00
Pavel Veselý
0b302c6e26
Startup migration bug (#320)
* Startup migration bug

* ModuleCreator - sql name fix

* Database Manager fixes and improvements

* Database Manager fixes and improvements - removed default password
2020-04-02 08:08:36 -04:00
Pavel Vesely
07d17da92a Better script selection criteria 2020-03-30 17:28:06 +02: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
1e688dcf5e Fixed some display issues for mobile rendering 2020-03-25 10:54:34 -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
Shaun Walker
8bc694fe63 Label component for field level help 2020-03-16 15:06:59 -04:00
Pavel Vesely
cf6643aef3 Client fixes
Client is partially done.
227 warnings left out of 1500
I like Rider
2020-03-15 15:19:35 +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
Shaun Walker
fe98084324 optimizations and fixes 2020-03-11 14:39:49 -04: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
Hisham Bin Ateya
425b4e1c67 Fix casing for constructor params 2020-03-05 20:03:54 +03:00
Hisham Bin Ateya
303bdf3be2 Remove this keyword 2020-03-05 19:22:13 +03:00
Hisham Bin Ateya
a46235ea1e Fix naming conventions for private fields 2020-03-05 01:46:53 +03:00
Shaun Walker
b4ddc45829 resolved a number of issues with site creation #224 2020-02-25 18:53:36 -05:00
Shaun Walker
05eaf12003 fix page management 2020-02-18 17:49:36 -05:00
Shaun Walker
0aed11e71c notification service and user management improvements 2020-02-03 16:43:37 -05:00
Shaun Walker
25d2c6596d completed background job scheduler 2019-11-15 08:42:31 -05: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
156f5b5f94 refactor to shift some operations to updater 2019-10-31 17:00:01 -04:00
Shaun Walker
0e09cdf20a automated framework update enhancement 2019-10-30 17:03:09 -04:00
Shaun Walker
af423edb99 event logging fix 2019-10-28 09:02:11 -04:00
Shaun Walker
72c7f4abb0 enhancement to check version compatibility 2019-10-26 13:51:24 -04:00
Shaun Walker
e25bbe2e24 logging abstraction 2019-10-26 11:00:45 -04:00
Shaun Walker
f59ec7bdac improve confirm dialog 2019-10-25 21:27:29 -04:00
Shaun Walker
3d7ae6a743 logging enhancements 2019-10-24 16:54:14 -04:00
Shaun Walker
414935dc58 added security attribute to TenantController Get methods and resolved TenantId on server during Installation 2019-10-23 18:26:39 -04:00
Emanuele Filardo
a625d3e6f5 remove property name 2019-10-23 19:16:44 +02:00
Emanuele Filardo
83876bcad2 if value is null don't execute .ToString() and replace {property} with "null" 2019-10-23 19:09:24 +02:00
Emanuele Filardo
e51e9797a4 improve readility of messagge with property name
Remove not necessary line
2019-10-23 14:26:59 +02:00
Emanuele Filardo
5ecea339fd log preserve and evidence null value 2019-10-23 14:06:06 +02:00
Emanuele Filardo
78e9c3b5eb fix for logmanager nullexception when values is null 2019-10-23 11:27:30 +02: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
9971510b1e improved file upload, enhanced module installation from Nuget to support upgrades, added ability to upgrade the framework from Nuget, completed isolated multitenancy and site alias management, created IPortable interface for importing data into modules, added default content to initial installation 2019-10-08 16:11:23 -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
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