1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-24 12:35:25 +01:00
bitwarden-server/test/Core.Test/Services
Matt Gibson f44a59f7a9
Shard notification hub (#4450)
* Allow for binning of comb IDs by date and value

* Introduce notification hub pool

* Replace device type sharding with comb + range sharding

* Fix proxy interface

* Use enumerable services for multiServiceNotificationHub

* Fix push interface usage

* Fix push notification service dependencies

* Fix push notification keys

* Fixup documentation

* Remove deprecated settings

* Fix tests

* PascalCase method names

* Remove unused request model properties

* Remove unused setting

* Improve DateFromComb precision

* Prefer readonly service enumerable

* Pascal case template holes

* Name TryParse methods TryParse

* Apply suggestions from code review

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>

* AllClients is a set of clients and must be deduplicated

* Fix registration start time

* Add logging to initialization of a notification hub

* more logging

* Add lower level logging for hub settings

* Log when connection is resolved

* Improve log message

* Log pushes to notification hub

* temporarily elevate log messages for visibility

* Log in multi-service when relaying to another push service

* Revert to more reasonable logging free of user information

* Fixup merge

Deleting user was extracted to a command in #4803, this updates that work to use just the device ids as I did elsewhere in abd67e8ec

* Do not use bouncy castle exception types

* Add required services for logging

---------

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
Co-authored-by: bnagawiecki <107435978+bnagawiecki@users.noreply.github.com>
2024-10-22 12:20:57 -04:00
..
AmazonSesMailDeliveryServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
AzureQueuePushNotificationServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
CollectionServiceTests.cs Log events from the import organization flow (#4632) 2024-08-28 08:19:48 +10:00
DeviceServiceTests.cs [PM-5052] Upgrade to .NET 8 (#3461) 2024-02-05 13:03:42 -05:00
HandlebarsMailServiceTests.cs AC Team code ownership moves: Organization pt. 1 (#3472) 2023-11-28 17:18:08 -06:00
InMemoryApplicationCacheServiceTests.cs [AC-1284] AC Team code ownership moves - Provider (#3359) 2023-10-26 13:38:29 -04:00
InMemoryServiceBusApplicationCacheServiceTests.cs [AC-1284] AC Team code ownership moves - Provider (#3359) 2023-10-26 13:38:29 -04:00
LaunchDarklyFeatureServiceTests.cs Provide client device type and version info in feature flag contexts (#4755) 2024-09-10 12:49:46 -04:00
LicensingServiceTests.cs AC Team code ownership moves: Organization pt. 1 (#3472) 2023-11-28 17:18:08 -06:00
LocalAttachmentStorageServiceTests.cs [PM-1969] Spellcheck other (#2878) 2023-05-17 12:14:36 +02:00
MailKitSmtpMailDeliveryServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
MultiServicePushNotificationServiceTests.cs Shard notification hub (#4450) 2024-10-22 12:20:57 -04:00
NotificationsApiPushNotificationServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
RelayPushNotificationServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
RelayPushRegistrationServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
SendGridMailDeliveryServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
StripePaymentServiceTests.cs Removed automatic tax feature flag (#4487) 2024-07-10 07:32:41 -04:00
UserServiceTests.cs [PM-11404] Account Management: Prevent a verified user from purging their vault (#4853) 2024-10-17 16:06:32 +01:00