1
0
mirror of https://github.com/bitwarden/server synced 2026-01-28 07:13:46 +00:00
Commit Graph

6584 Commits

Author SHA1 Message Date
Thomas Rittson
7ea237f5d5 Remove redundant OrganizationId column; remove private read method used by bulk insert 2026-01-01 09:30:24 +10: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
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
Jason Ng
34b4dc3985 [PM-29650] retain item archive date on softdelete (#6771) 2025-12-29 13:30:57 -05:00
Shane Melton
3b5bb76800 [PM-28747] Storage limit bypass for enforce organization ownership policy (#6759)
* [PM-28747] Bypass storage limit when enforce organization data ownership policy is enabled

* [PM-28747] Unit tests for storage limit enforcement

* [PM-28747] Add feature flag check

* [PM-28747] Simplify ignore storage limits policy enforcement

* [PM-28747] Add additional test cases
2025-12-29 09:30:22 -08:00
Dave
2dc4e9a420 feat(2fa-webauthn) [PM-20109]: Increase 2FA WebAuthn Security Key Limit (#6751)
* feat(global-settings) [PM-20109]: Add WebAuthN global settings.

* feat(webauthn) [PM-20109]: Update maximum allowed WebAuthN credentials to use new settings.

* test(webauthn) [PM-20109]: Update command tests to use global configs.

* feat(global-settings) [PM-20109]: Set defaults for maximum allowed credentials.

* feat(two-factor-request-model) [PM-20109]: Remove hard-coded 5 limit on ID validation.

* Revert "test(webauthn) [PM-20109]: Update command tests to use global configs."

This reverts commit ba9f0d5fb6.

* Revert "feat(webauthn) [PM-20109]: Update maximum allowed WebAuthN credentials to use new settings."

This reverts commit d2faef0c13.

* feat(global-settings) [PM-20109]: Add WebAuthNSettings to interface for User Service consumption.

* feat(user-service) [PM-20109]: Add boundary and persistence-time validation for maximum allowed WebAuthN 2FA credentials.

* test(user-service) [PM-20109]: Update tests for WebAuthN limit scenarios.

* refactor(user-service) [PM-20109]: Typo in variable name.

* refactor(user-service) [PM-20109]: Remove unnecessary pending check.

* refactor(user-service) [PM-20109]: Pending check is necessary.

* refactor(webauthn) [PM-20109]: Re-spell WebAuthN => WebAuthn.

* refactor(user-service) [PM-20109]: Re-format pending checks for consistency.

* refactor(user-service) [PM-20109]: Fix type spelling in comments.

* test(user-service) [PM-20109]: Combine premium and non-premium test cases with AutoData.

* refactor(user-service) [PM-20109]: Swap HasPremiumAccessQuery in for CanAccessPremium.

* refactor(user-service) [PM-20109]: Convert limit check to positive, edit comments.
2025-12-29 11:55:05 -05:00
Todd Martin
0f104af921 chore(deps): Move Cosmos cache to Auth ownership 2025-12-29 10:00:05 -05:00
renovate[bot]
8a79bfa673 [deps]: Update actions/upload-artifact action to v6 (#6766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-29 12:59:46 +01:00
Todd Martin
bf5cacdfc5 chore(dependencies): Ignore minor updates for Platform deps 2025-12-28 13:26:07 -05:00
Derek Nance
0cfb68336b [PM-28025] Revert "chore(feature-flag): [PM-19665] Remove web-push feature flag" (#6779)
This reverts commit 1c60b805bf.
2025-12-26 16:44:34 -06:00
Thomas Rittson
67534e2cda [PM-29556] Fix: changing organization plan nulls out public and private keys (#6738)
Main fix: only assign new key value where old keys are not set
and new keys have been provided.

Refactors:
- use consistent DTO model for keypairs
- delete duplicate property assignment for new orgs
2025-12-26 10:13:12 +10:00
renovate[bot]
96622d7928 [deps]: Update github-action minor (#6327)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-23 16:34:19 -05:00
Tyler
f80a5696a1 BRE-1005 docs(README): add dynamic badges for container image digests (#6769)
BRE-1005 docs(README): add dynamic badges for container image digests
* remove links to packages
2025-12-23 16:02:17 -05:00
Jordan Aasen
3486d29330 remove RemoveCardItemTypePolicy flag (#6760) 2025-12-23 09:12:14 -08:00
renovate[bot]
c632a9490a [deps] Platform: Update Azure.Messaging.EventGrid to v5 (#6215)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-23 10:51:54 -06:00
Andy Pixley
fafc61d7b9 [BRE-1439] Removing obsolete Server image from publish workflow (#6774) 2025-12-23 00:00:17 -05:00
Jared Snider
a82365b5df PM-30125 - IdentityTokenResponse - mark fields as deprecated (#6773) 2025-12-22 15:29:28 -05:00
Alex Morask
2dce8722d6 Remove unused FF (#6709) 2025-12-22 14:14:18 -06:00
sneakernuts
ae3c8317e3 SRE-3582 billing cleanup (#6772) 2025-12-22 13:09:23 -07:00
cyprain-okeke
eb360ffec1 [PM-29930]Fix [Defect] Automatic Sync - Sync License throws error on Self Host (#6770)
* Restore the mistakenly remove controller

* Fix the lint build error
2025-12-22 17:28:27 +01:00
Thomas Rittson
69d72c2ad3 [PM-28485] Move organization events domain to DIRT code ownership (#6685) 2025-12-20 07:32:51 +10:00
renovate[bot]
bc800a788e [deps]: Update actions/checkout action to v6 (#6706)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 16:06:33 -05:00
Jordan Aasen
457e293fdc [PM-29017] - improve logic for cipher SaveDetailsAsync validation (#6731)
* improve logic for cipher SaveDetailsAsync validation. fix tests

* revert change

* fix test

* remove duplicate semicolon
2025-12-19 11:35:01 -08:00
Jared Snider
e6c97bd850 Revert "refactor(IdentityTokenResponse): [Auth/PM-3287] Remove deprecated res…" (#6755)
This reverts commit bbe682dae9.
2025-12-18 15:10:40 -05:00
Thomas Rittson
cc2d69e1fe [PM-28487] Move Events and EventsProcessor to DIRT ownership (#6678)
* Move Events and EventsProcessor to DIRT ownership

* include test projs

* sort lines alphabetically within group

* fix order

---------

Co-authored-by: Graham Walker <ghwtx@icloud.com>
2025-12-18 14:05:18 -06:00
Mike Amirault
1b41a06e32 [PM-29780] Add feature flag for Send email OTP verification (#6742) 2025-12-18 14:12:56 -05:00
Maciej Zieniuk
a92d7ac129 [PM-27280] Support v2 encryption on key-connector signups (#6712)
* account v2 registration for key connector

* use new user repository functions

* test coverage

* integration test coverage

* documentation

* code review

* missing test coverage

* fix failing test

* failing test

* incorrect ticket number

* moved back request model to Api, created dedicated data class in Core

* sql stored procedure type mismatch, simplification

* key connector authorization handler
2025-12-18 13:43:03 -05:00
cyprain-okeke
2b742b0343 [PM-27605] Populate MaxStorageGbIncreased for storage increase from 1GB to 5GB. (#6579)
* Add transition migration to populate MaxStorageGbIncreased

This migration populates the MaxStorageGbIncreased column for Users and
Organizations by setting it to MaxStorageGb + 4, representing the storage
increase from 1GB to 5GB.

This migration depends on PM-27603 being deployed first to create the
MaxStorageGbIncreased column.

Target release: January 6th, 2026

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Using batched updates to reduce lock

* Add changes base on ticket adjustment

* Added the dependency check

* Add temporary index for performance

* Resolved the conflict

* resolve the syntax error

* Update the migration script

* Rename the file to updated date

* Revert the existing merge file change

* revert the change

* revert renaming

* rename file to updated date

* Add the column after renaming

* Rename other migration file to set current date

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Alex Morask <amorask@bitwarden.com>
Co-authored-by: Conner Turnbull <133619638+cturnbull-bitwarden@users.noreply.github.com>
2025-12-18 13:32:03 -05:00
Shane Melton
3511ece899 [PM-28746] Add support for Organization_ItemOrganization_Accepted/Declined event types (#6747) 2025-12-18 10:20:46 -08:00
Mick Letofsky
2707a965de Remove additional code review prompt file (#6754) 2025-12-18 19:19:19 +01:00
cyprain-okeke
25eface1b9 Remove the feature flag (#6720) 2025-12-18 17:35:56 +01:00
Alex Morask
982957a2be [PM-21421] Support legacy > current plan transition when resubscribing (#6728)
* Refactor RestartSubscriptionCommand to support legacy > modern plan transition

* Run dotnet format

* Claude feedback

* Claude feedback
2025-12-18 09:12:16 -06:00
renovate[bot]
d03277323f [deps]: Update actions/stale action to v10 (#6335)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 15:56:13 -05:00
neuronull
8aa8bba9a6 Add feature flag for windows desktop autotype GA (#6717) 2025-12-17 13:29:06 -07:00
aj-bw
3cb8472fd2 adding platform tag to optimze build, avoiding unnecessary emulation (#6745) 2025-12-17 14:31:21 -05:00
Brant DeBow
b3437b3b30 Update requirements for RabbitMQ and Azure Service Bus configuration (#6741) 2025-12-17 13:00:05 -05:00
renovate[bot]
19ee4a0054 [deps] BRE: Update rabbitmq Docker tag to v4.2.0 (#4026)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 12:42:33 -05:00
Jared McCannon
de504d800b [PM-24055] - Collection Users and Groups null on Public response (#6713)
* Integration test around getting and saving collection with group/user permissions

* This adds groups to the collections returned.

* Added new stored procedures so we don't accidentally wipe out access due to null parameters.

* wrapping all calls in transaction in the event that there is an error.
2025-12-17 11:34:17 -06:00
Brant DeBow
886ba9ae6d Refactor IntegrationHandlerResult to provide more detail around failures (#6736)
* Refactor IntegrationHandlerResult to provide more detail around failures

* ServiceUnavailable now retryable, more explicit http status handling, more consistency with different handlers, additional xmldocs

* Address PR feedback
2025-12-17 11:43:53 -05:00