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
a5de639d15
optimizing tenant resolution and routing
2021-05-10 17:45:39 -04:00
e6530ee127
Added support for MySQL and ProgreSQL and AddSite/Tenant
2021-04-02 10:55:00 -07: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
83e5502111
Creation of EF Core Migrations - these execute using EF Tools, but are not integrated to run programmatically
2021-03-19 17:01:49 -07:00
c64f350f36
Create new DbContextUtils class and move common SaveChanges code to this class. While MasterDbContext has no entities that support IDeletable it does not hurt to check and minimizes duplication
2021-03-06 16:06:29 -08: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
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
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
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
5b3feaf26f
Server naming fixes and cleanup
...
Server is now completely cleaned up and without warnings
2020-03-15 11:53:24 +01:00
425b4e1c67
Fix casing for constructor params
2020-03-05 20:03:54 +03:00
303bdf3be2
Remove this keyword
2020-03-05 19:22:13 +03:00
a46235ea1e
Fix naming conventions for private fields
2020-03-05 01:46:53 +03:00
25d2c6596d
completed background job scheduler
2019-11-15 08:42:31 -05:00
6fa3b124d2
relocated IDeletable and added methods for downloading assemblies from server /bin when running under Wasm
2019-09-28 16:51:01 -04:00
4792ea697b
Rename Interface in IDeletable and property in IsDeleted
2019-09-27 18:50:25 +02:00
182a156bd8
Improved to skip new Added entities and if softdelete properties are unmodified
2019-09-27 18:40:24 +02:00
6ade59cc09
Add basic support for SoftDeletable
2019-09-27 18:40:24 +02:00
3af2ca0168
utilize _Imports.razor to simplify module declarations
2019-09-24 17:26:14 -04:00
f037898c6e
Multi-tenant role authorization
2019-08-25 14:52:25 -04:00
b71f007981
Support for third party modules, improved error handling, standardardized enum naming, reorganized interface definitions, support for DB script upgrades, added Settings entity
2019-08-14 09:34:35 -04:00