jrmccannon
99d6413fb8
Updated names.
2025-03-24 15:53:53 -05:00
jrmccannon
6c6ecfefdf
Fixing name.
2025-03-24 15:32:30 -05:00
jrmccannon
f69dc1f7cf
Moved XML comment. Added check to see if additional seats are needed.
2025-03-24 15:24:22 -05:00
jrmccannon
038c00d21f
PasswordManagerInviteUserValidation to PasswordManagerInviteUserValidator
2025-03-24 12:39:03 -05:00
jrmccannon
f0770eda93
Rename for InvitingUserOrganizationValidation to InvitingUserOrganizationValidator
2025-03-24 12:35:16 -05:00
jrmccannon
982611bd1b
Renamed InviteUsersValidation to InviteUsersValidator
2025-03-24 12:34:36 -05:00
jrmccannon
5f41d1eb23
Variable/Field/Property renames
2025-03-24 12:33:02 -05:00
jrmccannon
44b817ad03
Separated old and new code explicitly. Moved old code checks down into new code as well. Added error and mapper to Failure<T>
2025-03-24 12:07:28 -05:00
jrmccannon
7be2e2bd07
Removed test only constructor from InviteOrganization
2025-03-24 08:45:19 -05:00
jrmccannon
87c181b662
Refactor validation parameter to improve clarity and consistency. Added XML doc
2025-03-21 15:18:05 -05:00
jrmccannon
e1eb458036
Made public method private. added some comments.
2025-03-21 14:43:07 -05:00
jrmccannon
d867b47705
Merge branch 'refs/heads/main' into jmccannon/ac/pm-16811-scim-invite-optimization
...
# Conflicts:
# src/Core/AdminConsole/Services/Implementations/OrganizationService.cs
2025-03-21 13:50:22 -05:00
Brandon Treston
c7c6528faa
Ac/pm 18240 implement policy requirement for reset password policy ( #5521 )
...
* wip
* fix test
* fix test
* refactor
* fix factory method and tests
* cleanup
* refactor
* update copy
* cleanup
2025-03-21 10:07:55 -04:00
jrmccannon
a2b155e81c
Made HasSecretsManagerStandalone return if org doesn't have sm. Added overload for lighter weight model and moved common code to private method.
2025-03-20 09:06:34 -05:00
jrmccannon
5b87fa629e
Cleaned up return.
2025-03-19 12:15:16 -05:00
jrmccannon
59b579f071
Refactored to use new ValidationResult pattern. added mapping method.
2025-03-17 13:27:37 -05:00
jrmccannon
1620fecc70
fixed compiler warning.
2025-03-17 09:26:45 -05:00
jrmccannon
f7893c6039
Removed comment
2025-03-17 09:25:28 -05:00
jrmccannon
813333e9bb
Merge branch 'main' into jmccannon/ac/pm-16811-scim-invite-optimization
...
# Conflicts:
# src/Core/Models/Commands/CommandResult.cs
2025-03-17 08:59:17 -05:00
Jared McCannon
488a9847ea
Partial<T> for CommandResult<T> ( #5482 )
...
* Example of how a partial success/failure command result would look.
* Fixed code.
* Added Validator and ValidationResult
* Moved errors into their own files.
* Fixing tests
* fixed import.
* Forgot mock error.
2025-03-14 12:00:58 -05:00
Thomas Rittson
224ef1272e
[PM-18876] Refine PolicyRequirements API ( #5445 )
...
* make the PolicyRequirements API more granular, e.g.
replace factory methods with a factory interface
* update Send to use the new API
2025-03-11 10:46:09 +10:00
jrmccannon
d8264a9085
Fixed some changes.
2025-03-07 14:43:12 -06:00
jrmccannon
9378acbd0d
changes from main
2025-03-07 12:35:35 -06:00
jrmccannon
9dab9160a5
Removed unused request model
2025-03-07 12:23:38 -06:00
jrmccannon
4317276f5d
Dto rename. Moved from static methods to ctors
2025-03-07 10:03:47 -06:00
jrmccannon
cb2bc574e3
Renamed dto and added ctor
2025-03-07 09:03:43 -06:00
jrmccannon
46ee99a5a1
Separated into separate files.
2025-03-07 08:56:55 -06:00
jrmccannon
adec0b0122
turned into a switch statement
2025-03-06 11:04:12 -06:00
jrmccannon
3d92fcb08b
Moved into class
2025-03-06 11:01:30 -06:00
jrmccannon
56c7cc8bf4
Rename of OrgDto
2025-03-05 16:21:40 -06:00
jrmccannon
6f7b0b3e0e
Updated to use new pricing client. Supressed null dereference errors.
2025-03-05 15:48:12 -06:00
jrmccannon
f8c08de2db
Merge branch 'main' into jmccannon/ac/pm-16811-scim-invite-optimization
...
# Conflicts:
# src/Core/AdminConsole/Services/Implementations/OrganizationService.cs
# test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationUserRepositoryTests.cs
2025-03-05 15:24:13 -06:00
jrmccannon
c7cc9527f4
Moved FromOrganization
mapper method to a constructor
2025-03-05 15:04:50 -06:00
jrmccannon
611ad8c343
Moved to private method. Made ScimInvite inherit the single invite base model. Moved create methods to constructors. A few more CR changes included.
2025-03-05 14:55:41 -06:00
Alex Morask
fa90991270
[PM-12601] Add discount to MSP during creation in Admin Portal ( #5391 )
...
* Add Provider DiscountId to database and Stripe customer
* Fix tests
* Add missing EF migrations
* Run dotnet format
2025-03-05 14:59:15 -05:00
jrmccannon
085dbffed1
switched to initialization block
2025-03-05 08:21:30 -06:00
jrmccannon
4ff27fd668
created response model and split interface out.
2025-03-05 07:42:09 -06:00
Jared McCannon
356ae1063a
Fixed last dereference. ( #5457 )
2025-03-04 13:52:07 -06:00
Jared McCannon
0d89409abd
[PM-18076] - Fix compiler warnings ( #5451 )
...
* fixed warnings in UpdateOrganizationUserCommand.cs
* Removed null dereference and multiple enumeration warning.
* Removed unused param. Imported type for xml docs
* imported missing type.
* Added nullable block around method.
2025-02-28 09:21:30 -06:00
Alex Morask
a2e665cb96
[PM-16684] Integrate Pricing Service behind FF ( #5276 )
...
* Remove gRPC and convert PricingClient to HttpClient wrapper
* Add PlanType.GetProductTier extension
Many instances of StaticStore use are just to get the ProductTierType of a PlanType, but this can be derived from the PlanType itself without having to fetch the entire plan.
* Remove invocations of the StaticStore in non-Test code
* Deprecate StaticStore entry points
* Run dotnet format
* Matt's feedback
* Run dotnet format
* Rui's feedback
* Run dotnet format
* Replacements since approval
* Run dotnet format
2025-02-27 07:55:46 -05:00
Rui Tomé
d15c1faa74
[PM-12491] Create Organization disable command ( #5348 )
...
* Add command interface and implementation for disabling organizations
* Register organization disable command for dependency injection
* Add unit tests for OrganizationDisableCommand
* Refactor subscription handlers to use IOrganizationDisableCommand for disabling organizations
* Remove DisableAsync method from IOrganizationService and its implementation in OrganizationService
* Remove IOrganizationService dependency from SubscriptionDeletedHandler
* Remove commented TODO for sending email to owners in OrganizationDisableCommand
2025-02-25 14:57:30 +00:00
jrmccannon
001a5dea86
Added integration test around enabling feature and sending invite via scim. Did a bit of refactoring on the SM validation. Fixed couple bugs found.
2025-02-24 11:10:48 -06:00
Thomas Rittson
b0c6fc9146
[PM-18234] Add SendPolicyRequirement ( #5409 )
2025-02-24 09:19:52 +10:00
jrmccannon
bd5189491e
Added more tests for the updates
2025-02-21 16:08:07 -06:00
Maciej Zieniuk
5241e09c1a
PM-15882: Added RemoveUnlockWithPin policy ( #5388 )
2025-02-21 20:59:37 +01:00
jrmccannon
e10b7cc78f
First test of new command.
2025-02-21 12:04:11 -06:00
jrmccannon
6ec850e384
Created SendOrganizationInvitesCommand and moved some tests from OrgServiceTests. Fixed some tests in org service in relation to moving out SendOrgInviteCommand code.
...
Added side effects to InviteOrganizationUsersCommand
2025-02-21 09:15:41 -06:00
jrmccannon
649e8b5c0a
Merge branch 'main' into jmccannon/ac/pm-16811-scim-invite-optimization
...
# Conflicts:
# src/Core/Constants.cs
2025-02-17 16:35:02 -06:00
jrmccannon
926e786f82
Added bulk procedure for saving users, collections and groups from inviting. Added test to validate Ef and Sproc
2025-02-17 16:32:23 -06:00
Brant DeBow
f80acaec0a
[PM-17562] Refactor to Support Multiple Message Payloads ( #5400 )
...
* [PM-17562] Refactor to Support Multiple Message Payloads
* Change signature as per PR suggestion
2025-02-14 13:38:27 -05:00