From b9d00839d7a3f97706080353389061103e4b1ebc Mon Sep 17 00:00:00 2001
From: BlackDex
Date: Thu, 4 Aug 2022 18:54:30 +0200
Subject: [PATCH] Update web-vault to v2022.8.1
This version has a new feature which isn't supported yet by vaultwarden.
It shouln't be that hard to add this functionality i think.
You can now revoke and restore user access to an org.
---
Dockerfile | 4 +-
patches/v2022.8.0.patch | 314 +++++++++++++++++++++++++++++++++
scripts/generate_patch_file.sh | 2 +-
3 files changed, 317 insertions(+), 3 deletions(-)
create mode 100644 patches/v2022.8.0.patch
diff --git a/Dockerfile b/Dockerfile
index a963507..7215a4b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -28,8 +28,8 @@ USER node
# Can be a tag, release, but prefer a commit hash because it's not changeable
# https://github.com/bitwarden/clients/commit/${VAULT_VERSION}
#
-# Using https://github.com/bitwarden/clients/releases/tag/web-v2022.6.2
-ARG VAULT_VERSION=c0cb88a733c677fae84e517fbc63d7d16cb912c2
+# Using https://github.com/bitwarden/clients/releases/tag/web-v2022.8.1
+ARG VAULT_VERSION=b49091b4209903d074bfc68b8f1514c15af861ab
RUN git clone https://github.com/bitwarden/clients.git /vault
WORKDIR /vault
diff --git a/patches/v2022.8.0.patch b/patches/v2022.8.0.patch
new file mode 100644
index 0000000..c6a4869
--- /dev/null
+++ b/patches/v2022.8.0.patch
@@ -0,0 +1,314 @@
+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.
+
+
+-
++
+