Commit Graph

287 Commits

Author SHA1 Message Date
Shaun Walker
900ea8cfbc allow host to view tenant information in Site Settings 2021-06-06 10:36:13 -04:00
Shaun Walker
357ef09dd1 new controller auth parameter should take precedence over legacy 2021-06-06 10:03:54 -04:00
Shaun Walker
a2b808fde2 use new service auth pattern in module template 2021-06-04 15:01:25 -04:00
Shaun Walker
3db12a225b use secure Packages location for upgrade process 2021-06-02 16:53:55 -04:00
Shaun Walker
8dfe8eba27 fix issue in theme creator 2021-06-01 15:49:06 -04:00
Shaun Walker
ddd657bfa7 added metadata support for Module and Theme templates 2021-05-31 11:59:19 -04:00
Shaun Walker
276817c89d made RenderMode configurable 2021-05-30 15:37:23 -04:00
Shaun Walker
afcc5e2170 handle HtmlText module transition from SQL scripts to Migrations in module rather than in core framework 2021-05-30 13:16:26 -04:00
Shaun Walker
e84908485f add support for custom "internal" module and theme templates. fix package installer issue related to absolute paths 2021-05-29 11:48:29 -04:00
Shaun Walker
4108c07862 moved Packages folder to secure location 2021-05-27 21:39:43 -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
d280a4aa01 Move Available Databases to appsettings and use IOptions 2021-05-25 15:03:27 -07:00
Charles Nurse
f2ae1e3bff Merge commit '42265cdda4ea03541522bf5cf5d104059927393f' into dev
# Conflicts:
#	Oqtane.Server/Infrastructure/DatabaseManager.cs
2021-05-24 15:40:35 -07:00
Charles Nurse
42265cdda4 Fix Upgrade issue with new componentized Database projects 2021-05-24 14:46:12 -07:00
Shaun Walker
72b06b16cf fix #1272 - add support for ref folder in package installation 2021-05-24 15:50:38 -04:00
Shaun Walker
3f48c1f8fe fix #1367 - provides support for multiple entities in auth policy and makes parameter names more intuitive - backward compatible with entityid 2021-05-23 10:29:05 -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
Shaun Walker
09537ab0e4 auth improvements related to multi-tenancy 2021-05-19 08:46:02 -04:00
Shaun Walker
943adec3a0 fixes for running on WebAssembly 2021-05-13 07:58:57 -04: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
bae6120e3b added DatabaseService to get list of database types from server 2021-05-11 15:56:41 -04:00
Shaun Walker
a5de639d15 optimizing tenant resolution and routing 2021-05-10 17:45:39 -04:00
Shaun Walker
38aebf5aff Allow installation of Language packages through Language Management 2021-05-05 19:03:06 -04:00
Shaun Walker
d42c7a5ea5 user and role management improvements 2021-04-24 13:47:20 -04:00
Shaun Walker
5a519510a9 improve comments and logging 2021-04-23 16:29:18 -04:00
Shaun Walker
9d083726be user and role management improvements 2021-04-23 16:11:35 -04: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
Shaun Walker
cbe843bafc User experience improvements 2021-04-17 19:18:24 -04:00
Shaun Walker
1d3a79437c add theme creator module to simplify the scaffolding of external themes 2021-04-07 13:05:18 -04:00
Shaun Walker
6b90e0f37b fix #1197 - move folder path logic from Client Service to Server Controller 2021-04-05 08:53:22 -04:00
Shaun Walker
58c84da9c9 add ability to test SMTP connection in Site Settings 2021-04-01 09:44:07 -04:00
Shaun Walker
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
Shaun Walker
62362b9194 make module creator templates extensible 2021-03-30 10:06:25 -04:00
Shaun Walker
d8bcc32239 refactor user deletion 2021-03-29 12:58:40 -04:00
Charles Nurse
8f1c760e87 Updated the Installation of Oqtane to use Migrations 2021-03-21 14:52:45 -07:00
Pieter Kuyck
801615c981 fix: user delete 2021-03-13 12:34:47 +01:00
Shaun Walker
12fd845ed5 Fix issue when creating assets.json and folder does not exist. Improve module/theme uninstall to remove empty folders. 2021-02-26 09:08:25 -05:00
Shaun Walker
de1107f046 Unauthenticated users need to be able to retrieve the list of languages 2021-02-14 18:35:42 -05:00
Shaun Walker
531cba715e performance and user experience improvements 2021-02-04 08:54:59 -05: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
bc0ba92303 Revert the changes in the LanguageController 2021-01-15 01:35:53 +03:00
hishamco
e938d4f801 Add Admins role 2021-01-15 00:28:59 +03:00
Pavel Vesely
f1a1a21d74 Introduce GetFolderPath and GetFilePath repository methods 2021-01-11 16:32:13 +01:00
hishamco
9b4316d6cd Fix errors 2021-01-10 21:32:11 +03:00
hishamco
aa19a35834 Add language repository & controller 2021-01-10 20:09:04 +03:00
Pavel Vesely
07711c082e FileController - content disposition 2020-12-15 11:06:52 +01:00
Pavel Vesely
14f8155df6 FileController fix
- using PhysicalFile framework method (current implementation causes file locks and 500 error at heavy load)
- Add correct mimetype to header based on file extension
2020-12-06 16:23:28 +01:00
Shaun Walker
1968b0283d
Merge pull request #967 from hishamco/language-switcher
Add Language switcher
2020-12-04 14:53:48 -05:00
hishamco
1a8125c26d Use REST style 2020-12-03 15:50:25 +03:00
hishamco
a37eb8a44a Introduce Culture model to avoid CultureInfo.DisplayName issue 2020-12-03 14:05:49 +03:00
Shaun Walker
fd60b40c53 Fixes to make site alias, page path, and module action Url resolutions case insensitive. Optimized logic for Settings component which fixed localization rendering issue. 2020-12-01 19:36:02 -05:00
hishamco
418c9888c4 Add LocalizationController 2020-12-02 01:38:00 +03:00
Shaun Walker
4401dba4ec improve user experience of Module Creator flow 2020-11-25 11:59:17 -05:00
Shaun Walker
5e42ab8cca improve user experience by delegating application restart responsibility to the host user 2020-11-24 16:22:53 -05:00
Shaun Walker
880ad0486a include syncevents on module add/update/delete to trigger reload in UI 2020-11-10 16:26:50 -05:00
Shaun Walker
b602113cd1 move version to 2.0.0 2020-11-05 09:19:56 -05:00
Shaun Walker
8eaa298d8b performance optimization to reduce calls from client to server unless content is changed 2020-11-04 15:58:13 -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
Shaun Walker
700b6e2d68 optimize performance when running on WebAssembly by caching assembly payload that needs to be served to new clients 2020-11-04 08:10:21 -05:00
Shaun Walker
b4b73b7e5a fixed compatibility issue in .NET5/WebAssembly where assemblies were not being loaded into the default AppDomain, optimized service registration on WebAssembly, fixed spelling mistake for satellite assemblies constant and fixed issue in LocalizableComponent 2020-11-03 14:41:49 -05:00
Shaun Walker
7c8beac3dc
Merge pull request #788 from sbwalker/master
Changes for .NET 5
2020-10-18 08:53:11 -04:00
Tony Valenti
3e71bdfef3 Replace string with System.Net.Mime.MediaTypeNames.Application.Octet 2020-10-16 10:38:19 -05:00
Tony Valenti
766be6c929 Factor out default controller route. 2020-10-16 10:37:17 -05:00
Tony Valenti
f33fb4d001 Factoring out Constants.AdminPane and Constants.HostUser 2020-10-16 10:23:17 -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
aad10ab1c4 Changes for .NET 5 2020-10-08 11:20:43 -04:00
hishamco
ce37d2f2d2 Skip missed satellite assemblies forlders 2020-10-03 23:26:44 +03:00
hishamco
2e2d46996a Refactoring 2020-09-30 00:07:00 +03:00
hishamco
ad9146ead1 Fix stallite assemblies folder path 2020-09-29 19:14:48 +03:00
hishamco
52d1d5841e Avoid looking for en-US culture resources 2020-09-29 18:50:06 +03:00
hishamco
396d584615 Dowanlod satellite assemblies to the browser 2020-09-29 18:01:57 +03: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
d0c8399dd9 enhanced Module Creator to allow developer to specify framework reference version so that modules can target any version including the local development environment 2020-08-29 11:30:16 -04:00
Shaun Walker
4065d87a74 improved module/theme installation by saving the list of files which are in the Nuget package and using that list to remove them during uninstall 2020-08-29 10:55:40 -04:00
Shaun Walker
760fc3b8d4 Ensure folder does not contain files during deletion and remove directory during deletion, fix validation issue in add page which would allow a user to create a page without selecting a layout, modify action dialog to use its own CSS class name so it can be styled independently from the Admin Modal, rollback "container" CSS class assigment on panes 2020-08-26 15:00: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
282579fcf2 resolve #526 remove pluralization from module creation templates 2020-08-14 12:44:37 -04:00
Shaun Walker
3fa620f3bc include logging during module and theme installation 2020-08-06 16:37:27 -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
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
Shaun Walker
6e7c8e7b05 improvements for custom authorization policy usage 2020-06-25 10:23:27 -04:00
Mike Casas
40571bfb6e Bug Fix.
Not sure why the email address was not being added to the notification.
2020-06-18 08:40:43 -04:00
Mike Casas
ab8a1e7324 Step 1. 2020-06-18 06:13:15 -04:00
Shaun Walker
1a0e8f7e19
Merge pull request #607 from chlupac/SiteRouterFix
small fixes
2020-06-12 13:04:44 -04:00
Pavel Vesely
8053cc0af6 small fixes 2020-06-12 17:48:50 +02:00
Shaun Walker
836c4505b9 fix bug #589 - Unhandled exception when trying to edit MyPage 2020-06-08 13:48:41 -04:00
Shaun Walker
5b0da056b4 Restore support for third party assembly dependencies in modules and themes when running om Wasm 2020-06-04 12:48:29 -04:00
Shaun Walker
99cad13890 restrict user data leakage 2020-06-03 19:46:47 -04:00
Jim Spillane
b0af00aa47 Fix Alias route
Added wildcard route catchall.
2020-05-27 16:58:50 -04:00
Shaun Walker
d8fca5de20 module creator templates need to be in the server project in order to be distributed with application 2020-05-20 15:31:09 -04:00
Shaun Walker
263b045c75 module creator template updates 2020-05-19 09:08:29 -04:00
Shaun Walker
09b17e142e
Merge pull request #503 from jimspillane/FixMergeFiles
Fix file upload merge
2020-05-19 07:52:07 -04:00
Jim Spillane
b8ce634f85 Fix file upload merge
Allow upload of file names that match the token pattern ".part_", but not in the file extension. For example, a file named, a.part_Y.txt, would not be uploaded.
2020-05-18 19:53:49 -04:00
Shaun Walker
1532eb7586 Optimized downloading of assemblies when using WebAssembly 2020-05-18 18:02:23 -04:00