Bernd Schoolmann
cb9ff16f5a
Rename to include async suffix
2025-06-05 18:48:00 +02:00
Bernd Schoolmann
af976cd515
Attempt to fix build
2025-06-05 18:31:44 +02:00
Bernd Schoolmann
ce3168ede1
Attempt to fix tests
2025-06-05 18:15:33 +02:00
Bernd Schoolmann
a0c25e12e4
Attempt to fix tests
2025-06-05 17:40:24 +02:00
Bernd Schoolmann
0fc9824f88
Attempt to fix tests
2025-06-05 17:02:39 +02:00
Bernd Schoolmann
a77e6b926d
Fix build
2025-06-05 16:40:39 +02:00
Bernd Schoolmann
7ee9332edf
Fix build error
2025-06-05 16:39:44 +02:00
Bernd Schoolmann
d21cd1adff
Fix test build
2025-06-05 16:36:14 +02:00
Bernd Schoolmann
86a55bee17
Remove unused using
2025-06-05 16:35:35 +02:00
Bernd Schoolmann
95c0e28489
Fix incorrect namespace
2025-06-05 16:28:25 +02:00
Bernd Schoolmann
25a812e762
Cleanup
2025-06-05 15:37:39 +02:00
Bernd Schoolmann
e7129315c7
Cleanup
2025-06-05 15:33:29 +02:00
Bernd Schoolmann
39698a47a3
Add km queries
2025-06-05 15:27:11 +02:00
Bernd Schoolmann
01e18ded94
Add tests and cleanup
2025-06-05 14:56:55 +02:00
Bernd Schoolmann
de3efbeaf7
Add query and fix types
2025-06-05 14:50:11 +02:00
Bernd Schoolmann
ccf1ffa90f
Cleanup
2025-06-05 14:21:04 +02:00
Bernd Schoolmann
90ef67b05c
Add sync response
2025-06-05 14:13:59 +02:00
Bernd Schoolmann
83c84a7cc0
Add initial get keys endpoint
2025-06-05 12:43:25 +02:00
Henrik
8bac7f0145
[PM-14476] Avoid multiple lookups in dictionaries ( #4973 )
...
* Avoid multiple lookups in dictionaries
* Consistency in fallback to empty CollectionIds
* Readability at the cost of lines changed
* Readability
* Changes after running dotnet format
2025-06-02 11:18:28 -05:00
Jordan Aasen
2c4393cc16
[PM-22204] - update cipher/share endpoint to return revision date ( #5900 )
...
* return ciper response model in cipher share endpoint. add tests
* return dict instead of full cipher response. adjust specs
* rename vars
* rename vars
* rename vars
* reinsert braces
* add specs
* return CipherMiniResponseModel
2025-06-02 09:05:58 -07:00
Daniel James Smith
c7b1c7f6d5
[PM-22190] Remove gathering and reporting of ReferenceEvents ( #5897 )
...
* Remove gathering and reporting of ReferenceEvents
* Fix test that relied on reference events throwing
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-06-02 16:49:49 +02:00
tangowithfoxtrot
63f5811aa9
feat: non-root self hosted images for standard deployment ( #5701 )
...
* Use IHttpMessageHandlerFactory For HTTP Communication
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
* feat: allow custom app-id.json location for rootless
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
* fix: new build context wont allow copying git context
* feat: allow images to run as non-root user
* fix: build failures caused by bad merge
* build: we don't need to copy the `.git` dir
* Revert "build: we don't need to copy the `.git` dir"
This reverts commit 32c2f6236a894534de09ffe847ffff064a7174bd.
* Use `IHttpClientFactory` in more places
* update build workflow
* fix: compatibility with the existin run.sh script
* fix: compatibility with existing run.sh script
* Add SelfHosted GlobalSettings for Setup
* Fix my build error
* Add other services
* Add IConfiguration
* fix: missing gosu command for rootful mode
* fix: try using .net core certificate handling
* fix: add `SSL_CERT_DIR` to remaining images
* Remove X509ChainCustomization activation code
* Revert "Use IHttpMessageHandlerFactory For HTTP Communication"
This reverts commit c93be6d52b12599040d3c3d8a7b3bc854c6c6802.
* Revert "fix: build failures caused by bad merge"
This reverts commit 3e4639489b6b6c06b5a977a069002fe0c0eb2057.
* Revert "Use `IHttpClientFactory` in more places"
This reverts commit 284501a4932b819b093406e0bcdf76def22b6eea.
* remove unused code
* re-add error log for installation id
* remove missing error message in log
* build: remove duplicate docker+qemu setup steps
Co-authored-by: Opeyemi <Alaoopeyemi101@gmail.com>
* build: optimize for simpler builds over caching
* build: restore previous method for getting the GIT_HASH
* fix: add missing build args to remaining images
* fix: rm extraneous source revision id arg
* fmt: apply consistent spacing and rm redundant WORKDIR directive
* build: update migrator to use simpler build; apply consistent spacing
* fix: merge conflicts; simplify changes
* fix: add publish branch check back
---------
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
Co-authored-by: Opeyemi <Alaoopeyemi101@gmail.com>
2025-05-30 10:29:47 -07:00
Alex Morask
390b93f6ce
[PM-21250] Remove pm-18770-enable-organization-business-unit-conversion
( #5848 )
...
* Remove pm-18770-enable-organization-business-unit-conversion
* Run dotnet format
2025-05-30 09:58:36 -04:00
cyprain-okeke
5972ac147e
[PM-21603]Invite Member sub text seat count does not account for sponsorships ( #5889 )
...
* Add Occupied Seats at part metadata
* resolve the failing test
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
---------
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
2025-05-29 15:06:25 +01:00
Ike
4f326da8da
[PM- 19438] emergency access docs ( #5846 )
...
* doc: adding readme and comments to code for emergency access feature.
* fix: renaming variable names to better match vocabulary around emergency access.
2025-05-28 10:27:34 -04:00
Brant DeBow
f3e637cf2d
[PM-17562] Add support for retries on event integrations ( #5795 )
...
* [PM-17562] Add support for retires on event integrations
* Add additional test coverage
* Fixed missing await call
* Remove debug organization id
* Respond to PR feedback
* Change NotBeforeUtc to DelayUntilDate. Adjust comments.
* Respond to PR feedback
2025-05-27 08:28:50 -04:00
Matt Gibson
328b84eea0
Add-userid-to-encryption-methods ( #5838 )
...
* Add userId to auth success response
* Validate user that encrypted a cipher matches the user posting the request
* Remove userId from auth success
we don't want to expand this response model
2025-05-22 15:49:14 -04:00
cyprain-okeke
1ec06faf7d
[PM 21889] 500 Response on POST billing/restart-subscription ( #5851 )
...
* Resolve the 500 errors on restart subscription
* Rename the variable name
2025-05-21 21:28:37 +01:00
Alex Morask
18d146406c
[PM-21099] (NO LOGIC) Organize Billing provider code ( #5819 )
...
* [NO LOGIC] Organize Billing provider code
* Run dotnet format
* Run dotnet format'
* Fixed using after merge
* Fixed test usings after merge
2025-05-21 09:04:30 -04:00
Alex Morask
e994bf2117
[PM-21383] Use Stripe to get provider pricing for display when feature flag is on ( #5842 )
...
* Use ProviderPriceAdapter when getting provider subscription
* Update test
2025-05-21 08:10:34 -04:00
Brandon Treston
790173d1c7
remove feature flag ( #5837 )
2025-05-20 10:33:40 -04:00
Graham Walker
818934487f
PM-18939 refactoring send service to 'cqrs' ( #5652 )
...
* PM-18939 refactoring send service to 'cqrs'
* PM-18939 fixing import issue with sendValidationService
* PM-18939 fixing code based on PR comments
* PM-18339 reverting to previous code in test
* PM-18939 adding XMLdocs to services
* PM-18939 reverting send validation methods
* PM-18939 updating code to match main
* PM-18939 reverting validateUserCanSaveAsync to match main
* PM-18939 fill our param and return sections of XMLdocs
* PM-18939 updating XMLdocs based on PR comments
* Update src/Core/Tools/SendFeatures/Commands/Interfaces/IAnonymousSendCommand.cs
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com>
* Update src/Core/Tools/SendFeatures/Commands/Interfaces/INonAnonymousSendCommand.cs
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com>
* Update src/Core/Tools/SendFeatures/Commands/Interfaces/INonAnonymousSendCommand.cs
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com>
* Update src/Core/Tools/SendFeatures/Services/Interfaces/ISendStorageService.cs
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com>
* PM-18939 adding commits to change tuple to enum type
* PM-18939 resetting stream position to 0 when uploading file
* PM-18939 updating XMLdocs based on PR comments
* PM-18939 updating XMLdocs
* PM-18939 removing circular dependency
* PM-18939 fixing based on comments
* PM-18939 updating method name and documentation
---------
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com>
2025-05-19 22:59:30 -05:00
Alex Morask
7b3e2a80f4
[PM-21092] Set tax exemption to reverse charge for non-US business-use customers ( #5812 )
...
* Set automatic tax to enabled and tax exempt to reverse where applicable when ff is on
* Fix and add tests
* Run dotnet format
* Run dotnet format
* PM-21745: Resolve defect
* PM-21770: Resolve defect
* Run dotnet format'
2025-05-19 14:53:48 -04:00
cyprain-okeke
a36db63998
Check for payment method before subscription ( #5631 )
2025-05-19 10:16:35 -04:00
cyprain-okeke
51e489ac9d
[PM 21081][Defect] Admin Sponsored Families not working in Self Host after uploading license file ( #5818 )
...
* Resolve the licence issue
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* resolve the pr comment
* Remove unnecessary directives
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
---------
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
2025-05-16 16:05:47 +01:00
cyprain-okeke
b48a09a338
Resolve the revoke for more than one Sponsorship ( #5827 )
2025-05-16 15:23:09 +01:00
Jordan Aasen
97fbf21977
[PM-20543] - remove restrict-provider-access feature flag ( #5700 )
...
* remove restrict-provider-access feature flag
* remove feature flag
* re-add flag
* remove unnecessary tests
* fix bad merge
* fix bad merge
* remove RestrictProviderAccess key
2025-05-15 14:00:48 -07:00
Brandon Treston
81bff5e5cf
[PM-11622] use organization domains ( #5560 )
...
* DBO changes
* Add migration scripts
* wip
* wip
* wip
* add EF migrations
* run dotnet format
* cleanup
* revert business logic
* wip
* add update statement to mssql migration script
* fix user service tests
* increment license, add UseOrganizationDomains
* add migration helpers to seed initial value from UseSso
* clean up
* cleanup
* fix mssql migrations
* fix license version and test
* fix file names
* fix license json
* add missing property to license test
* rename file
* fix migrations
* fix migration
* add WHERE to helper scripts
* separate schema/data migrations
* restore comment
* Merge conflict
* fix migrations
* add new property to migration
* wip
* fix file names
* fix file name
2025-05-15 10:42:51 -04:00
Graham Walker
5700347e08
PM-21037 adding UserGuid field to MemberCipherDetailsResponseModel ( #5813 )
2025-05-13 14:53:29 -04:00
cyprain-okeke
d58836bb60
Resolve the remove button issue ( #5811 )
2025-05-13 16:48:37 +01:00
Alex Morask
ca40226380
[PM-21418] Do not start organization on trial when request includes SkipTrial
( #5793 )
...
* Do not start organization on a trial when createRequest.SkipTrial is true
* Run dotnet format
2025-05-13 09:31:42 -04:00
Alex Morask
53f7d9655e
[PM-20087] [PM-21104] Preview tax amount for organization trial initiation ( #5787 )
...
* [NO LOGIC] [PM-21104] Organize Core.Billing tax code
* Add PreviewTaxAmountCommand and expose through TaxController
* Add PreviewTaxAmountCommandTests
* Run dotnet format
2025-05-13 09:28:31 -04:00
Thomas Rittson
a1b22e66e5
[PM-14613] Remove account deprovisioning feature flag ( #5676 )
...
* Remove flag
* Remove old tests
* Remove old xmldoc referencing the flag
* Remove old emails
2025-05-13 07:17:54 +10:00
cyprain-okeke
e4359f071c
[PM-21097] Fix: Prevent admin-added sponsored families from appearing in individual vault settings ( #5767 )
...
* Changes to resolve sponsorship showing in individual vault
* Resolve the failing unit test
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Resolve the failing test
* Resolve the failing test
* Resolve the failing test
* fix make IsAdminInitiated nullable
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Add the isAdminInitiated property
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Resolve the database error
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Resolve the failing unit test
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Resolve the scan error
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Resolve the database issue
* resolve the database build error
* Resolve the database build error
* Resolve the synchronization issue
---------
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
2025-05-12 18:21:07 +01:00
Justin Baur
0075a15485
[PM-18064] Resolve billing warnings ( #5797 )
...
* Resolve Billing warnings
* Remove exclusions
* Format
2025-05-09 13:43:50 -04:00
Ike
3f95513d11
[PM-19029][PM-19203] Addressing UserService
tech debt around ITwoFactorIsEnabledQuery
( #5754 )
...
* fix : split out the interface from the TwoFactorAuthenticationValidator into separate file.
* fix: replacing IUserService.TwoFactorEnabled with ITwoFactorEnabledQuery
* fix: combined logic for both bulk and single user look ups for TwoFactorIsEnabledQuery.
* fix: return two factor provider enabled on CanGenerate() method.
* tech debt: modfifying MFA providers to call the database less to validate if two factor is enabled.
* tech debt: removed unused service from AuthenticatorTokenProvider
* doc: added documentation to ITwoFactorProviderUsers
* doc: updated comments for TwoFactorIsEnabled impl
* test: fixing tests for ITwoFactorIsEnabledQuery
* test: updating tests to have correct DI and removing test for automatic email of TOTP.
* test: adding better test coverage
2025-05-09 11:39:57 -04:00
Todd Martin
3989e3b26b
chore(feature-flag): [PM-8671] Remove new-device-verification feature flag
...
* Completed grouping of feature flags by team.
* Completed grouping feature flags by team.
* Remove email delay feature flag
* Removed feature flag
* Fixed reference.
* Remove flag after merge.
* Removed flag from server.
* Removed feature flag from server
* Remove new device verification feature flag.
* Removed unnecessary using.
* Remove feature flag from Constants
2025-05-09 09:37:16 -04:00
Thomas Rittson
5b3d3d6e20
CommandResult and ValidationResult tweaks ( #5772 )
...
* Simplify and align CommandResult and ValidationResult.
In particular, 1 error per Failure/Invalid.
* Move these files to a common namespace
* Remove unused code
2025-05-09 10:46:49 +10:00
Brandon Treston
28467fc8f6
[PM-20092] Refactor OrganizationUsersController Get to return account recovery users ( #5756 )
...
* wip
* wip
* add dict conversion to Get
* wip
* clean up
* clean up
* continue refactor
* Fix feature flag
Co-authored-by: Rui Tomé <108268980+r-tome@users.noreply.github.com>
---------
Co-authored-by: Rui Tomé <108268980+r-tome@users.noreply.github.com>
2025-05-06 13:45:05 -04:00
Graham Walker
10fcff58b2
PM-19715 & PM-19712 Move Files to DIRT ownership on Server ( #5769 )
...
* PM-19715 PM-19711 moving reports to dirt directory and adding dirt as codeowners
* PM-19715 creating two sub folders for reports and events
* PM-19714 changing dirt paths for codeowners
* PM-19714 fixing codeowners file
* PM-19714 fixing codeowners
* PM-19714 moving hibpController to dirt ownership
* PM-19715 moving controller
2025-05-06 10:48:40 +02:00