1
0
mirror of https://github.com/bitwarden/server synced 2025-12-20 18:23:44 +00:00
Commit Graph

6434 Commits

Author SHA1 Message Date
Hinton
39cdb65ace Add cargo as enabled manager in renovate 2025-10-16 15:00:24 -07:00
cd-bitwarden
2965b499e9 [SM-1591] Adding SecretVersion table to server (#6406)
* Adding SecretVersion table to server

* making the names singular not plural for new table

* removing migration

* fixing migration

* Adding indexes for serviceacct and orguserId

* indexes for sqllite

* fixing migrations

* adding indexes to secretVeriosn.sql

* tests

* removing tests

* adding GO
2025-10-16 15:35:14 -04:00
Jared McCannon
449603d180 [PM-26632] - Adding Idempotent Confirm User (#6459)
* Added repo call for idempotent user confirm. PLUS TESTS!

* Code review changes
2025-10-16 11:19:48 -05:00
Rui Tomé
132db95fb7 [PM-26683] Migrate individual policy handlers/validators to the new Policy Update Events pattern (#6458)
* Implement IOnPolicyPreUpdateEvent for FreeFamiliesForEnterprisePolicyValidator and add corresponding unit tests

* Implement IEnforceDependentPoliciesEvent in MaximumVaultTimeoutPolicyValidator

* Rename test methods in FreeFamiliesForEnterprisePolicyValidatorTests for consistency

* Implement IPolicyValidationEvent and IEnforceDependentPoliciesEvent in RequireSsoPolicyValidator and enhance unit tests

* Implement IPolicyValidationEvent and IEnforceDependentPoliciesEvent in ResetPasswordPolicyValidator and add unit tests

* Implement IOnPolicyPreUpdateEvent in TwoFactorAuthenticationPolicyValidator and add unit tests

* Implement IPolicyValidationEvent and IOnPolicyPreUpdateEvent in SingleOrgPolicyValidator with corresponding unit tests

* Implement IOnPolicyPostUpdateEvent in OrganizationDataOwnershipPolicyValidator and add unit tests for ExecutePostUpsertSideEffectAsync

* Refactor policy validation logic in VNextSavePolicyCommand to simplify enabling and disabling requirements checks

* Refactor VNextSavePolicyCommand to replace IEnforceDependentPoliciesEvent with IPolicyUpdateEvent and update related tests

* Add AddPolicyUpdateEvents method and update service registration for policy update events
2025-10-16 10:18:37 +01:00
Bernd Schoolmann
0fb7099620 Add feature flag (#6453) 2025-10-15 14:36:51 +02:00
Jordan Aasen
018ecc05ed remove feature flag (#6419) 2025-10-14 16:43:18 -07:00
Alex Morask
58e9b4aa9c Remove unused FF (#6455) 2025-10-14 18:42:29 +00:00
Alex Morask
f743d5e853 Save organization's customer ID before invoking hasPaymentMethodQuery (#6442) 2025-10-14 13:11:19 -05:00
Bernd Schoolmann
c2302c0dad Add feature flag (#6399) 2025-10-14 10:41:27 -05:00
renovate[bot]
2d41e64a8b [deps]: Update actions/setup-dotnet action to v5 (#6333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-14 10:39:57 +02:00
Kyle Denney
fedc6b865b [PM-25379] Refactor org metadata (#6441)
* ignore serena

* removing unused properties from org metadata

* removing further properties that can already be fetched on the client side using available data

* new vnext endpoint for org metadata plus caching metadata first pass

including new feature flag

# Conflicts:
#	src/Core/Constants.cs

* [PM-25379] decided against cache and new query shouldn't use the service

* pr feedback

removing unneeded response model

* run dotnet format
2025-10-13 10:49:55 -05:00
renovate[bot]
d3fbfc75f0 [deps]: Update anchore/scan-action action to v7 (#6393)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-13 15:36:04 +02:00
Nick Krantz
42568b6494 [PM-26316] Prevent users from sharing archived cipher (#6443)
* prevent users from sharing an archived cipher

* move check outside of encrypted check

* add check for cipher stored in the DB does not have an archive date
2025-10-13 08:03:57 -05:00
cyprain-okeke
84534eb8f9 Add the PremiumUpgradeNewDesign flag (#6438) 2025-10-13 13:14:49 +01:00
Hinton
7135fb1e7c Merge branch 'main' of github.com:bitwarden/server into arch/seeder-sdk
# Conflicts:
#	.gitignore
2025-10-12 18:03:09 -07:00
Hinton
638a6be6ae Update SDK 2025-10-12 17:59:29 -07:00
Hinton
6be734bb95 Get rid of some newlines 2025-10-12 17:57:35 -07:00
Hinton
1137857eba Add recipe for getting emergency access invites 2025-10-11 10:26:13 -07:00
John Harrington
ac20c84611 [PM-24747] Remove chromium importer feature flag (#6415) 2025-10-10 13:29:47 -07:00
Hinton
45ba8f83df Add support for setting email verified and premium in seed 2025-10-10 12:11:30 -07:00
Matt Gibson
99fb70ae6b use named parameters 2025-10-10 10:40:13 -07:00
Hinton
fac2804f02 Force ef 2025-10-10 10:39:14 -07:00
Ike
d722314e2d [PM-26551] MJML build script (#6417)
* docs: update readme for MJML
* docs: add readme for MailTemplates directory
* feat: add node build script for cross platform build support
2025-10-10 12:15:29 -04:00
Matt Gibson
a7340c905b Add delete batch for playwright worker cleanup 2025-10-10 08:55:31 -07:00
Jimmy Vo
6072104153 Ac/pm 25823/vnext policy upsert pattern (#6426) 2025-10-10 11:23:02 -04:00
Brant DeBow
a565fd9ee4 Add Microsoft Teams integration (#6410)
* Add Microsoft Teams integration

* Fix method naming error

* Expand and clean up unit test coverage

* Update with PR feedback

* Add documentation, add In Progress logic/tests for Teams

* Fixed lowercase Slack

* Added docs; Updated PR suggestions;

* Fix broken tests
2025-10-10 10:39:31 -04:00
Kyle Denney
3272586e31 Revert "[PM-25379] Refactor org metadata (#6418)" (#6439)
This reverts commit 3bef57259d.
2025-10-10 09:06:58 -05:00
Alex Morask
c9970a0782 Resolve tax estimation for Families scenarios (#6437) 2025-10-10 08:19:45 -05:00
Justin Baur
b39e486e08 Switch to using built in source link feature (#6297)
* Switch to using built in source link feature

* Switch to using types assembly

* Formatting

* Make version retrieval safer

* Add debug message

* Apply suggestions from code review

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
2025-10-10 09:14:27 -04:00
Matt Gibson
ec828943a4 Prefer Repositories for Delete of entities 2025-10-09 18:30:13 -07:00
Matt Gibson
13d666a8b0 Fixup user mangling 2025-10-09 17:53:11 -07:00
Hinton
9c4c88fa34 Wire up SDK 2025-10-09 17:32:41 -07:00
Matt Gibson
3d863c0fd1 Fixup device table user FK cascade 2025-10-09 16:47:47 -07:00
Hinton
44aef68c31 Merge branch 'arch/seeder-sdk' of github.com:bitwarden/server into arch/seeder-api
# Conflicts:
#	util/Seeder/Factories/UserSeeder.cs
2025-10-09 15:53:47 -07:00
Matt Gibson
431a708914 Delete all seeded data
Fixup single user recipe to inform of seeded entities
2025-10-09 15:36:29 -07:00
Hinton
fdd7cd0e2f Change the paths to wildcard to avoid errors on other platforms 2025-10-09 15:23:48 -07:00
Hinton
9a9c9918e2 Undo changes to program.cs 2025-10-09 15:04:09 -07:00
Hinton
5784d74d52 Add workaround for generated code 2025-10-09 15:00:35 -07:00
Kyle Denney
3bef57259d [PM-25379] Refactor org metadata (#6418)
* ignore serena

* removing unused properties from org metadata

* removing further properties that can already be fetched on the client side using available data

* new vnext endpoint for org metadata plus caching metadata first pass

including new feature flag

# Conflicts:
#	src/Core/Constants.cs

* [PM-25379] decided against cache and new query shouldn't use the service

* pr feedback

removing unneeded response model

* run dotnet format
2025-10-09 15:50:07 -05:00
Matt Gibson
d93cd50818 Fix launch settings 2025-10-09 12:28:53 -07:00
Alex Morask
34f5ffd981 [PM-26692] Count unverified setup intent as payment method during organization subscription creation (#6433)
* Updated check that determines whether org has payment method to include bank account when determining how to set trial_settings

* Run dotnet format
2025-10-09 13:20:28 -05:00
Matt Gibson
f4342e207b Add SingleUserRecipe for seeding a single known user 2025-10-09 11:14:17 -07:00
Hinton
4192b08aa5 Configure csproj to build rust 2025-10-09 10:39:28 -07:00
Hinton
12ad758f72 Add dedicated functions instead of updating existing 2025-10-09 09:59:14 -07:00
Mick Letofsky
712926996e PM-26727 - First iteration of Claude Code Review tuning (#6435)
* Sticky comments + pre-load specific project files + align prompts with clients repo
2025-10-09 16:54:14 +00:00
Hinton
185fbd04c6 Merge branch 'main' of github.com:bitwarden/server into arch/seeder-sdk
# Conflicts:
#	.gitignore
#	bitwarden-server.sln
2025-10-09 09:46:13 -07:00
Vijay Oommen
a6726d2e04 PM-26208 updated api endpoint (#6431) 2025-10-09 10:47:54 -05:00
renovate[bot]
fe32e885c6 [deps] Auth: Update Sustainsys.Saml2.AspNetCore2 to 2.11.0 (#6207)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-08 15:47:29 -04:00
Vincent Salucci
0fbc314fb4 [PM-24954] [PM-24955] Remove BulkResourceCreationService Feature Flag (#6428)
* chore: remove ff implementation and superflous tests, refs PM-24954

* chore: remove UpdateForKeyRotation vNext, refs PM-24954

* chore: remove CreateAsync vNext for ImportCiphersCommand, refs PM-24954

* chore: remove UpdateCiphersAsync vNext from CipherService, refs PM-24954

* chore: formatting, refs PM-24954

* chore: fix CipherRepositoryTests by removing vNext references, refs PM-24954

* chore: remove bulk cipher copy ff key, refs PM-24954
2025-10-08 12:21:02 -05:00
Vincent Salucci
14aa450e7c chore: remove limit item deletion feature flag reference, refs PM-17155 (#6423) 2025-10-08 10:04:02 -05:00