Commit Graph

2048 Commits

Author SHA1 Message Date
sbwalker
997e9213f2 updated default module template to use Service consistently 2024-12-23 14:09:54 -05:00
sbwalker
36d5747b4f update package references 2024-12-23 11:24:24 -05:00
sbwalker
1a925221b7 fix #4946 - allow administrators to access user roles via API 2024-12-23 09:26:50 -05:00
Ben
af7b4db062 Fix #4947: check the 2FA settings. 2024-12-23 22:10:51 +08:00
sbwalker
f2cb34cc35 fix reload script to use static array rather than a live HtmlCollection 2024-12-20 15:39:35 -05:00
sbwalker
2c9a2ea021 write upgrade errors to log rather than console 2024-12-20 14:38:21 -05:00
sbwalker
55e18f2364 fix documentation 2024-12-20 11:55:35 -05:00
sbwalker
ab5409d5b6 use CompressionEnabled switch to disable static asset compression during publish - eliminates need to cleanup files manually in release.cmd 2024-12-20 11:46:30 -05:00
sbwalker
80c8433aad ensure Pages collection is always returned in the same order by moving GetPagesHierarchy method to the repository. 2024-12-19 14:45:12 -05:00
sbwalker
b5a1b529ab add support for data-reload=false attribute in Interactive rendering 2024-12-19 13:04:43 -05:00
Shaun Walker
10d3c81520
Merge pull request #4918 from leigh-pointer/ProjectNameTemplates
Implement Dynamic ProjectName Parameter Across Build Process
2024-12-18 15:27:24 -05:00
Shaun Walker
e3811b453a
Merge pull request #4927 from sbwalker/dev
Improvements to add support for script type and data-* attributes. Also added Script and Stylesheet classes to simplify Resource declarations.
2024-12-18 15:16:16 -05:00
sbwalker
ca0fb05baa Improvements to add support for script type and data-* attributes. Also added Script and Stylesheet classes to simplify Resource declarations. 2024-12-18 15:15:54 -05:00
Shaun Walker
2b4b01bf6e
Merge pull request #4926 from sbwalker/dev
always render page-script elements in body
2024-12-18 11:56:18 -05:00
sbwalker
3a1244bddc always render page-script elements in body 2024-12-18 11:56:03 -05:00
Shaun Walker
b8fd922b19
Merge pull request #4925 from sbwalker/dev
improve reload script to replicate all attributes
2024-12-18 10:32:12 -05:00
sbwalker
03f856025e improve reload script to replicate all attributes 2024-12-18 10:31:59 -05:00
Shaun Walker
45f04d24c3
Merge pull request #4924 from sbwalker/dev
refactor Static Blazor script processing
2024-12-18 10:09:20 -05:00
sbwalker
2435d610c7 refactor Static Blazor script processing 2024-12-18 10:09:02 -05:00
Shaun Walker
06572bcd14
Merge pull request #4922 from sbwalker/dev
page-script optimization
2024-12-17 14:57:17 -05:00
sbwalker
3fab79afc0 page-script optimization 2024-12-17 14:57:01 -05:00
Shaun Walker
c6896ea936
Merge pull request #4920 from sbwalker/dev
fix page-script to support type attribute on inline scripts
2024-12-17 09:13:42 -05:00
sbwalker
b7a41bddec fix page-script to support type attribute on inline scripts 2024-12-17 09:13:26 -05:00
Shaun Walker
6fd80c3737
Merge pull request #4919 from sbwalker/dev
page-script improvements
2024-12-17 08:34:55 -05:00
sbwalker
0aa690b3b1 page-script improvements 2024-12-17 08:34:39 -05:00
Leigh Pointer
6d5bcfc6ed Implement Dynamic ProjectName Parameter Across Build Process
This pull request introduces a dynamic ProjectName parameter across our build process, enhancing flexibility and reducing hardcoding in our module and theme development workflow. The changes affect the project file, NuSpec file, command scripts.
2024-12-17 10:35:14 +01:00
Shaun Walker
b60de69fa5
Merge pull request #4917 from sbwalker/dev
improvements to page-script
2024-12-16 12:44:23 -05:00
sbwalker
d991b57d08 improvements to page-script 2024-12-16 12:44:07 -05:00
Shaun Walker
6fbf0383bb
Merge pull request #4911 from leigh-pointer/FixGlow
This is a cosmetic fix to the Oqtane Glow image
2024-12-13 16:46:49 -05:00
Shaun Walker
0296230219
Merge pull request #4913 from sbwalker/dev
page-script enhancements
2024-12-13 16:46:23 -05:00
sbwalker
dedfbba27a page-script enhancements 2024-12-13 16:46:08 -05:00
Leigh Pointer
dc5441da07 This is a cosmetic fix to the Oqtane Glow image
The glow on the original is cropped at the left by a few pixcels.  This update fixes that and sizes the image to a 600 x 150
2024-12-13 11:45:13 +01:00
Shaun Walker
d7a7be5af4
Merge pull request #4904 from sbwalker/dev
add sync events for user login/logout
2024-12-09 10:55:55 -05:00
sbwalker
13e4267c11 add sync events for user login/logout 2024-12-09 10:55:40 -05:00
Leigh Pointer
1a4380dcd7 Variable update 2024-12-07 15:02:27 +01:00
Leigh Pointer
5ace34b5cd Add the $TargetFramework macro to the Release Builds
Add the $TargetFramework macro to the Release Builds
2024-12-06 13:37:37 +01:00
Leigh Pointer
f010c0f1fa Implement Dynamic TargetFramework in Debug Scripts #4897
This PR updates our debug scripts (both .cmd and .sh) to dynamically use the current TargetFramework passed from the build process. This change improves flexibility and future-proofs our build process for different .NET versions.
2024-12-05 12:43:38 +01:00
Jon Welfringer
ab6fa48172
Fix #4885 - Pass userid as int to GetUser for JWT authentication 2024-12-03 10:34:44 -08:00
sbwalker
f0d31c1114 improve security of UserRole API 2024-11-27 14:59:25 -05:00
sbwalker
d96286d771 User Settings should only be accessible to individual users or administrators 2024-11-27 13:15:43 -05:00
sbwalker
e786c35f7d User Settings should only be accessible to individual users or administrators 2024-11-27 13:04:06 -05:00
sbwalker
ffea9e3210 prevent notifications from being accessed by other users 2024-11-26 14:30:41 -05:00
Ben
b5f75f0c5e Fix #4841: force 2FA validation when it's required in site level. 2024-11-23 13:04:27 +08:00
sbwalker
ced80419aa prepare for 6.0.1 2024-11-22 12:29:44 -05:00
sbwalker
3528b8c674 fix #4848 - remove assemblies from /bin which have been moved to /bin/refs in .NET 9 2024-11-22 12:13:45 -05:00
sbwalker
7d94e4a53a fix #4855 - dropping required column causes issue on SQLite 2024-11-22 11:55:43 -05:00
sbwalker
420182b9bf fix 2 factor authentication email 2024-11-18 15:03:48 -05:00
Leigh Pointer
92aa2236c0 Swashbuckle.AspNetCore updated to 7.0 2024-11-14 09:16:55 +01:00
sbwalker
0f2aa4d2e1 update to official .NET 9 release 2024-11-12 15:40:54 -05:00
sbwalker
422bf8da59 use HttpClient rather than IHttpClientFactory as IHttpClientFactory does not pass cookies in .NET MAUI 2024-11-11 08:14:53 -05:00
sbwalker
5a91b143b6 resolved issue when setting initial culture cookie 2024-11-08 15:41:24 -05:00
sbwalker
0f698e0c50 make indexing of Files opt-in rather than opt-out 2024-11-08 15:16:32 -05:00
sbwalker
fdbdd0ef4c Added defensive logic to File Indexer for scenarios where file does not exist on disk. Added ability to reset the search index prior to reindexing. 2024-11-07 17:05:28 -05:00
sbwalker
d85a2fc8ce remove custom JavaScript reconnection script for SignalR 2024-11-05 11:30:18 -05:00
sbwalker
c8a22d9537 fix #4795 - ensure deterministic ordering of file parts when merging files after upload (credit @HQuast) 2024-11-04 15:28:59 -05:00
sbwalker
7deb0b06af fix #4770 - set a default value for PrincipalSchema to ensure backward compatibility 2024-10-24 17:08:25 -04:00
sbwalker
0dfdb12431 get language using CookieRequestCultureProvider 2024-10-24 15:48:14 -04:00
sbwalker
b0c8203b24 remove Microsoft.AspNetCore.Localization from default module template 2024-10-24 15:20:07 -04:00
sbwalker
f09709aedb remove Microsoft.AspNetCore.Http 2024-10-24 15:10:52 -04:00
sbwalker
a967332f89 remove Microsoft.AspNetCore.Localization 2024-10-24 12:24:46 -04:00
Shaun Walker
6719d242bd
Merge pull request #4756 from zyhfish/task/fix-4752
Fix #4752: validate the username and email.
2024-10-24 09:53:24 -04:00
Ben
3565185808 update the error message. 2024-10-24 20:13:43 +08:00
Ben
ce51262197 update the code to use simple validation. 2024-10-24 20:04:18 +08:00
Cody
8a9651dc50
Adds logic for .modal class ScrollTo function 2024-10-21 12:22:01 -07:00
sbwalker
73ea17ae0f changes to migrate Oqtane to .NET 9 and version 6.0.0 2024-10-21 14:51:20 -04:00
Ben
4f74962ce2 Fix #4752: validate the username and email. 2024-10-21 23:11:57 +08:00
sbwalker
56cfb2ce06 fix sorting of Site.Languages property 2024-10-15 16:46:05 -04:00
sbwalker
bcf7866fe2 fix #4733 - remove Name column from Language table and populate value dynamically 2024-10-15 15:58:17 -04:00
sbwalker
52f552b4de localize names of languages based on user's UI culture 2024-10-14 17:17:54 -04:00
sbwalker
62d59a09cf set HttpOnly to false for Localization cookie in static rendering 2024-10-14 16:49:14 -04:00
sbwalker
04b38444ce fix #4722 - support PrincipalSchema when creating foreign keys (credit @Hypnodude) 2024-10-14 15:36:32 -04:00
Shaun Walker
ca3df02002
Merge pull request #4723 from mdmontesinos/dev
Image Resizing and Format via QueryString in Files Page (enhances #4692)
2024-10-14 15:20:37 -04:00
sbwalker
93bc1cd5af fix #4714 as well as breaking change in #4712 2024-10-14 15:05:46 -04:00
Shaun Walker
0e5b370ee8
Merge pull request #4712 from thabaum/language-switcher-cookie
Fix #4710 - Adds language switcher component cookie set options for secure, httpOnly, sameSite + interop.cs/interop.js methods samesite and secure options
2024-10-14 14:41:18 -04:00
Shaun Walker
0d4a40e9bb
Merge pull request #4715 from leigh-pointer/CompUpdate-8.0.10
Updated Microsoft Components for 8.0.8 to 8.0.10
2024-10-14 13:04:54 -04:00
David Montesinos
3adb7ecb1c Enhances image manipulation with format (webp encoder, defaults to png)
- computes etag with all manipulation parameters
2024-10-13 17:20:18 +02:00
David Montesinos
aa5b84a214 Implements Image Manipulation in Files Page via QueryString
- Extracts the image creation into a service
- Refactors Files Page GET action for better readability and cyclomatic complexity
2024-10-13 12:38:43 +02:00
Leigh Pointer
3d83fccbf1 remove appsettings 2024-10-09 15:07:57 +02:00
Leigh Pointer
4c4255be6b Updated Template files with new component version 8.0.10 2024-10-09 14:42:07 +02:00
Leigh Pointer
ed6054b082 Updated Microsoft Components for 8.0.8 to 8.0.10
Tested on upgrade and new Oqtane instance creation.
2024-10-09 14:35:27 +02:00
Cody
ce7570dae2
Remove Unnecessary httpOnly setting setCookie Option 2024-10-05 13:58:55 -07:00
Cody
b5ea0dfbc7
Update Cleanup "setCookie" function notes options: secure, httpOnly, Samesite 2024-10-05 13:57:36 -07:00
Cody
e526deac20
Update Cookie Settings Secure, httpOnly, sameSite 2024-10-05 13:19:52 -07:00
Cody
d1e73571a1
fix typo 2024-10-05 11:12:01 -07:00
mauroc
29a1e77da8 Hard deletion of page more robust use of contexts (fixes issue: presence of stale records of deleted page on db). 2024-10-04 22:46:40 +02:00
sbwalker
1c95967b31 fix #4695 - null reference exception deleting a setting which does not exist 2024-10-02 08:30:34 -04:00
Cody
004ff1e91d
Update Dependencies and Prepare Release 5.2.4 2024-10-01 06:14:07 -07:00
sbwalker
947aa08c42 add validation of recipient email address to Notification job 2024-09-30 11:27:47 -04:00
Shaun Walker
3398c1cbfe
Merge pull request #4678 from sbwalker/dev
remove unnecessary using statement
2024-09-26 15:54:35 -04:00
sbwalker
39c79ea68e remove unnecessary using statement 2024-09-26 15:54:22 -04:00
Shaun Walker
66900f4a32
Merge pull request #4677 from sbwalker/dev
sign out the principal when it is rejected due to security stamp changes
2024-09-26 15:53:55 -04:00
sbwalker
df71dd14f7 sign out the principal when it is rejected due to security stamp changes 2024-09-26 15:53:14 -04:00
Shaun Walker
8113ca3069
Merge pull request #4676 from sbwalker/dev
fix #4657 - Cannot add new site to existing installation using separate database On IIS
2024-09-26 14:07:11 -04:00
sbwalker
d468e675c2 fix #4657 - Cannot add new site to existing installation using separate database On IIS 2024-09-26 14:06:51 -04:00
Shaun Walker
1e84cedf82
Merge pull request #4674 from sbwalker/dev
fix localization spelling mistake
2024-09-26 13:46:41 -04:00
sbwalker
7f4087e3de fix localization spelling mistake 2024-09-26 13:46:29 -04:00
Shaun Walker
facd3c8956
Merge pull request #4673 from sbwalker/dev
fix remote login issue which could occut if multiple users have the same email address
2024-09-26 13:38:30 -04:00
sbwalker
3e50deecb7 fix remote login issue which could occut if multiple users have the same email address 2024-09-26 13:37:39 -04:00
Shaun Walker
628c504f84
Merge pull request #4672 from sbwalker/dev
fix #4667 - installation issues when running on IIS
2024-09-26 13:33:31 -04:00
sbwalker
e1ada78c1f fix #4667 - installation issues when running on IIS 2024-09-26 13:33:16 -04:00
Cody
28b6b03d06
Remove unnecessary usings 2024-09-25 15:13:06 -07:00
sbwalker
4511acf273 fix #4666 - scroll position in enhanced navigation 2024-09-25 17:05:53 -04:00
sbwalker
82aea40ae4 prepare for 5.2.3 2024-09-23 16:17:55 -04:00
sbwalker
be5df9c22a improve scroll position script 2024-09-23 09:55:44 -04:00
sbwalker
b7928a5255 fix #4638 - add Logout Everywhere option to User Profile 2024-09-20 15:18:25 -04:00
Shaun Walker
5d8d815d84
Merge pull request #4636 from zyhfish/task/4610-loadjs-issue
Fix #4610: wait for js loaded.
2024-09-19 12:10:55 -04:00
Ben
67743c7597 Fix #4610: wait for js loaded. 2024-09-19 23:34:59 +08:00
sbwalker
78177f7890 use deep cloning to not muttate cache 2024-09-19 09:41:11 -04:00
sbwalker
f2c8d80ff8 fix trimming of site, page, and module settings 2024-09-18 18:31:40 -04:00
sbwalker
eb7188e81b fix #4257 - load settings resources 2024-09-18 15:22:44 -04:00
sbwalker
ac313722f9 on .NET MAUI provide message to user if Security Token has not been configured 2024-09-18 11:28:11 -04:00
sbwalker
355ce00968 use FileLogger as fallback in LogManager when site cannot be determined 2024-09-18 07:37:52 -04:00
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
c3fb8fcb6e remove unecessary using 2024-09-17 11:54:21 -04:00
sbwalker
b0669a3b60 fix external login 2024-09-17 11:53:34 -04:00
sbwalker
3351732a2f allow external login to support SecurityStamp 2024-09-17 09:28:35 -04:00
sbwalker
b45e2742c3 remove unecessary usings 2024-09-17 09:07:45 -04:00
sbwalker
32d1e08b57 allow JwtMiddleware to support SecurityStamp 2024-09-17 09:06:49 -04:00
sbwalker
f78e400918 fix commented logic 2024-09-17 08:54:52 -04:00
sbwalker
48f2079f88 fix #4580 - add logout everywhere support using SecurityStamp 2024-09-17 08:45:27 -04:00
sbwalker
1f2e2148d5 fix #4607 - scripts added twice 2024-09-16 13:21:43 -04:00
sbwalker
f2c854b53a include SecurityStamp in User object 2024-09-16 13:03:21 -04:00
sbwalker
c74065ff26 further modifications for #4604 - support for site name in logo component 2024-09-15 09:30:04 -04:00
sbwalker
1c1c26948a fix #4606 - allow logo to show site name as fallback (credit @JanOlsmar) 2024-09-13 16:13:01 -04:00
sbwalker
caa2073d48 improve support for external login roles 2024-09-13 07:34:57 -04:00
sbwalker
69bc06685f fix #4598 - user experience improvements for file upload 2024-09-12 14:04:35 -04:00
sbwalker
044cee30a5 fix #4600 - filter user settings in API layer 2024-09-11 17:21:12 -04:00
sbwalker
1cf36e2156 fix #4575 - add support for DateOnly and TimeOnly columns in migrations 2024-09-08 11:43:36 -04:00
Shaun Walker
fbb3c309ee
Merge pull request #4583 from sbwalker/dev
prepare for 5.2.2
2024-09-02 12:09:24 -04:00
sbwalker
473c265bac prepare for 5.2.2 2024-09-02 12:09:06 -04:00
Shaun Walker
01b06c2c3c
Merge pull request #4582 from sbwalker/dev
remove reference to HttpContext as it is not used
2024-09-02 11:08:38 -04:00
sbwalker
8b1f95c743 remove reference to HttpContext as it is not used 2024-09-02 11:08:25 -04:00
Shaun Walker
ff5dbec579
Merge pull request #4578 from sbwalker/dev
fix issue adding existing user to a new site
2024-08-29 17:53:27 -04:00
sbwalker
9620c5a98f fix issue adding existing user to a new site 2024-08-29 17:53:11 -04:00
Ben
229aed306e update bootstrap reference. 2024-08-29 19:41:27 +08:00
Ben
7917cc3eb5 display the upgrade progress. 2024-08-28 21:48:40 +08:00
sbwalker
e096af320f provide better support for AllowTextInput on Search component 2024-08-27 12:16:36 -04:00
sbwalker
59bd9fdc22 fix #4559 - prevednt Log fields from exceeding column length 2024-08-26 12:04:50 -04:00
sbwalker
592255284f fix #4562 - module template issue caused by gitignore 2024-08-26 09:38:10 -04:00
sbwalker
f6858c221b fix #4546 - handle cache invalidation for site deletion 2024-08-22 08:26:29 -04:00
sbwalker
430572fb32 fix #4545 - Site Settings - UI Component Settings changes not refreshed after saving 2024-08-22 08:08:55 -04:00
sbwalker
3cb875d139 fix issues in default template for Interactive Client (WebAssembly) scenarios 2024-08-20 15:33:46 -04:00
sbwalker
aee0c27da7 fix #4498 build ServerState Assemblies collection in a more thread safe manner 2024-08-20 14:02:37 -04:00
sbwalker
0ac1901f6b use existing SiteKey 2024-08-20 08:35:23 -04:00
sbwalker
e3f099441c ensure form name is unique in ActionDialog 2024-08-19 16:58:33 -04:00
sbwalker
2f4aa98c3c fix CSS 2024-08-19 09:04:46 -04:00
sbwalker
a8976e7559 prevent scroll position from resetting to top of page when querystring or hash changes 2024-08-16 15:01:25 -04:00
sbwalker
1a2ad55677 add ability to extract zip file contents in File Management 2024-08-14 15:54:13 -04:00
sbwalker
57ef4c0396 move HtmlText caching from repository to service layer 2024-08-14 10:00:56 -04:00
sbwalker
2fc6dbc222 fix #4517 - index error due to duplicate records on upgrade 2024-08-14 08:19:14 -04:00