Bernd Schoolmann
354320a88c
Switch away from primary constructor
2025-06-12 17:03:27 +02:00
Bernd Schoolmann
4568eddabd
Update src/Api/KeyManagement/Models/Response/PrivateKeysResponseModel.cs
...
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-06-12 16:44:17 +02:00
Bernd Schoolmann
343452fb7f
Merge branch 'km/signing-api-changes' of github.com:bitwarden/server into km/signing-api-changes
2025-06-12 16:02:33 +02:00
Bernd Schoolmann
70bafb5121
Cleanup and move query to core
2025-06-12 15:51:47 +02:00
Bernd Schoolmann
038b4edebe
Update src/Api/KeyManagement/Controllers/UsersController.cs
...
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-06-12 15:30:55 +02:00
Bernd Schoolmann
a417aa72e8
Update src/Api/KeyManagement/Models/Response/PrivateKeysResponseModel.cs
...
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-06-12 15:30:04 +02:00
Bernd Schoolmann
7900bcbfb3
Merge branch 'km/db-signing-keys' into km/signing-api-changes
2025-06-06 14:46:49 +02:00
Bernd Schoolmann
2428d64488
Cleanup
2025-06-05 20:34:25 +02:00
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
SmithThe4th
66301bb4dc
[PM-19632] Remove security task flag - step 1 ( #5856 )
...
* step 1- remove flag on security task controller
* Fixed lint issues
2025-06-04 16:37:42 -04:00
Jordan Aasen
2e14a46cee
[PM-22344] - fix Error: Cannot Decrypt when moving a vault item to a collection ( #5911 )
...
* use ToCipher instead of casting
* return ListResponseModel
* fix test
* remove ToArray
* have ShareManyAsync return CipherDetails
* fix test
* fix tests
* fix test
* fix test
2025-06-03 14:02:13 -07:00
Alex Morask
8165651285
Remove pm-18794-provider-payment-method ( #5850 )
2025-06-03 07:50:52 -05: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