summaryrefslogtreecommitdiff
path: root/elm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-03-23 12:38:19 +0100
committerYorhel <git@yorhel.nl>2021-03-23 12:38:21 +0100
commit5914360c90ee0a8bf6adc365ba8e80abcae0cf89 (patch)
treeb20f6454402662ce280d94a6a1e4b0954765f229 /elm
parent535a40a4eeb0d8bd53d60b2f8a24aba4452d1c74 (diff)
Add Outlook to blocked email providers
They've blocked VNDB for about 4 months now, but I was hoping it was temporary. Turns out it isn't, so may as well commit this message.
Diffstat (limited to 'elm')
-rw-r--r--elm/Lib/Util.elm25
-rw-r--r--elm/User/PassReset.elm2
-rw-r--r--elm/User/Register.elm5
3 files changed, 29 insertions, 3 deletions
diff --git a/elm/Lib/Util.elm b/elm/Lib/Util.elm
index 2ab174f9..60dbea13 100644
--- a/elm/Lib/Util.elm
+++ b/elm/Lib/Util.elm
@@ -97,6 +97,31 @@ shittyMailProvider s =
case String.split "@" s |> List.drop 1 |> List.head |> Maybe.withDefault "" |> String.toLower of
"sbcglobal.net" -> Just "AT&T"
"att.net" -> Just "AT&T"
+ "hotmail.ca" -> Just "Outlook"
+ "hotmail.cl" -> Just "Outlook"
+ "hotmail.co.jp" -> Just "Outlook"
+ "hotmail.co.uk" -> Just "Outlook"
+ "hotmail.com" -> Just "Outlook"
+ "hotmail.com.ar"-> Just "Outlook"
+ "hotmail.de" -> Just "Outlook"
+ "hotmail.es" -> Just "Outlook"
+ "hotmail.fr" -> Just "Outlook"
+ "hotmail.it" -> Just "Outlook"
+ "hotmail.nl" -> Just "Outlook"
+ "live.be" -> Just "Outlook"
+ "live.ca" -> Just "Outlook"
+ "live.co.uk" -> Just "Outlook"
+ "live.com" -> Just "Outlook"
+ "live.com.mx" -> Just "Outlook"
+ "live.de" -> Just "Outlook"
+ "live.fr" -> Just "Outlook"
+ "live.it" -> Just "Outlook"
+ "live.nl" -> Just "Outlook"
+ "live.no" -> Just "Outlook"
+ "live.ru" -> Just "Outlook"
+ "msn.com" -> Just "Outlook"
+ "outlook.com" -> Just "Outlook"
+ "outlook.fr" -> Just "Outlook"
_ -> Nothing
diff --git a/elm/User/PassReset.elm b/elm/User/PassReset.elm
index 5eb78313..56d149b1 100644
--- a/elm/User/PassReset.elm
+++ b/elm/User/PassReset.elm
@@ -76,7 +76,7 @@ view model =
Just n -> span []
[ br [] []
, b [ class "standout" ] [ text "WARNING: " ]
- , text (n ++ " is known to silently drop emails from VNDB. If your password reset email does not arrive in a few hours, please send a mail to contact@vndb.org.")
+ , text (n ++ " is known to silently drop emails from VNDB. If your password reset email does not arrive in a few hours, I'm afraid you're fucked, because I have no way to contact you. Please complain to your email provider.")
]
]
]
diff --git a/elm/User/Register.elm b/elm/User/Register.elm
index e9d8cab5..1b481e59 100644
--- a/elm/User/Register.elm
+++ b/elm/User/Register.elm
@@ -88,8 +88,9 @@ view model =
Just n -> span []
[ br [] []
, b [ class "standout" ] [ text "WARNING: " ]
- , text (n ++ " is known to silently drop emails from VNDB. If you have an address at another provider, you may want to use that."
- ++ " If you want to keep using this provider, please kindly tell them to stop blocking VNDB. Thanks.")
+ , text (n ++ " is known to silently drop emails from VNDB, so you may not be able to activate and use your account."
+ ++ " If you have an address at another provider, you may want to use that."
+ ++ " If you want to keep using this provider, please kindly tell them to stop blocking VNDB. I can't help you.")
, br [] []
]
, br_ 1