1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-05 10:02:47 -05:00
Commit Graph

67 Commits

Author SHA1 Message Date
339248ffaf Use upgrade path to change sponsorship
Sponsorships need to be annual to match the GB add-on charge rate
2021-11-10 14:10:30 -05:00
b61227d87e Add sponsorship available boolean to orgDetails 2021-11-08 19:06:32 -05:00
6357514064 Families for enterprise/stripe integrations (#1699)
* Add PlanSponsorshipType to static store

* Add sponsorship type to token and creates sponsorship

* PascalCase properties

* Require sponsorship for remove

* Create subscription sponsorship helper class

* Handle Sponsored subscription changes

* Add sponsorship id to subscription metadata

* Make sponsoring references nullable

This state indicates that a sponsorship has lapsed, but was not able to
be reverted for billing reasons

* WIP: Validate and remove subscriptions

* Update sponsorships on organization and org user delete

* Add friendly name to organization sponsorship
2021-11-08 17:01:09 -06:00
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
785705342c Add amazon.{pl,se} to Amazon equivalent domains (#1219) 2021-05-15 15:27:31 -04:00
70ab5b25a1 [Reset Password] Organization Key Pair (#1292)
* [Reset Password] Organization Key Pair

* Fixed type in Organization_ReadAbilites sproc

* Fixed broken unit test by making sure premium addon was false

* Updated PublicKey decorator and removed unecessary validation
2021-05-06 14:53:12 -05:00
261916daf6 add stackapps.com in global equivalent domains (#1209)
stackapps.com belongs to Stack Exchange
see https://stackexchange.com/sites
2021-03-30 16:40:08 -04:00
455e4b25cf Add protonmail/protonvpn global equivalent domains (#1224) 2021-03-22 11:08:34 -04:00
cf84453492 added a few global domains (#1129)
* added a few global domains

* fixed a domain
2021-02-02 11:15:33 -05:00
44c3dc4786 fix base seats on teams 2019 2020-09-07 09:19:33 -04:00
a8277cc58b updated stripe plan id for family (#916)
* updated stripe plan id for family

* updated famiies 2020 plan plan id
2020-09-06 00:48:04 -04:00
5842284915 added custom plan item to the static store (#907) 2020-09-02 15:52:45 -04:00
2cd6d4f61a plan adjustments (#890) 2020-08-25 14:23:36 -04:00
8383a0866f Add Yandex to global equivalent domains list (#876)
* [enum] Add Yandex to global equivalent domains list

Exhaustive list of Yandex domain names obtained by contacting their support.

* [Dictionary] Add Yandex to global equivalent domains list

Exhaustive list of Yandex domain names obtained by contacting their support.
2020-08-19 18:09:39 -04:00
80f57d22a7 Remove amazon.co.nz from Amazon equivalent domains (redirect) (#875)
After further research, amazon.co.nz has never been more than a redirect (in order: to amazon.com, amazon.co.uk then back to amazon.com). See PR for more information.
2020-08-18 18:42:10 -04:00
c65c52d997 Plan updates cleanup (#872)
* updated teams feature set for new plans

* removed whitespace

* alphabatized some properties
2020-08-17 10:45:37 -04:00
af85e17486 [Equivalent domains] Fix for the special case "eBay India" (#871)
See explanations in the PR.
2020-08-17 09:46:17 -04:00
2c430190cb Add all missing entries to Ebay equivalent domains (#869)
(+ sort the Ebay list alphabetically)
2020-08-14 09:54:05 -04:00
6aed80a67d Add amazon.{com.br, sa} to Amazon equivalent domains (#864)
(+ sort the Amazon list alphabetically)
2020-08-13 17:38:32 -04:00
c8220fdfa6 Plan And Price Updates (#859)
* Expanded the Plan model to make plan & product data a bit more dynamic 
* Created a Product enum to track versioned instances of the same plan
* Created and API call and Response model for getting plan & product data from the server
2020-08-11 14:19:56 -04:00
61b11e398b Added netcup to global equivalent domains list (#600) 2020-08-11 09:06:57 -04:00
562082e9ca Add a complete list of Eventbrite equivalent domains (#851)
This list was extracted using:

$ curl -s https://www.eventbrite.com/ |
    tr '"' '\n' |
    grep -o 'www\.eventbrite\.[^/]*' |
    sed 's/www\.//' |
    sort -u
2020-08-06 14:07:45 -04:00
44717b2d4c remove non-verified eventbrite equivalent domains 2020-08-04 08:02:44 -04:00
21834223fd Adds extra Amazon equivalent domains (#775) 2020-06-12 10:25:08 -04:00
d2625e47e1 Remove trailing comma and adjust formatting of some of the equivalent domain strings to match the rest (#773) 2020-06-09 16:53:48 -04:00
cad7cf0200 Add office.com to Microsoft default equivalent domains. (#769) 2020-06-06 21:08:26 -04:00
e1a0d59fd1 Added Discord to Global Equivalent Domain (#752)
* add Discord to GlobalEquivalentDomainsType

* added discord domains to global domains
2020-05-28 19:48:51 -04:00
c177714799 Remove www. URL from alibaba (#701) 2020-04-16 10:38:39 -04:00
d2fcf8f572 Additional Equivalent Domains Fix #649 (#662)
* Additional Equivalent Domains Fix #649

* Remove infinitysrv.com as resolves to 127.0.0.1
2020-03-04 10:55:58 -05:00
b6274ac728 Add Envato network to equivalent domain sets (#647)
* Add Envato network to equivalent domain sets

Envato is an Alexa top 500 website that asks you to use the same login on many different domains. The login forms are on those domains, not envato.com.

For my use case, account-level domain equivalence rules don’t work because I want to share this with a team, and multiple URLs per login is duplicative because we have multiple Envato logins.

tutsplus.com is another Envato domain that accepts Envato logins, but I believe it also accepts tutsplus.com-specific logins, making it not fully equivalent.

* Add Envato to GlobalEquivalentDomainsType
2020-02-01 15:31:40 -05:00
2c68e01e14 Add Docusign to equivalent domains (#642) 2020-01-23 22:10:23 -05:00
e8054df5b4 use policies property for orgs 2020-01-15 15:00:54 -05:00
f7512445e4 Add windowsazure.com to eq domains (#637)
* Add windowsazure.com to eq domains

* Add azure.com to eq domains
2020-01-10 11:53:11 -05:00
7957707559 add xbox to eq domains for microsoft 2019-08-13 22:53:17 -04:00
34eba3c465 Added AskUbuntu.com to StackExchange Domains (#538)
To make sure I wasn't missing any links, compiled a list of all the websites that you can check [here](https://gist.github.com/andre-paulo98/8cca381d09f2078b5eddc4e8516de3b4). [This is the source](https://stackexchange.com/sites?view=list#traffic)
2019-07-25 20:35:18 -04:00
da4918b4aa Fix Flickr equivalent domain with Yahoo (#512) 2019-06-05 08:00:49 -04:00
15cb0ad4c3 implement useapi and apikey 2019-03-02 15:09:33 -05:00
a5044b6e6c rename to PayPal 2019-02-01 22:25:34 -05:00
0b20f64f2d premium access addon for families plans 2018-11-20 22:02:09 -05:00
036c03bd19 Remove amazon.co.jp from GlobalEquivalentDomainsType (#368) 2018-09-28 23:43:29 -04:00
75d3c23376 Add steamgames.com as equivalent domain of Steam (#317) 2018-06-26 07:57:54 -04:00
bcc224c02d stub out use2fa and twofactorproviders on orgs 2018-04-02 14:53:19 -04:00
d336594c10 Add StackExchange sites to Equivalent Domains (#241) 2018-03-22 12:06:43 -04:00
2c8395cee5 StaticStore: add equivalent domains for Airbnb and Eventbrite (#182)
* GlobalEquivalentDomains: add Airbnb and Eventbrite

* StaticStore: add airbnb domains

List based on https://www.airbnb.com/sitemaps/localized

* StaticStore: sort airbnb domains

* StaticStore: add Eventbrite domains

No public list found, went through some `nslookup` bruteforce checks...

* StaticStore: add missing eventbrite.com
2018-01-08 08:51:00 -05:00
172fd2425e added org flag for UseEvents 2017-12-14 15:48:44 -05:00
22bc77415f eq domains updates 2017-11-13 12:23:57 -05:00
daefe0d66b rename plan to "Families" 2017-11-08 12:36:27 -05:00
0fdb9b3d2f change personal plan to family. allow self host 2017-11-06 16:01:58 -05:00
dd288a7071 installation validation and self host applied 2017-08-15 16:11:08 -04:00
a8ff190fb5 storage in billing and org signup 2017-07-11 10:25:00 -04:00