1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-28 22:51:22 +01:00
Commit Graph

3908 Commits

Author SHA1 Message Date
gbubemismith
e6c7722e32
Fixed lint issue 2025-01-09 17:08:05 -05:00
gbubemismith
b4e890a1ef
Completed bulk create action 2025-01-09 16:54:16 -05:00
Shane Melton
4cfbd3d631
[PM-14378] Introduce GetCipherPermissionsForOrganization method for Entity Framework 2025-01-09 16:53:30 -05:00
gbubemismith
a3ffb5fe96
Rebased 2025-01-09 16:51:08 -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
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
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
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
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
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
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
Jonas Hendrickx
3a8d10234b
[PM-16689] Fix swagger build (#5214) 2025-01-03 16:19:37 +01:00
Alex Morask
c14b192e0c
[PM-16684] Add a Pricing Client and mapping layer back to StaticStore.Plan (#5213)
* Add a Pricing Client and mapping layer back to StaticStore.Plan

* Run dotnet format

* Temporarily remove service registration to forego any unforseen side effects

* Run dotnet format
2025-01-03 10:14:07 -05:00
Alex Morask
bf2bf3c13f
[PM-14461] Return ProfileOrganizationResponse from subscription update (#5103)
* Return ProviderOrganizationResponse from subscription update

* QA: Fix SM trial seat adjustment
2025-01-02 15:37:12 -05:00
Jonas Hendrickx
97e11774e3
[PM-13999] show estimated tax for taxable countries (#5110) 2025-01-02 20:27:53 +01:00
renovate[bot]
1062c6d522
[deps] Billing: Update Sentry.Serilog to v5 (#5182)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 16:13:16 +01:00
cyprain-okeke
d924c6721a
[PM-15814]Alert owners of reseller-managed orgs to renewal events (#5193)
* Changes for the admin console alert

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

* Fix the failing test

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

* Add the feature flag

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

---------

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
2024-12-31 18:06:29 +01:00
gbubemismith
72b121d001
Added JsonConverter attribute to allow enum value to be passed as string 2024-12-27 10:09:54 -05:00
Robyn MacCallum
854119b58c
Add app review prompt flag (#5190) 2024-12-26 14:50:23 -05:00
gbubemismith
8868b3c20f
Fixed lint issue 2024-12-23 18:49:15 -05:00
gbubemismith
e7abb094ac
removed hard coded table name 2024-12-23 18:44:32 -05:00
gbubemismith
6df61321d3
Completed bulk create action 2024-12-23 18:08:04 -05:00
gbubemismith
04c7c56fde
Registered command 2024-12-23 18:07:43 -05:00
gbubemismith
6aaba7e7ac
Changed return to return list of created security tasks 2024-12-23 17:53:57 -05:00
gbubemismith
d2bed0985e
Added comment 2024-12-23 17:43:51 -05:00
gbubemismith
67f3215234
Added the implementation for the create manys tasks command 2024-12-23 17:43:33 -05:00
gbubemismith
7738ce454e
added security authorization handler work temp 2024-12-23 17:03:29 -05:00
gbubemismith
74b25da471
Merge commit 'refs/pull/5039/head' of https://github.com/bitwarden/server into vault/PM-14381 2024-12-23 17:02:31 -05:00
gbubemismith
ba848ce082
created create many tasks command interface and class 2024-12-23 16:03:34 -05:00
gbubemismith
0adb3e351d
Refactored request model 2024-12-23 15:53:15 -05:00