1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-16 01:51:21 +01:00
bitwarden-server/util
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
..
Attachments adjust params for attachments server 2020-11-05 11:39:15 -05:00
DigitalOceanMarketplace bitwarden update script without .sh suffix 2019-08-22 15:19:06 -04:00
Migrator Organization autoscaling (#1585) 2021-09-23 05:36:08 -05:00
MsSql Fix typo in backup-db.sql (#1459) 2021-07-14 10:49:10 -04:00
MySqlMigrations Organization autoscaling (#1585) 2021-09-23 05:36:08 -05:00
Nginx Fix upload limits for direct uploads (again) (#1479) 2021-08-04 09:00:30 +10:00
PostgresMigrations Organization autoscaling (#1585) 2021-09-23 05:36:08 -05:00
Server Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
Setup Fix SQL Connection String (#1584) 2021-09-16 10:54:46 -04:00