1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 16:42:50 -05:00
Commit Graph

5921 Commits

Author SHA1 Message Date
25a812e762 Cleanup 2025-06-05 15:37:39 +02:00
442cc2e9cf Enable nullable 2025-06-05 15:35:32 +02:00
e7129315c7 Cleanup 2025-06-05 15:33:29 +02:00
39698a47a3 Add km queries 2025-06-05 15:27:11 +02:00
bfcb034442 Fix test 2025-06-05 15:14:44 +02:00
01e18ded94 Add tests and cleanup 2025-06-05 14:56:55 +02:00
de3efbeaf7 Add query and fix types 2025-06-05 14:50:11 +02:00
ccf1ffa90f Cleanup 2025-06-05 14:21:04 +02:00
90ef67b05c Add sync response 2025-06-05 14:13:59 +02:00
83c84a7cc0 Add initial get keys endpoint 2025-06-05 12:43:25 +02:00
042d924d19 Fix migration script 2025-06-04 13:21:17 +02:00
77e367cbcd Fix migration script 2025-06-04 12:37:22 +02:00
f47d552bff Use view for reading usersignaturekeypairs 2025-06-04 12:33:00 +02:00
fb00976e19 Move out entitytypeconfiguration 2025-06-04 12:28:34 +02:00
30608719bd Fix build 2025-06-04 12:12:48 +02:00
d10fc57b72 Fix build 2025-06-04 12:11:52 +02:00
be1e6c0a07 Fix build 2025-06-04 12:06:25 +02:00
6f7a1d196a Move UserSignatureKeyPair to KM codeownership 2025-06-04 12:04:21 +02:00
9e0cdf3383 Address feedback 2025-06-04 11:59:53 +02:00
7869b2f8e0 Merge branch 'main' into km/db-signing-keys 2025-06-03 12:31:34 +02:00
560d72df94 Rename migration to start later 2025-06-03 12:13:57 +02:00
9a43365b85 Attempt to fix sql 2025-06-03 12:09:50 +02:00
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
9173f0cf5c Fix difference in SQL SP vs migration 2025-06-02 18:27:48 +02:00
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
ae61005011 Fix difference in SQL SP vs migration 2025-06-02 18:18:10 +02:00
98807864b9 Fix difference in SQL SP compared to migration SP 2025-06-02 18:11:37 +02:00
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
e45319e879 Add ef migrations 2025-06-02 17:53:23 +02:00
8c14630481 Bumped version to 2025.6.0 2025-06-02 15:15:43 +00:00
1aa3de9721 Fix sql 2025-06-02 16:54:56 +02:00
a2c33a6557 Cleanup 2025-06-02 16:54:16 +02:00
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
58374dce36 Add more renames 2025-06-02 15:53:37 +02:00
7821015398 Fix order 2025-06-02 15:48:28 +02:00
febb8f1425 Update parameter order 2025-06-02 15:46:52 +02:00
7e341a6b7c Rename more instances to UserSignatureKeyPair 2025-06-02 15:44:12 +02:00
2da5ff404d Add newline 2025-06-02 15:40:57 +02:00
af3366759f Rename to UserSignatureKeyPairRepository 2025-06-02 15:39:36 +02:00
edc5e43898 Further rename to signaturekeypair 2025-06-02 15:34:54 +02:00
cfe647f3b4 Rename to signature key pair 2025-06-02 15:32:16 +02:00
dbcd7cdec3 Add newline at end of file 2025-06-02 14:59:18 +02:00
4eaa8f649c Move signedPublicKey to last parameter 2025-06-02 14:59:12 +02:00
1021518dd8 Rename signedpublickeyownershipclaim to signedpublickey 2025-06-02 14:55:52 +02:00
cd0e94b6d2 Rename UserSigningKeys table to UserSigningKey 2025-06-02 14:54:15 +02:00
20999391b3 Add signing key repositories, models, and sql migration scripts 2025-06-02 14:50:50 +02:00
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
20105b85aa fix: failing builds; Setup is no longer a dll (#5901) 2025-05-30 13:28:16 -07:00
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 32c2f6236a.

* 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 c93be6d52b.

* Revert "fix: build failures caused by bad merge"

This reverts commit 3e4639489b.

* Revert "Use `IHttpClientFactory` in more places"

This reverts commit 284501a493.

* 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
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