349 Commits

Author SHA1 Message Date
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