1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-20 02:48:03 -05:00

6048 Commits

Author SHA1 Message Date
Bernd Schoolmann
4553ad50ee
Revert constructor change 2025-06-16 11:34:45 +02:00
Bernd Schoolmann
dbb4aca1e2
Fix cases for request data conversion 2025-06-16 11:32:00 +02:00
Bernd Schoolmann
54aac8cfc4
Remove unused file 2025-06-16 11:27:45 +02:00
Bernd Schoolmann
b7079cefcf
Make signedpublickey optional 2025-06-16 11:25:39 +02:00
Bernd Schoolmann
66333061a2
Fix namespace 2025-06-16 11:17:13 +02:00
Bernd Schoolmann
103e86f17c
Fix build 2025-06-16 11:08:58 +02:00
Bernd Schoolmann
16f69887ad
Merge branch 'km/signing-api-changes' into km/signing-upgrade-rotation 2025-06-16 11:05:23 +02:00
Bernd Schoolmann
e0a6fd7af6
Merge branch 'km/db-signing-keys' into km/signing-api-changes 2025-06-16 09:43:02 +02:00
Bernd Schoolmann
35b6816888
Merge branch 'main' into km/db-signing-keys 2025-06-16 09:41:25 +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
a3b9bfc9ea
Add test 2025-06-12 21:32:39 +02:00
Github Actions
db77201ca4 Bumped version to 2025.6.1 2025-06-12 16:07:52 +00:00
Vince Grassia
0bdd18d6b7
Remove logic for generating and uploading checksum artifacts (#5950) 2025-06-12 11:26:35 -04: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
6f3471e658
Fix tests 2025-06-12 16:42:04 +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
22888a5928
Fix build 2025-06-12 16:01:30 +02:00
Bernd Schoolmann
12636bfb35
Fix test 2025-06-12 15:53:35 +02:00
Bernd Schoolmann
70bafb5121
Cleanup and move query to core 2025-06-12 15:51:47 +02:00
Jared McCannon
66a89245f9
[PM-20590] Correcting error provided when scaling provider org (#5951)
* Moved provider org check above organization stripe id checks.
2025-06-12 08:48:15 -05: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
Thomas Rittson
64b288035c
Chore: document SutProvider and clean up UserServiceTests (#5879)
* UserServiceTests - use builder pattern for SutProvider to reduce boilerplate
* SutProvider - add xmldoc
2025-06-12 10:21:05 +01:00
Thomas Rittson
463dc1232d
Add xmldoc for OrganizationUser (#5949) 2025-06-12 10:47:41 +10:00
SmithThe4th
6d36f636c4
Revert "replace fallback icon default with response (#5878)" (#5956)
This reverts commit ed780d45d3f5e839bd1e390aecb2447ac33b006f.
2025-06-11 21:46:21 +00:00
Jimmy Vo
821f66e99f
[PM-22205] Fix logic for sending out revoked email (#5933) 2025-06-11 16:55:42 -04: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
cyprain-okeke
a618f97234
[PM 20621]Update error message when lowering seat count (#5836)
* implement the seat decrease error message

* Resolve the comment regarding abstraction

* Resolved the database failure

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Resolve the failing test

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Resolve the failing test

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Resolve the failing upgrade test

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Resolve the failing test

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Resolve the failing test

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Removed the unused method

* Remove the total calculation from the stored procedure

* Refactoring base on pr feedback

* Refactoring base on pr feedback

* Resolve the fauiling database

* Resolve the failing database test

* Resolve the database test

* Remove duplicate migrations

* resolve the failing test

* Removed the unneeded change

* remove this file

* Reverted Deleted migration

* revert the added space

* resolve the stored procedure name

* Rename the migration name

* Updated the stored procedure name

* Revert the changes on the sproc

* Revert unrelated changes

* Remove the unused method

* improved the xmldoc

* Add an integration testing

* Add the use of helper test class

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Resolve the failing test

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Resolve the failing test

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* remove object look up

* Resolve message rollback

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

---------

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
2025-06-11 14:03:45 +01:00
Federico Maccaroni
f532236f05
[PM-22572] Added app-intents feature flag key (#5948) 2025-06-10 17:27:51 -03:00
Robyn MacCallum
1bd11e61ef
Add enable-pm-prelogin-settings flag (#5946) 2025-06-10 15:50:22 -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
Bernd Schoolmann
9e323d5bd5
Update src/Infrastructure.EntityFramework/KeyManagement/Repositories/UserSignatureKeyPairRepository.cs
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-06-10 10:29:31 +02: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
Jared McCannon
84e5ea1265
[PM-22097] Add Columns to Collections for Org User Default Collection (#5908)
* Adding columns and database migrations for organization DefaultUserCollection.
2025-06-09 13:50:15 -05: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
renovate[bot]
88ffc91b99
[deps] Billing: Update coverlet.collector to 6.0.4 (#5720)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-09 10:49:41 -05:00
Alex Morask
87b6606bc2
Append EUVAT to Spanish NIF tax ID types (#5843) 2025-06-09 09:30:26 -05:00
Bernd Schoolmann
599918096d
Fix tests and errors 2025-06-09 15:04:00 +02:00
Bernd Schoolmann
ac06fe7c75
Add test 2025-06-09 14:54:30 +02:00
Bernd Schoolmann
06d8de67c5
Fix test 2025-06-09 14:48:14 +02:00
Bernd Schoolmann
18c562db6f
Fix tests 2025-06-09 14:41:04 +02:00
Bernd Schoolmann
ee857ed0e5
Fix tests 2025-06-09 14:35:15 +02:00
Bernd Schoolmann
c305af7ed6
Add error message validation 2025-06-09 14:27:58 +02:00
Bernd Schoolmann
0675505f3c
Add tests 2025-06-09 14:25:05 +02:00
Bernd Schoolmann
8bbdd7fe30
Improve tests 2025-06-09 14:14:09 +02:00
Bernd Schoolmann
cc68b91188
Fix tests 2025-06-09 12:36:02 +02:00