Commit Graph

124 Commits

Author SHA1 Message Date
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
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
88cf30f7c6 Merge branch 'master' of https://github.com/oqtane/oqtane.framework into IClientStartup 2020-05-12 23:20:06 +02:00
4c188b782d ClientAssembly selection criteria changed 2020-05-12 23:17:37 +02:00
598b433cd2 Merge pull request #463 from chlupac/IClientStartup
IClientStartup  implementation
2020-05-12 14:31:10 -04:00
6f3fe8d933 validate folder names, handle missing files more gracefully 2020-05-12 13:24:51 -04:00
da73d519d7 IClientStartup implementation 2020-05-12 10:00:28 +02:00
d6f3fd108b Merge pull request #449 from chlupac/LoadOptimalization
Simplified loading of oqtane assemblies
2020-05-07 15:09:32 -04:00
47f17a589f implementation of [OqtaneIgnore] class attribute in controls 2020-05-07 21:02:43 +02:00
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
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
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
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
df3afb1e21 Merge branch 'master' into master 2020-04-26 13:27:16 -04:00
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
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
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
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
62987ca72f allow users to modify default module names, descriptions, and categories and improve control panel behavior 2020-04-18 10:51:07 -04:00
b9d70dd11a changed ServerAssemblyName to ServerManagerType to optimize processing 2020-04-16 22:27:12 -04:00
90a127fbb8 enhancements to ModuleCreator so that it can scaffold internal and external modules 2020-04-10 13:49:50 -04:00
1edc34dca0 NavigateUrl fix to deal with scenario where alias has a value and path is "" 2020-04-08 11:43:42 -04:00
c29195b417 fixed issue with module settings tab and module creator templating 2020-04-07 17:25:57 -04:00
532a33ff47 Merge pull request #336 from hishamco/navigate-url
Simplify NavigateUrl using UriBuilder
2020-04-07 10:53:52 -04:00
e10015c11a Address feedback 2020-04-06 20:54:55 +03:00
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
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
a2f756729c Use relative path instead 2020-04-05 01:14:12 +03:00
69d89aaaf9 Icon constants (#339) 2020-04-04 14:39:43 -04:00
5af6f7a52d Namespace Fix undo (#340) 2020-04-04 14:06:24 -04:00
4bc089d2cb Simplify NavigateUrl using UriBuilder 2020-04-04 13:13:26 +03:00
71bd3a8d6a Namespace fix (#335) 2020-04-03 17:18:33 -04:00
c38dff5e7c No more magic strings in module definition (#332) 2020-04-03 12:45:27 -04:00
e8efc5e508 upgrade to .NET Core 3.2 Preview 3 and fixes for issues created by #314 (#323) 2020-04-02 12:07:35 -04:00
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
0b302c6e26 Startup migration bug (#320)
* Startup migration bug

* ModuleCreator - sql name fix

* Database Manager fixes and improvements

* Database Manager fixes and improvements - removed default password
2020-04-02 08:08:36 -04:00
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
974b8877dc Merge pull request #309 from aubrey-b/email-check
Check for a valid email.
2020-03-30 14:41:38 -04:00
52cb3cb980 Modified null and empty string check. 2020-03-29 09:00:26 -04:00
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
f8d7732025 Moved logic to the Utilities class. 2020-03-27 13:42:14 -04:00
d9265e127e SQL maanager, Module Creator, module settings enhancements 2020-03-24 14:08:29 -04:00
7da2824e50 fixed issues with client-side Blazor 2020-03-19 15:03:11 -04:00
0c2d1d2449 Merge branch 'master' into master 2020-03-19 12:10:12 -04:00
18a843e74f extensibility enhancements for site templates 2020-03-19 12:07:33 -04:00
ee42db7c39 Merge pull request #292 from chlupac/MagicStrings
Magic Strings - EntityNames
2020-03-18 09:01:16 -04:00
50bbc7f5b8 moved to version 0.0.9 in preparation for MVP release 2020-03-18 08:59:41 -04:00
65d39974b5 Magic Strings - EntityNames 2020-03-18 09:11:49 +01:00
cf6643aef3 Client fixes
Client is partially done.
227 warnings left out of 1500
I like Rider
2020-03-15 15:19:35 +01:00
5b3feaf26f Server naming fixes and cleanup
Server is now completely cleaned up and without warnings
2020-03-15 11:53:24 +01:00