1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vaultwarden_ynh.git synced 2024-09-03 18:26:31 +02:00

Merge pull request #107 from YunoHost-Apps/testing

Testing
This commit is contained in:
yalh76 2021-02-15 22:27:26 +01:00 committed by GitHub
commit df2a051028
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 9 deletions

View file

@ -1,7 +1,7 @@
# Bitwarden for YunoHost # Bitwarden for YunoHost
[![Integration level](https://dash.yunohost.org/integration/bitwarden.svg)](https://dash.yunohost.org/appci/app/bitwarden) ![](https://ci-apps.yunohost.org/ci/badges/bitwarden.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/bitwarden.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/bitwarden.svg)](https://dash.yunohost.org/appci/app/bitwarden) ![](https://ci-apps.yunohost.org/ci/badges/bitwarden.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/bitwarden.maintain.svg)
[![Install Bitwarden with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=bitwarden) [![Install Bitwarden with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=bitwarden)
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*

View file

@ -15,7 +15,7 @@ Bitwarden est un gestionnaire de mots de passe open source.
## Points importants à lire avant l'installation ## Points importants à lire avant l'installation
Après l'installation, l'utilisateur admin recevra un e-mail avec le admin_token a utilisé pour accéder à l'administration de Bitwarden https://your.domain.tld/bitwarden/admin. Après l'installation, l'utilisateur admin recevra un e-mail avec le admin_token à utiliser pour accéder à l'administration de Bitwarden https://your.domain.tld/bitwarden/admin.
## Captures d'écran ## Captures d'écran

View file

@ -18,15 +18,17 @@
setup_public=1 setup_public=1
upgrade=1 upgrade=1
# 1.9.1~ynh3 # 1.9.1~ynh3
#upgrade=1 from_commit=501bf18eafcda987ac255d12ca213d15e63c5eef # upgrade=1 from_commit=501bf18eafcda987ac255d12ca213d15e63c5eef
# 1.14.2~ynh2 # 1.14.2~ynh2
#upgrade=1 from_commit=2a7b9d6b6705be6e3a7217309a77b9def226eaa6 # upgrade=1 from_commit=2a7b9d6b6705be6e3a7217309a77b9def226eaa6
# 1.15.1~ynh2 # 1.15.1~ynh2
#upgrade=1 from_commit=bb9dac9cc50e11d8ef60033a543f9e21b42d0d8e # upgrade=1 from_commit=bb9dac9cc50e11d8ef60033a543f9e21b42d0d8e
# 1.16.1~ynh2 # 1.16.1~ynh2
upgrade=1 from_commit=5572d0420cf500fdb313c15b4ab40e7a6c38e294 upgrade=1 from_commit=5572d0420cf500fdb313c15b4ab40e7a6c38e294
# 1.16.3~ynh1 # 1.16.3~ynh1
upgrade=1 from_commit=576a173a43de914253645daa2c0b066f693a20f7 upgrade=1 from_commit=576a173a43de914253645daa2c0b066f693a20f7
# 1.16.3~ynh2
upgrade=1 from_commit=e2e958b1885f7a08e0d5afe5dada5c0dd44dd671
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
# This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version. # This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version.
@ -50,3 +52,5 @@ Notification=all
name=1.16.1~ynh2 name=1.16.1~ynh2
; commit=576a173a43de914253645daa2c0b066f693a20f7 ; commit=576a173a43de914253645daa2c0b066f693a20f7
name=1.16.3~ynh1 name=1.16.3~ynh1
; commit=e2e958b1885f7a08e0d5afe5dada5c0dd44dd671
name=1.16.3~ynh2

View file

@ -6,7 +6,7 @@
"en": "Manage passwords and other sensitive informations", "en": "Manage passwords and other sensitive informations",
"fr": "Gérez les mots de passe et autres informations sensibles" "fr": "Gérez les mots de passe et autres informations sensibles"
}, },
"version": "1.16.3~ynh2", "version": "1.16.3~ynh3",
"url": "https://github.com/dani-garcia/bitwarden_rs", "url": "https://github.com/dani-garcia/bitwarden_rs",
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"maintainer": { "maintainer": {

View file

@ -61,7 +61,7 @@ ynh_app_setting_set --app=$app --key=admin_token --value=$admin_token
#================================================= #=================================================
# FIND AND OPEN A PORT # FIND AND OPEN A PORT
#================================================= #=================================================
ynh_script_progression --message="Configuring firewall..." ynh_script_progression --message="Finding an available port..."
# Find an available port # Find an available port
websocket_port=$(ynh_find_port --port=3012) websocket_port=$(ynh_find_port --port=3012)
@ -119,7 +119,7 @@ chown -R "$app":"$app" "$final_path"
# Install rustup with the toolchain needed by bitwarden_rs # Install rustup with the toolchain needed by bitwarden_rs
pushd "$final_path" pushd "$final_path"
sudo -u "$app" RUSTUP_HOME="$final_path"/.rustup CARGO_HOME="$final_path"/.cargo bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=$(cat build/rust-toolchain)' sudo -u "$app" RUSTUP_HOME="$final_path"/.rustup CARGO_HOME="$final_path"/.cargo bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain nightly'
popd popd
export PATH="$PATH:$final_path/.cargo/bin:$final_path/.local/bin:/usr/local/sbin" export PATH="$PATH:$final_path/.cargo/bin:$final_path/.local/bin:/usr/local/sbin"

View file

@ -109,7 +109,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then then
# Install rustup with the toolchain needed by bitwarden_rs # Install rustup with the toolchain needed by bitwarden_rs
pushd "$final_path" pushd "$final_path"
sudo -u "$app" RUSTUP_HOME="$final_path"/.rustup CARGO_HOME="$final_path"/.cargo bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=$(cat build/rust-toolchain)' sudo -u "$app" RUSTUP_HOME="$final_path"/.rustup CARGO_HOME="$final_path"/.cargo bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain nightly'
popd popd
export PATH="$PATH:$final_path/.cargo/bin:$final_path/.local/bin:/usr/local/sbin" export PATH="$PATH:$final_path/.cargo/bin:$final_path/.local/bin:/usr/local/sbin"