Commit Graph

380 Commits

Author SHA1 Message Date
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
54d4447d23 Central management of resources ( ie. stylesheets and scripts ) 2020-05-16 12:00:15 -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
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
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
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
Pavel Vesely
88cf30f7c6 Merge branch 'master' of https://github.com/oqtane/oqtane.framework into IClientStartup 2020-05-12 23:20:06 +02:00
Pavel Vesely
4c188b782d ClientAssembly selection criteria changed 2020-05-12 23:17:37 +02:00
Shaun Walker
598b433cd2
Merge pull request #463 from chlupac/IClientStartup
IClientStartup  implementation
2020-05-12 14:31:10 -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
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
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
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
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
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
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
b9d70dd11a changed ServerAssemblyName to ServerManagerType to optimize processing 2020-04-16 22:27:12 -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
1edc34dca0 NavigateUrl fix to deal with scenario where alias has a value and path is "" 2020-04-08 11:43:42 -04:00
Shaun Walker
c29195b417 fixed issue with module settings tab and module creator templating 2020-04-07 17:25:57 -04:00
Shaun Walker
532a33ff47
Merge pull request #336 from hishamco/navigate-url
Simplify NavigateUrl using UriBuilder
2020-04-07 10:53:52 -04:00
Hisham Bin Ateya
e10015c11a Address feedback 2020-04-06 20:54:55 +03: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
Hisham Bin Ateya
a2f756729c Use relative path instead 2020-04-05 01:14:12 +03: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
Hisham Bin Ateya
4bc089d2cb Simplify NavigateUrl using UriBuilder 2020-04-04 13:13:26 +03: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
Shaun Walker
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
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
Pavel Veselý
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
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
Shaun Walker
974b8877dc
Merge pull request #309 from aubrey-b/email-check
Check for a valid email.
2020-03-30 14:41:38 -04:00
Aubrey
52cb3cb980 Modified null and empty string check. 2020-03-29 09:00:26 -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
Aubrey
f8d7732025 Moved logic to the Utilities class. 2020-03-27 13:42:14 -04:00
Shaun Walker
d9265e127e SQL maanager, Module Creator, module settings enhancements 2020-03-24 14:08:29 -04: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
Shaun Walker
ee42db7c39
Merge pull request #292 from chlupac/MagicStrings
Magic Strings - EntityNames
2020-03-18 09:01:16 -04:00
Shaun Walker
50bbc7f5b8 moved to version 0.0.9 in preparation for MVP release 2020-03-18 08:59:41 -04:00
Pavel Vesely
65d39974b5 Magic Strings - EntityNames 2020-03-18 09:11:49 +01:00
Pavel Vesely
cf6643aef3 Client fixes
Client is partially done.
227 warnings left out of 1500
I like Rider
2020-03-15 15:19:35 +01: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
Pavel Vesely
7feee22b32 EntityNames replacements 2020-03-14 18:16:04 +01:00
Shaun Walker
eec983707a
Merge branch 'master' into NamingFixes 2020-03-14 12:27:34 -04:00
Pavel Vesely
4546354ecb Delete permission removed 2020-03-14 17:06:39 +01:00
Pavel Vesely
a06ad38432 Naming fixes 2020-03-14 11:07:49 +01:00
Pavel Vesely
b4d3903517 Replace magic strings in other places 2020-03-14 10:12:07 +01:00
Pavel Vesely
3e1c371be6 PermissionNames constants
Replace magic strings in authorisation calls
2020-03-14 09:21:26 +01:00
Pavel Vesely
edf3a816c1 Changed root namespace in project to reflect namespaces in files 2020-03-11 15:39:09 +01:00
Shaun Walker
155c4e12d9 completed client state invalidation in multi-user environment 2020-03-10 10:37:42 -04:00
Shaun Walker
d7b3b444b5 infrastructure for dealing with client cache invalidation in a multi-user environment 2020-03-09 15:37:49 -04:00
Shaun Walker
4c2007439d module load error handler, router optimizaton, relative paths, fixed add existing module control panel issue 2020-03-04 13:22:58 -05:00
Shaun Walker
b4ddc45829 resolved a number of issues with site creation #224 2020-02-25 18:53:36 -05:00
Shaun Walker
00914208ba added image preview to the file manager component 2020-02-22 09:56:28 -05:00
Shaun Walker
066c616eca authorization changes 2020-02-17 19:48:26 -05:00
Shaun Walker
6a92c9f764 Folder and file management service 2020-02-11 14:25:38 -05:00
Shaun Walker
ee682516c3 refactoring email verification 2020-02-04 15:14:27 -05:00
Shaun Walker
0aed11e71c notification service and user management improvements 2020-02-03 16:43:37 -05:00
Shaun Walker
e7822d5ba1 Upgrade to .NET Core 3.1 2019-12-04 13:28:24 -05:00
Shaun Walker
25d2c6596d completed background job scheduler 2019-11-15 08:42:31 -05:00
Shaun Walker
b4cd038e17 fix issue #170 which is related to the host user not being part of the Registered Users role 2019-11-13 18:39:04 -05:00
Shaun Walker
ffba735aac Support for user personalizable pages 2019-11-10 14:56:29 -05:00
Shaun Walker
ab564f7244 modified all admin UIs to position action buttons on the left side of grids and implemented ActionDialog throughout rather than dedicated delete components 2019-11-04 23:29:35 -05:00
Shaun Walker
3d7ae6a743 logging enhancements 2019-10-24 16:54:14 -04:00
Shaun Walker
dde33639d3
Merge pull request #145 from fileman/ImprovedRecycleBin
Improved recycle bin
2019-10-22 12:31:20 -04:00
Shaun Walker
2e3a4efb74 structured logging 2019-10-22 11:57:28 -04:00
Emanuele Filardo
ee3834b52a Improved RecycleBin with PageModules 2019-10-20 01:23:24 +02:00
Shaun Walker
ce25967633 renamed control to action to reflect its purpose and be more consistent with asp.net conventions 2019-10-19 11:09:10 -04:00
Shaun Walker
1cc58ea150 performance optimizations in site router and remove dependency between page and module in route specification 2019-10-18 12:23:36 -04:00
Emanuele Filardo
76d4be157a Move IsDeleted condition into Pane.razor, restore themes razor and css files 2019-10-17 11:41:08 +02:00
Emanuele Filardo
440ef5fe65 Add IDeletable to PageModule 2019-10-16 22:12:09 +02:00
Shaun Walker
05a405e036 Improvements to themes, layouts, and CSS styling 2019-10-16 14:28:49 -04:00
Shaun Walker
c029e70783 CSS separation, multi-tenancy fixes 2019-10-12 16:32:47 -04:00
Shaun Walker
7f69f76263 add file manager 2019-10-09 18:14:06 -04:00
Shaun Walker
2607d4dbb3 improvements to module/theme installation and removal 2019-10-09 12:06:53 -04:00
Shaun Walker
9971510b1e improved file upload, enhanced module installation from Nuget to support upgrades, added ability to upgrade the framework from Nuget, completed isolated multitenancy and site alias management, created IPortable interface for importing data into modules, added default content to initial installation 2019-10-08 16:11:23 -04:00
Emanuele Filardo
7b4eee4d0c Remove not required DataAnnotations 2019-10-08 11:11:20 +02:00
Emanuele Filardo
8de502e504 Add IDeletable to User 2019-10-08 10:41:39 +02:00
Emanuele Filardo
d2cd9095de Add IDeleteable to Site 2019-10-05 23:44:55 +02:00
Shaun Walker
a8cbfb711e Added ability to install modules and skins at run-time directly from Nuget 2019-10-04 16:21:05 -04:00
Emanuele Filardo
91eb21d6e5 Fix for IDeletable 2019-09-29 18:59:17 +02:00
Shaun Walker
6fa3b124d2 relocated IDeletable and added methods for downloading assemblies from server /bin when running under Wasm 2019-09-28 16:51:01 -04:00
Emanuele Filardo
4792ea697b Rename Interface in IDeletable and property in IsDeleted 2019-09-27 18:50:25 +02:00
Emanuele Filardo
6ade59cc09 Add basic support for SoftDeletable 2019-09-27 18:40:24 +02:00
Emanuele Filardo
c56845a451 update to .net core 3.0.0 final and lastest wasm build 2019-09-24 11:33:23 +02:00
Shaun Walker
5f62957752 Improved CSS handling 2019-09-21 22:15:44 -04:00
Shaun Walker
ad92392429
Merge pull request #86 from fileman/RC1
RC1
2019-09-20 17:21:42 +02:00
Shaun Walker
83a212e7e3 Refactor host user security model, support static assets in modules and themes, module definition permissions and categories, paging control, remove SiteUsers, move seed data from script to site template for installation 2019-09-19 16:33:48 -04:00
Emanuele Filardo
ec89e0ed4d update to RC1 2019-09-17 11:17:17 +02:00
Shaun Walker
35b9b9e89b Optimized page reloading 2019-09-16 16:14:17 -04:00
Shaun Walker
779446b39a Reverted csproj configuration to enable client-side Blazor 2019-09-16 03:47:42 -04:00
Emanuele Filardo
d1faa0ee5f Initial migration 2019-09-15 12:21:32 +02:00
Shaun Walker
7d5e35c637 updated namespaces, improved page management, 2019-09-14 15:31:12 -04:00
Shaun Walker
2a691dbceb Module ordering improvements 2019-09-10 09:56:42 -04:00
Shaun Walker
f60898dbc7 module installer 2019-09-07 23:26:19 -04:00
Shaun Walker
a84eee8782 Large file streaming uploads 2019-09-06 13:15:18 -04:00
Shaun Walker
22420f2b43 Edit mode improvements 2019-09-05 13:44:27 -04:00
Shaun Walker
e1cc1ce973 Add Edit Mode for Administration 2019-09-04 11:07:48 -04:00
Shaun Walker
1e4c07889b Dynamic user profile per tenant 2019-09-03 20:39:29 -04:00
Shaun Walker
8351ec2d71 Refactored IModule and ITheme interfaces for future compatibility scenarios. Added Permissions property to IModule interface to allow for explicit ordering and custom module permissions. 2019-08-30 22:27:49 -04:00
Shaun Walker
c651dedffd Fix issue saving permissions associated to global roles 2019-08-30 10:45:44 -04:00
Shaun Walker
88a08c8863 Permission grid control, refactor permission string serialization 2019-08-30 10:05:13 -04:00
Shaun Walker
3ce7f1a227 Permission-based authorization utilizing Policies 2019-08-27 17:14:41 -04:00
Shaun Walker
f037898c6e Multi-tenant role authorization 2019-08-25 14:52:25 -04:00
Shaun Walker
42c6efbfdb Dynamic User Roles 2019-08-20 16:43:35 -04:00
Shaun Walker
b71f007981 Support for third party modules, improved error handling, standardardized enum naming, reorganized interface definitions, support for DB script upgrades, added Settings entity 2019-08-14 09:34:35 -04:00
Shaun Walker
916109015f Add standard audit fields to all entities 2019-08-05 11:28:59 -04:00
Shaun Walker
4fda7b17d0 Refactored repository pattern for Add and Update methods so that they return their respective entity objects 2019-08-05 09:31:04 -04:00
Shaun Walker
c9783c3b2f Enhancement to support audit fields on entities 2019-07-31 16:05:36 -04:00
Shaun Walker
1c0d2de9fe Install Wizard 2019-07-18 13:11:31 -04:00
Shaun Walker
ce069ed45b Refactoring authentication to support server-side Blazor using a seamless login flow. 2019-07-15 08:30:03 -04:00
Shaun Walker
6cf1eb1c31 Integrated AuthenticationStateProvider using .NET Core Identity 2019-07-08 12:52:40 -04:00
Shaun Walker
8deb119f36 Performance improvements, refactoring of multi-tenant support, split Alias and Tenant entities for cleaner separation of concerns, create an additional site during installation for demonstratng multitenancy 2019-05-24 13:33:19 -04:00
Mitchel Sellers
f4aa88a529 Change Skin -> Theme
To better align with commonly used terminology in industry renamed all references from Skin -> Theme.
2019-05-12 23:38:58 -05:00
Shaun Walker
4c3d76dac6 Make LocalDB database installation more robust 2019-05-06 08:59:51 -04:00
oqtane
d71de1c21f Initial commit 2019-05-04 20:32:08 -04:00