Ben Emamian
5fbb9160f1
Code Cleanups
2023-03-21 00:45:17 +11:00
Shaun Walker
0a30f2b7e8
fix #2679 - fixed issue where ModuleDefinition cache properties were being overwritten (same issue as #2674 however implemented in ModuleController)
2023-03-14 11:49:38 -04:00
Shaun Walker
c1f2f9a970
prepare for 3.4.1
2023-03-13 22:21:04 -04:00
Shaun Walker
3d3540f090
fixed issue where ModuleDefinition cache properties were being overwritten
2023-03-13 10:04:37 -04:00
Shaun Walker
af3b289331
exclude legacy Permissions properties from serialization/API payload
2023-03-09 15:51:16 -05:00
Shaun Walker
ca0de5258e
Merge pull request #2620 from leigh-pointer/DeletePermissionModDef
...
Fix Correct Permission Delete when ModuleDef is deleted #2619
2023-03-02 15:33:25 -05:00
Shaun Walker
2b41909d47
#2618 - add backward compatibility for permissions optimizations
2023-03-02 15:34:42 -05:00
Leigh Pointer
e23a9f22dd
Fix Correct Permission Delete when ModuleDef is deleted #2619
...
Added PermissionsRepository to delete the Module permissions when the Module Definition is deleted.
2023-03-02 06:58:19 +01:00
Shaun Walker
8605e3ca5a
Major refactoring replacing permission strings with permission collections. These changes will require extensive regression testing. These changes may include breaking changes which will need to be identified and resolved to provide backward compatibility.
2023-02-28 17:59:21 -05:00
Leigh Pointer
b49d011edf
Fix for deleting a ModuleDefinition and related records #2602
...
We then find all Module items that have a ModuleDefinitionName property that matches the ModuleDefinitionName of the item to be removed, and remove them one by one. For each Module item to be removed, we find the PageModule items associated with it, remove them from the pageModules list, and then remove the Module item itself from the modules list.
2023-02-24 11:44:12 +01:00
Shaun Walker
f2df8e96db
fix #2567 - migrate tenant connection string details from database to appsettings.json
2023-02-23 16:29:15 -05:00
Shaun Walker
2e61a43e4f
fix #2596 - fix EF Core tracking error when updating a file in a folder which has a Capacity specified
2023-02-15 12:43:18 -05:00
Shaun Walker
fa8d0c91fc
added new methods for managing visitor settings (for personalization)
2023-02-08 17:43:55 -05:00
Shaun Walker
db73052ee5
allow system log to be cleared
2023-02-08 14:45:20 -05:00
Shaun Walker
ffca1d2486
refactor visitor cookie name into a shared constant
2023-02-07 16:26:23 -05:00
Shaun Walker
1f2ad4e884
Suppress unauthorized visitor logging as it is usually caused by clients that do not support cookies
2023-02-03 16:12:13 -05:00
Shaun Walker
b671b590ad
change Sql Manager logging level
2023-01-12 08:18:36 -05:00
Shaun Walker
c2375c897d
permission updates
2023-01-10 08:20:32 -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
1616f94b86
add ability to view error.log in System Info
2023-01-05 10:18:55 -05:00
Shaun Walker
fd13ad1fca
initialize API permissions based on default roles
2022-12-06 17:16:51 -05:00
Shaun Walker
28b58b9048
add ModuleControllerBase helper method for validating EntityId
2022-12-05 14:21:12 -05:00
Shaun Walker
cb10dde97d
added API Management for managing site level entity permissions
2022-12-02 16:42:43 -05:00
Shaun Walker
c91e285475
fix #2512 - provide guidance about password complexity policy during install, and ensure modified passwords meet complexity policy
2022-12-02 07:42:49 -05:00
Shaun Walker
b09a3ccdae
enhance dynamic authorization policies to support default role specification
2022-12-02 07:34:06 -05:00
Shaun Walker
7489d9d186
move UI logic from FileService to FileManager, add progressive retry logic, update file attributes if uploading a new version of a file, clean up temporary artifacts on failure, improve upload efficiency
2022-11-09 21:11:02 -05:00
Shaun Walker
6182b96d16
Scope permissions by SiteId to support entity level authorization as well as improve caching and performance. Optimize GetTenant to use existing cache.
2022-11-07 18:16:32 -05:00
Shaun Walker
40ddbbfbb7
fix File Update API to update the file size and image dimensions
2022-10-27 09:38:26 -04:00
Shaun Walker
368b900a6e
fix #2464 - translation install/upgrade experience
2022-10-20 13:16:18 -04:00
Shaun Walker
e88d3cca07
Resolve deserialization issue with System.Text.Json when accessing remote services
2022-10-12 12:37:03 -04:00
Shaun Walker
2ea054dc72
fix #2435 - remove NewtonSoft.Json dependency
2022-10-11 08:34:33 -04:00
Shaun Walker
2e32b65421
add file download event
2022-10-05 08:00:45 -04: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
e01c3e7e4a
log any user creation errors from .NET Identity
2022-09-29 17:16:29 -04:00
Shaun Walker
1438e61f1b
fix #2427 - issue with upgrade available in Language Management
2022-09-28 16:16:46 -04:00
Shaun Walker
45df729711
clean up pdb files on client, hash assembly file names
2022-09-14 10:09:50 -04:00
Shaun Walker
5302be8bc1
optimize assembly list retrieval
2022-09-12 16:19:32 -04:00
Shaun Walker
2d306e8fda
optimize assembly loading for MAUI to use client storage
2022-09-11 10:48:40 -04:00
Pavel Veselý
d40c1d9b31
Backslash fix.
2022-09-06 09:14:58 +02:00
Shaun Walker
28f73727b5
moved hierarchical ordering logic to server for pages and folders
2022-08-30 07:31:56 -04:00
Shaun Walker
075748d697
made folder paths cross platform, introduced file handler for abstracting the serving of files, enabled url mapping for broken file links, resolved public folder deletion issue
2022-08-30 07:21:52 -04:00
Shaun Walker
c7edc28bd9
improve support for module content editors
2022-08-16 17:25:46 -04:00
Shaun Walker
3c6ebd7742
performance improvements to reduce http and database interactions
2022-08-12 16:47:51 -04:00
Shaun Walker
bd0a218214
Merge pull request #2355 from sbwalker/dev
...
Blazor Hybrid / .NET MAUI support
2022-08-11 17:11:45 -04:00
Shaun Walker
f96129fa37
Blazor Hybrid / .NET MAUI support
2022-08-11 17:09:32 -04:00
Amir Jahangard
773710aeef
#Bug in passing Lifetime property to GenerateToken
...
Audience is passed to GenerateToken instead of Lifetime.
2022-08-09 15:32:52 +04:30
Shaun Walker
cf2adc7f6a
Fix satellite assembly loading issue when running on WebAssembly
2022-08-08 10:47:33 -04:00
Shaun Walker
99be638525
Fix #2336 - error.png path incorrect
2022-08-06 16:27:24 -04: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
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
02d1838547
FIx issue with redirect after site delete and remove tenant if it is empty
2022-06-28 08:17:06 -04:00
Leigh Pointer
c8cfb3c7b7
Fix for Recycle bin not showing Deleted Date (Issue #2234 )
...
Added the Deleted data to Module from the PageModule
2022-06-14 09:22:12 +02:00
Pavel Vesely
4f0a805c79
Exception is not saved to log
2022-06-09 10:24:13 +02:00
Shaun Walker
a822482172
Improvements for #2229 - relax userrole restrictions
2022-06-08 15:46:36 -04:00
Shaun Walker
ea5655ae42
Improvements for #2221 - validate file extensions client-side before initiating upload, valid file extension server-side before writing part to disk, optimize cleanup logic, add error handling to JavaScript XMLHttpRequest, ensure FileInput gets initialized after upload
2022-06-04 15:40:26 -04:00
Shaun Walker
43c34fcd64
fix #2213 - disabling show on all pages
2022-05-26 01:19:14 -04:00
Shaun Walker
4c254a8686
fix #2192 - Adding a new site fails
2022-05-12 20:42:05 -04:00
Shaun Walker
eed27e101a
fix #2176 - update LastIPAddress correctly during login
2022-05-05 09:57:09 -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
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
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
b7a1d2df75
jwt improvements
2022-03-29 08:15:13 -04:00
Shaun Walker
a97af42e4b
add Jwt authorization support for for API
2022-03-28 21:51:55 -04:00
Shaun Walker
8b0b7492f5
fix #2082 - missing SiteId causing password reset notifications to not be created
2022-03-27 20:02:19 -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
1a86b80c61
More improvements to OIDC support
2022-03-19 13:42:19 -04:00
Shaun Walker
5901365e0e
Resolved issue in TenantManager resulting in "No database provider has been configured for this DbContext" error being logged during startup. Added logic to update email address in AspNetUsers when updating a User.
2022-03-16 09:53:59 -04:00
Shaun Walker
9bbbff31f8
Added support for per site options and OpenID Connect
2022-03-13 22:55:52 -04:00
Shaun Walker
f250aff99b
Added password policy validation in install wizard
2022-03-08 08:31:18 -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
28629aa836
Adding 2 factor authentication
2022-02-28 16:00:52 -05:00
Shaun Walker
eb1ac3bc9b
Added support for User Account Lockout
2022-02-25 16:17:54 -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
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
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
a2f8fe3694
convention shortcut to suppress title in container
2022-01-06 17:24:18 -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
22c2d56da0
imrove custom entity support in settings
2021-12-20 07:58:15 -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
e3ebbde767
add logging for the logout event to the UI component, relocate module setting deletion to repository
2021-12-15 10:33:12 -05:00
Leigh
765760f3a5
Fix for #1877 #1878 Module data not being deleted
...
Fixed the permissions validation and added functionality to remove all the settings for the deleted module.
2021-12-15 08:26:00 +01:00
Shaun Walker
1e1aaaccca
create url mapping when page path changes
2021-12-12 09:59:33 -05:00
Shaun Walker
76fe155c0a
visitor improvements
2021-12-11 09:30:05 -05:00
Shaun Walker
e95b49ba8f
adjust permissions for new settings
2021-12-10 10:20:03 -05:00
Shaun Walker
2f34bf69e3
moduledefinition settings and host settings
2021-12-09 15:50:00 -05:00
Shaun Walker
d1ade8789b
Merge pull request #1832 from leigh-pointer/ModuleDefinitionSettings
...
Settings for ModuleDefinitions #1829
2021-12-09 13:35:54 -05:00
Shaun Walker
9c32937c83
added support for url mapping and viitors
2021-12-09 08:48:56 -05:00