Commit Graph

70 Commits

Author SHA1 Message Date
sbwalker
40abb2720e fix logic to force authenticated user to provide email address so it works in static rendering 2024-09-17 17:29:11 -04:00
sbwalker
1f2e2148d5 fix #4607 - scripts added twice 2024-09-16 13:21:43 -04:00
sbwalker
d196402dd0 fix #4607 - Site HeadContent scripts being added twice 2024-09-13 15:18:12 -04:00
sbwalker
5443629ec5 allow <style> tags to be injected using HeadContent 2024-07-18 15:01:20 -04:00
sbwalker
c49ef49371 fix #4061 - invalid type for favicon 2024-03-25 13:05:20 -04:00
Shaun Walker
838c2994a9
Merge pull request #3810 from zyhfish/task/fix-bug-3807
Fix #3807: parsing the data attributes.
2024-02-21 09:29:42 -05:00
sbwalker
0f0d168976 move stylesheet injection to App component to eliminate FOUC on static rendering 2024-02-20 10:16:19 -05:00
sbwalker
4db3bafeda in static render mode do not filter scripts from head content 2024-02-19 16:45:54 -05:00
sbwalker
acc562bd7f inject CSS and JS on static rendering 2024-02-19 15:25:48 -05:00
sbwalker
04da989108 get title and headcontent working again on interactive render mode 2024-02-16 15:08:04 -05:00
Ben
740b89258d Fix #3807: parsing the data attributes. 2024-02-16 19:26:01 +08:00
sbwalker
7d1b4d916e fix #3793 - render issues on .NET MAUI 2024-02-15 10:22:14 -05:00
sbwalker
310772d7fe changes for static rendering 2024-02-02 13:08:05 -05:00
sbwalker
6621983a9c HTML encode notifications sent by non-admins to prevent HTML injection 2023-12-13 10:07:21 -05:00
sbwalker
3c33614115 user identity improvements 2023-11-29 10:42:23 -05:00
sbwalker
edd77b0222 fix #3236 - script injection issue 2023-09-08 11:25:27 -04:00
sbwalker
26921c899e fix #3235 - </script> not being removed from Head Content 2023-09-08 11:09:07 -04:00
sbwalker
316e0f5a68 fix #3134 improve parsing of headcontent to handle space delimiters 2023-08-11 15:53:32 -04:00
sbwalker
808354e969 fix issue where meta name="description" tags were being excluded from output 2023-08-03 16:02:34 -04:00
sbwalker
452c3fd355 fix #2942 - reverse ordering of page name and site name for page title 2023-06-28 12:50:58 -04:00
sbwalker
ce6647a84a remove A/B testing logic for stylesheets - discard root component approach in favor of legacy JS Interop approach to eliminate FOUC issues 2023-06-25 08:39:12 -04:00
sbwalker
5660f40512 allow CSS testing using old and new method 2023-06-22 14:05:08 -04:00
sbwalker
86fbdced1b cleanup and ensure site level scripts work properly 2023-06-21 15:49:00 -04:00
sbwalker
8067b2e634 fix #2912 - move JavaScript handling from ThemeBuilder to component OnAfterRenderAsync 2023-06-21 08:31:51 -04:00
sbwalker
c8a679ecce integrate old logic for managing stylesheets using JS Interop 2023-06-20 08:52:02 -04:00
sbwalker
726f9375e1 handle type for favicon and improve helptext 2023-06-12 12:30:56 -04:00
sbwalker
818fd2fb43 fix JavaScript injection issue on first render for Resources defined in IModule and ITheme 2023-06-05 22:00:02 -04:00
sbwalker
0f093b1238 utilize new Resources capability in default module/theme 2023-05-25 17:14:00 -04:00
sbwalker
452d0af8c9 add null check 2023-05-23 11:16:07 -04:00
sbwalker
03374483e4 format head content, remove scripts, and filter duplicate elements 2023-05-23 09:12:03 -04:00
sbwalker
7b0799a6f6 utilize ResourceLocation consistently 2023-05-23 08:08:16 -04:00
sbwalker
20c7bf3c48 add support for body content 2023-05-22 15:02:36 -04:00
sbwalker
ded326c822 changes to support page level scripts, ability to detect prerendering 2023-05-22 13:56:48 -04:00
sbwalker
e41d9008b3 ability to specify Resources in IModule and ITheme interfaces,, fixed module settings for personalized pages 2023-05-19 18:08:15 -04:00
sbwalker
0b8086bd36 optimize JavaScript handling 2023-05-18 14:36:06 -04:00
sbwalker
076d150f72 add support for type attribute in JSInterop IncludeScript 2023-05-18 09:36:09 -04:00
sbwalker
f1ec70ff14 move PWA elements back to _Host 2023-05-18 08:37:21 -04:00
sbwalker
7336417634 handle id attribute automatically for headcontent inline scripts 2023-05-18 08:26:51 -04:00
sbwalker
5da4dadc31 allow HeadContent to support script tags 2023-05-17 17:13:08 -04:00
sbwalker
8d2f644177 added HeadContent property to Site and replaced Meta property on Page with HeadContent property. 2023-05-16 16:23:07 -04:00
sbwalker
89ada83012 migrate CSS references and remove JS Interop methods 2023-05-16 09:09:18 -04:00
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
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
f96129fa37 Blazor Hybrid / .NET MAUI support 2022-08-11 17:09:32 -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
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