1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-24 12:48:48 -05:00

5983 Commits

Author SHA1 Message Date
voommen-livefront
48b967bc79 Merge branch 'main' into dirt/pm-20576/report-store-query-commands 2025-06-23 12:23:42 -05:00
Graham Walker
173db0a2dd
PM-20574 & PM-20575 Adding Risk Insight Report tables, repositories, and migrations (#5839)
* PM-20574 fixing namespaces on reporting work that got moved over from tools

* PM-20574 adding tables, stored procedures, and migration files

* PM-20574 adding dapper and ef repos and migrations

* PM-20574 changing table and repo names as requested

* PM-20574 updating sql scripts to new names

* PM-20574 updating sql scripts

* PM-20574 updating migration script for org delete by id

* PM-20574 adding mysql migration

* PM-20574 updating sql migration to fix database test

* PM-20574 fixing migration script

* PM-20574 fixing migration script

* PM-20574 fixing table scripts

* PM-20574 fixing table scripts

* PM-20574 fixing migration script formatting

* PM-20574 fixing syntax in migration script

* PM-20574 fixing file names and extensions

* PM-20574 fixing sql file

* PM-20574 fixing sql

* PM-20574 fixing directory for entities and removing scripts from other databases

* PM-20574 generating new migration scripts

* PM-20574 fixed reference to a stored proc

* PM-20574 adding index in scripts and missing table

* PM-20574 fixing merge conflicts

* PM-20574 set OUTPUT param for Id property in create and update proc

* PM-20574 add CreateDate to the update proc

* PM-20574 amend update proc for OrganizationApplication by adding createDate

* PM-20574 formatted sql and updated as per PR comments

* PM-20574 updated script to fix build error

* PM-20574 fixed inconsistency in db script

* PM-20574 removed revisionDate, update procedures and used views

* PM-20574 removed RevisionDate from designer files

* PM-20574 removed revisionDate column that was missed previously

* PM-20574 added revision date back into the mix

* PM-20574 updated database script to fix build error

* PM-20574 fixed a procedure issue

* PM-20574 fix dB build error

* PM-020574 fixed additional PR comments - files cleaned up

* PM-20574 updated procedure was inconsistent

* Update 2025-06-13-00_OrganizationReport.sql

---------

Co-authored-by: voommen-livefront <voommen@livefront.com>
2025-06-23 12:12:04 -05:00
Jared McCannon
d2410747d0
[PM-22503] Fix manage cipher permission (#5972)
* Added new tests to validate that the ciphers are being grouped and filtered correctly when assigned to multiple collections and changing order of grouping properties.
2025-06-23 11:11:32 -05:00
voommen-livefront
0bc3b8a965 PM-20576 removed RevisionDate from Repo and tests 2025-06-23 09:59:49 -05:00
voommen-livefront
e6ba90c410 PM-20576 fixed a build error 2025-06-23 09:51:33 -05:00
voommen-livefront
5f1a9d0d95 Merge branch 'dirt/pm-20574/database_tables_and_scripts_riskinsights' into dirt/pm-20576/report-store-query-commands 2025-06-23 09:42:04 -05:00
voommen-livefront
6999a3ac8e PM-20576 added logs and updated errors as per PR comments 2025-06-23 09:39:05 -05:00
voommen-livefront
e132e1db10 PM-20574 updated procedure was inconsistent 2025-06-20 16:09:24 -05:00
voommen-livefront
d9a7d2a473 PM-020574 fixed additional PR comments - files cleaned up 2025-06-20 16:02:46 -05:00
voommen-livefront
4e0caf840c PM-20574 fix dB build error 2025-06-20 15:59:34 -05:00
voommen-livefront
8d61aebfe4 PM-20574 fixed a procedure issue 2025-06-20 15:28:48 -05:00
voommen-livefront
a9553aecbd PM-20574 updated database script to fix build error 2025-06-20 15:17:16 -05:00
voommen-livefront
d6f4b85de9 PM-20574 added revision date back into the mix 2025-06-20 15:01:32 -05:00
voommen-livefront
bfeb572147 PM-20574 removed revisionDate column that was missed previously 2025-06-20 14:26:26 -05:00
voommen-livefront
57c01c3298 PM-20574 removed RevisionDate from designer files 2025-06-20 14:12:23 -05:00
voommen-livefront
22a89cc8da PM-20574 removed revisionDate, update procedures and used views 2025-06-20 13:56:10 -05:00
Colton Hurst
cdfe51f9d6
[PM-22783] Add windows-desktop-autotype feature flag (#5990) 2025-06-20 14:02:48 -04:00
Andy Pixley
b13c950328
[BRE-848] Adding Workflow Permissions (#5985) 2025-06-20 12:15:38 -04:00
voommen-livefront
ff72e768d7 Merge branch 'dirt/pm-20574/database_tables_and_scripts_riskinsights' into dirt/pm-20576/report-store-query-commands 2025-06-19 10:58:29 -05:00
voommen-livefront
360ee89d4e PM-20574 fixed inconsistency in db script 2025-06-18 17:09:25 -05:00
voommen-livefront
f63bde0ec5 PM-20574 updated script to fix build error 2025-06-18 16:53:09 -05:00
voommen-livefront
76821788d7 PM-20574 formatted sql and updated as per PR comments 2025-06-18 16:32:41 -05:00
voommen-livefront
9c5bddf0cb PM-20576 added additional unit tests to fix CodeCoverage report 2025-06-18 14:44:31 -05:00
voommen-livefront
4412e6ce2f PM-20576 Commands and Query for OrganizationReport 2025-06-18 14:14:32 -05:00
voommen-livefront
4636e315cc PM-20576 Created OrganizationReportRepo and unit tests 2025-06-18 12:03:32 -05:00
voommen-livefront
6356e94447 PM-20574 amend update proc for OrganizationApplication by adding createDate 2025-06-18 12:00:30 -05:00
voommen-livefront
d4b2024135 PM-20574 add CreateDate to the update proc 2025-06-18 11:59:21 -05:00
voommen-livefront
0d50e1114a PM-20574 set OUTPUT param for Id property in create and update proc 2025-06-18 11:17:09 -05:00
Addison Beck
91b4ef756b
build(ci): remove the need to cherry pick version bumps to rc (#5977) 2025-06-18 16:47:30 +02:00
Nick Krantz
05d74754d2
add PM22134SdkCipherListView feature flag (#5980) 2025-06-18 09:29:48 -05:00
Brant DeBow
502ab4b645
[PM-17562] Fix flickering unit test - WebhookIntegrationHandlerTests (#5973)
* [PM-17562] Fix flickering unit test - WebhookIntegrationHandlerTests

* Adjust to using TimeProvider and exact time matches

* Refactored RabittMqIntegrationListenerService and Tests to align on TimeProvider. Cleaned up tests that do not need to use DateTime.UtcNow
2025-06-18 10:09:47 -04:00
Justin Baur
6800bc57f3
[PM-18555] Main part of notifications refactor (#5757)
* More tests

* More  tests

* Add non-guid tests

* Introduce slimmer services

* Implement IPushEngine on services

* Implement IPushEngine

* Fix tests

* Format

* Switch to `Guid` on `PushSendRequestModel`

* Remove TODOs
2025-06-17 13:30:56 -04:00
voommen-livefront
661528ccb7 PM-20574 fixing merge conflicts 2025-06-17 12:17:17 -05:00
voommen-livefront
618f5338b3 Merge branch 'main' into dirt/pm-20574/database_tables_and_scripts_riskinsights 2025-06-17 11:44:15 -05:00
voommen-livefront
7151ae40bd PM-20574 adding index in scripts and missing table 2025-06-17 11:12:27 -05:00
Vincent Salucci
6dc26f4be6
chore: remove external id feature flag, refs PM-18634 (#5974) 2025-06-17 10:55:42 -05:00
voommen-livefront
ceebfd7f57 PM-20574 fixed reference to a stored proc 2025-06-17 10:33:16 -05:00
✨ Audrey ✨
a3c5741164
[PM-22610] validate file within max length; log deletion of invalid uploads (#5960) 2025-06-17 15:07:26 +00:00
Patrick Honkonen
0a5dc04d9e
[PM-22458] Add user managed privileged apps FF for Android (#5935) 2025-06-17 14:48:11 +00:00
Alexey Zilber
17507446a4
Added SendGridApiHost to Globals (#5961)
* Added SendGridApiHost to Globals

* Added SendGridApiHost for test coverage
2025-06-17 21:35:38 +08:00
Brant DeBow
a529492d1d
[PM-17562] Update documentation for event integrations (#5924)
* [PM-17562] Update documentation for event integrations

* Fix SonarQube suggestion, bring ASB event listener in line with integration listener

* Apply suggestions from code review

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

* Updates to README - PR fixes, additional context, tense alignment

* Fix the formatting for inlined code snippets

* Add links to different sections; remove inline code formatting in favor of single bacticks for JSON

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
2025-06-17 08:38:16 -04:00
Rui Tomé
5ffa937914
[PM-22098] Create default collection when organization member is confirmed (#5944)
* Add RequiresDefaultCollection method to PersonalOwnershipPolicyRequirement

* Add CreateDefaultLocation feature flag to Constants.cs

* Add DefaultUserCollectionName property to OrganizationUserConfirmRequestModel with encryption attributes

* Update PersonalOwnershipPolicyRequirement instantiation in tests to use constructor with parameters instead of property assignment

* Enhance ConfirmOrganizationUserCommand to support default user collection creation. Added logic to check if a default collection is required based on organization policies and feature flags. Updated ConfirmUserAsync method signature to include an optional defaultUserCollectionName parameter. Added corresponding tests to validate the new functionality.

* Refactor Confirm method in OrganizationUsersController to use Guid parameters directly, simplifying the code. Updated ConfirmUserAsync call to include DefaultUserCollectionName from the input model.

* Move logic for handling confirmation side effects into a separate method

* Refactor PersonalOwnershipPolicyRequirement to use enum for ownership state

- Introduced PersonalOwnershipState enum to represent allowed and restricted states.
- Updated PersonalOwnershipPolicyRequirement constructor and properties to utilize the new enum.
- Modified related classes and tests to reflect changes in ownership state handling.
2025-06-17 12:20:22 +01:00
Tom
b8244908ec
[PM-20112] Member access stored proc and splitting the query (#5943) 2025-06-16 16:32:36 -05:00
Github Actions
66d1c70dc6 Bumped version to 2025.6.2 2025-06-16 13:09:36 +00:00
Graham Walker
26908b2786
Merge branch 'main' into dirt/pm-20574/database_tables_and_scripts_riskinsights 2025-06-13 19:42:40 -05:00
Graham Walker
7d2b12b715
PM-20574 generating new migration scripts 2025-06-13 16:59:20 -05:00
Graham Walker
d4e284f50a
PM-20574 fixing directory for entities and removing scripts from other databases 2025-06-13 16:37:02 -05:00
Jimmy Vo
4a12120950
[PM-19703] Fix admin count logic to exclude current organization (#5918) 2025-06-13 16:27:48 -04:00
Graham Walker
85c4837714
PM-20574 fixing sql 2025-06-13 15:15:43 -05:00
Graham Walker
093731bbb6
PM-20574 fixing sql file 2025-06-13 13:45:38 -05:00