1
0
mirror of https://github.com/bitwarden/server synced 2026-01-27 23:03:31 +00:00
Commit Graph

6620 Commits

Author SHA1 Message Date
Thomas Rittson
dc5c06ff83 Revert Bulk implementation 2026-01-06 14:16:47 +10:00
Thomas Rittson
91c51fd47c Merge remote-tracking branch 'origin/main' into ac/pm-28555/add-semaphore-table 2026-01-06 13:53:20 +10:00
Thomas Rittson
8f345e0689 First pass at reverting semaphore approach 2026-01-06 13:52:34 +10:00
Vincent Salucci
35868c2a65 [PM-22434] Remove CreateDefaultLocation feature flag references (#6758)
* chore: remove ff ref from PoliciesController

* chore: remove ff ref from OrganizationExportController, refs PM-22434

* chore: remove ff ref from CiphersController, refs PM-22434

* chore: remove ff ref from ConfirmOrganizationUserCommand, refs PM-22434

* chore: remove ff refs from OrganizationDataOwnershipPolicyValidator, refs PM-22434

* chore: remove ff ref from OrganizationUserControllerTests, refs PM-22434

* chore: remove ff refs from ConfirmOrganizationUserCommandTests, refs PM-22434

* chore: remove ff refs from OrganizationDataOwnershipPolicyValidatorTests, refs PM-22434

* chore: format, refs PM-22434
2026-01-05 17:27:17 -06:00
Kyle Spearrin
2442d2dabc [PM-30391] fix for org context on sso provisioning (#6797)
* fix for org context on sso provisioning

* tests are no longer needed since there is no logic on feature flag

* lint fixes
2026-01-05 11:56:31 -05:00
cyprain-okeke
76a8f0fd95 [PM 29610]Update Account Storage Endpoint (#6750)
* update account storage endpoint

* Fix the failing test

* Added flag and refactor base on pr comments

* fix the lint error

* Resolve the pr comments

* Fix the failing test

* Fix the failing test

* Return none

* Resolve the lint error

* Fix the failing test

* Add the missing test

* Formatting issues fixed
2026-01-05 10:52:52 -06:00
Thomas Rittson
fc351ceb60 Rethrow exception
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
2026-01-03 13:56:51 +10:00
Thomas Rittson
2fc0257d1d Move transaction up to code layer 2026-01-03 13:49:38 +10:00
Thomas Rittson
2b7caf1e37 Use TwoGuidIdArray 2026-01-03 13:41:44 +10:00
Thomas Rittson
aa1c0a4a77 Rui PR feedback 2026-01-03 13:20:43 +10:00
Thomas Rittson
e9d53c0c6b [PM-30298] Initial documentation for OrganizationAbility pattern (#6781) 2026-01-03 07:48:34 +10:00
Ike
a2ba5289fa [PM-29568] Footer Links lack correct styling (#6784)
* fix: color weight of links in footer.

* fix: css styling
2026-01-02 12:02:57 -05:00
Thomas Rittson
c84dd78463 Rethrow exception
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
2026-01-02 13:46:02 +10:00
Thomas Rittson
1a42f6f630 Add general catch block 2026-01-02 13:40:18 +10:00
Thomas Rittson
0face3a06e Add explicit transaction in EF 2026-01-02 13:39:34 +10:00
Thomas Rittson
51800923ef Trigger code review 2026-01-02 13:27:59 +10:00
Thomas Rittson
8427367c76 Use guid array instead of json 2026-01-02 08:36:12 +10:00
Thomas Rittson
415182a9b8 Fix test 2026-01-02 08:15:01 +10:00
Thomas Rittson
8ab5ad1b3a Merge remote-tracking branch 'origin/main' into ac/pm-28555/add-semaphore-table 2026-01-02 08:06:42 +10:00
Thomas Rittson
2bf848720b local code review feedback 2026-01-01 15:31:47 +10:00
Thomas Rittson
38bab4448f dotnet format 2026-01-01 15:23:15 +10:00
Thomas Rittson
897719e695 Move semaphore into helper method for consistent creation date 2026-01-01 15:21:29 +10:00
Thomas Rittson
ebbdc946a1 Return uniform error 2026-01-01 15:16:48 +10:00
Thomas Rittson
a9e840988d DRY arrangement code between repositories 2026-01-01 14:26:31 +10:00
Thomas Rittson
8212af5230 dotnet format 2026-01-01 14:13:21 +10:00
Thomas Rittson
6bcc17f02a Update existing code paths to use new method 2026-01-01 14:12:16 +10:00
Thomas Rittson
21d7276625 Move filtering out of db layer 2026-01-01 13:51:10 +10:00
Thomas Rittson
a6fcee7094 Generate EF migrations 2026-01-01 09:37:49 +10:00
Thomas Rittson
7ea237f5d5 Remove redundant OrganizationId column; remove private read method used by bulk insert 2026-01-01 09:30:24 +10:00
✨ Audrey ✨
484a8e42dc [PM-21918] update send api models to support new email field (#5895)
* update send api models to support new `email` field

* normalize authentication field evaluation order

* document send response converters

* add FIXME to remove unused constructor argument

* add FIXME to remove unused constructor argument

* introduce `tools-send-email-otp-listing` feature flag

* add `ISendOwnerQuery` to dependency graph

* fix broken tests

* added AuthType prop to send related models with test coverage and debt cleanup

* dotnet format

* add migrations

* dotnet format

* make SendsController null safe (tech debt)

* add AuthType col to Sends table, change Emails col length to 4000, and run migrations

* dotnet format

* update SPs to expect AuthType

* include SP updates in migrations

* remove migrations not intended for merge

* Revert "remove migrations not intended for merge"

This reverts commit 7df56e346a.

undo migrations removal

* extract AuthType inference to util method and remove SQLite file

* fix lints

* address review comments

* fix incorrect assignment and adopt SQL conventions

* fix column assignment order in Send_Update.sql

* remove space added to email list

* assign SQL default value of NULL to AuthType

* update SPs to match migration changes

---------

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
Co-authored-by: Alex Dragovich <46065570+itsadrago@users.noreply.github.com>
Co-authored-by: John Harrington <84741727+harr1424@users.noreply.github.com>
2025-12-31 13:37:42 -07:00
Brant DeBow
cc03842f5f Disable database distributed cache in non-self-hosted environments (#6783)
* Disable database distributed cache in non-self-hosted environments

* Added distributed memory cache as a final fallback option
2025-12-31 11:59:59 -05:00
cyprain-okeke
665be6bfb0 [PM-29611] Decouple License from Subscription Response (#6768)
* implement the ticket request

* resolve the build lint error

* Resolve the build lint error

* Address review comments

* Fixt the lint and failing unit test

* Fix NSubstitute mock - use concrete ClaimsPrincipal instead of Arg.Any in Returns()

* resolve InjectUser issues

* Fix the failing testing

* Fix the failing unit test
2025-12-31 17:30:41 +01:00
Mick Letofsky
bf08bd279c Revert review Code Triggered by labeled event (#6785) 2025-12-31 16:56:03 +01:00
Thomas Rittson
f668a0ce0a Fix sproc name 2025-12-31 14:26:27 +10:00
Thomas Rittson
36aad90cb8 Explicit transaction for mssql 2025-12-31 14:25:14 +10:00
Thomas Rittson
53bc10015f Assert semaphores in Create tests 2025-12-31 14:06:39 +10:00
Thomas Rittson
7aef3da855 Refine tests (failing) 2025-12-31 14:04:05 +10:00
Thomas Rittson
90f2e2baeb Rename upsert -> create to reflect behavior 2025-12-31 13:42:32 +10:00
Thomas Rittson
843fd7ac9d Fix validator using wrong method 2025-12-31 13:41:55 +10:00
Thomas Rittson
9cc89eb850 Update existing bulk tests to assert semaphores 2025-12-31 13:35:40 +10:00
Thomas Rittson
a53bb23c23 Add tests for cascade delete behavior 2025-12-31 13:29:11 +10:00
Thomas Rittson
ae9d18ac9b Add read sproc for semaphores 2025-12-31 13:28:59 +10:00
Thomas Rittson
e67727bf25 Update naming in existing bulk tests 2025-12-31 13:04:04 +10:00
Thomas Rittson
31eebe2285 Update existing reads to use semaphore 2025-12-31 12:57:30 +10:00
Ike
f82552fba9 [PM-29568] Fix footer styling (#6722)
* fix: update footer background color to match UIF Tailwind standards.

* fix: modify spacing for footer

* chore: build templates

* fix: update social icon assets

* fix: update footer image source

* fix: update send access
2025-12-30 14:08:10 -05:00
Mick Letofsky
c98f31a9f7 Review Code Triggered by labeled event (#6782) 2025-12-30 18:22:09 +01:00
Brant DeBow
86a68ab637 Move all event integration code to Dirt (#6757)
* Move all event integration code to Dirt

* Format to fix lint
2025-12-30 10:59:19 -05:00
Isaiah Inuwa
9a340c0fdd Allow mobile clients to create passkeys (#6383) [PM-26177]
* Allow mobile clients to create vault passkeys

* Document uses for authorization policies
2025-12-30 07:31:26 -06:00
Thomas Rittson
a91f0967f4 Make sqlbulkcopy check constraints 2025-12-30 14:48:49 +10:00
Thomas Rittson
f069fafea1 First pass at semaphore 2025-12-30 14:21:42 +10:00