Bernd Schoolmann
e0a6fd7af6
Merge branch 'km/db-signing-keys' into km/signing-api-changes
2025-06-16 09:43:02 +02:00
Jimmy Vo
4a12120950
[PM-19703] Fix admin count logic to exclude current organization ( #5918 )
2025-06-13 16:27:48 -04:00
Bernd Schoolmann
3bc7d15551
Pass user account keys directly to profileresponsemodel
2025-06-12 21:42:57 +02:00
Bernd Schoolmann
68960efc85
Use argumentNullException
2025-06-12 17:20:52 +02:00
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
Brandon Treston
be72a77c72
[PM-22099] add collection type ( #5942 )
...
* add CollectionType enum
* add CollectionType to CollectionResponseModels
* cleanup
* clean up
* change types
* add collection type to public API model
* remove redundant statements
2025-06-11 11:01:04 -04:00
Graham Walker
4277f435ab
PM-22564 Fix Namespaces from Tools to Dirt ( #5947 )
...
* PM-22564 fixing namespaces
* PM-22564 fixing namespace in integration test
* PM-22564 fixing .sqlproj file
2025-06-10 12:36:49 -05:00
Rui Tomé
021e69bc5d
[PM-17154] Limit item deletion feature flag logic removal ( #5925 )
...
* Refactor CiphersController and related tests by removing unused IFeatureService dependency and associated feature flag checks. Cleaned up tests to reflect these changes, ensuring they focus on manage permissions without reliance on feature flags.
* Refactor CipherService and related tests by removing feature flag checks for item deletion permissions. Updated tests to focus on user manage permissions without reliance on feature flags, ensuring cleaner and more maintainable code.
* Enhance CiphersControllerTests by adding user retrieval and organization ability checks. Updated test cases to ensure proper handling of item deletion permissions based on user roles and organization settings, improving test coverage and reliability.
2025-06-10 09:57:29 +01:00
cyprain-okeke
fbdd62fadd
[PM-20416]Downgraded paid org cannot upgrade from Free ( #5748 )
...
* enable the downgrade of free org
* resolve the free org update issue
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Retain the canceled subscriptionId
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* resolve the pr coments
* Refactor the code base on the pr comment
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Resolve the pr comments
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Resolve the pr comment
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Resolve the failing test
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Resolve the repeated condition
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* apply the condition suggestion
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Add the missing MaxCollection
---------
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
2025-06-10 07:50:09 +01:00
renovate[bot]
52c392d668
[deps] Billing: Update swashbuckle-aspnetcore monorepo to 7.3.2 ( #5731 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-09 10:53:17 -05: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