Commit Graph

483 Commits

Author SHA1 Message Date
Pavel Vesely
2e7cfefb2e Notification Repository Breaking change fix 2020-07-01 14:23:55 +02:00
Shaun Walker
6e7c8e7b05 improvements for custom authorization policy usage 2020-06-25 10:23:27 -04:00
Shaun Walker
fa15a5e44b preparing for 1.0.1 release 2020-06-23 09:41:17 -04:00
Shaun Walker
f81ef89c61 enhancement to load dependencies from the /bin if they are not loaded automatically 2020-06-22 16:58:41 -04:00
Shaun Walker
3ac4116a84
Merge pull request #628 from thabaum/dashboard-table-col-size
Fix Dashboard button/input table col size
2020-06-19 17:29:27 -04: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
Cody
0659fc53b7 default launch settings 2020-06-18 23:16:18 -07:00
Cody
2febd81b4a default connection 2020-06-18 23:14:21 -07:00
Cody
0f814bfefe
Update launchSettings.json 2020-06-18 23:06:33 -07:00
Cody
120066fce1
default 2020-06-18 23:01:59 -07:00
Cody
f4ca525bb5
Delete appsettings.json 2020-06-18 22:50:14 -07:00
Cody
5dced08f7a removes password autofill autocomplete="new-password" 2020-06-18 22:47:41 -07:00
Mike Casas
20b83c8809 Updated csproj. 2020-06-18 13:09:57 -04:00
Mike Casas
7d89670930 Fixed the sql script file name and added update for null values. 2020-06-18 12:58:30 -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
ee5553ad8a Step 2. 2020-06-18 07:35:40 -04:00
Mike Casas
ab8a1e7324 Step 1. 2020-06-18 06:13:15 -04:00
Jim Spillane
975e7217a5 Remove async from scripts
Run SPA scripts synchronously to ensure load order
2020-06-17 12:25:36 -04:00
Shaun Walker
0636227284 refactored script resource declaration to allow for bundling, made script loading async, refactored RichTextEditor to use new method 2020-06-17 10:27:14 -04:00
Shaun Walker
7c24bae753 resolve #566 by moving Bootstrap declaration into theme 2020-06-16 17:38:06 -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
288cad3d3f minor cleanup 2020-06-14 22:08:52 -04:00
Shaun Walker
1e4b2404c4 added general exception UI handler for #605 2020-06-14 21:47:11 -04:00
Shaun Walker
4285603563 migrate script naming convention 2020-06-14 13:06:33 -04:00
Shaun Walker
4e6b4a20ef refactoring of #518 to simplify registration of scripts in modules and themes 2020-06-14 12:07:16 -04:00
Shaun Walker
88e3a9adc3
Merge pull request #608 from jimspillane/AddJavaScriptDependencyManager
Add JavaScript dependency manager
2020-06-14 11:00:27 -04:00
Shaun Walker
1a0e8f7e19
Merge pull request #607 from chlupac/SiteRouterFix
small fixes
2020-06-12 13:04:44 -04:00
Shaun Walker
b5d4f8b176
Merge pull request #606 from chlupac/swagger
Add possibility to switch off swagger on production.
2020-06-12 13:02:58 -04:00
Pavel Vesely
8053cc0af6 small fixes 2020-06-12 17:48:50 +02:00
Jim Spillane
5124dea72c Add JS dependency manager
Added LoadJS(https://github.com/muicss/loadjs) and migrated Quill interop to use LoadJS.
2020-06-10 21:09:10 -04:00
Shaun Walker
836c4505b9 fix bug #589 - Unhandled exception when trying to edit MyPage 2020-06-08 13:48:41 -04:00
Shaun Walker
ed2822ac7c fixed external module template to specify dependencies 2020-06-04 12:53:14 -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
Pavel Vesely
aed71fbf96 Add possibility to switch off swagger on production. 2020-06-04 07:10:45 +02:00
Shaun Walker
01a3b7ed95
Merge pull request #581 from sbwalker/master
restrict user data leakage
2020-06-03 19:46:02 -04:00
Shaun Walker
99cad13890 restrict user data leakage 2020-06-03 19:46:47 -04:00
Shaun Walker
c79199357e
Merge pull request #579 from chlupac/StartupFix
Move module startup install up to allow install middleware
2020-06-03 19:45:47 -04:00
Pavel Vesely
e24c6fc235 Move module startup install up to allow install middleware 2020-06-03 20:13:48 +02:00
Shaun Walker
5544d2bed3 fix dynamic creation of remote script tags 2020-06-02 16:10:02 -04:00
Shaun Walker
c4f1d37421 improve user experience after app restarts 2020-06-02 14:21:57 -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
Shaun Walker
ee3a4d1624
Merge pull request #556 from iJungleboy/patches/fix544
Patches/fix544
2020-05-29 08:38:22 -04: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
0f09df13b5 page redirect support and added missing unique indexes on database tables 2020-05-28 14:48:00 -04:00
Shaun Walker
2a3b7caa9f
Merge pull request #548 from jimspillane/FixWildcardRoute
Fix Alias name route
2020-05-28 09:45:34 -04:00
Shaun Walker
e80f42f1d9
Merge pull request #552 from sbwalker/master
fixed stylesheet and script removal logic
2020-05-28 09:43:23 -04:00
Shaun Walker
612a820dac fixed stylesheet and script removal logic 2020-05-28 09:44:41 -04:00
Jim Spillane
b0af00aa47 Fix Alias route
Added wildcard route catchall.
2020-05-27 16:58:50 -04:00
Shaun Walker
f2230dd530
Merge pull request #544 from chlupac/nuget
Generate nugets in correct format
2020-05-27 16:12:51 -04:00
Shaun Walker
963148c639 Refactor Javascript and Stylesheet loading 2020-05-27 16:03:38 -04:00
Pavel Vesely
795f591da2 Generate nugets in correct format 2020-05-26 09:28:37 +02:00
Shaun Walker
4cab49e022
Merge pull request #535 from thabaum/patch-8
Oqtane Theme:  CSS style module actions dropdown text #fff
2020-05-25 11:33:07 -04:00
Jim Spillane
97df673609 Change JavaScript namespace from interop to Oqtane 2020-05-24 23:04:55 -04:00
Cody
2f272ef4b6
style module actions dropdown text #fff 2020-05-24 17:47:27 -07:00
Shaun Walker
e4b37c17d8
Merge pull request #534 from sbwalker/master
Improvements to ModuleCreator external template to use Package references and include framework in Nuspec file
2020-05-24 19:10:21 -04:00
Shaun Walker
3339690e2a Improvements to ModuleCreator external template to use Package references and include framework in Nuspec file 2020-05-24 19:11:35 -04:00
Shaun Walker
f1f07f45c6
Merge pull request #531 from chlupac/ControlPanel
Control panel persistence between module addings
2020-05-24 10:54:10 -04:00
Pavel Vesely
068803615b Notification job fill mail subject 2020-05-22 21:29:52 +02:00
Shaun Walker
6ac2b64d7d improvements to module creator templates 2020-05-22 13:39:59 -04:00
Shaun Walker
e1b0dbcdf7 modification to JSInterop and Quill 2020-05-22 11:51:57 -04:00
Shaun Walker
c089b90659 modifications to JSInterop in RichTextEditor 2020-05-21 15:55:58 -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
066ef44773 fixes to upgrade project 2020-05-20 11:57:41 -04:00
Mike Casas
1d52de53a6 Update reference. 2020-05-20 06:47:57 -04:00
Shaun Walker
b61446a50a updated screenshots 2020-05-19 17:49:11 -04:00
Shaun Walker
35b26c7525 update to version 1.0.0 2020-05-19 14:08:03 -04: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
b59e2533ea update to .NET Core 3.2 2020-05-19 12:48:30 -04:00
Shaun Walker
61ff097f51 default theme needs to work in local development scenarios 2020-05-19 09:17:38 -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
Shaun Walker
6ae019336d changing default theme to Oqtane theme 2020-05-18 10:44:54 -04:00
Shaun Walker
9b74262c76 Added support for module resource management 2020-05-18 09:47:37 -04:00
Shaun Walker
f8ab886750 Fixed issue with loading resources 2020-05-16 22:11:58 -04:00
Shaun Walker
c426302242 enhanced module creator to display location where module will be created 2020-05-16 13:40:59 -04:00
Shaun Walker
54d4447d23 Central management of resources ( ie. stylesheets and scripts ) 2020-05-16 12:00:15 -04:00
Shaun Walker
f9cdc6d70c
Merge pull request #490 from jimspillane/AddFileValidation
Add File Name validation
2020-05-16 08:53:39 -04:00
Jim Spillane
13adebb36c Add File Name validation
Apply file name validation rules to the File Controller and client.
2020-05-15 23:12:24 -04:00
Shaun Walker
e698ea4d36
Merge pull request #489 from sbwalker/master
Modified the package installer to use target folders  ( based on the Nuget specification ) rather than file extensions
2020-05-15 17:42:49 -04:00
Shaun Walker
8a1e83ff7f Modified the package installer to use target folders ( based on the Nuget specification ) rather than file extensions 2020-05-15 17:43:45 -04:00
Shaun Walker
3cbb6e3e6e enable module creator to add embeddedresources to csproj for internal modules 2020-05-15 12:36:52 -04:00
Shaun Walker
9394e77fd5
Merge pull request #488 from sbwalker/master
enable module creator to add embeddedresources to csproj for internal modules
2020-05-15 12:35:52 -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
51c27ae0e5
Merge pull request #486 from sbwalker/master
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:49:45 -04:00
Shaun Walker
0ea4c4d723
Merge pull request #484 from jimspillane/MoveFolderValidationToShared
Move Path and File validation to Shared Utilities
2020-05-15 09:47:37 -04:00
Shaun Walker
24ca9f4ded
Merge pull request #485 from chlupac/FileController
File Controller bug
2020-05-15 07:28:12 -04:00
Pavel Vesely
9850e249fc File Controller bug 2020-05-15 08:20:00 +02:00
Jim Spillane
39641804f1 Move Path and File validation to Shared Utilities
Created extension methods:
IsPathValid(Folder)
IsFileValid(File)
IsPathOrFileValid(string)

Added client side validation check for Folders.
2020-05-14 22:02:57 -04:00
Shaun Walker
caabac3e74 removed redundant assembly download logic, added security on download controller methods 2020-05-14 18:40:53 -04:00
Shaun Walker
82429c2545
Merge pull request #477 from jimspillane/PathTraversal
Add File and Path rules
2020-05-14 11:55:07 -04:00
Shaun Walker
cba5865e81
Merge pull request #478 from sbwalker/master
Allow modules to be installed/uninstalled with embedded scripts or IInstallable interface. Fix module uninstall issues.
2020-05-14 11:53:33 -04:00
Shaun Walker
aa97dd4d0d Allow modules to be installed/uninstalled with embedded scripts or IInstallable interface. Fix module uninstall issues. 2020-05-14 11:54:28 -04:00
Jim Spillane
8afe8e7474 Add File and Path rules
Apply the file and path naming rules found at 
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file

Mitigate path traversal.
2020-05-14 09:53:36 -04:00
Jim Spillane
1cca18c4d2 Add additional reserved names and characters
Added CONIN$,CONOUT$ and characters <>:"/\|?*

Added .Split('.')[0] to folder.Name to catch names like CON.txt and allow names like CONTRACT.
2020-05-12 22:38:28 -04:00
Shaun Walker
598b433cd2
Merge pull request #463 from chlupac/IClientStartup
IClientStartup  implementation
2020-05-12 14:31:10 -04:00
Shaun Walker
f4710f90c0
Merge pull request #464 from sbwalker/master
validate folder names, handle missing files more gracefully
2020-05-12 14:30:44 -04:00
Shaun Walker
f05c7d79e3 add security to site template API 2020-05-12 14:31:18 -04:00
Shaun Walker
6f3fe8d933 validate folder names, handle missing files more gracefully 2020-05-12 13:24:51 -04:00
Pavel Vesely
da73d519d7 IClientStartup implementation 2020-05-12 10:00:28 +02:00
Shaun Walker
4d7ec16f36
Merge pull request #459 from chlupac/IServerStartup
IServerStartup implementation
2020-05-11 12:56:22 -04:00
Pavel Vesely
7c814a67b3 IServerStartup implementation 2020-05-11 11:19:12 +02:00
Jim Spillane
a1449fb2dd Fix Uploadable files
When testing for allowable file extensions using a comma separated list, like (jpg,mp3,txt,zip), extensions such as .xt or .p3 will return true.  Adding Split(',') will test each of the extensions correctly.

Adding ToLower() will allow mixed case extensions, like .JPG or .Zip to return true.
2020-05-09 14:58:39 -04:00
Shaun Walker
f6f895b516 more responsive design adjustments 2020-05-09 12:16:39 -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
f07146fd50 updated external module template to support new assembly loading criteria, fixed minor issue in assembky loading logic 2020-05-07 16:24:36 -04:00
Shaun Walker
a63a659888
Merge pull request #419 from chlupac/BootswatchCdn
Bootswatch themes in Oqtane.Themes.OqtaneTheme CDN version
2020-05-07 15:25:03 -04: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
Pavel Vesely
e78a5e090d Bootswatch themes in Oqtane.Themes.OqtaneTheme
Theme is set in Oqtane.Client\Themes\OqtaneTheme\Default.razor
```
    protected override async Task OnParametersSetAsync()
    {
    // go to https://www.bootstrapcdn.com/bootswatch/ and take your favorite theme
    //<link href="https://stackpath.bootstrapcdn.com/bootswatch/4.4.1/cyborg/bootstrap.min.css" rel="stylesheet" integrity="sha384-l7xaoY0cJM4h9xh1RfazbgJVUZvdtyLWPueWNtLAphf/UbBgOVzqbOTogxPwYLHM" crossorigin="anonymous">
        await LoadBootstrapTheme("https://stackpath.bootstrapcdn.com/bootswatch/4.4.1/cyborg/bootstrap.min.css","sha384-l7xaoY0cJM4h9xh1RfazbgJVUZvdtyLWPueWNtLAphf/UbBgOVzqbOTogxPwYLHM");
        await IncludeCSS("Theme.css");
    }
```
2020-05-07 12:17:44 +02: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
3afa489f22 upgrade to .NET Core 3.2 RC 2020-05-01 11:32:41 -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
Pavel Vesely
d387e6e573 Page editor fix
Script check
2020-05-01 11:24:10 +02: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
eebe5d8d8c
Merge pull request #416 from chlupac/SiteInstall
Get custom theme and layout on a default install
2020-04-28 09:02:55 -04:00
Pavel Vesely
375c706029 Get custom theme and layout on a default install 2020-04-28 14:51:27 +02:00
Shaun Walker
e6c26210a0 z-order tweak to Blazor theme 2020-04-27 15:31:32 -04:00
Shaun Walker
d2fd8c7f4e improved responsive design for Blazaor theme to make it more mobile friendly 2020-04-27 14:18:58 -04:00
Shaun Walker
6b2411b396 fixed merge issue 2020-04-26 13:39:56 -04:00
Shaun Walker
df3afb1e21
Merge branch 'master' into master 2020-04-26 13:27:16 -04:00
Shaun Walker
6d93fcfc1c
Merge pull request #401 from chlupac/DatabaseManagerBug
Create Data directoty if does not exists
2020-04-26 13:21:42 -04:00
Shaun Walker
9a7bde4357
Merge pull request #402 from hishamco/preview5
Updated to Blazor WebAssembly 3.2 preview 5
2020-04-26 13:20:50 -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
Hisham Bin Ateya
91d1e7c684 Updated to Blazor WebAssembly 3.2 preview 5 2020-04-25 17:25:20 +03:00
Pavel Vesely
a09be84824 Create Data directoty if does not exists 2020-04-25 10:58:38 +02:00
Shaun Walker
6790dfe9a2
Merge pull request #393 from hishamco/preview4
Updated to Blazor WebAssembly 3.2 preview 4
2020-04-23 10:07:18 -04:00
Shaun Walker
79eae9c5fa
Merge branch 'master' into master 2020-04-21 15:17:22 -04: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
Hisham Bin Ateya
f83778fd70 Updated to Blazor WebAssembly 3.2 preview 4 2020-04-21 19:56:24 +03: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
Shaun Walker
22b0f42461
Merge pull request #391 from sbwalker/master
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:01 -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
Shaun Walker
b84db01810
Merge pull request #389 from sbwalker/master
allow users to modify default module names, descriptions, and categories and improve control panel behavior
2020-04-18 10:50:54 -04:00