vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit adf40291e886b46f6241de5eb464057eac610ad3
parent acfc900997794cbaf9988d107a5fd062e2c6821e
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Tue, 16 Oct 2018 16:18:04 +0200

Update web vault to 2.4.0

Diffstat:
MDockerfile | 2+-
MDockerfile.aarch64 | 2+-
MDockerfile.alpine | 2+-
MDockerfile.armv7 | 2+-
Mdocker/set-vault-baseurl.patch | 5++---
5 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/Dockerfile b/Dockerfile @@ -4,7 +4,7 @@ ####################### VAULT BUILD IMAGE ####################### FROM node:8-alpine as vault -ENV VAULT_VERSION "v2.3.0" +ENV VAULT_VERSION "v2.4.0" ENV URL "https://github.com/bitwarden/web.git" diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 @@ -4,7 +4,7 @@ ####################### VAULT BUILD IMAGE ####################### FROM node:8-alpine as vault -ENV VAULT_VERSION "v2.3.0" +ENV VAULT_VERSION "v2.4.0" ENV URL "https://github.com/bitwarden/web.git" diff --git a/Dockerfile.alpine b/Dockerfile.alpine @@ -4,7 +4,7 @@ ####################### VAULT BUILD IMAGE ####################### FROM node:8-alpine as vault -ENV VAULT_VERSION "v2.3.0" +ENV VAULT_VERSION "v2.4.0" ENV URL "https://github.com/bitwarden/web.git" diff --git a/Dockerfile.armv7 b/Dockerfile.armv7 @@ -4,7 +4,7 @@ ####################### VAULT BUILD IMAGE ####################### FROM node:8-alpine as vault -ENV VAULT_VERSION "v2.3.0" +ENV VAULT_VERSION "v2.4.0" ENV URL "https://github.com/bitwarden/web.git" diff --git a/docker/set-vault-baseurl.patch b/docker/set-vault-baseurl.patch @@ -1,6 +1,6 @@ --- a/src/app/services/services.module.ts +++ b/src/app/services/services.module.ts -@@ -120,20 +120,17 @@ const notificationsService = new NotificationsService(userService, syncService, +@@ -120,20 +120,16 @@ const notificationsService = new NotificationsService(userService, syncService, const environmentService = new EnvironmentService(apiService, storageService, notificationsService); const auditService = new AuditService(cryptoFunctionService, apiService); @@ -22,7 +22,6 @@ + const isDev = false; + environmentService.baseUrl = window.location.origin; + environmentService.notificationsUrl = window.location.origin + '/notifications'; -+ - await apiService.setUrls({ + apiService.setUrls({ base: isDev ? null : window.location.origin, api: isDev ? 'http://localhost:4000' : null,