1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-14 20:31:23 +01:00
Commit Graph

5425 Commits

Author SHA1 Message Date
gbubemismith
e6c7722e32
Fixed lint issue 2025-01-09 17:08:05 -05:00
gbubemismith
897285faf1
bumped migration version 2025-01-09 17:02:03 -05:00
gbubemismith
67404715b6
Merge branch 'main' into vault/PM-14381 2025-01-09 16:59:31 -05:00
gbubemismith
c1c7f3f613
Fixed conflicts 2025-01-09 16:57:58 -05:00
gbubemismith
b4e890a1ef
Completed bulk create action 2025-01-09 16:54:16 -05:00
Shane Melton
2481ca1170
[PM-14378] Add unit tests for GetCipherPermissionsForUserQuery 2025-01-09 16:53:30 -05:00
Shane Melton
4cfbd3d631
[PM-14378] Introduce GetCipherPermissionsForOrganization method for Entity Framework 2025-01-09 16:53:30 -05:00
Shane Melton
a99afb6db5
[PM-14378] Introduce GetCipherPermissionsForOrganization query for Dapper CipherRepository 2025-01-09 16:53:30 -05:00
gbubemismith
a3ffb5fe96
Rebased 2025-01-09 16:51:08 -05:00
renovate[bot]
6bad785072
[deps] DbOps: Update dbup-sqlserver to v6 (#4951)
* [deps] DbOps: Update dbup-sqlserver to v6

* Update Migrator.csproj 

Update to 6.0.4

* Update Migrator.csproj

Change back to DBup 6.0.0

* update DbUpLogger.cs methods from the IUpgradeLog interface.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: rkac-bw <148072202+rkac-bw@users.noreply.github.com>
Co-authored-by: Robert Y <rkac@bitwarden.com>
2025-01-09 14:05:26 -07:00
Shane Melton
0605590ed2
[PM-14380] Add GET /tasks/organization endpoint (#5149)
* [PM-14380] Add GetManyByOrganizationIdStatusAsync to SecurityTaskRepository

* [PM-14380] Introduce IGetTasksForOrganizationQuery

* [PM-14380] Add /tasks/organization endpoint

* [PM-14380] Add unit tests

* [PM-14380] Formatting

* [PM-14380] Bump migration script date

* [PM-14380] Bump migration script date
2025-01-09 12:40:12 -08:00
gbubemismith
714666b6a3
Removed old migration 2025-01-09 15:30:25 -05:00
gbubemismith
239a1919ce
Fixed references 2025-01-09 15:28:02 -05:00
gbubemismith
770fa34359
Removed makshift security task operations 2025-01-09 15:25:57 -05:00
gbubemismith
fff7707275
Fixed merge conflicts 2025-01-09 15:24:24 -05:00
Shane Melton
a99f82dddd
[PM-14378] SecurityTask Authorization Handler (#5039)
* [PM-14378] Introduce GetCipherPermissionsForOrganization query for Dapper CipherRepository

* [PM-14378] Introduce GetCipherPermissionsForOrganization method for Entity Framework

* [PM-14378] Add integration tests for new repository method

* [PM-14378] Introduce IGetCipherPermissionsForUserQuery CQRS query

* [PM-14378] Introduce SecurityTaskOperationRequirement

* [PM-14378] Introduce SecurityTaskAuthorizationHandler.cs

* [PM-14378] Introduce SecurityTaskOrganizationAuthorizationHandler.cs

* [PM-14378] Register new authorization handlers

* [PM-14378] Formatting

* [PM-14378] Add unit tests for GetCipherPermissionsForUserQuery

* [PM-15378] Cleanup SecurityTaskAuthorizationHandler and add tests

* [PM-14378] Add tests for SecurityTaskOrganizationAuthorizationHandler

* [PM-14378] Formatting

* [PM-14378] Update date in migration file

* [PM-14378] Add missing awaits

* [PM-14378] Bump migration script date

* [PM-14378] Remove Unassigned property from OrganizationCipherPermission as it was making the query too complicated

* [PM-14378] Update sproc to use Union All to improve query performance

* [PM-14378] Bump migration script date
2025-01-09 12:14:24 -08:00
Jared McCannon
fd195e7cf3
Forgot to remove compliant users from the list. (#5241) 2025-01-09 14:13:29 -06:00
MtnBurrit0
f753829559
Always update the ephemeral environment when the label is added (#5240) 2025-01-09 10:50:03 -07:00
Conner Turnbull
6771f79597
Updated LicensingService to be a singleton again and moved IFeatureService up a frame in the call stack (#5238) 2025-01-09 12:40:16 -05:00
Vince Grassia
28d5535010
Update checkout action for cherry pick job (#5242) 2025-01-09 18:33:52 +01:00
Github Actions
9c6ad877cc Bumped version to 2025.1.2 2025-01-09 17:12:32 +00:00
MtnBurrit0
bd657c76cf
Remove unused workflow now that config has been migrated. (#5239) 2025-01-09 17:10:49 +00:00
Jared McCannon
ced4870309
Added push notification for when Collection management settings have been changed. (#5230) 2025-01-09 10:32:33 -06:00
Jared McCannon
e754ae4729
[PM-10319] - Send 2FA Email when policy enabled (#5233)
* Correcting which email is sent when enabling 2FA policy.

* Fixing the test.
2025-01-09 09:35:40 -06:00
renovate[bot]
fb72e82d9a
[deps] Tools: Update aws-sdk-net monorepo (#5168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 13:26:46 +01:00
renovate[bot]
f265911526
[deps] BRE: Update gh minor (#5016)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 10:09:55 +01:00
Jonathan Prusik
6793c81f07
add feature flag block-browser-injections-by-domain (#5234) 2025-01-08 18:36:18 -05:00
Todd Martin
a638f359e9
Revert updates to Microsoft.Extensions dependencies from v9 (#5235)
* Revert "[deps] Tools: Update Microsoft.Extensions.Configuration to v9 (#5072)"

This reverts commit cb7cbb630a.

* Revert "[deps] Tools: Update Microsoft.Extensions.DependencyInjection to v9 (#5073)"

This reverts commit 0b026404db.
2025-01-08 18:04:28 -05:00
Github Actions
90740c3369 Bumped version to 2025.1.1 2025-01-08 22:14:51 +00:00
Matt Bishop
92d9b88afb
Provide new feature flag context for devices (#5226) 2025-01-08 13:54:34 -05:00
Jared McCannon
377c7925e2
[PM-16607] - Removed feature flag logic pm-3479-secure-org-group-details (#5209)
* Removed feature flag logic pm-3479-secure-org-group-details

* Removing feature flag completely.
2025-01-08 11:34:05 -06:00
Ike
a84ef0724c
[PM-15614] Allow Users to opt out of new device verification (#5176)
feat(NewDeviceVerification) : 
* Created database migration scripts for VerifyDevices column in [dbo].[User].
* Updated DeviceValidator to check if user has opted out of device verification.
* Added endpoint to AccountsController.cs to allow editing of new User.VerifyDevices property.
* Added tests for new methods and endpoint.
* Updating queries to track [dbo].[User].[VerifyDevices].
* Updated DeviceValidator to set `User.EmailVerified` property during the New Device Verification flow.
2025-01-08 07:31:24 -08:00
Alex Morask
481a766cd2
Remove FF (#5163) 2025-01-08 09:49:24 -05:00
Jonas Hendrickx
b096568eea
Revert "Revert [PM-6201] (#5143)" (#5144)
This reverts commit c99b4106f5.
2025-01-08 09:26:40 +01:00
Patrick-Pimentel-Bitwarden
cc96e35072
Auth/pm 2996/add auth request data to devices response model (#5152)
fix(auth): [PM-2996] Add Pending Auth Request Data to Devices Response
- New stored procedure to fetch the appropriate data.
- Updated devices controller to respond with the new data.
- Tests written at the controller and repository level.
Resolves PM-2996
2025-01-07 15:52:53 -05:00
Addison Beck
5ae232e336
chore: expand tests of the new UpdateInstallationCommand (#5227) 2025-01-07 14:58:30 -05:00
cyprain-okeke
eeb1be1dba
[PM-15808]Show suspended org modals for orgs in 'unpaid' & 'canceled' status (#5228)
* Recreate changes on the closed pr

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Remove unused references

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

---------

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
2025-01-07 20:01:40 +01:00
renovate[bot]
61a8726492
[deps] Auth: Lock file maintenance (#5185)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 11:15:22 -05:00
Jimmy Vo
0e801ca622
[pm-5966] Fix Entity Framework query for MySQL (#5170)
Problem: The Entity Framework query was causing a compile-time error.

Changes:
1. Fixed the query.
2. Renamed the variable to replace the comment.
2025-01-07 10:01:23 -05:00
Jonas Hendrickx
2a6abb928d
[PM-16483] Change description for creating providers (#5206) 2025-01-07 12:45:55 +01:00
Addison Beck
90f7bfe63d
chore: update LastActivityDate on installation token refresh (#5081) 2025-01-06 13:22:03 -08:00
Addison Beck
cd7c4bf6ce
chore: move Installation and Push to platform's domain folders (#5085)
* chore: set up a `CODEOWNERS` space for platform

* chore: move sql objects for `Installation` to platform's domain

* chore: move `Installation` and `PushRelay` code to platform's domain
2025-01-06 18:10:53 +01:00
Jared McCannon
217b86ba9e
Modified view and models to pull Provider Type from the provider table for The ProviderUserOrganizationDetailsViewQuery (#5215) 2025-01-06 10:34:52 -06:00
Jared McCannon
03feb038b7
Changing the name of the menu item. (#5216) 2025-01-06 08:06:09 -06:00
Jonas Hendrickx
ff846280e5
[PM-16682] Provider setup tax information is not saved (#5211) 2025-01-05 11:14:38 +01:00
renovate[bot]
066cd4655d
[deps] BRE: Update codecov/codecov-action action to v5 (#5071)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-03 17:33:57 -05:00
Conner Turnbull
4871f0b956
Ran dotnet format (#5218)
* Ran `dotnet format`

* Re-added usings
2025-01-03 16:00:52 -05:00
Conner Turnbull
f74b94b5f7
[PM-16700] Handling nulls in UserLicenseClaimsFactory (#5217)
* Handling nulls in UserLicenseClaimsFactory

* Only setting Token if the flag is enabled
2025-01-03 20:34:29 +00:00
renovate[bot]
4b2030de77
[deps] BRE: Update anchore/scan-action action to v6 (#5180)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-03 11:35:28 -05:00
Jonas Hendrickx
3a8d10234b
[PM-16689] Fix swagger build (#5214) 2025-01-03 16:19:37 +01:00