47c04dc150
Convert Database projects so they build installable Packages rather than deploy to bin and modify installation to deploy Databases on demand as needed.
2021-05-20 12:39:09 -07:00
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
92dd8354ba
Switch DBType to use the fully-qualified type name rather than a simple name
2021-05-12 10:22:17 -07:00
4ffdcf1e52
Remove dependency of Oqtane.Server on SqlClient
2021-05-11 13:56:49 -07:00
a5de639d15
optimizing tenant resolution and routing
2021-05-10 17:45:39 -04:00
40f8436947
Merge pull request #1239 from cnurse/dev
...
Implement Database Migrations and add Multi-Database Support
2021-04-19 21:11:11 -04:00
2402cab3f3
Attempt to resolve conflict in DatabaseManager
2021-04-19 11:50:25 -07:00
74c403cef1
Merge remote-tracking branch 'upstream/dev' into dev
2021-04-19 11:08:35 -07:00
cbe843bafc
User experience improvements
2021-04-17 19:18:24 -04:00
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
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
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
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
cbcfc88492
Add support for Sqlite - Installation path tested but AddSite not supported yet
2021-03-23 11:06:18 -07:00
8f1c760e87
Updated the Installation of Oqtane to use Migrations
2021-03-21 14:52:45 -07:00
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
a2029a3ca3
auto registration of scheduled jobs
2021-01-17 11:46:09 -05:00
c683de2cda
Refactor TenantNames.Master
2020-10-16 10:45:13 -05:00
f33fb4d001
Factoring out Constants.AdminPane and Constants.HostUser
2020-10-16 10:23:17 -05:00
955e7a3856
Factored out Contants.*** Role into RoleNames.***
...
Renamed 'AllUsers' to 'Everyone'
2020-10-16 06:22:52 -05:00
282579fcf2
resolve #526 remove pluralization from module creation templates
2020-08-14 12:44:37 -04:00
807252c9e5
Fix directory separator for path operations
2020-07-15 16:09:19 +02:00
4285603563
migrate script naming convention
2020-06-14 13:06:33 -04:00
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
45aeb17020
fixed module action import/export, improved module installation
2020-05-01 15:58:34 -04:00
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
d387e6e573
Page editor fix
...
Script check
2020-05-01 11:24:10 +02:00
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
375c706029
Get custom theme and layout on a default install
2020-04-28 14:51:27 +02:00
df3afb1e21
Merge branch 'master' into master
2020-04-26 13:27:16 -04:00
6d93fcfc1c
Merge pull request #401 from chlupac/DatabaseManagerBug
...
Create Data directoty if does not exists
2020-04-26 13:21:42 -04:00
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
a09be84824
Create Data directoty if does not exists
2020-04-25 10:58:38 +02:00
79eae9c5fa
Merge branch 'master' into master
2020-04-21 15:17:22 -04:00
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
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
46b205102a
Merge pull request #1 from oqtane/master
...
Update to match source
2020-04-18 12:22:30 -04:00
69ceb5dd42
HostUser change is not allowed in silent install
2020-04-18 11:11:44 +02:00
209f6db0fb
Database creation bug
...
HostUser change is not allowed in silent install
2020-04-17 22:29:39 +02:00
70502cd881
OS independent file paths
2020-04-17 16:25:00 -04:00
482747627e
added uninstall support for modules
2020-04-12 20:08:19 -04:00
3fc7e78e56
nuget module installation fix
2020-04-07 11:21:33 +02:00
b15ff4732c
Fix of tenant migration and module installation
2020-04-06 08:53:52 +02:00
5af6f7a52d
Namespace Fix undo ( #340 )
2020-04-04 14:06:24 -04:00
71bd3a8d6a
Namespace fix ( #335 )
2020-04-03 17:18:33 -04:00
2433cc06be
Tenant repository bug ( #329 )
...
Database Manager bug
2020-04-03 11:36:59 -04:00
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
07d17da92a
Better script selection criteria
2020-03-30 17:28:06 +02:00
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