Rui Tomé
a12b61cc9e
[PM-17168] Sync organization user revoked/restored status immediately via push notification ( #5330 )
...
* [PM-17168] Add push notification for revoked and restored organization users
* Add feature flag for push notification on user revoke/restore actions
* Add tests for user revocation and restoration with push sync feature flag enabled
2025-02-06 10:28:12 +00:00
Graham Walker
daf2696a81
PM-16085 - Increase import limitations ( #5275 )
...
* PM-16261 move ImportCiphersAsync to the tools team and create services using CQRS design pattern
* PM-16261 fix renaming methods and add unit tests for succes and bad request exception
* PM-16261 clean up old code from test
* make import limits configurable via appsettings
* PM-16085 fix issue with appSettings converting to globalSettings for new cipher import limits
2025-02-05 16:36:18 -06:00
SmithThe4th
46004b9c68
[PM-14381] Add POST /tasks/bulk-create endpoint ( #5188 )
...
* [PM-14378] Introduce GetCipherPermissionsForOrganization query for Dapper CipherRepository
* [PM-14378] Introduce GetCipherPermissionsForOrganization method for Entity Framework
* [PM-14378] Add integration tests for new repository method
* [PM-14378] Introduce IGetCipherPermissionsForUserQuery CQRS query
* [PM-14378] Introduce SecurityTaskOperationRequirement
* [PM-14378] Introduce SecurityTaskAuthorizationHandler.cs
* [PM-14378] Introduce SecurityTaskOrganizationAuthorizationHandler.cs
* [PM-14378] Register new authorization handlers
* [PM-14378] Formatting
* [PM-14378] Add unit tests for GetCipherPermissionsForUserQuery
* [PM-15378] Cleanup SecurityTaskAuthorizationHandler and add tests
* [PM-14378] Add tests for SecurityTaskOrganizationAuthorizationHandler
* [PM-14378] Formatting
* [PM-14378] Update date in migration file
* [PM-14378] Add missing awaits
* Added bulk create request model
* Created sproc to create bulk security tasks
* Renamed tasks to SecurityTasksInput
* Added create many implementation for sqlserver and ef core
* removed trailing comma
* created ef implementatin for create many and added integration test
* Refactored request model
* Refactored request model
* created create many tasks command interface and class
* added security authorization handler work temp
* Added the implementation for the create manys tasks command
* Added comment
* Changed return to return list of created security tasks
* Registered command
* Completed bulk create action
* Added unit tests for the command
* removed hard coded table name
* Fixed lint issue
* Added JsonConverter attribute to allow enum value to be passed as string
* Removed makshift security task operations
* Fixed references
* Removed old migration
* Rebased
* [PM-14378] Introduce GetCipherPermissionsForOrganization query for Dapper CipherRepository
* [PM-14378] Introduce GetCipherPermissionsForOrganization method for Entity Framework
* [PM-14378] Add unit tests for GetCipherPermissionsForUserQuery
* Completed bulk create action
* bumped migration version
* Fixed lint issue
* Removed complex sql data type in favour of json string
* Register IGetTasksForOrganizationQuery
* Fixed lint issue
* Removed tasks grouping
* Fixed linting
* Removed unused code
* Removed unused code
* Aligned with client change
* Fixed linting
---------
Co-authored-by: Shane Melton <smelton@bitwarden.com >
2025-02-05 16:56:01 -05:00
Justin Baur
a971a18719
[PM-17957] Pin Transitive Deps ( #5371 )
...
* Remove duplicate quartz reference
* Pin Core packages
* Pin Notifications packages
2025-02-05 15:32:27 -05:00
Patrick Honkonen
77364549fa
[PM-16157] Add feature flag for mTLS support in Android client ( #5335 )
...
Add a feature flag to control support for selecting a mutual TLS client certificate within the Android client.
2025-02-05 15:03:13 +00:00
Rui Tomé
03c390de74
[PM-15637] Notify Custom Users with “Manage Account Recovery” permission for Device Approval Requests ( #5359 )
...
* Add stored procedure to read organization user details by role
* Add OrganizationUserRepository method to retrieve OrganizationUser details by role
* Enhance AuthRequestService to send notifications to custom users with ManageResetPassword permission
* Enhance AuthRequestServiceTests to include custom user permissions and validate notification email recipients
2025-02-05 14:47:06 +00:00
Tom
617bb5015f
Removing the member access feature flag from the server ( #5368 )
2025-02-05 10:57:19 +01:00
cyprain-okeke
a8a08a0c8f
Remove the feature flag ( #5331 )
2025-02-05 09:18:23 +01:00
Alex Morask
72b78ed655
Update feature flag name ( #5364 )
2025-02-04 14:58:54 -05:00
Daniel James Smith
bdbed7adc8
Group tools owned feature flags ( #5362 )
...
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com >
2025-02-04 13:31:15 -05:00
Brant DeBow
3f3da558b6
[PM-17562] Refactor existing RabbitMq implementation ( #5357 )
...
* [PM-17562] Refactor existing RabbitMq implementation
* Fixed issues noted in PR review
2025-02-04 09:02:43 -05:00
Alex Morask
f1b9bd9a09
[PM-15179] Implement endpoints to add existing organization to CB provider ( #5310 )
...
* Implement endpoints to add existing organization to provider
* Run dotnet format
* Support MOE
* Run dotnet format
* Move ProviderClientsController under AC ownership
* Move ProviderClientsControllerTests under AC ownership
* Jared's feedback
2025-02-04 09:02:18 -05:00
renovate[bot]
90f308db34
[deps] Tools: Update aws-sdk-net monorepo ( #5278 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-04 11:09:09 +01:00
Robyn MacCallum
1adc5358a8
Create a single feature flag for the Authenticator sync ( #5353 )
...
* Create a single feature flag for the Authenticator sync
* Update feature flag key
2025-02-03 09:35:38 -05:00
Vincent Salucci
669c253bc6
chore: add limit item deletion feature flag constant, refs PM-17214 ( #5356 )
2025-01-31 12:18:10 -06:00
Justin Baur
ab0cab2072
Fix Events Startup ( #5352 )
2025-01-30 13:59:58 -05:00
Brant DeBow
5efd68cf51
[PM-17562] Initial POC of Distributed Events ( #5323 )
...
* Initial POC of Distributed Events
* Apply suggestions from code review
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com >
* Clean up files to support accepted changes. Address PR Feedback
* Removed unneeded using to fix lint warning
* Moved config into a common EventLogging top-level item. Fixed issues from PR review
* Optimized per suggestion from justinbaur
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com >
* Updated to add IAsyncDisposable as suggested in PR review
* Updated with suggestion to use KeyedSingleton for the IEventWriteService
* Changed key case to lowercase
---------
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com >
2025-01-30 12:07:02 -05:00
Alex Morask
443a147433
Replace StripePaymentService with PremiumUserBillingService in ReplacePaymentMethodAsync call ( #5350 )
2025-01-30 11:55:05 -05:00
Alex Morask
ad2ea4ca21
Don't enable tax for customer without tax info ( #5347 )
2025-01-30 10:26:34 -05:00
Shane Melton
2f2ef20c74
Add missing IGetTasksForOrganizationQuery query registration ( #5343 )
2025-01-29 12:07:03 -08:00
Tom
f1c94a1400
Risk insights feature flag for server ( #5328 )
2025-01-28 18:52:11 +00:00
Patrick Honkonen
3d273bf494
[PM-15906] Add feature flags for Android single tap passkey flows ( #5334 )
...
Add feature flags to control single tap passkey creation and authentication in the Android client.
2025-01-28 13:39:19 -05:00
Jimmy Vo
93f5b34223
Add limit item deletion server code ( #5308 )
2025-01-28 12:58:04 -05:00
Nick Krantz
4e1e514e83
[PM-11249] Update cipher revision date when an attachment is added or deleted ( #4873 )
...
* update the cipher revision date when an attachment is added or deleted
* store the updated cipher in the DB when an attachment is altered
* return cipher from delete attachment endpoint
2025-01-28 09:49:51 -06:00
Brandon Treston
a9a12301af
[PM-17120] add feature flag ( #5329 )
...
* add feature flag
* cleanup
* cleanup
2025-01-27 17:01:28 -05:00
Jonas Hendrickx
5562ca9d5e
WIP ( #5210 )
2025-01-27 15:28:47 +01:00
Rui Tomé
9e718d7336
[PM-15637] Add Email Notification Templates and Logic for Device Approval Requests ( #5270 )
...
* Add device approval notification email templates
* Add DeviceApprovalRequestedViewModel for device approval notifications
* Add method to send device approval requested notification email
* Send email notification to Organization Admins when adding a new admin approval auth request
* Add tests for device approval notification email sending in AuthRequestServiceTests
* fix(email-templates): Remove unnecessary triple braces from user name variable in device approval notification emails
* Add feature flag for admin notifications on device approval requests
* Add logging for skipped admin notifications on device approval requests
2025-01-27 10:59:46 +00:00
Rui Tomé
3908edd08f
[PM-12489] Extract OrganizationService.DeleteAsync and OrganizationService.InitiateDeleteAsync into commands ( #5279 )
...
* Create organization deletion command with logic extracted from OrganizationService
* Add unit tests for OrganizationDeleteCommand
* Register OrganizationDeleteCommand for dependency injection
* Refactor organization deletion logic to use IOrganizationDeleteCommand and remove legacy IOrganizationService.DeleteAsync method
* Add organization deletion initiation command and refactor service usage
* Enhance organization deletion commands with detailed XML documentation
* Refactor organization command registration to include sign-up and deletion methods
2025-01-27 10:58:08 +00:00
Graham Walker
f2182c2aae
PM-16261 fixing linter issue ( #5322 )
2025-01-24 13:43:41 -06:00
Alex Morask
f140c7f6c1
[PM-11730] Remove feature flag: AC-2476-deprecate-stripe-sources-api ( #5201 )
...
* Removed feature flag
* Run dotnet format
* Fix integration tests
2025-01-24 13:38:35 -05:00
Graham Walker
99a1dbbe02
PM-16261 move ImportCiphersAsync to the tools team ( #5245 )
...
* PM-16261 move ImportCiphersAsync to the tools team and create services using CQRS design pattern
* PM-16261 fix renaming methods and add unit tests for succes and bad request exception
* PM-16261 clean up old code from test
2025-01-24 10:57:44 -06:00
cyprain-okeke
ef32e80725
[PM-15807]Move subscription to 'canceled' 7 days after unpaid ( #5221 )
...
* Changes to implement the cancel job
Signed-off-by: Cy Okeke <cokeke@bitwarden.com >
* Resolve the Dependency issues
Signed-off-by: Cy Okeke <cokeke@bitwarden.com >
* changes when open invoices is more than 10
Signed-off-by: Cy Okeke <cokeke@bitwarden.com >
* Move the package reference to ore
Signed-off-by: Cy Okeke <cokeke@bitwarden.com >
---------
Signed-off-by: Cy Okeke <cokeke@bitwarden.com >
2025-01-24 12:02:13 +01:00
Conner Turnbull
28a592103d
Updated invoice history to filter on customerId only ( #5175 )
2025-01-22 12:26:21 -05:00
Thomas Rittson
cb76cdb5d3
Group AC Team feature flags ( #5309 )
2025-01-22 14:04:08 +00:00
Bernd Schoolmann
c671818304
Add argon2-default flag ( #5253 )
2025-01-22 14:14:59 +01:00
Robyn MacCallum
163a74000d
Add Authenticator sync flags ( #5307 )
2025-01-21 16:32:30 -05:00
Jimmy Vo
4069ac3a4b
Add limit item deletion organization setting migration ( #5283 )
2025-01-21 15:51:34 -05:00
renovate[bot]
7462352e18
[deps] DbOps: Update Microsoft.Azure.Cosmos to 3.46.1 ( #5290 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 14:49:20 -05:00
Brandon Treston
f1893c256c
remove feature flag ( #5284 )
...
Clients PR was merged, now merging server PR.
2025-01-21 09:53:12 -05:00
Rui Tomé
edb74add50
[PM-14243] Free organization limit is not enforced when editing user ( #5155 )
...
* Enforce free organization limit when updating user
* Add test for throwing error on accepting admin user joining multiple free organizations
* Add test for throwing BadRequest when free organization admin attempts to sign up for another free organization
* Fix user ID handling in UpdateOrganizationUserCommand for free organizations
* Rename parameter 'user' to 'organizationUser' in UpdateUserAsync method for clarity
2025-01-21 10:15:02 +00:00
Jonas Hendrickx
0de108e051
[PM-16682] Fix tax id not being saved for providers ( #5257 )
2025-01-20 16:50:11 +01:00
Jimmy Vo
ee2d7df061
[pm-16949] Include revoked users in applicable policies ( #5261 )
2025-01-20 10:49:33 -05:00
Rui Tomé
04e5626c57
[PM-16777] Fix exception when bulk restoring revoked users who never accepted invitations ( #5224 )
...
* Fix null handling for UserId in Two Factor Authentication checks
* Add tests for restoring users with and without 2FA policies
2025-01-20 14:59:10 +00:00
Daniel James Smith
5423e5d52f
Remove feature flag "browser-fileless-import" ( #5282 )
...
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com >
2025-01-17 15:58:04 +01:00
Thomas Rittson
0c29e9227c
Remove provider-export-permission feature flag ( #5263 )
...
* also remove old CipherService and CollectionService methods
only used by old export code
2025-01-17 08:28:23 +10:00
Conner Turnbull
677265b1e1
[PM-17177] Added additional validation to ensure license claim values aren't null ( #5280 )
...
* Added additional validation to ensure license claim values aren't null
* Added extra not null validation for any property with a type that can possibly be null
2025-01-16 15:27:48 -05:00
Rui Tomé
5201085ecb
[PM-15193] Remove PromoteProviderServiceUser feature flag and checks from ToolsController and layout ( #5255 )
2025-01-16 10:54:31 +00:00
Conner Turnbull
04402c1316
Updated null checks to also check for empty string or whitespace ( #5272 )
2025-01-15 12:35:07 -05:00
Jonas Hendrickx
adab8e622a
[PM-17064] 500 error on Free org Upgrade with Saved Payment Method ( #5266 )
2025-01-15 10:05:38 -05:00
Jonas Hendrickx
cc2128c97a
[PM-16979] Avoid returning BillingTaxIdTypeInterferenceError when an … ( #5252 )
...
* [PM-16979] Avoid returning BillingTaxIdTypeInterferenceError when an empty tax id string is passed
* tests
* fix tests
2025-01-15 10:05:27 -05:00