1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-19 02:21:21 +01:00
bitwarden-server/test
SmithThe4th 46004b9c68
[PM-14381] Add POST /tasks/bulk-create endpoint (#5188)
* [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

* Added bulk create request model

* Created sproc to create bulk security tasks

* Renamed tasks to SecurityTasksInput

* Added create many implementation for sqlserver and ef core

* removed trailing comma

* created ef implementatin for create many and added integration test

* Refactored request model

* Refactored request model

* created create many tasks command interface and class

* added security authorization handler work temp

* Added the implementation for the create manys tasks command

* Added comment

* Changed return to return list of created security tasks

* Registered command

* Completed bulk create action

* Added unit tests for the command

* removed hard coded table name

* Fixed lint issue

* Added JsonConverter attribute to allow enum value to be passed as string

* Removed makshift security task operations

* Fixed references

* Removed old migration

* Rebased

* [PM-14378] Introduce GetCipherPermissionsForOrganization query for Dapper CipherRepository

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

* [PM-14378] Add unit tests for GetCipherPermissionsForUserQuery

* Completed bulk create action

* bumped migration version

* Fixed lint issue

* Removed complex sql data type in favour of json string

* Register IGetTasksForOrganizationQuery

* Fixed lint issue

* Removed tasks grouping

* Fixed linting

* Removed unused code

* Removed unused code

* Aligned with client change

* Fixed linting

---------

Co-authored-by: Shane Melton <smelton@bitwarden.com>
2025-02-05 16:56:01 -05:00
..
Admin.Test Remove FF (#5163) 2025-01-08 09:49:24 -05:00
Api.IntegrationTest [PM-11730] Remove feature flag: AC-2476-deprecate-stripe-sources-api (#5201) 2025-01-24 13:38:35 -05:00
Api.Test [PM-11162] Assign to Collection Permission Update (#4844) 2025-02-04 15:45:24 -05:00
Billing.Test [deps] Billing: Update FluentAssertions to v7 (#5127) 2024-12-10 15:21:26 -05:00
Common [PM-17562] Refactor existing RabbitMq implementation (#5357) 2025-02-04 09:02:43 -05:00
Core.Test [PM-14381] Add POST /tasks/bulk-create endpoint (#5188) 2025-02-05 16:56:01 -05:00
Events.IntegrationTest Scaffold Events Integration Tests (#5355) 2025-01-31 11:08:07 -05:00
Events.Test Include all projects in coverage (#3829) 2024-02-20 17:18:40 +01:00
EventsProcessor.Test Include all projects in coverage (#3829) 2024-02-20 17:18:40 +01:00
Icons.Test Fix Broken Icon Unit Test (#4151) 2024-06-03 09:58:53 -04:00
Identity.IntegrationTest chore: move Installation and Push to platform's domain folders (#5085) 2025-01-06 18:10:53 +01:00
Identity.Test [PM-17709] Send New Device Login email for all new devices (#5340) 2025-01-31 10:46:09 -05:00
Infrastructure.Dapper.Test [deps] Billing: Update xunit to 2.9.3 (#5289) 2025-01-30 10:58:14 -05:00
Infrastructure.EFIntegration.Test [PM-14894] Drop Tax Rate tables - Stage 1 (#5236) 2025-01-10 16:39:02 +01:00
Infrastructure.IntegrationTest [PM-14381] Add POST /tasks/bulk-create endpoint (#5188) 2025-02-05 16:56:01 -05:00
IntegrationTestCommon Scaffold Events Integration Tests (#5355) 2025-01-31 11:08:07 -05:00
Notifications.Test Include all projects in coverage (#3829) 2024-02-20 17:18:40 +01:00
Bitwarden.Tests.proj Devcontainer Improvements (#4466) 2024-07-08 10:48:02 -04:00