Commit Graph

42 Commits

Author SHA1 Message Date
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
70595eb90a Fix Language table 2021-01-10 23:50:21 +03:00
aa19a35834 Add language repository & controller 2021-01-10 20:09:04 +03: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
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
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
fe98084324 optimizations and fixes 2020-03-11 14:39:49 -04: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
ee682516c3 refactoring email verification 2020-02-04 15:14:27 -05:00
0aed11e71c notification service and user management improvements 2020-02-03 16:43:37 -05:00
25d2c6596d completed background job scheduler 2019-11-15 08:42:31 -05:00
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
2e3a4efb74 structured logging 2019-10-22 11:57:28 -04:00
c029e70783 CSS separation, multi-tenancy fixes 2019-10-12 16:32:47 -04: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
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
1e4c07889b Dynamic user profile per tenant 2019-09-03 20:39:29 -04:00
3ce7f1a227 Permission-based authorization utilizing Policies 2019-08-27 17:14:41 -04:00
f037898c6e Multi-tenant role authorization 2019-08-25 14:52:25 -04:00
42c6efbfdb Dynamic User Roles 2019-08-20 16:43:35 -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