1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-16 01:51:21 +01:00
bitwarden-server/src/Core/Models
Matt Gibson d39f45c81c
Organization autoscaling (#1585)
* Add autoscale fields to Organization

* Add autoscale setting changes

* Autoscale organizations

updates InviteUsersAsync to support all invite sources.

sends an email to org owners when organization autoscaled

* All organizations autoscale

Disabling autoscaling can be done by setting max seats to current seats.

We only warn about autoscaling on the first autoscaling event.

* Fix tests

* Bug fixes

* Simplify subscription update logic

* Void invoices that fail to delete

Stripe no longer allows deletion of draft invoices that were created as part of subscription updates. It's necessary to void out these invoices without sending tem to the client.

* Notify org owners when their subscription runs out of seats

* Use datetime for notifications

Allows for later re-sending email if we want to periodically remind
owners

* Do not update subscription if it already matches new quatity

* Include all migrations

* Remove unnecessary inline styling

* SubscriptionUpdate handles update decisions

* Remove unnecessary html setter

* PR review

* Use minimum access for class methods
2021-09-23 05:36:08 -05:00
..
Api Organization autoscaling (#1585) 2021-09-23 05:36:08 -05:00
Business Organization autoscaling (#1585) 2021-09-23 05:36:08 -05:00
Data [Provider] Prevent including pending organizations in SyncResponse (#1482) 2021-07-22 22:18:34 +02:00
EntityFramework [Provider] Add support for events (#1447) 2021-07-15 16:37:27 +02:00
Mail Organization autoscaling (#1585) 2021-09-23 05:36:08 -05:00
StaticStore Organization autoscaling (#1585) 2021-09-23 05:36:08 -05:00
Table Organization autoscaling (#1585) 2021-09-23 05:36:08 -05:00
IExternal.cs stub out new scim api for dir sync 2017-12-12 13:22:37 -05:00
ITwoFactorProvidersUser.cs return twofactor enabled property on org users api 2018-12-19 11:48:36 -05:00
PushNotification.cs enabled send and added send sync notifications (#1106) 2021-01-22 16:16:40 -05:00
TwoFactorProvider.cs Prevent error when using WebAuthn as non premium user (#1331) 2021-05-17 09:39:40 +02:00