1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00

Merge pull request #38 from YunoHost-Apps/testing

Testing
This commit is contained in:
eric_G 2024-06-02 14:31:20 +02:00 committed by GitHub
commit 50ac24787f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 34 additions and 14 deletions

View file

@ -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)

View file

@ -22,7 +22,7 @@ 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",
**Shipped version:** 2.0.3~ynh1
**Shipped version:** 2.1.0~ynh1
**Demo:** <https://video.etherpad.com/>

View file

@ -22,7 +22,7 @@ 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
**Versión actual:** 2.1.0~ynh1
**Demo:** <https://video.etherpad.com/>

View file

@ -22,7 +22,7 @@ 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",
**Paketatutako bertsioa:** 2.0.3~ynh1
**Paketatutako bertsioa:** 2.1.0~ynh1
**Demoa:** <https://video.etherpad.com/>

View file

@ -22,7 +22,7 @@ Attention, la sauvegarde et la restauration de la base de données Redis ne sont
Si vous souhaitez installer Etherpad avec les plugins et la base de données mysql : https://github.com/YunoHost-Apps/etherpad_mypads_ynh",
**Version incluse:** 2.0.3~ynh1
**Version incluse:** 2.1.0~ynh1
**Démo:** <https://video.etherpad.com/>

View file

@ -22,7 +22,7 @@ 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 proporcionada:** 2.0.3~ynh1
**Versión proporcionada:** 2.1.0~ynh1
**Demo:** <https://video.etherpad.com/>

View file

@ -22,7 +22,7 @@ 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",
**分发版本:** 2.0.3~ynh1
**分发版本:** 2.1.0~ynh1
**演示:** <https://video.etherpad.com/>

View file

@ -27,11 +27,23 @@
"database": "__REDIS_DB__"
},
/*
* Users for basic authentication.
/*
* User accounts. These accounts are used by:
* - default HTTP basic authentication if no plugin handles authentication
* - some but not all authentication plugins
* - some but not all authorization plugins
*
* is_admin = true gives access to /admin.
* If you do not uncomment this, /admin will not be available!
* User properties:
* - password: The user's password. Some authentication plugins will ignore
* this.
* - is_admin: true gives access to /admin. Defaults to false. If you do not
* uncomment this, /admin will not be available!
* - readOnly: If true, this user will not be able to create new pads or
* modify existing pads. Defaults to false.
* - canCreate: If this is true and readOnly is false, this user can create
* new pads. Defaults to true.
*
* Authentication and authorization plugins may define additional properties.
*
* WARNING: passwords should not be stored in plaintext in this file.
* If you want to mitigate this, please install ep_hash_auth and

View file

@ -5,7 +5,7 @@ name = "Etherpad"
description.en = "Collaborative editing in real-time"
description.fr = "Édition collaborative en temps réel"
version = "2.0.3~ynh1"
version = "2.1.0~ynh1"
maintainers = ["eric_G"]
@ -63,8 +63,8 @@ ram.runtime = "50M"
[resources]
[resources.sources.main]
url = "https://github.com/ether/etherpad-lite/archive/refs/tags/2.0.3.tar.gz"
sha256 = "6dc19addc8280806590f9a82d4426a88a8ef77c7841f99f97a50d6aa6c9ecc1a"
url = "https://github.com/ether/etherpad-lite/archive/refs/tags/2.1.0.tar.gz"
sha256 = "68a238852b82088a539228fb83eb4efa6599da163e6a3214e5cf15144a50ec49"
autoupdate.strategy = "latest_github_tag"
[resources.ports]

View file

@ -81,9 +81,17 @@ ynh_script_progression --message="Installing $app..." --weight=10
pushd $install_dir
ynh_use_nodejs
ynh_exec_warn_less npm install pnpm -g
#corepack enable && 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
#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
#=================================================