From 6fb8c77302499c50e2ab0493370701c405caeee4 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Sat, 26 Mar 2022 20:55:52 -0400 Subject: [PATCH 1/2] New package: vaultwarden-web-2022.6.2 --- .../vaultwarden-web/patches/v2022.6.0.patch | 311 ++++++++++++++++++ srcpkgs/vaultwarden-web/template | 30 ++ srcpkgs/vaultwarden-web/update | 2 + 3 files changed, 343 insertions(+) create mode 100644 srcpkgs/vaultwarden-web/patches/v2022.6.0.patch create mode 100644 srcpkgs/vaultwarden-web/template create mode 100644 srcpkgs/vaultwarden-web/update diff --git a/srcpkgs/vaultwarden-web/patches/v2022.6.0.patch b/srcpkgs/vaultwarden-web/patches/v2022.6.0.patch new file mode 100644 index 000000000000..1466ec8e82ac --- /dev/null +++ b/srcpkgs/vaultwarden-web/patches/v2022.6.0.patch @@ -0,0 +1,311 @@ +diff --git a/apps/web/src/404.html b/apps/web/src/404.html +index 6cf5e363d..54d11495c 100644 +--- a/apps/web/src/404.html ++++ b/apps/web/src/404.html +@@ -42,11 +42,10 @@ + +

+

+- You can return to the web vault, check our +- status page or +- contact us. ++ You can return to the web vault, or ++ contact us. +

+ +- ++ + + +diff --git a/apps/web/src/app/app.component.ts b/apps/web/src/app/app.component.ts +index 6c462a73e..4a9aeb936 100644 +--- a/apps/web/src/app/app.component.ts ++++ b/apps/web/src/app/app.component.ts +@@ -169,6 +169,10 @@ export class AppComponent implements OnDestroy, OnInit { + break; + } + case "showToast": ++ if (typeof message.text === "string" && typeof crypto.subtle === 'undefined') { ++ message.title="This browser requires HTTPS to use the web vault"; ++ message.text="Check the Vaultwarden wiki for details on how to enable it"; ++ } + this.showToast(message); + break; + case "setFullWidth": +diff --git a/apps/web/src/app/layouts/footer.component.html b/apps/web/src/app/layouts/footer.component.html +index 98836bfd5..a5356be72 100644 +--- a/apps/web/src/app/layouts/footer.component.html ++++ b/apps/web/src/app/layouts/footer.component.html +@@ -1,6 +1,6 @@ +