Commit Graph

231 Commits

Author SHA1 Message Date
sbwalker
5e652364c9 migrate PWA script injection 2023-05-16 08:00:48 -04:00
sbwalker
3b214a0105 relocate favicon rendering 2023-05-16 07:41:50 -04:00
sbwalker
dbe7324c7f ability to add arbitrary content to head and body during client and server rendering 2023-05-15 16:43:22 -04:00
sbwalker
e444c6bcf0 fix #2777 - module rendering order within pane - moved default module ordering logic to server API for consistency and better performance 2023-05-03 12:25:52 -04:00
Shaun Walker
e0c2b2982f improvements to #2736 to support scenarios where module is not explicitly assigned to a page 2023-04-11 13:01:34 -04:00
Shaun Walker
7fe4577158 Routes with Module ID and no Action can be displayed on any page regardless of whether a PageModule record exists (ie. Admin Dashboard) 2023-04-11 10:21:37 -04:00
Shaun Walker
8985dcb4c0 fix #2736 - UI not loading correct module instance in scenarios where a module exists on multiple pages 2023-04-10 08:37:35 -04:00
Shaun Walker
fc114dc5db include documentation to explain logic 2023-03-08 12:11:11 -05:00
Shaun Walker
7107d844e1 fix #2640 - system should remain in edit mode when editing a page 2023-03-08 11:50:30 -05:00
Shaun Walker
2b41909d47 #2618 - add backward compatibility for permissions optimizations 2023-03-02 15:34:42 -05:00
Shaun Walker
7db6b82a1a add defensive logic to querystring parser to handle duplicate parameters 2023-02-15 15:21:50 -05:00
Shaun Walker
0883a8dbff optimize Split() statements for consistency 2023-02-08 16:51:45 -05:00
Shaun Walker
56e4dcc11e fix #2578 - error notification sent via email includes direct link to specific log item, however redirect was causing an infinite loop. This resolves the problem and also preserves url querystring parameters during login/logout. 2023-02-06 16:44:25 -05:00
Shaun Walker
e136972cd7 add support for API permissions at the UI layer - including ability to delegate user, role, profile management 2023-01-09 11:38:25 -05:00
Shaun Walker
3de98873d6 fix #2502 - invalid logic checking querystring parameter 2022-11-23 11:26:23 -05:00
Shaun Walker
075a09f0df fix JS Interop methods for includeScript and includeMeta 2022-11-10 14:19:31 -05:00
Shaun Walker
c5b632cb24 Enhance SyncManager to raise events which can be handled on the server within hosted services. Raise create, update, delete events for all major entities. Include support for refresh and reload events to synchronize client state. Move client state cache invalidation to a hosted service to separate concerns and demonstrate events. 2022-10-04 19:20:02 -04:00
Shaun Walker
b7a3713946 Fix #2439 - ensure resource urls are constructed consistently on client and server 2022-09-28 09:43:02 -04:00
Shaun Walker
06812d5df8 improve BaseUrl handling for MAUI, replace ContentUrl with FileUrl and improve file server 2022-09-21 13:38:21 -04:00
Shaun Walker
654352827e refactor IndexedDB interop functions 2022-09-13 07:42:27 -04:00
Shaun Walker
23ae4b01cb remove unnecessary using statements 2022-09-12 14:54:31 -04:00
Shaun Walker
b8e2c729c1 cache assemblies in IndexedDB on WebAssembly 2022-09-12 14:46:46 -04:00
Shaun Walker
dd170bb41a more changes to support Default pane 2022-09-05 15:49:38 -04:00
Shaun Walker
282a0b0c44 Fix #2382 - Admin pane improvements 2022-09-02 18:10:13 -04:00
Shaun Walker
99d4d75d8e Improvements to richtexteditor to allow file management in raw html editor. Also allow disabling of raw html editor which can be utilized via new setting in Html/Text module. 2022-08-19 15:32:30 -04:00
Shaun Walker
c7edc28bd9 improve support for module content editors 2022-08-16 17:25:46 -04:00
Shaun Walker
4084b352de added ability to specify a site home page, updated default template content to include .NET MAUI 2022-08-15 17:01:20 -04:00
Shaun Walker
8bca345b45 optimize site router 2022-08-14 11:22:39 -04:00
Shaun Walker
3cf7153f44 resolve issue with deleted pages and modules caused by refactoring 2022-08-12 18:02:45 -04:00
Shaun Walker
3c6ebd7742 performance improvements to reduce http and database interactions 2022-08-12 16:47:51 -04:00
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
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
d3c40a7e8b fix #2172 - File Upload issue caused by JS Interop not passing AntiForgery token in POST methid 2022-05-04 17:14:45 -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
e4c648ee92 completed antiforgery implementation, improved external login claim mapping, principal construction, and user experience 2022-04-22 17:54:20 -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
Shaun Walker
042083c0e7 fix logic issue in url mapping, improve 404 handling, add property change component notifications 2022-04-04 17:16:12 -04:00
Shaun Walker
6b100cf70b fix installation CSS issue 2022-04-02 09:29:12 -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
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
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
5aecc4be03 remove invalid app tag, fix page title not being set on first render 2022-01-11 15:07:54 -05:00
痞子再
4ade58da01
Fixed first render css bug
Fixed the bug that CSS could not be render when the module was loaded for the first
2022-01-10 16:06:48 +08: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
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
9c32937c83 added support for url mapping and viitors 2021-12-09 08:48:56 -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
19be77ed49 refactored ErrorBoundary implementation to support logging 2021-11-22 16:11:44 -05:00
Pavel Vesely
b40ee19735 ErrorBoundary 2021-11-17 11:22:24 +01:00
Shaun Walker
a16040a595 remove unnecessary cascading parameter to improve efficiency 2021-11-05 09:03:12 -04:00
Shaun Walker
d3f3359f66 fix #1745 - error on WebAssembly when logging out 2021-11-04 08:06:28 -04:00
Shaun Walker
7bfc0998fd fix #1713 - link to home path displays login page 2021-10-26 08:30:50 -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
ac67d88e74 fix logic which sometimes results in System.InvalidOperationException: The value of IsFixed cannot be changed dynamically 2021-10-01 15:58:17 -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
005843ef2d Use ComponentTagHelper parameters on Blazor Server for passing state to allow pre-rendering to function properly ( ComponentTagHelper parameters do not work on Blazor WebAssembly - likely a .NET 5 bug ) 2021-09-23 17:16:51 -04:00
Shaun Walker
5071cf4752 modify method for determining Runtime in SiteRouter as ComponentTagHelper "param-" appears to only work on Blazor Server - not on WebAssembly 2021-09-21 12:48:15 -04:00
Shaun Walker
b5bba1fd11 improved method for determining Runtime in SiteRouter 2021-09-17 09:06:27 -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
Shaun Walker
14fbc3a5b4 fix #1647 - module reordering on page issue 2021-09-10 13:12:00 -04:00
Shaun Walker
39ccc30680 fix Type label in Add Folder UI, make Profile description required, fix misc Bootstrap 5 cosmetic issues, fix #1618 Alias case sensitivity in router, fix File add and update methods so they return Url, fix UrlCombine helper method to use proper slash, enhance package installation to support commercial options 2021-08-26 18:20:58 -04:00
Shaun Walker
eea417ff44 added logging for startup issues 2021-07-01 07:37:03 -04:00
Shaun Walker
52bcdb12c5 package management modifications 2021-06-24 18:02:01 -04:00
gjwalk
f7363504c2
Merge branch 'dev' into dev 2021-06-18 15:35:20 -04:00
Grayson Walker
ae0edcfd2d create default rex files with static keys 2021-06-18 14:45:38 -04:00
Shaun Walker
72ff6fa0e7 improvements to refresh logic, module template enhancements 2021-06-16 16:31:02 -04:00
Shaun Walker
cec24e7446 improve multi-tenancy navigation 2021-06-16 08:30:41 -04:00
Shaun Walker
bc720555c4 refactoring, enhancements, and some fixes 2021-06-10 08:16:02 -04:00
Shaun Walker
6f981e0928 revert unnecessary code change in router 2021-05-19 09:15:05 -04:00
Shaun Walker
09537ab0e4 auth improvements related to multi-tenancy 2021-05-19 08:46:02 -04:00
Charles Nurse
1efd623a99 Adding new DatabaseConfig components in the Client project for supported Databases to avoid deploying server dlls to client 2021-04-27 15:35:10 -07:00
Shaun Walker
40f8436947
Merge pull request #1239 from cnurse/dev
Implement Database Migrations and add Multi-Database Support
2021-04-19 21:11:11 -04:00
Charles Nurse
74c403cef1 Merge remote-tracking branch 'upstream/dev' into dev 2021-04-19 11:08:35 -07:00
Shaun Walker
cbe843bafc User experience improvements 2021-04-17 19:18:24 -04:00
Shaun Walker
d05747af1e enhanced ModuleActions component to display panes in a submenu, added more containers to Oqtane theme, added more panes to MultiPane layout, added module outline in edit mode to distinguish modules in panes, consolidated to use a single default AdminPane named "Content", fixed bug related to custom Admin Container behavior 2021-04-06 17:45:11 -04:00
Shaun Walker
61b73060e5 login form validation 2021-04-02 16:14:02 -04:00
Shaun Walker
58c84da9c9 add ability to test SMTP connection in Site Settings 2021-04-01 09:44:07 -04:00
Shaun Walker
bd48e1d8f1 if running on WebAssembly reload the client application if the server application is restarted 2021-03-31 15:39:01 -04:00
Charles Nurse
2fb63e8117 Added suuport to inject an IOqtaneDatabase in EntityBuilders to allow each Database to control certain Migration behaviors. Also updated Installer to dynamically build Database Configuration section 2021-03-27 11:16:16 -07:00
Charles Nurse
3a032f401a Added IDatabase interface and refactored to use it to handle database type - updated Installer to dynamically add databases to selector 2021-03-24 11:45:44 -07:00
Charles Nurse
cbcfc88492 Add support for Sqlite - Installation path tested but AddSite not supported yet 2021-03-23 11:06:18 -07:00
Erwin Yulianto
63140bce81
Remove admin border after edit
After finish Edit, there's a class "container" which is conflict with Bootstrap that cause an issue on Full-width pane.
2021-03-17 19:26:50 +07:00
Shaun Walker
2fc877a99e fix #1097 - made PWA manifest Urls absolute rather than relative 2021-02-10 14:50:06 -05:00
Shaun Walker
c3e7fa67f3 Performance improvement - set IsFixed="true" on ModuleState CascadingValues so that Blazor will not monitor them for changes 2021-02-05 09:37:10 -05:00
Shaun Walker
531cba715e performance and user experience improvements 2021-02-04 08:54:59 -05:00
Shaun Walker
144c33bcab make QueryString parameter keys case insensitive - resolves #992 2020-12-12 15:58:58 -05:00
hishamco
e94069e8a5 Localize alert messages in UI 2020-12-09 21:17:33 +03:00
Pavel Vesely
35e776b150 Fix - return to url during login fail when returnurl contains "/" 2020-12-07 21:27:00 +01:00
Shaun Walker
1968b0283d
Merge pull request #967 from hishamco/language-switcher
Add Language switcher
2020-12-04 14:53:48 -05:00
Shaun Walker
9f590b32f7 fix #957 related to loading resources within a Settings component 2020-12-03 15:19:23 -05:00
hishamco
20f1a6175f Use cookie everywhere 2020-12-03 17:15:08 +03:00
hishamco
1b3cc2c44e Interop local storage APIs should be generic 2020-12-03 13:37:18 +03:00
Shaun Walker
fd60b40c53 Fixes to make site alias, page path, and module action Url resolutions case insensitive. Optimized logic for Settings component which fixed localization rendering issue. 2020-12-01 19:36:02 -05:00
hishamco
330499dda5 Use Interop 2020-12-02 02:10:01 +03:00
hishamco
f9a0ecca61 Localizer installer page 2020-11-20 01:56:25 +03:00
Shaun Walker
301051898b
Merge pull request #916 from hishamco/runtime
Runtime enum should be in Oqtane.Shared
2020-11-19 15:37:19 -05:00
Shaun Walker
3967c7c783 Fix #904 - module title not updating in UI after modification 2020-11-19 14:22:30 -05:00