1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-08 12:10:30 -05:00

5919 Commits

Author SHA1 Message Date
Bernd Schoolmann
6ec9237b8f
Move userSignatureKeyPair model 2025-06-06 13:55:24 +02:00
Bernd Schoolmann
f0a83683d6
Move useresignaturekeypairentitytypeconfiguration to km ownership 2025-06-06 13:54:33 +02:00
Bernd Schoolmann
18e5f8ebd2
Move signature algorithm 2025-06-06 13:53:41 +02:00
Bernd Schoolmann
93292aa505
Switch to generatecomb 2025-06-06 12:10:00 +02:00
Bernd Schoolmann
b83070a925
Switch go generatecomb 2025-06-06 12:09:13 +02:00
Bernd Schoolmann
98ec53defd
Replace with create or alter view 2025-06-05 17:44:13 +02:00
Bernd Schoolmann
a33bf793e1
Enable nullable 2025-06-05 16:24:14 +02:00
Bernd Schoolmann
fa2e314c4f
Drop view if exists 2025-06-05 15:18:02 +02:00
Bernd Schoolmann
042d924d19
Fix migration script 2025-06-04 13:21:17 +02:00
Bernd Schoolmann
77e367cbcd
Fix migration script 2025-06-04 12:37:22 +02:00
Bernd Schoolmann
f47d552bff
Use view for reading usersignaturekeypairs 2025-06-04 12:33:00 +02:00
Bernd Schoolmann
fb00976e19
Move out entitytypeconfiguration 2025-06-04 12:28:34 +02:00
Bernd Schoolmann
30608719bd
Fix build 2025-06-04 12:12:48 +02:00
Bernd Schoolmann
d10fc57b72
Fix build 2025-06-04 12:11:52 +02:00
Bernd Schoolmann
be1e6c0a07
Fix build 2025-06-04 12:06:25 +02:00
Bernd Schoolmann
6f7a1d196a
Move UserSignatureKeyPair to KM codeownership 2025-06-04 12:04:21 +02:00
Bernd Schoolmann
9e0cdf3383
Address feedback 2025-06-04 11:59:53 +02:00
Bernd Schoolmann
7869b2f8e0
Merge branch 'main' into km/db-signing-keys 2025-06-03 12:31:34 +02:00
Bernd Schoolmann
560d72df94
Rename migration to start later 2025-06-03 12:13:57 +02:00
Bernd Schoolmann
9a43365b85
Attempt to fix sql 2025-06-03 12:09:50 +02:00
Bernd Schoolmann
14e68428f6
[PM-20225] Block no-userkey legacy users (#5640)
* Block legacy users on all clients over 2025.5

* Update message

* Fix test

* Fix test

* Update blocked version
2025-06-02 22:04:01 +02:00
Bernd Schoolmann
9173f0cf5c
Fix difference in SQL SP vs migration 2025-06-02 18:27:48 +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
Bernd Schoolmann
ae61005011
Fix difference in SQL SP vs migration 2025-06-02 18:18:10 +02:00
Bernd Schoolmann
98807864b9
Fix difference in SQL SP compared to migration SP 2025-06-02 18:11:37 +02: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
Bernd Schoolmann
e45319e879
Add ef migrations 2025-06-02 17:53:23 +02:00
Github Actions
8c14630481 Bumped version to 2025.6.0 2025-06-02 15:15:43 +00:00
Bernd Schoolmann
1aa3de9721
Fix sql 2025-06-02 16:54:56 +02:00
Bernd Schoolmann
a2c33a6557
Cleanup 2025-06-02 16:54:16 +02: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
Bernd Schoolmann
58374dce36
Add more renames 2025-06-02 15:53:37 +02:00
Bernd Schoolmann
7821015398
Fix order 2025-06-02 15:48:28 +02:00
Bernd Schoolmann
febb8f1425
Update parameter order 2025-06-02 15:46:52 +02:00
Bernd Schoolmann
7e341a6b7c
Rename more instances to UserSignatureKeyPair 2025-06-02 15:44:12 +02:00
Bernd Schoolmann
2da5ff404d
Add newline 2025-06-02 15:40:57 +02:00
Bernd Schoolmann
af3366759f
Rename to UserSignatureKeyPairRepository 2025-06-02 15:39:36 +02:00
Bernd Schoolmann
edc5e43898
Further rename to signaturekeypair 2025-06-02 15:34:54 +02:00
Bernd Schoolmann
cfe647f3b4
Rename to signature key pair 2025-06-02 15:32:16 +02:00
Bernd Schoolmann
dbcd7cdec3
Add newline at end of file 2025-06-02 14:59:18 +02:00
Bernd Schoolmann
4eaa8f649c
Move signedPublicKey to last parameter 2025-06-02 14:59:12 +02:00
Bernd Schoolmann
1021518dd8
Rename signedpublickeyownershipclaim to signedpublickey 2025-06-02 14:55:52 +02:00
Bernd Schoolmann
cd0e94b6d2
Rename UserSigningKeys table to UserSigningKey 2025-06-02 14:54:15 +02:00
Bernd Schoolmann
20999391b3
Add signing key repositories, models, and sql migration scripts 2025-06-02 14:50:50 +02:00
Oscar Hinton
d7d90e7f3e
[PM-21079] Add support to integration tests for using sqlserver (#5823)
Adds a SqlServerApiApplicationFactory which allows you to run api tests using SqlServer. Currently a new database is create and destroyed for each test. In the future we'd like a more optimized way to do this.

The database logic is abstracted away in a ITestDatabase interface which handles the configuration, migration and teardown.
2025-06-02 11:06:16 +02:00
tangowithfoxtrot
20105b85aa
fix: failing builds; Setup is no longer a dll (#5901) 2025-05-30 13:28:16 -07: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
Justin Baur
0b2b573bd3
Add DynamicClientStore (#5670)
* Add DynamicClientStore

* Formatting

* Fix Debug assertion

* Make Identity internals visible to its unit tests

* Add installation client provider tests

* Add internal client provider tests

* Add DynamicClientStore tests

* Fix namespaces after merge

* Format

* Add docs and remove TODO comments

* Use preferred prefix for API keys

---------

Co-authored-by: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com>
2025-05-30 12:58:54 -04:00
sneakernuts
63f836a73a
SRE-1913 find & replace twitter w/ x (#5586) 2025-05-30 09:58:24 -06: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