maliming
b21747c63b
Dispose HttpRequestMessage in tests
2 weeks ago
maliming
d3d6915ddf
Address Copilot review: extract GetEffectiveMethodInfo helper and fix method resolution in ValidateActionArgumentsAsync
Extract override method resolution logic into a reusable GetEffectiveMethodInfo helper to avoid duplication.
Use the resolved override method in ValidateActionArgumentsAsync so that IMethodInvocationValidator validates
against the concrete method on the controller type, not the base method from ActionDescriptor.
Remove unused imports in FluentValidationTestAppService_Tests.
2 weeks ago
maliming
234c46aab8
Fix FluentValidation not working with ConventionalControllers
When Application Services are registered via ConventionalControllers.Create(),
their types are added to DynamicProxyIgnoreTypes, which disables the
ValidationInterceptor. The AbpValidationActionFilter only checked ModelState
(DataAnnotations), so FluentValidation rules were never executed.
Add IValidationEnabled check in AbpValidationActionFilter to call
IMethodInvocationValidator for conventional controllers, enabling
FluentValidation support without duplicating validation for regular controllers.
Resolve #23457
2 weeks ago
Enis Necipoglu
89f5f5f7bc
fix: avoid spacing for hidden MVC inputs ( #25095 )
* fix: avoid spacing for hidden MVC inputs
* fix: preserve MVC input tag helper extensibility
* refactor: simplify hidden input spacing fix using context.Items
---------
Co-authored-by: maliming <malimings@gmail.com>
2 weeks ago
maliming
4a1cf5f473
Reject non-generic collections and add tests
Resolve #24914
1 month ago
maliming
4bac0f1d76
Respect entity tracking by forcing AsTracking
1 month ago
copilot-swe-agent[bot]
257574173e
Add unit tests for ToCamelCaseWithNamespace method
Co-authored-by: enisn <23705418+enisn@users.noreply.github.com>
1 month ago
maliming
fa492e027d
Add authorization support with policies and roles in API description models
1 month ago
maliming
37d3a692d0
Add tests for navigation change detection
2 months ago
maliming
5eddbb9224
update localization test to use current UI culture and handle concurrent requests
2 months ago
maliming
bf397757a7
improve culture compatibility checks and handle task exceptions in MvcCachedApplicationConfigurationClient
2 months ago
maliming
a0aa7469df
Concurrently retrieving configuration/localization info in `MvcCachedApplicationConfigurationClient`.
2 months ago
maliming
dbcd7dbcb9
Add ProductCacheItem2 and update entity cache tests
2 months ago
maliming
b5cd873526
Use EntityCacheItemWrapper in cache config
Resolve #24770
2 months ago
maliming
85770416c6
Skip disabled complex properties in auditing
2 months ago
maliming
bc2a8aef0d
Support nested complex properties & auditing tests
2 months ago
maliming
45557f9ae5
Enhance auditing for complex properties by adding support for nested complex property changes and updating related tests
2 months ago
maliming
e487c0aaf2
Support auditing and history for complex properties
Resolve #24764
2 months ago
maliming
7f4347182f
Fix key-value mapping in GetOrAddMany and add tests
Refactored GetOrAddMany and GetOrAddManyAsync in DistributedCache to ensure returned key-value pairs are correctly mapped by key, regardless of order from the factory. Added unit tests to verify correct mapping and concurrency behavior.
2 months ago
maliming
07a2087e85
Add ambient auditing disable/enable support.
2 months ago
enisn
49ed69478d
Update ChatClientAccessor_Tests.cs
2 months ago
enisn
a1acd9f9ca
Add fallback to default chat client for unconfigured workspaces
Updated ChatClientAccessor and TypedChatClient to fallback to the default chat client if a workspace-specific client is not configured. Adjusted tests to verify that the default chat client is resolved for non-configured workspaces.
2 months ago
Ma Liming
e50869a8e7
Update framework/test/Volo.Abp.Timing.Tests/Volo/Abp/Timing/TimeZoneHelper_Tests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
3 months ago
Ma Liming
1ba16383e3
Update framework/test/Volo.Abp.Timing.Tests/Volo/Abp/Timing/TimeZoneHelper_Tests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
3 months ago
maliming
8210f415fe
Enhance TimeZoneHelper with offset and validation
https://abp.io/support/questions/10295/TimeZoneHelperGetTimezones-throws-TimeZoneNotFoundException-on-Linux
3 months ago
maliming
84cf25f17b
Refactor DateTime handling to use GetUtcOffset for accurate timezone adjustments in model binding and JSON converters
3 months ago
maliming
275b181fce
Enhance DateTime handling with timezone support in model binding and JSON converters
3 months ago
maliming
6f57ec4568
Add audit support for JSON property changes.
3 months ago
maliming
96a7303fc6
Revert "Add support and tests for entity history with JSON properties"
This reverts commit 4d00ee9365 .
3 months ago
SALİH ÖZKARA
4d00ee9365
Add support and tests for entity history with JSON properties
Introduces AppEntityWithJsonProperty and related DbSet to test contexts, configures model to handle owned JSON properties, and adds tests to verify entity history tracking for nested JSON property changes and shared entities. Refactors EntityHistoryHelper to improve navigation property change handling.
3 months ago
maliming
b06e8a9381
Refactor KeyedLock disposal logic and update tests
3 months ago
maliming
d8441d7fc4
Add KeyedLock for per-key async locking and update local distributed lock
3 months ago
maliming
576ca219de
Make StaticDefinitionCache thread-safe and add tests
3 months ago
Ma Liming
0627ca18f1
Update framework/test/Volo.Abp.TestApp/Volo/Abp/TestApp/Testing/SoftDelete_Tests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
3 months ago
Ma Liming
3371237c91
Update framework/test/Volo.Abp.TestApp/Volo/Abp/TestApp/Testing/SoftDelete_Tests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
3 months ago
maliming
02bc0161f3
Add concurrency check for soft delete operations
https://abp.io/support/questions/10252/Entity-Framework-Concurrency-Check-with-Soft-Delete-in-ABP--Deletion-Use-Case#answer-3a1e610b-c752-e3eb-45f0-371895276958
3 months ago
maliming
00f0bc9636
Skip auditing for navigations with DisableAuditing attribute
Resolve #24441
3 months ago
maliming
ddfaf82496
Add IsNullable property detection for PropertyInfo
4 months ago
maliming
08b539403f
Set AbpSqliteOptions.BusyTimeout to null in test modules
4 months ago
maliming
01713685b7
Set AbpSqliteOptions.BusyTimeout to null in test modules
4 months ago
Mark Cilia Vincenti
9db10bbd57
Cleaning
4 months ago
Mark Cilia Vincenti
fcf835a8af
Use frozen collections where suitable
4 months ago
maliming
349a08c21e
Update expected resource permissions count in test
4 months ago
maliming
12b50b41c5
Remove management permission check from resource permissions
4 months ago
maliming
d929e92389
Grant TestEntityManagementPermission in FakePermissionStore
4 months ago
maliming
ea32e2c96d
Enforce management permission checks for resource permissions
4 months ago
maliming
5579fb7c54
Rename ManagementPermission to ManagementPermissionName
4 months ago
maliming
ae069750c5
Add tests for duplicate and multiple resource permissions
4 months ago
maliming
cffd874027
refactor: update resource permission methods to include resourceName parameter
4 months ago
maliming
9cd2fa7617
Refactor permission group creation in test provider
4 months ago