From 76833b25745e270cbc27fecdb9d05679105cc0de Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 26 Oct 2021 12:21:27 +0200 Subject: [PATCH 1/8] Update app.src --- conf/app.src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/app.src b/conf/app.src index 4362b3a..09d4f62 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/dani-garcia/vaultwarden/archive/1.22.2.tar.gz -SOURCE_SUM=c0d6e30033f4660086a63462b2cecd245a4c314d6c4abbd5b3b4a6f721a912237e7b85fd2967ee58756da4713b19d08ca559be02c97e0e8ece65832558af61b6 +SOURCE_URL=https://github.com/dani-garcia/vaultwarden/archive/1.23.0.tar.gz +SOURCE_SUM=2cfe2018fd049b6df63cdfbcd296a259d061b3034bc3b382bfc64cfe16bb0632 SOURCE_SUM_PRG=sha512sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true From aa43ecc8386d73b349bef4c90a80244f84e6d53b Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 26 Oct 2021 12:24:55 +0200 Subject: [PATCH 2/8] Update web.src --- conf/web.src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/web.src b/conf/web.src index c1b822e..ed05a07 100644 --- a/conf/web.src +++ b/conf/web.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/dani-garcia/bw_web_builds/releases/download/v2.21.1/bw_web_v2.21.1.tar.gz -SOURCE_SUM=93463160903769ef6a9f944f031f8bf76973cd664c11bfcb24af6856a7161ba5d3e55ac5534b22e3e88b61e18bb4ead0029e120f937c8945e2d49a76af68f290 +SOURCE_URL=https://github.com/dani-garcia/bw_web_builds/releases/download/v2.23.0/bw_web_v2.23.0.tar.gz +SOURCE_SUM=d91e82151a72d04c86686e02ec1eced644005dfb2655adeec6dd1cea1b631dcdcb338e3e526caad14b74d50de1a3e7651e5a2bad159f168cd408f04737d25667 SOURCE_SUM_PRG=sha512sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true From 14bf66e1eb3af5c969d95a9291b2a1c333773bb6 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 26 Oct 2021 12:25:24 +0200 Subject: [PATCH 3/8] Update app.src --- conf/app.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/app.src b/conf/app.src index 09d4f62..9b7dbd3 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ SOURCE_URL=https://github.com/dani-garcia/vaultwarden/archive/1.23.0.tar.gz -SOURCE_SUM=2cfe2018fd049b6df63cdfbcd296a259d061b3034bc3b382bfc64cfe16bb0632 +SOURCE_SUM=2ddfe1c1cb36ab008de98c9674ee127140268f8b44dbd82a2193a25caa461a0133261c970eb8d8276eb9d0db9f24e3fd0fe6deeee7cc55e2d980b8c7188011fb SOURCE_SUM_PRG=sha512sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true From b725ab14f5e79d79eeb5c6d759aa4676d4569a49 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 26 Oct 2021 12:26:23 +0200 Subject: [PATCH 4/8] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 2a6adee..52eff26 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Manage passwords and other sensitive informations", "fr": "Gérez les mots de passe et autres informations sensibles" }, - "version": "1.22.2~ynh1", + "version": "1.23.0~ynh1", "url": "https://github.com/dani-garcia/vaultwarden", "upstream": { "license": "GPL-3.0-or-later", From 1d132a27f093de5e65b7b48189524c83bd4eba2f Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 26 Oct 2021 12:32:57 +0200 Subject: [PATCH 5/8] Update check_process --- check_process | 2 ++ 1 file changed, 2 insertions(+) diff --git a/check_process b/check_process index 7ca8da9..7ad0587 100644 --- a/check_process +++ b/check_process @@ -37,3 +37,5 @@ Notification=all name=1.21.0~ynh1 ; commit=703d5a9cb86d127c7723bb380d7c392a8eb9e703 name=1.21.0~ynh2 + ; commit=c233d94d76cae449630c59ce228b7a3c72f8fa12 + name=1.22.2~ynh1 From d7b3e8e8394ebd0e1e4177bc5bceca28c7cafb17 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Sun, 21 Nov 2021 19:04:46 +0000 Subject: [PATCH 6/8] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 175bf24..d38d888 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Manage passwords and other sensitive informations -**Shipped version:** 1.22.2~ynh1 +**Shipped version:** 1.23.0~ynh1 **Demo:** https://vault.bitwarden.com/#/register diff --git a/README_fr.md b/README_fr.md index d825700..eb0f5f6 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Gérez les mots de passe et autres informations sensibles -**Version incluse :** 1.22.2~ynh1 +**Version incluse :** 1.23.0~ynh1 **Démo :** https://vault.bitwarden.com/#/register From e3d36cee97b66e15029e4ff04b7ff158f34b0c2a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 5 Dec 2021 12:38:04 +0100 Subject: [PATCH 7/8] update web --- check_process | 8 ++++---- conf/nginx.conf | 5 ----- conf/web.src | 5 ++--- manifest.json | 8 +++----- scripts/restore | 5 +---- 5 files changed, 10 insertions(+), 21 deletions(-) diff --git a/check_process b/check_process index 7ad0587..846f814 100644 --- a/check_process +++ b/check_process @@ -5,10 +5,10 @@ ;; Test complet ; Manifest - domain="domain.tld" (DOMAIN) - path="/path" (PATH) - admin="john" (USER) - is_public=1 (PUBLIC|public=1|private=0) + domain="domain.tld" + path="/path" + admin="john" + is_public=1 ; Checks pkg_linter=1 setup_sub_dir=1 diff --git a/conf/nginx.conf b/conf/nginx.conf index 5d8827b..aade80d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,11 +4,6 @@ location __PATH__/ { # Path to source alias __FINALPATH__/ ; - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file client_max_body_size 100M; diff --git a/conf/web.src b/conf/web.src index ed05a07..bcb690d 100644 --- a/conf/web.src +++ b/conf/web.src @@ -1,7 +1,6 @@ -SOURCE_URL=https://github.com/dani-garcia/bw_web_builds/releases/download/v2.23.0/bw_web_v2.23.0.tar.gz -SOURCE_SUM=d91e82151a72d04c86686e02ec1eced644005dfb2655adeec6dd1cea1b631dcdcb338e3e526caad14b74d50de1a3e7651e5a2bad159f168cd408f04737d25667 +SOURCE_URL=https://github.com/dani-garcia/bw_web_builds/releases/download/v2.23.0/bw_web_v2.24.1.tar.gz +SOURCE_SUM=f883f3746d245ad15816db477af35fba626ada420103b4b7ef54f062033b80384c71aed873a7db6800f906a3dd9afd4d8a9a0677142675e7eeac0285a3a8426e SOURCE_SUM_PRG=sha512sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_FILENAME= SOURCE_EXTRACT=true diff --git a/manifest.json b/manifest.json index 52eff26..95ceadb 100644 --- a/manifest.json +++ b/manifest.json @@ -20,7 +20,7 @@ "name": "yalh76" }, "requirements": { - "yunohost": ">= 4.2.0" + "yunohost": ">= 4.3.0" }, "multi_instance": true, "services": [ @@ -30,8 +30,7 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "example.com" + "type": "domain" }, { "name": "path", @@ -41,8 +40,7 @@ }, { "name": "admin", - "type": "user", - "example": "johndoe" + "type": "user" }, { "name": "is_public", diff --git a/scripts/restore b/scripts/restore index 0154c46..4dbae76 100644 --- a/scripts/restore +++ b/scripts/restore @@ -36,10 +36,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= ynh_script_progression --message="Validating restoration parameters..." -ynh_webpath_available --domain=$domain --path_url=$path_url \ - || ynh_die --message="Path not available: ${domain}${path_url}" -test ! -d $final_path \ - || ynh_die --message="There is already a directory: $final_path " +test ! -d $final_path || ynh_die --message="There is already a directory: $final_path " #================================================= # STANDARD RESTORATION STEPS From 242a6e9dfbaf770b1521de389c2e115c2743569e Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 5 Dec 2021 16:35:55 +0100 Subject: [PATCH 8/8] Update web.src --- conf/web.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/web.src b/conf/web.src index bcb690d..33c13c2 100644 --- a/conf/web.src +++ b/conf/web.src @@ -1,4 +1,4 @@ -SOURCE_URL=https://github.com/dani-garcia/bw_web_builds/releases/download/v2.23.0/bw_web_v2.24.1.tar.gz +SOURCE_URL=https://github.com/dani-garcia/bw_web_builds/releases/download/v2.24.1/bw_web_v2.24.1.tar.gz SOURCE_SUM=f883f3746d245ad15816db477af35fba626ada420103b4b7ef54f062033b80384c71aed873a7db6800f906a3dd9afd4d8a9a0677142675e7eeac0285a3a8426e SOURCE_SUM_PRG=sha512sum SOURCE_FORMAT=tar.gz