Commit Graph

58 Commits

Author SHA1 Message Date
sbwalker
bc0573918f search refactoring 2024-06-08 16:14:56 -04:00
Ben
7f970d489f refactoring the code. 2024-06-04 17:32:31 +08:00
Ben
9d85ca07f4 #4303: add search function. 2024-06-03 21:19:42 +08:00
sbwalker
85f9597f2c add defensive logic to handle scenario where a tenant connection string does not exist in appsettings.json 2023-11-29 17:31:51 -05:00
sbwalker
98c2f012ee ability to specify if a theme is enabled for a site 2023-05-24 13:09:10 -04:00
Shaun Walker
4913fab0b3 explicity specify optional and reload parameters 2023-02-24 14:21:03 -05:00
Shaun Walker
f2df8e96db fix #2567 - migrate tenant connection string details from database to appsettings.json 2023-02-23 16:29:15 -05:00
Mark Davis
85ac8dd701
Make ActiveDatabase setter public
We have two cases where we need to override the active database:  Unit Testing and added GraphQL.  In both of these cases, we have a database context that is in a different scope than the automatically assigned active database during normal Oqtane startup.  Our work-around has been to make this setter public.  Unless there is a better solution to our cases, I feel this change would be useful for others as well.
2023-02-04 09:04:54 -08: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
2f34bf69e3 moduledefinition settings and host settings 2021-12-09 15:50:00 -05:00
Shaun Walker
d1ade8789b
Merge pull request #1832 from leigh-pointer/ModuleDefinitionSettings
Settings for ModuleDefinitions #1829
2021-12-09 13:35:54 -05:00
Shaun Walker
9c32937c83 added support for url mapping and viitors 2021-12-09 08:48:56 -05:00
Leigh
a21a2ab3bb Settings for ModuleDefinitions #1829
Add Update settings for the ModuleDefinition
2021-11-24 16:06:52 +01:00
isaeed
91a1bfcab2 adding SaveChangesAsync overloads to support Async save 2021-06-20 17:52:41 +05:00
Shaun Walker
a144a5c432 improved legacy support for module authorization policy 2021-05-27 21:01:25 -04:00
Charles Nurse
4a609b444e Rename IOqtaneDatabase interface (and related base class) 2021-05-24 11:57:47 -07:00
Charles Nurse
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
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
Charles Nurse
92dd8354ba Switch DBType to use the fully-qualified type name rather than a simple name 2021-05-12 10:22:17 -07:00
Shaun Walker
a5de639d15 optimizing tenant resolution and routing 2021-05-10 17:45:39 -04:00
Charles Nurse
e6530ee127 Added support for MySQL and ProgreSQL and AddSite/Tenant 2021-04-02 10:55:00 -07: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
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
Charles Nurse
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
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
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
70595eb90a Fix Language table 2021-01-10 23:50:21 +03:00
hishamco
aa19a35834 Add language repository & controller 2021-01-10 20:09:04 +03: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
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 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
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
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
ee682516c3 refactoring email verification 2020-02-04 15:14:27 -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
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
2e3a4efb74 structured logging 2019-10-22 11:57:28 -04:00
Shaun Walker
c029e70783 CSS separation, multi-tenancy fixes 2019-10-12 16:32:47 -04:00
Shaun Walker
6fa3b124d2 relocated IDeletable and added methods for downloading assemblies from server /bin when running under Wasm 2019-09-28 16:51:01 -04:00
Emanuele Filardo
4792ea697b Rename Interface in IDeletable and property in IsDeleted 2019-09-27 18:50:25 +02:00
Emanuele Filardo
182a156bd8 Improved to skip new Added entities and if softdelete properties are unmodified 2019-09-27 18:40:24 +02:00