From d060545d04f4ec93bd7b45fc9bc7d94f36449d2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 09:32:37 +0200 Subject: [PATCH 01/34] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 0a0f018..3afa696 100644 --- a/scripts/install +++ b/scripts/install @@ -80,7 +80,8 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - ynh_exec_warn_less npm install pnpm -g + env $ynh_node_load_PATH corepack enable + env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh popd From 969ca0b24b3c2741835659c326f2010871683376 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 09:49:06 +0200 Subject: [PATCH 02/34] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 3afa696..0abeee3 100644 --- a/scripts/install +++ b/scripts/install @@ -80,8 +80,8 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - env $ynh_node_load_PATH corepack enable - env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack enable + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack install pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh popd From ffa8c6bb9529d873389b54405fa1aaae998400f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 09:57:25 +0200 Subject: [PATCH 03/34] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 0abeee3..33a89bb 100644 --- a/scripts/install +++ b/scripts/install @@ -80,8 +80,8 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack enable - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack install pnpm@latest --activate + env $ynh_node_load_PATH corepack enable + env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack install pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh popd From d35e93149fa59c61479ec9de760babf94166bcc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 10:03:35 +0200 Subject: [PATCH 04/34] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 33a89bb..8ae71b7 100644 --- a/scripts/install +++ b/scripts/install @@ -81,7 +81,7 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs env $ynh_node_load_PATH corepack enable - env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack install pnpm@latest --activate + env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack install pnpm@latest #--activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh popd From aff9a0dacfe2d2f8e6cd33618a6f3aed88be08c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 10:08:43 +0200 Subject: [PATCH 05/34] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 8ae71b7..4698a6f 100644 --- a/scripts/install +++ b/scripts/install @@ -81,7 +81,7 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs env $ynh_node_load_PATH corepack enable - env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack install pnpm@latest #--activate + env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack install -g pnpm@latest #--activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh popd From 29c8de045d9c220733b05335b23c3dbfd6ec565c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 10:46:12 +0200 Subject: [PATCH 06/34] Update systemd.service --- conf/systemd.service | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index a10e078..eab08fb 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,10 +7,8 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ -Environment=ETHERPAD_PRODUCTION=true -Environment="NODE_ENV=production" -Environment="__YNH_NODE_LOAD_PATH__" -ExecStart=__INSTALL_DIR__/bin/run.sh +Environment=NODE_ENV=production +ExecStart=pnpm run prod Restart=always # Sandboxing options to harden security From 63ea2a6b802b7831903a5425919f975e50e1754e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 11:29:56 +0200 Subject: [PATCH 07/34] Update install --- scripts/install | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 4698a6f..e94bc34 100644 --- a/scripts/install +++ b/scripts/install @@ -79,9 +79,11 @@ chown $app:$app "$install_dir/credentials.json" ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir - ynh_use_nodejs - env $ynh_node_load_PATH corepack enable - env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack install -g pnpm@latest #--activate + ynh_use_nodejs + corepack enable + corepack prepare pnpm@latest --activate + #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install + #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh popd From 497fd79b144eae3aa340bc4256f672bb96d68dd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 11:38:05 +0200 Subject: [PATCH 08/34] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index e94bc34..6f24306 100644 --- a/scripts/install +++ b/scripts/install @@ -82,9 +82,9 @@ pushd $install_dir ynh_use_nodejs corepack enable corepack prepare pnpm@latest --activate - #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm --recursive i --production #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh + #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh popd #================================================= From fa5b2fed3b79d3a8422dacf58edaeaf850a41be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 12:31:58 +0200 Subject: [PATCH 09/34] Update install --- scripts/install | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 6f24306..56e9c23 100644 --- a/scripts/install +++ b/scripts/install @@ -80,11 +80,10 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - corepack enable - corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm --recursive i --production - #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build - #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh + + ynh_exec_warn_less ynh_exec_as $appcorepack enable + ynh_exec_warn_less ynh_exec_as $app corepack prepare pnpm@latest --activate + ynh_exec_warn_less ynh_exec_as $app bin/installDeps.sh popd #================================================= From 861f249f5f45e0ee58db811d5a264cc2a0d9add0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 12:33:27 +0200 Subject: [PATCH 10/34] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 56e9c23..89270bb 100644 --- a/scripts/install +++ b/scripts/install @@ -81,7 +81,7 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - ynh_exec_warn_less ynh_exec_as $appcorepack enable + ynh_exec_warn_less ynh_exec_as $app corepack enable ynh_exec_warn_less ynh_exec_as $app corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app bin/installDeps.sh popd From db650dda89ecaf8acff5f8925f82f24be6c370b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 12:35:27 +0200 Subject: [PATCH 11/34] Update install --- scripts/install | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 89270bb..f7d23e4 100644 --- a/scripts/install +++ b/scripts/install @@ -80,9 +80,8 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - - ynh_exec_warn_less ynh_exec_as $app corepack enable - ynh_exec_warn_less ynh_exec_as $app corepack prepare pnpm@latest --activate + corepack enable + corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app bin/installDeps.sh popd From 88bba7bca12179e35d271d26ce558e65fd0400eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 12:44:16 +0200 Subject: [PATCH 12/34] Update install --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index f7d23e4..72fce34 100644 --- a/scripts/install +++ b/scripts/install @@ -80,9 +80,9 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - corepack enable - corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app bin/installDeps.sh + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack enable + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack prepare pnpm@latest --activate + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH bin/installDeps.sh popd #================================================= From d13d2baad78715fbd4d6f8fd448b5c31e1d6c594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 12:47:04 +0200 Subject: [PATCH 13/34] Update install --- scripts/install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 72fce34..1279a41 100644 --- a/scripts/install +++ b/scripts/install @@ -82,7 +82,9 @@ pushd $install_dir ynh_use_nodejs ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack enable ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH bin/installDeps.sh + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production + rm -f var/minified* + #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH bin/installDeps.sh popd #================================================= From b16bcfb721e313952c30cad9bc7b05a7438f0f71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 12:48:55 +0200 Subject: [PATCH 14/34] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 1279a41..b72022a 100644 --- a/scripts/install +++ b/scripts/install @@ -80,8 +80,8 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack enable - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack prepare pnpm@latest --activate + corepack enable + corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production rm -f var/minified* #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH bin/installDeps.sh From c8613680893df054e8a2963a38bd25e396a6dc80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 12:52:24 +0200 Subject: [PATCH 15/34] Update install --- scripts/install | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index b72022a..f50cd44 100644 --- a/scripts/install +++ b/scripts/install @@ -82,9 +82,7 @@ pushd $install_dir ynh_use_nodejs corepack enable corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production - rm -f var/minified* - #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH bin/installDeps.sh + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH bin/installDeps.sh popd #================================================= From 624ea8a4986f52522afc4d5898068fe2d606202b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 15:52:07 +0200 Subject: [PATCH 16/34] Update install --- scripts/install | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index f50cd44..2503293 100644 --- a/scripts/install +++ b/scripts/install @@ -80,9 +80,11 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - corepack enable - corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH bin/installDeps.sh + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack enable + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack prepare pnpm@latest --activate + #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH bin/installDeps.sh + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production + rm -f var/minified* popd #================================================= From 0e0ca393ed2e132178bf777f70307e18c789cf60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 16:06:15 +0200 Subject: [PATCH 17/34] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 2503293..b13ebc8 100644 --- a/scripts/install +++ b/scripts/install @@ -80,8 +80,8 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack enable - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack prepare pnpm@latest --activate + corepack enable + corepack prepare pnpm@latest --activate #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH bin/installDeps.sh ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production rm -f var/minified* From 7993a9f63a8a4b2d0f1976a3a7da3963130a9be8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 16:45:45 +0200 Subject: [PATCH 18/34] Update install --- scripts/install | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index b13ebc8..269c4bf 100644 --- a/scripts/install +++ b/scripts/install @@ -80,9 +80,8 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - corepack enable - corepack prepare pnpm@latest --activate - #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH bin/installDeps.sh + env $ynh_node_load_PATH corepack enable + env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production rm -f var/minified* popd From a4bd5d318af7bc416b59c1e3533c8e901d8b3787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 16:46:19 +0200 Subject: [PATCH 19/34] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 269c4bf..dadf83d 100644 --- a/scripts/install +++ b/scripts/install @@ -82,8 +82,8 @@ pushd $install_dir ynh_use_nodejs env $ynh_node_load_PATH corepack enable env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production - rm -f var/minified* + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh + #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production popd #================================================= From 0afe98e113fe47c839ad5544947aba89a481ba82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 17 May 2024 21:45:49 +0200 Subject: [PATCH 20/34] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index dadf83d..4a36ff4 100644 --- a/scripts/install +++ b/scripts/install @@ -80,8 +80,8 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - env $ynh_node_load_PATH corepack enable - env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate + yes | env $ynh_node_load_PATH corepack enable + yes | env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production popd From f9f2f1c5c0c5b97616b52b5e31bbcd2a2d4562b0 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 17 May 2024 19:45:55 +0000 Subject: [PATCH 21/34] Auto-update READMEs --- ALL_README.md | 1 + README_es.md | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 README_es.md diff --git a/ALL_README.md b/ALL_README.md index a01b345..8938aae 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,6 +1,7 @@ # All available README files by language - [Read the README in English](README.md) +- [Lee el README en español](README_es.md) - [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) diff --git a/README_es.md b/README_es.md new file mode 100644 index 0000000..39955f8 --- /dev/null +++ b/README_es.md @@ -0,0 +1,53 @@ + + +# Etherpad para Yunohost + +[![Nivel de integración](https://dash.yunohost.org/integration/etherpad.svg)](https://dash.yunohost.org/appci/app/etherpad) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/etherpad.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/etherpad.maintain.svg) + +[![Instalar Etherpad con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=etherpad) + +*[Leer este README en otros idiomas.](./ALL_README.md)* + +> *Este paquete le permite instalarEtherpad rapidamente y simplement en un servidor YunoHost.* +> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.* + +## Descripción general + +Etherpad is a real-time collaborative editor scalable to thousands of simultaneous real time users. It provides full data export capabilities, and runs on your server, under your control. +This version of Etherpad is installed without plugins and uses Redis as database. +Be aware, Redis database backup and restore is not fully implemented. +If you want to install Etherpad with plugins and mysql database: https://github.com/YunoHost-Apps/etherpad_mypads_ynh", + + +**Versión actual:** 2.0.3~ynh1 + +**Demo:** + +## Capturas + +![Captura de Etherpad](./doc/screenshots/screenshot.png) + +## Documentaciones y recursos + +- Sitio web oficial: +- Documentación administrador oficial: +- Repositorio del código fuente oficial de la aplicación : +- Catálogo YunoHost: +- Reportar un error: + +## Información para desarrolladores + +Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/etherpad_ynh/tree/testing + +Para probar la rama `testing`, sigue asÍ: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/etherpad_ynh/tree/testing --debug +o +sudo yunohost app upgrade etherpad -u https://github.com/YunoHost-Apps/etherpad_ynh/tree/testing --debug +``` + +**Mas informaciones sobre el empaquetado de aplicaciones:** From a119de33d1cae44ef4a12b92268fee21ff80fd9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 17 May 2024 22:20:19 +0200 Subject: [PATCH 22/34] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 4a36ff4..dadf83d 100644 --- a/scripts/install +++ b/scripts/install @@ -80,8 +80,8 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - yes | env $ynh_node_load_PATH corepack enable - yes | env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate + env $ynh_node_load_PATH corepack enable + env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production popd From 694de11df50b23a4edcc99d2cb26d3149c4403e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 20 May 2024 07:28:12 +0200 Subject: [PATCH 23/34] cleaning --- manifest.toml | 2 +- scripts/_common.sh | 39 --------------------------------------- scripts/install | 2 +- 3 files changed, 2 insertions(+), 41 deletions(-) diff --git a/manifest.toml b/manifest.toml index 8b26ec8..f2258f7 100644 --- a/manifest.toml +++ b/manifest.toml @@ -17,7 +17,7 @@ admindoc = "https://etherpad.org/doc/v2.0.2/" code = "https://github.com/ether/etherpad-lite" [integration] -yunohost = ">= 11.2" +yunohost = ">= 11.2.12" architectures = "all" multi_instance = true diff --git a/scripts/_common.sh b/scripts/_common.sh index 2b9094e..184eecc 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -17,42 +17,3 @@ nodejs_version=22 #================================================= # FUTURE OFFICIAL HELPERS #================================================= - -# get the first available redis database -# -# usage: ynh_redis_get_free_db -# | returns: the database number to use -ynh_redis_get_free_db() { - local result max db - result="$(redis-cli INFO keyspace)" - - # get the num - max=$(cat /etc/redis/redis.conf | grep ^databases | grep -Eow "[0-9]+") - - db=0 - # default Debian setting is 15 databases - for i in $(seq 0 "$max") - do - if ! echo "$result" | grep -q "db$i" - then - db=$i - break 1 - fi - db=-1 - done - - test "$db" -eq -1 && ynh_die --message="No available Redis databases..." - - echo "$db" -} - -# Create a master password and set up global settings -# Please always call this script in install and restore scripts -# -# usage: ynh_redis_remove_db database -# | arg: database - the database to erase -ynh_redis_remove_db() { - local db=$1 - redis-cli -n "$db" flushall -} - diff --git a/scripts/install b/scripts/install index c5b73ee..52a0006 100644 --- a/scripts/install +++ b/scripts/install @@ -81,7 +81,7 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs env $ynh_node_load_PATH corepack enable - env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate + env $ynh_node_load_PATH corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production popd From e9170d8eb4c0d70fff4772a4c4b722ac4a223159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 20 May 2024 07:36:16 +0200 Subject: [PATCH 24/34] Update upgrade --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 5bf3b4d..38ee257 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -101,7 +101,8 @@ ynh_script_progression --message="Installing $app..." --weight=60 pushd $install_dir ynh_use_nodejs - ynh_exec_warn_less npm install pnpm -g + env $ynh_node_load_PATH corepack enable + env $ynh_node_load_PATH corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh popd From 26b7b70322fe62e8cf75811aa0261506a8f0b2ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 20 May 2024 15:46:52 +0200 Subject: [PATCH 25/34] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 52a0006..c5b73ee 100644 --- a/scripts/install +++ b/scripts/install @@ -81,7 +81,7 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs env $ynh_node_load_PATH corepack enable - env $ynh_node_load_PATH corepack prepare pnpm@latest --activate + env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production popd From bbdb1a7ee1faea722726328c30dc2ac86d3525fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 20 May 2024 15:56:48 +0200 Subject: [PATCH 26/34] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index c5b73ee..52a0006 100644 --- a/scripts/install +++ b/scripts/install @@ -81,7 +81,7 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs env $ynh_node_load_PATH corepack enable - env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate + env $ynh_node_load_PATH corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production popd From 53c00159767753fa47d66901410feaa84a7348b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 20 May 2024 15:57:06 +0200 Subject: [PATCH 27/34] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 52a0006..97301f8 100644 --- a/scripts/install +++ b/scripts/install @@ -82,7 +82,7 @@ pushd $install_dir ynh_use_nodejs env $ynh_node_load_PATH corepack enable env $ynh_node_load_PATH corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh + env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production popd From 1be283c47e4b7cccddae652214a451427dfa2632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 20 May 2024 16:13:36 +0200 Subject: [PATCH 28/34] Update _common.sh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 184eecc..63277da 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -nodejs_version=22 +nodejs_version=21 #================================================= # PERSONAL HELPERS From bde1c69ede9c02bd36d2b93c7f9733e732ce326d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 20 May 2024 16:15:15 +0200 Subject: [PATCH 29/34] fix --- scripts/_common.sh | 2 +- scripts/install | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 63277da..184eecc 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -nodejs_version=21 +nodejs_version=22 #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 97301f8..be6ad4c 100644 --- a/scripts/install +++ b/scripts/install @@ -80,6 +80,7 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs + npm install typescript -g env $ynh_node_load_PATH corepack enable env $ynh_node_load_PATH corepack prepare pnpm@latest --activate env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh From 1fce751123d5f14b19471b89b11230805d062564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 20 May 2024 17:01:55 +0200 Subject: [PATCH 30/34] Update install --- scripts/install | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/install b/scripts/install index be6ad4c..97301f8 100644 --- a/scripts/install +++ b/scripts/install @@ -80,7 +80,6 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - npm install typescript -g env $ynh_node_load_PATH corepack enable env $ynh_node_load_PATH corepack prepare pnpm@latest --activate env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh From b1de8174e0bc57275dd9257596a614ab7717b597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 2 Jun 2024 14:38:19 +0200 Subject: [PATCH 31/34] Update install --- scripts/install | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/install b/scripts/install index 65be154..314dc77 100644 --- a/scripts/install +++ b/scripts/install @@ -85,13 +85,6 @@ pushd $install_dir ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh popd -#Buiding admin -#pushd $install_dir/admin -#ynh_use_nodejs -# ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack pnpm build -# mv $install_dir/admin/dist $install_dir/src/templates/admin/ -#popd - #================================================= # START SYSTEMD SERVICE #================================================= From d4dab59b7b049de0e6123254302dcce5a2203249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:20:57 +0200 Subject: [PATCH 32/34] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 7d20c5f..dd61b7e 100644 --- a/scripts/install +++ b/scripts/install @@ -82,7 +82,7 @@ pushd $install_dir ynh_use_nodejs env $ynh_node_load_PATH corepack enable env $ynh_node_load_PATH corepack prepare pnpm@latest --activate - env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh + env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true COREPACK_ENABLE_DOWNLOAD_PROMPT=0 bin/installDeps.sh #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production popd From 4125212c09220dbf5c204f72da9b4ca63c85e142 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 6 Jun 2024 09:21:03 +0000 Subject: [PATCH 33/34] Auto-update READMEs --- ALL_README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ALL_README.md b/ALL_README.md index 8938aae..152f2e7 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,7 +1,7 @@ # All available README files by language - [Read the README in English](README.md) -- [Lee el README en español](README_es.md) +- [Lea el README en español](README_es.md) - [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) From eb22f4d874e565fa87392ecb1a4a17db0abca9bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:27:38 +0200 Subject: [PATCH 34/34] fix --- scripts/install | 7 +++---- scripts/upgrade | 8 ++++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/scripts/install b/scripts/install index dd61b7e..62ec041 100644 --- a/scripts/install +++ b/scripts/install @@ -80,10 +80,9 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - env $ynh_node_load_PATH corepack enable - env $ynh_node_load_PATH corepack prepare pnpm@latest --activate - env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true COREPACK_ENABLE_DOWNLOAD_PROMPT=0 bin/installDeps.sh - #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production + ynh_exec_warn_less env $ynh_node_load_PATH corepack enable + ynh_exec_warn_less env $ynh_node_load_PATH corepack prepare pnpm@latest --activate + ynh_exec_warn_less env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true COREPACK_ENABLE_DOWNLOAD_PROMPT=0 bin/installDeps.sh popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 38ee257..0335593 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -97,13 +97,13 @@ chown $app:$app "$install_dir/credentials.json" #================================================= # INSTALL ETHERPAD #================================================= -ynh_script_progression --message="Installing $app..." --weight=60 +ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - env $ynh_node_load_PATH corepack enable - env $ynh_node_load_PATH corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh + ynh_exec_warn_less env $ynh_node_load_PATH corepack enable + ynh_exec_warn_less env $ynh_node_load_PATH corepack prepare pnpm@latest --activate + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true COREPACK_ENABLE_DOWNLOAD_PROMPT=0 bin/installDeps.sh popd #=================================================