Shaun Walker
6a2ff369ea
Add support for IsPublic to all Setting types, enable Url Mapping for internal links
2021-12-18 10:35:22 -05:00
Shaun Walker
e3ebbde767
add logging for the logout event to the UI component, relocate module setting deletion to repository
2021-12-15 10:33:12 -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
Shaun Walker
f00ea09b6e
file manager component improvements
2021-09-16 18:04:50 -04:00
Shaun Walker
898b908c1b
Added support for File descriptions, Folder capacity and image sizes. Added image resizing capability using ImageSharp - implemented in user profile. Added parameter to disable image preview in FileManager component. Overhauled Pager component and added Columns parameter for Grid mode. Populated PageState.User.IsAuthenticated in SiteRouter. Added support for zero price commercial extentions.
2021-09-15 08:02:55 -04:00
Shaun Walker
bb5ca475d3
fix #1628 - make DBContext Transient, modify Control Panel to use standard Bootstrap 5 offcanvas classes, add auto trimming to file logger, fix issue in File Repository related to populating Url on Add/Update.
2021-09-01 09:01:11 -04:00
Shaun Walker
39ccc30680
fix Type label in Add Folder UI, make Profile description required, fix misc Bootstrap 5 cosmetic issues, fix #1618 Alias case sensitivity in router, fix File add and update methods so they return Url, fix UrlCombine helper method to use proper slash, enhance package installation to support commercial options
2021-08-26 18:20:58 -04:00
Shaun Walker
ffcc229c78
support for commercial modules, themes, translations
2021-08-16 09:46:02 -04:00
Shaun Walker
eea417ff44
added logging for startup issues
2021-07-01 07:37:03 -04:00
Shaun Walker
bf6edceb36
Fix issue where module definition version was not being loaded correctly on startup. Also user customizable module definition properties were being overwritten on upgrade.
2021-06-28 10:21:48 -04:00
isaeed
91a1bfcab2
adding SaveChangesAsync overloads to support Async save
2021-06-20 17:52:41 +05:00
Shaun Walker
3bc5744007
improved error handling, improved consistency of console error messages, added ability to add a Decimal column in Migrations
2021-06-18 13:01:42 -04:00
Shaun Walker
d32b622f7e
allow order to be defined in page templates
2021-06-16 17:24:45 -04:00
Shaun Walker
65a14da5a9
improve validation and exception handling in API Controllers
2021-06-15 19:11:00 -04:00
Shaun Walker
28694fc11f
added defensive logic to app.razor, relocated shared resource definition in preparation for utilizing shared resources
2021-06-14 17:29:23 -04:00
Shaun Walker
d82fc8be90
added IsClickable Page property #1092 , improve validation in Role Management, display database information in SQL Management, improve HttpClient header support
2021-06-10 20:10:46 -04:00
Shaun Walker
82c05a841f
Improve validation and error handling in Controller methods
2021-06-07 15:29:08 -04:00
Shaun Walker
fab06a5279
create Public folder during installation
2021-06-04 12:30:46 -04:00
Shaun Walker
3db12a225b
use secure Packages location for upgrade process
2021-06-02 16:53:55 -04:00
Shaun Walker
a144a5c432
improved legacy support for module authorization policy
2021-05-27 21:01:25 -04:00
Shaun Walker
c07e766e57
add support for public content folders
2021-05-26 12:01:35 -04:00
Charles Nurse
9c0cef870c
Merge AppVersions information into EFMigrationsHistory table
2021-05-25 12:17:44 -07:00
Shaun Walker
72b06b16cf
fix #1272 - add support for ref folder in package installation
2021-05-24 15:50:38 -04:00
Charles Nurse
4a609b444e
Rename IOqtaneDatabase interface (and related base class)
2021-05-24 11:57:47 -07:00
Shaun Walker
5c21ab37ee
added PackageName property to IModule and ITheme interfaces to allow creators to specify the Nuget package name associated to a specific module/theme. This is necessary for packages which contain multiple extensions.
2021-05-24 08:59:50 -04: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
Charles Nurse
4ffdcf1e52
Remove dependency of Oqtane.Server on SqlClient
2021-05-11 13:56:49 -07:00
Shaun Walker
a5de639d15
optimizing tenant resolution and routing
2021-05-10 17:45:39 -04:00
Shaun Walker
2244fcc814
Merge pull request #1259 from hishamco/more-localization
...
Localize Page Template Module Titles
2021-04-30 07:35:21 -04:00
hishamco
d7966f2acf
Revert changes in SiteRepository
2021-04-29 02:42:01 +03:00
Shaun Walker
d42c7a5ea5
user and role management improvements
2021-04-24 13:47:20 -04:00
Shaun Walker
310c782326
Merge pull request #1274 from sbwalker/dev
...
user and role management improvements
2021-04-23 16:09:19 -04:00
Shaun Walker
9d083726be
user and role management improvements
2021-04-23 16:11:35 -04:00
Shaun Walker
e7c5ca2c1a
Merge pull request #1254 from chlupac/alias
...
Default Alias
2021-04-20 17:07:20 -04:00
hishamco
9d9a5a0275
Localize modules title
2021-04-20 16:20:24 +03:00
Shaun Walker
40f8436947
Merge pull request #1239 from cnurse/dev
...
Implement Database Migrations and add Multi-Database Support
2021-04-19 21:11:11 -04:00
Charles Nurse
74c403cef1
Merge remote-tracking branch 'upstream/dev' into dev
2021-04-19 11:08:35 -07:00
Pavel Vesely
468f186511
Default Alias
...
When alias is not found in alias table, Oqtane fails with exception. This solution allows define default alias (*) for default site with unknown alias.
2021-04-19 20:03:18 +02: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
Charles Nurse
e6530ee127
Added support for MySQL and ProgreSQL and AddSite/Tenant
2021-04-02 10:55:00 -07: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
d8bcc32239
refactor user deletion
2021-03-29 12:58:40 -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
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
Pieter Kuyck
801615c981
fix: user delete
2021-03-13 12:34:47 +01: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
531cba715e
performance and user experience improvements
2021-02-04 08:54:59 -05:00
hishamco
5a660f2634
Reset IsDefault per site Id for new language
2021-01-23 23:48:10 +03: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
Shaun Walker
82a118b603
notification improvements
2021-01-18 14:39:56 -05:00
Shaun Walker
b4aec286ed
Merge pull request #1045 from hishamco/language-management
...
Add Languages Management
2021-01-18 08:30:31 -05:00
hishamco
e938d4f801
Add Admins role
2021-01-15 00:28:59 +03:00
Shaun Walker
edbdfe454e
Merge pull request #1047 from chlupac/GetPath
...
Introduce GetFolderPath and GetFilePath repository methods
2021-01-12 09:41:09 -05:00
Pavel Vesely
f1a1a21d74
Introduce GetFolderPath and GetFilePath repository methods
2021-01-11 16:32:13 +01:00
hishamco
932c5590af
Make sure one language is set to current
2021-01-11 00:11:30 +03:00
hishamco
70595eb90a
Fix Language table
2021-01-10 23:50:21 +03:00
hishamco
91a844c910
Add language management page template
2021-01-10 23:17:03 +03:00
hishamco
aa19a35834
Add language repository & controller
2021-01-10 20:09:04 +03:00
Shaun Walker
a61a2f748c
fixed issue with Sql Management and System Info missing icons after new installation
2021-01-05 09:00:42 -05:00
Shaun Walker
97cec46ec1
load module settings automatically so that they are part of the ModuleState and can be easily accessed by developers
2020-11-04 15:40:57 -05:00
Tony Valenti
c683de2cda
Refactor TenantNames.Master
2020-10-16 10:45:13 -05:00
Tony Valenti
955e7a3856
Factored out Contants.*** Role into RoleNames.***
...
Renamed 'AllUsers' to 'Everyone'
2020-10-16 06:22:52 -05: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
809946685a
resolved #604 - added support for renaming files and moving to a different folder. Also added support for renaming folders and moving to a different parent folder.
2020-08-16 19:00:49 -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
b5db62ef6a
remove line feeds from content during import
2020-07-09 08:45:23 -04: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
Pavel Vesely
2e7cfefb2e
Notification Repository Breaking change fix
2020-07-01 14:23:55 +02:00
Shaun Walker
65df0549fd
Merge pull request #625 from mikecasas/feature-email
...
Send notification based on a future datetime
2020-06-19 17:24:31 -04:00
Shaun Walker
99d99ca6ad
upgrade themes to latest Bootstrap, fix breaking change to ThemeBase due to IThemeControl being removed
2020-06-19 17:22:26 -04:00
Mike Casas
ee5553ad8a
Step 2.
2020-06-18 07:35:40 -04:00
Shaun Walker
71b3b695fc
fix #618
2020-06-15 15:47:35 -04:00
Shaun Walker
7d7e8e9e66
quick fix for #475 - cannot save role
2020-06-15 09:22:35 -04:00
Shaun Walker
99cad13890
restrict user data leakage
2020-06-03 19:46:47 -04:00
Shaun Walker
01491b063d
Merge pull request #574 from chlupac/OqtaneIgnore
...
OqtaneIgnore implementation fix
2020-06-01 14:58:04 -04:00
Shaun Walker
1b7ca45d4a
Added support for friendly names and thumbnails in theme, layout, and container components. Added fallback support during loading for themes, layout, and containers.
2020-06-01 14:58:46 -04:00
Pavel Vesely
27a3ac8d1c
OqtaneIgnore implementation fix
2020-06-01 09:21:53 +02:00
Shaun Walker
6402723d2a
addressed consistency between theme loading and moduledefinition loading, added theme detailed UI view
2020-05-29 16:27:02 -04:00
Pavel Vesely
58d97dd731
OqtaneIgnore implementation to theme elements
2020-05-29 16:09:27 +02:00
ijungleboy
7d251b20cc
Fix collection of theme information because of improper namespace checks
...
https://github.com/oqtane/oqtane.framework/issues/554
2020-05-28 21:07:30 +02:00
Shaun Walker
52b2c876a4
performance optimizations to avoid use of reflection ( thanks to @chlupac for this suggestion )
2020-05-19 13:39:39 -04:00
Shaun Walker
ac03afb146
added ability to set default container at the page level, expanded size of role description in upgrade script for 0.9.2
2020-05-15 09:50:48 -04:00
Shaun Walker
552df0c9fc
Merge pull request #455 from chlupac/NewVersion
...
Ignore abstract classes at loading
2020-05-08 17:30:06 -04:00
Shaun Walker
c2ed71ab0d
added classes to all theme controls, added mobile support to Oqtane theme
2020-05-08 17:30:35 -04:00
Pavel Vesely
1e270e6423
Ignore abstract classes at loading
2020-05-08 21:30:31 +02:00
Shaun Walker
d6f3fd108b
Merge pull request #449 from chlupac/LoadOptimalization
...
Simplified loading of oqtane assemblies
2020-05-07 15:09:32 -04:00
Pavel Vesely
47f17a589f
implementation of [OqtaneIgnore] class attribute in controls
2020-05-07 21:02:43 +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
c394c6ea7a
Resolved authentication issue #441 related to alias refactoring #439 , fixed breaking change in .NET Core 3.2 related to Blazor WebAssembly identification
2020-05-05 16:28:50 -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
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
Shaun Walker
df3afb1e21
Merge branch 'master' into master
2020-04-26 13:27:16 -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
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
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
Sean Long
70502cd881
OS independent file paths
2020-04-17 16:25:00 -04:00
Shaun Walker
b9d70dd11a
changed ServerAssemblyName to ServerManagerType to optimize processing
2020-04-16 22:27:12 -04:00
Mike Casas
57aa8b6cbd
Fix empty string for default site template.
2020-04-14 11:02:42 -04:00
Aubrey
c7a9d6c278
Fix null value for site template.
2020-04-13 13:54:03 -04:00
Shaun Walker
482747627e
added uninstall support for modules
2020-04-12 20:08:19 -04:00
Shaun Walker
dbcb973119
fixes to emable module package installation from wwwroot/modules
2020-04-11 14:02:42 -04:00
Shaun Walker
90a127fbb8
enhancements to ModuleCreator so that it can scaffold internal and external modules
2020-04-10 13:49:50 -04:00
Shaun Walker
5a6f939a98
modified ITheme interface ( #344 )
...
* 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
* modified ITheme interface
2020-04-05 15:31:54 -04: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ý
69d89aaaf9
Icon constants ( #339 )
2020-04-04 14:39:43 -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ý
c38dff5e7c
No more magic strings in module definition ( #332 )
2020-04-03 12:45:27 -04:00
Pavel Veselý
2433cc06be
Tenant repository bug ( #329 )
...
Database Manager bug
2020-04-03 11:36:59 -04:00
Hisham Bin Ateya
c2a29831c4
Prevent deleting master tenant ( #319 )
...
* Prevent deleting master tenant
* Prevent deletion in APIS level
* Address feedback
2020-04-02 08:08:55 -04:00
Shaun Walker
35f87d25be
Added Favicon support, Progressive Web App support, page title and url support, and private/public user registration options
2020-03-30 20:42:43 -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
Shaun Walker
d9265e127e
SQL maanager, Module Creator, module settings enhancements
2020-03-24 14:08:29 -04:00
Pavel Vesely
3077bb6175
Site repository refactoring
...
Not necessary to build default pages in constructor.
2020-03-20 14:21:41 +01:00
Shaun Walker
7da2824e50
fixed issues with client-side Blazor
2020-03-19 15:03:11 -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
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
f46b9a2fb2
fixes to permission grid
2020-03-11 16:45:11 -04: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
061043bd15
optimized cross tenant logic and fixed bug related to reordering modules in panes
2020-03-04 09:28:02 -05:00
Shaun Walker
06257943ca
refactored site management to include better support for multi-tenancy
2020-03-03 16:23:06 -05:00
Shaun Walker
1146133cff
cosmetic changes to filemanager
2020-03-02 10:23:21 -05:00
Shaun Walker
4262865990
further changes for site creation
2020-02-26 01:37:48 -05:00
Shaun Walker
b4ddc45829
resolved a number of issues with site creation #224
2020-02-25 18:53:36 -05:00
Shaun Walker
9e4d5f2f75
Merge pull request #223 from sbwalker/master
...
Removed Repository methods which are not used and are not valid because they do not adhere to tenant scope boundaries
2020-02-23 10:48:29 -05:00