Commit Graph

761 Commits

Author SHA1 Message Date
Shaun Walker
4cae3f02ed add ability to dynamically set module title and visible from components 2022-08-12 13:05:48 -04:00
Shaun Walker
fc6a794714 add support for preserving state when loading admin components 2022-08-12 10:43:00 -04:00
Shaun Walker
f96129fa37 Blazor Hybrid / .NET MAUI support 2022-08-11 17:09:32 -04:00
Shaun Walker
ed4540887e
Merge pull request #2326 from leigh-pointer/Bootstrap5.2
Formating issues with Bootstrap 5.2
2022-08-02 07:51:33 -04:00
Leigh Pointer
5d2c7c3058 Added Progress Indicator
When deleting large blocks of Pages, Modules or Notifications there was currently no visual feedback so added the ModuleInstance.ShowProgressIndicator() and ModuleInstance.HideProgressIndicator() calls to these processes.
2022-08-02 10:37:04 +02:00
Leigh Pointer
e6cb90e545 Formating issues with Bootstrap 5.2 2022-08-02 08:55:42 +02:00
Shaun Walker
c097956fcb fix upgrade issue for framework translations, improvements for managing module translations 2022-08-01 17:05:18 -04:00
Shaun Walker
b8a31a8be9 support for module translation download/install 2022-07-26 14:44:06 -04:00
Shaun Walker
985f003e6d add ability to supply connection string in Add Site 2022-07-26 10:12:54 -04:00
Shaun Walker
6bfab696ad optimize satellite assembly loading based on the new model where all cultures are available 2022-07-21 16:02:23 -04:00
Shaun Walker
d05fba06ec add Environment to System Info 2022-07-19 14:33:51 -04:00
Shaun Walker
557b30815e use package name as a convention for identifying satellite assemblies 2022-07-18 13:14:34 -04:00
Shaun Walker
f97a6a2bee Added version to Language Management, improved framework performance by loading languages into PageState, include all supported cultures and allow Administrator to add any language to a site regardless of translation availability, fix translation upgrade issue 2022-07-16 09:59:47 -04:00
Shaun Walker
6012275c7b Fix #2282 - dynamically determine framework path when scaffolding project references 2022-07-15 15:59:55 -04:00
Shaun Walker
310d1ed485 Fix #2285 - handle scenario where the module definition associated to a module instance does not exist 2022-07-14 16:58:16 -04:00
Shaun Walker
9ef63ae60e Fix #2280 - add 404 page on upgrade, Fix #2279 add message indicating a restart is required to activate scheduled jobs after installation, add Package Name to Module and Theme management 2022-07-13 15:18:41 -04:00
Shaun Walker
02d1838547 FIx issue with redirect after site delete and remove tenant if it is empty 2022-06-28 08:17:06 -04:00
Shaun Walker
2771f0301a Fix #2249 Fix #2250 - issues with site deletion 2022-06-27 13:45:42 -04:00
Shaun Walker
4bf9f36baa fix #2245 - default database type not set correctly when adding new site for any DB other than LocalDB, added Source: info to all extension installation scenarios now that the Registry supports both Nuget and GitHub locations 2022-06-20 17:44:49 -04:00
Shaun Walker
8882e19ec5 allow multiple aliases to be defined as default 2022-06-18 09:18:23 -04:00
Shaun Walker
6d3a556d34 additional changes for #2228 2022-06-13 09:10:01 -04:00
Shaun Walker
53f3320492
Merge pull request #2228 from chlupac/Log_notification_improvement
Log notification improvement
2022-06-08 15:48:17 -04:00
Shaun Walker
79c8126c4a Fix #2230 - add support for an Unauthenticated User global role 2022-06-07 15:25:44 -04:00
Pavel Vesely
f06cb0dfbb Log notification improvement 2022-05-31 11:33:42 +02:00
Shaun Walker
43c34fcd64 fix #2213 - disabling show on all pages 2022-05-26 01:19:14 -04:00
Shaun Walker
25173ae85c Ddd filtering by Category to Module Management - default to Common 2022-05-21 10:10:57 -04:00
Shaun Walker
806daaf7c9 remove columns from main user management view and migrate them to edit view 2022-05-13 17:00:10 -04:00
Shaun Walker
ecc9aa40d7 resolve login issue related to 'LoginOptions:TwoFactor' and order list of files alphabetically 2022-05-13 12:03:34 -04:00
Shaun Walker
4c254a8686 fix #2192 - Adding a new site fails 2022-05-12 20:42:05 -04:00
Shaun Walker
2ff4133cd4 updated resource file 2022-05-12 13:55:47 -04:00
Shaun Walker
1978bf151f add support for external login parameters and improve diagnostic messages related to claims 2022-05-12 13:51:46 -04:00
Shaun Walker
1e84a2238b fix #2180 - Error in Module Creator if the template is not set 2022-05-09 11:35:01 -04:00
Shaun Walker
b1d6c35e99
Merge pull request #2183 from leigh-pointer/UserEmail
Args not in sink
2022-05-06 11:43:59 -04:00
Leigh Pointer
d767f1a101 Args not in sink
The Display name and email address  not is the correct order!
2022-05-06 12:43:40 +02:00
Shaun Walker
c15f2b9a12
Merge pull request #2178 from leigh-pointer/UserEmail
Added the User Email field to the List
2022-05-05 17:14:08 -04:00
Leigh Pointer
a21a53662b Update for real-estate
Removed Name
Removed Seconds from DateTime fields
Added Name to the Email link
2022-05-05 16:35:43 +02:00
Shaun Walker
ebb5340019
Merge pull request #2177 from leigh-pointer/NotIficationDateFormat
Updated the CreatedOn date format
2022-05-05 10:13:24 -04:00
Shaun Walker
eed27e101a fix #2176 - update LastIPAddress correctly during login 2022-05-05 09:57:09 -04:00
Leigh Pointer
2767680bed Added the User Email field to the List
Added the formatted email address of the user to the list view.
2022-05-05 13:25:35 +02:00
Leigh Pointer
4080e30b6f Updated the CreatedOn date format
Updated the format to a more readable format of dd-MMM-yyyy
2022-05-05 13:07:09 +02:00
Shaun Walker
d5d4f85003 3.1.1 database providers, default module creator version to local install version 2022-05-02 17:08:29 -04:00
Shaun Walker
a3ff9373a2 enhance UserRole service with filtering and moved workload to server for better performance, improve error message details during installation 2022-04-29 21:39:11 -04:00
Shaun Walker
e8464206e7 refactor module upgrade logic, implement for themes and translations 2022-04-27 19:29:29 -04:00
Tonći Vatavuk
8ee83f738b fix# https://github.com/oqtane/oqtane.framework/issues/2160 2022-04-27 17:44:54 +02:00
Shaun Walker
e4c648ee92 completed antiforgery implementation, improved external login claim mapping, principal construction, and user experience 2022-04-22 17:54:20 -04:00
Shaun Walker
391713b84d Fix #2144 - install issue, Fix #2146 - move file issue, require verification of external login account linkage 2022-04-20 16:00:58 -04:00
Shaun Walker
f6b3874668 create separate API methods for tokens (short-lived) and personal access tokens (long-lived), include global antiforgery filter to mitigate XSRF when using cookie auth (ignored when using Jwt) 2022-04-14 19:41:43 -04:00
Shaun Walker
c616878a64
Merge pull request #2134 from leigh-pointer/TogglePassword
User Areas to use the Toggle Password method
2022-04-14 08:58:59 -04:00
Leigh Pointer
2ebba3b8e7 Added CreatedOn class "align-middle" to RowClass 2022-04-14 14:52:34 +02:00
Shaun Walker
423ee04879 Fix #2128 - site settings validation issue when logged in as Administrator (not Host) 2022-04-14 08:30:55 -04:00
Leigh Pointer
1625e3ba6c User Areas to use the Toggle Password method
Updated the Components where the Password is required to allow toggle show / hide
2022-04-14 13:47:27 +02:00
Shaun Walker
5a71ab3c20
Merge pull request #2130 from leigh-pointer/LastLoggedIn
Update to User Management
2022-04-13 19:31:10 -04:00
Shaun Walker
b5833bf556
Merge pull request #2129 from leigh-pointer/NotificationDelAll
Allow the deletion of all Notifications
2022-04-13 19:28:37 -04:00
Shaun Walker
6dc1d42d90 fix #2125 - cannot login using WebAssembly, remove granular 404 logging as it is already managed by url mapping, make IModule ReleaseVersions optional when using EF Core migrations 2022-04-13 19:27:12 -04:00
Leigh Pointer
e273a954e6 Update to User Management
Updated user management to display more of the User ; Last Login Last IP and Is Authenticated.
2022-04-13 15:24:28 +02:00
Leigh Pointer
a602a942c4 Allow the deletion of all Notifications
Added button to delete all the notifications for the selected filter.
2022-04-13 14:33:30 +02:00
Shaun Walker
355d0405f4 minor improvements to security features, use ActivatorUtilities.CreateInstance with SiteMigration to enable simpler DI 2022-04-12 07:46:43 -04:00
Shaun Walker
683ad8959a dogfooding fixes 2022-04-04 10:53:40 -04:00
Shaun Walker
0fcf1c2732 filter deleted pages and modules in the router, provide support for cascading aspect of style sheets, replace ResourceDeclaration concept with ResourceLevel 2022-03-31 21:05:58 -04:00
Shaun Walker
06e25e04f8 hide/show secure fields 2022-03-31 09:00:13 -04:00
Shaun Walker
1c8debd894 better seperation of concerns 2022-03-31 08:35:11 -04:00
Shaun Walker
a70f1ee1e0 cleanup 2022-03-30 22:08:32 -04:00
Shaun Walker
3194c5b600 remote service support via Jwt 2022-03-30 08:07:03 -04:00
Shaun Walker
b7675a21eb jwt changes 2022-03-29 08:38:46 -04:00
Shaun Walker
a97af42e4b add Jwt authorization support for for API 2022-03-28 21:51:55 -04:00
Shaun Walker
b92a888583 factor out auth constants, remove TAlias is Alias is not an extensible type, improve SiteOptions cache clearing, improve principal validation, localization improvements 2022-03-26 17:30:06 -04:00
Shaun Walker
79f427e10a consolidate user creation 2022-03-24 12:32:41 -04:00
Shaun Walker
50a44c9416 login localization 2022-03-23 17:19:02 -04:00
Shaun Walker
9d86d923aa Add OAuth2 support 2022-03-23 10:51:52 -04:00
Shaun Walker
ca17dd3ca3 Allow Email Claim Type to be configurable 2022-03-21 16:29:28 -04:00
Shaun Walker
76fc689337 Add scheme to Redirect Url 2022-03-21 10:50:01 -04:00
Shaun Walker
fb161ae783 OIDC improvements 2022-03-21 10:39:35 -04:00
Shaun Walker
4b19059df1 OIDC improvements 2022-03-21 09:12:18 -04:00
Shaun Walker
1a86b80c61 More improvements to OIDC support 2022-03-19 13:42:19 -04:00
Shaun Walker
9bbbff31f8 Added support for per site options and OpenID Connect 2022-03-13 22:55:52 -04:00
Shaun Walker
b80fe428ac add show/hide password toggle on Login form 2022-03-04 11:43:54 -05:00
Shaun Walker
5adecc307f Allow user identity password and lockout configuration to be customized. Included additional environment information in System Info. 2022-03-04 10:41:45 -05:00
Shaun Walker
1cdc80e09b 2 factor authentication and user account lockout completed 2022-03-03 09:12:37 -05:00
Shaun Walker
0fba385b9e Enhanced Purge Job to include retention policy for Notifications 2022-02-24 12:37:06 -05:00
Shaun Walker
938bcb2b62 Added more constructors for convenience in creating Notification objects. Refactored to use the new constructors where applicable. Fixed localization key issue in Site Settings and added scroll to top when testing SMTP. 2022-02-24 09:01:44 -05:00
Shaun Walker
ac45f67a21 enhancement to send log notifications to host users 2022-02-23 16:10:24 -05:00
Artmedia by Luca Bongioanni
c33d1bcd3c
typo correction for closing label
typo correction for closing label
2022-02-15 10:19:58 +01:00
Leigh Pointer
d43a3e132c null reference exception still occurring
added a '?' operator after the m.ModuleDefinition
2022-02-14 19:06:00 +01:00
Shaun Walker
5aed64f614 fixed #1989 - installation on SQLite failing due to DropColumn, fixed #1986 - IClientStartup not getting called for External Modules, added ability to correlate new visitors by IP address 2022-02-10 08:05:55 -05:00
Shaun Walker
c635351a12 resolved UI error when closing Event Log and Visitor Management, made button class consistent in Recycle Bin, refactored RichTextEditor, made use of ConfigManager consistently throughout framework, added support for deleted Sites, removed reference to Runtime in Startup as it is now set per Site, added versioning to Html/Text, added Meta tag support to Page Management 2022-02-06 12:19:42 -05:00
Shaun Walker
79b62f4407
Merge pull request #1968 from sbwalker/dev
improved UX in Event Log by preserving criteria when viewing Details, added RowClass and ColumnClass parameters to Pager component, added initial-scale=1.0 to viewport specification in _host, added default visitor tracking filter, fixed "The given key 'level' was not present in the dictionary" issue in Visitor Management - Details by ensuring data was fully loaded
2022-01-27 18:02:20 -05:00
Shaun Walker
9d17804ac7 improved UX in Event Log by preserving criteria when viewing Details, added RowClass and ColumnClass parameters to Pager component, added initial-scale=1.0 to viewport specification in _host, added default visitor tracking filter, fixed "The given key 'level' was not present in the dictionary" issue in Visitor Management - Details by ensuring data was fully loaded 2022-01-27 18:12:04 -05:00
Leigh Pointer
192e6fde92 Fix for Version 3 module definitions error #1963
The code was assuming that the ModuleDefinitionId exists in the PageState.Modules collection. Instead of using .Count()  code now uses .FirstOrDefault() != null
2022-01-25 06:23:07 +01:00
Shaun Walker
fd01a40810
Merge pull request #1958 from leigh-pointer/AddUserId
Add the Username to the User And Roles display.
2022-01-22 19:25:20 -05:00
Shaun Walker
f964e0e502 added router support for url fragments, added language attribute to HTML document tag to improve validation, fixed Theme Settings so they can only be invoked via the Control Panel, added support for webp image files 2022-01-22 19:34:30 -05:00
Leigh Pointer
6a99e81e75 Add the Username to the display.
When looking through Users and Roles it would seem ideal to also show the username.
2022-01-21 09:36:32 +01:00
Shaun Walker
826898e3fe enhance Pager component with OnPageChanged event and implement in Visitor Management, allow PermissionGrid component to support Host role, fix unhandled exception in RichTextEditor component related to rerendering, make Quill resource declarations forward compatible, update Blazor theme to Boostrap 5.1.3, add missing RemoteIPAddress parameter in _Host app component, include logic to enable bypass of non-default alias redirection 2022-01-19 17:47:27 -05:00
Shaun Walker
cc9802a0d8 use PageState.Uri rather than creating a new Uri object 2022-01-15 12:58:47 -05:00
Shaun Walker
11002efc02 hide deleted pages in Admin Dashboard, impove Settings API by replacing IsPublic with IsPrivate, isolate Setting updates to not affect PageState, make Pager horizintally scrollable on narrow viewports, improve LocalizableComponent to support embedded controls 2022-01-14 13:26:24 -05:00
Shaun Walker
9e04230d99 added interop method for setting scroll position, persisted RemoteIPAddress in PageState so it is available on Blazor Server, added support for forwarded headers from load balancers and proxy servers, replaced DateTime.Now references DateTimeUtcNow for consistency, fixed issue where upgrade logic was being executed for prior version 2022-01-13 07:18:37 -05:00
Shaun Walker
ec924a7ddf improve UX of password reset 2022-01-11 10:57:58 -05:00
Shaun Walker
51b356cc0e enhanced scheduler to support one-time jobs, fixed pager component so that top/bottom have consistent UX, fixed Blazor theme z-index issues caused by input-group in Bootstrap 5, improved password reset instructions in email notification 2022-01-10 19:58:58 -05:00
Shaun Walker
eaf840e1da improvements to purge job 2022-01-08 10:17:10 -05:00
Shaun Walker
07718f0449 add option to Control Panel to specify module visibility 2022-01-08 08:44:18 -05:00
Shaun Walker
e2688e6feb include purge job for maintaining event logs and visitor logs 2022-01-07 23:30:29 -05:00
Shaun Walker
f7c1e7b706 alias management improvements 2022-01-06 13:37:29 -05:00
Shaun Walker
6af5682548 increment copyright date to 2022, allow scheduled jobs to support weekly interval, improve dynamic image generation, add defensive logic to router 2022-01-05 14:28:42 -05:00
Shaun Walker
eeff4af167 make Url Mappings relative rather than absolute 2022-01-03 10:56:13 -05:00
Shaun Walker
224618cf21 improve Scheduled Job start/stop user experience, utilize start time when setting next job execution 2022-01-02 21:01:55 -05:00
Shaun Walker
b9f7c39550 improve capture of request attributes 2021-12-30 14:13:58 -05:00
Shaun Walker
f54d07548e separate PWA service worker script from manifest script 2021-12-23 09:46:03 -05:00
Leigh Pointer
9ccc4c4059 Missing Resx Keys
Added missing Keys for Login and Visitor
2021-12-23 11:36:20 +01:00
Shaun Walker
c21a097fd2 added support for default alias specification, alias auto registration, alias redirect, alias line break delimiters 2021-12-22 15:43:59 -05:00
Pavel Vesely
e59ee70f88 Search user work again 2021-12-20 13:06:33 +01:00
Shaun Walker
6a2ff369ea Add support for IsPublic to all Setting types, enable Url Mapping for internal links 2021-12-18 10:35:22 -05:00
Shaun Walker
1e1aaaccca create url mapping when page path changes 2021-12-12 09:59:33 -05:00
Shaun Walker
ec9686cfb8
Merge branch 'dev' into MissingRes-3.0.1 2021-12-11 09:25:03 -05:00
Shaun Walker
76fe155c0a visitor improvements 2021-12-11 09:30:05 -05:00
Leigh
9258c3849b Went through each Framework module updating Resources
New English resources added
2021-12-11 13:43:22 +01:00
Shaun Walker
9c32937c83 added support for url mapping and viitors 2021-12-09 08:48:56 -05:00
Shaun Walker
a216e2b92e Additional properties added to Route model to improve abstraction, modified Site Settings to support settings moved to the server. 2021-12-02 16:33:16 -05:00
Shaun Walker
43d166fb7d Route parsing abstraction and optimization, site router performance improvements, migrate site-based concepts (favicon, PWA support) to server for performance and prerendering benefits, move ThemeBuilder interop logic to OnAfterRenderAsync, upgrade SqlClient to release version, update installer to Bootstrap 5.1.3 2021-12-01 08:22:59 -05:00
Shaun Walker
53ff491efd Assorted enhancements 2021-11-24 08:08:39 -05:00
Shaun Walker
b87b0489e9
Merge pull request #1812 from leigh-pointer/PageModules
Modification to Page Management component
2021-11-17 08:52:31 -05:00
Shaun Walker
2e593d44ee
Merge pull request #1813 from leigh-pointer/ModuleDefinitionsInUse
Modification to Module Management
2021-11-17 08:49:00 -05:00
Shaun Walker
c48b4788c6
Merge pull request #1805 from chlupac/AliasFix
Fix - site with default alias (*) edit fail
2021-11-17 08:44:05 -05:00
Leigh
d5b0356625 Modification to Module Management
The component now reports back if the module is in use.  This will assist in housekeeping and removal of unused modules.
2021-11-16 00:37:57 +01:00
Leigh
5ca77c3f64 Modification to Page Management component
Add a new tabpane that lists all the module on that page.  From here you are able to modify the module settings and or delete the module from a page.  Delete will send the module to the recycle bin.
2021-11-15 23:26:20 +01:00
Pavel Vesely
60d7e45048 Fix - site with default alias (*) edit fail 2021-11-14 10:22:01 +01:00
ijungleboy
5b8e6d4df6 Add many PrivateApi attributes to hide unimportant stuff in docs 2021-11-11 20:01:55 +01:00
Shaun Walker
4ed4f8d942 fix UX in module/theme creators 2021-11-10 15:56:51 -05:00
Shaun Walker
017a92c4bc
Merge pull request #1763 from sbwalker/dev
upgrade module and theme templates to .NET6
2021-11-05 12:45:10 -04:00
Shaun Walker
5419032e8d upgrade module and theme templates to .NET6 2021-11-05 12:53:13 -04:00
Shaun Walker
d3f3359f66 fix #1745 - error on WebAssembly when logging out 2021-11-04 08:06:28 -04:00
Shaun Walker
3f110aaabd
Merge pull request #1761 from sbwalker/dev
fix #1745 - error on WebAssembly when logging out
2021-11-04 07:58:22 -04:00
Leigh
efbe0562f9 Navigation was not completed 2021-11-04 06:09:19 +01:00
Shaun Walker
e598178869
Merge pull request #1752 from leigh-pointer/PView
Fix for #1749 navigate to sub sub pages
2021-11-03 12:32:34 -04:00
Leigh
fff36949b7 Fix for #1749 navigate to sub sub pages
Also added missing "Browse" localization from site/index,resx
2021-11-02 19:59:59 +01:00
Shaun Walker
e0a0497dd2 Fix #1751 - error when creating site with new tenant 2021-11-02 14:49:06 -04:00
Leigh
a8ddb64b49 Fix for #1749 navigate to sub sub pages
Added Open button that will navigate to sub pages
2021-11-02 05:57:05 +01:00
Shaun Walker
3e9a4f2c1a Fixed validation issue in Role Managment - Users. Modified FileManager component to allow Folder parameter to contain a folder path which is translated to a FolderId internally and refactored Packages folder logic. 2021-10-06 17:20:44 -04:00
Shaun Walker
306b78b526 Added ability for Runtime and RenderMode to be set per Site - enabling the framework to support multiple hosting models concurrently in the same installation. Fixed WebAssembly Prerendering issue (this also resolved the issue where the component taghelper was not passing parameters correctly to the app when running on WebAssembly). Fix #1702 - remove web,config from upgrade package. 2021-10-05 14:32:05 -04:00
Shaun Walker
aeb599867c Allow root page paths (rather than specifying a magic "home" string). More UX improvements to FileManager and Pager. 2021-10-01 11:28:48 -04:00
Shaun Walker
80d23d1c95 Add paging to SQL Manager results 2021-09-23 18:02:15 -04:00
Shaun Walker
f220cb52bb
Merge pull request #1682 from gjwalk/dev
Sites Validation
2021-09-23 17:12:36 -04:00
nicpitsch
10917644ab Profile properties as dropdown in User Management (same as User Profile). 2021-09-23 10:05:24 +02:00
Grayson Walker
9fa3ade832 Sites Validation 2021-09-22 18:22:30 -04:00
Shaun Walker
f739db1e42 Enhance Settings API for public Site Settings. Added Settings to Site model by default. Added new parameters to Login and UserProfile components. Enhanced Oqtane Theme settings to use new component parameters. Enhanced image download and resizing logic. 2021-09-20 17:15:52 -04:00
Shaun Walker
b4f7344ae4 removed unnecessary message from top of module, theme, language installation pages 2021-09-17 09:28:27 -04:00
Grayson Walker
467b6ba9da site validation 2021-09-15 19:10:14 -04:00
Shaun Walker
a4f147b547
Merge pull request #1655 from gjwalk/dev
roles validation
2021-09-15 07:58:21 -04:00
Shaun Walker
898b908c1b Added support for File descriptions, Folder capacity and image sizes. Added image resizing capability using ImageSharp - implemented in user profile. Added parameter to disable image preview in FileManager component. Overhauled Pager component and added Columns parameter for Grid mode. Populated PageState.User.IsAuthenticated in SiteRouter. Added support for zero price commercial extentions. 2021-09-15 08:02:55 -04:00
Grayson Walker
f21b70a51e roles validation 2021-09-11 18:18:23 -04:00
Shaun Walker
ba7524b754
Merge pull request #1651 from leigh-pointer/RecycleCheck
Validate if Page in Recycle Bin During Creation
2021-09-10 13:06:59 -04:00
Leigh
d2fa8902f9 Auto stash before rebase of "origin/RecycleCheck"
correction
2021-09-10 18:59:23 +02:00