diff --git a/README.md b/README.md index e061aac..3d7c8d0 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th - Command-line client for Galene file transfer -**Shipped version:** 0.9~ynh1 +**Shipped version:** 0.9~ynh2 **Demo:** diff --git a/README_es.md b/README_es.md index 128a049..5fbef61 100644 --- a/README_es.md +++ b/README_es.md @@ -31,7 +31,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th - Command-line client for Galene file transfer -**Versión actual:** 0.9~ynh1 +**Versión actual:** 0.9~ynh2 **Demo:** diff --git a/README_eu.md b/README_eu.md index 489efaf..4fb0c94 100644 --- a/README_eu.md +++ b/README_eu.md @@ -31,7 +31,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th - Command-line client for Galene file transfer -**Paketatutako bertsioa:** 0.9~ynh1 +**Paketatutako bertsioa:** 0.9~ynh2 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 5ae2e25..8c712b6 100644 --- a/README_fr.md +++ b/README_fr.md @@ -31,7 +31,7 @@ Galène est un serveur de visioconférence (un « SFU ») facile à déployer et - Client en ligne de commande pour le transfert de fichiers Galene -**Version incluse :** 0.9~ynh1 +**Version incluse :** 0.9~ynh2 **Démo :** diff --git a/README_gl.md b/README_gl.md index de8c639..bf6a4b6 100644 --- a/README_gl.md +++ b/README_gl.md @@ -31,7 +31,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th - Command-line client for Galene file transfer -**Versión proporcionada:** 0.9~ynh1 +**Versión proporcionada:** 0.9~ynh2 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 7ce2cb5..74ba049 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -31,7 +31,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th - Command-line client for Galene file transfer -**分发版本:** 0.9~ynh1 +**分发版本:** 0.9~ynh2 **演示:** diff --git a/conf/config.json b/conf/config.json index b938482..0ebfd0e 100644 --- a/conf/config.json +++ b/conf/config.json @@ -4,7 +4,7 @@ "users": { "__ADMIN__": { "permissions": "admin", - "password": "__PASSWORD_HASH__" + "password": __PASSWORD_HASH__ } } -} \ No newline at end of file +} diff --git a/conf/groupname.json b/conf/groupname.json index 9d5d4c5..7a285ae 100644 --- a/conf/groupname.json +++ b/conf/groupname.json @@ -1,5 +1,5 @@ "users": { - "__ADMIN__": {"permissions": "op", "password": "__PASSWORD_HASH__"}, + "__ADMIN__": {"permissions": "op", "password": __PASSWORD_HASH__}, "description": "__GROUP_DESCRIPTION__", "public": true, "allow-recording": true, diff --git a/conf/systemd.service b/conf/systemd.service index 1bc60de..e91c85a 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -8,7 +8,7 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/live/ -ExecStart=__INSTALL_DIR__/live/galene -http "127.0.0.1:__PORT__" -insecure -turn __PUBLIC_IP4__:__PORT_TURN__ -udp-range 49152-65535 -groups __DATA_DIR__/groups -recordings __DATA_DIR__/recordings -data __INSTALL_DIR__/live/data/ -static __INSTALL_DIR__/live/static +ExecStart=__INSTALL_DIR__/live/galene -http "127.0.0.1:__PORT__" -insecure -turn __PUBLIC_IP4__:__PORT_TURN__ -udp-range 49152-65535 -groups __DATA_DIR__/groups -recordings __DATA_DIR__/recordings -data __DATA_DIR__/data/ -static __INSTALL_DIR__/live/static LimitNOFILE=65536 # Sandboxing options to harden security diff --git a/manifest.toml b/manifest.toml index 3d167b2..59d0c26 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Galène" description.en = "Videoconferencing server that is easy to deploy" description.fr = "Serveur de visioconférence facile à déployer" -version = "0.9~ynh1" +version = "0.9~ynh2" maintainers = ["eric_G"] @@ -18,7 +18,7 @@ userdoc = "https://galene.org/faq.html" code = "https://github.com/jech/galene" [integration] -yunohost = ">= 11.2.12" +yunohost = ">= 11.2.14" architectures = "all" multi_instance = false @@ -70,7 +70,7 @@ ram.runtime = "50M" url = "https://github.com/jech/galene/archive/refs/tags/galene-0.9.tar.gz" sha256 = "066f2b06fdbda4b8d29d3048166123dc5bc2c0f6f863cee235df82758ddbef90" autoupdate.strategy = "latest_github_tag" - + [resources.sources.ldap] url = "https://github.com/jech/galene-ldap/archive/c6b6f3859927a3cb8bf36b6e39614dff79275dd5.tar.gz" sha256 = "5f261fde39694b2dc4412c9abaf8f2c269119ccdaea5fd0a6f69bd00a42885f3" diff --git a/scripts/change_url b/scripts/change_url index 14ecf2c..a720edb 100755 --- a/scripts/change_url +++ b/scripts/change_url @@ -43,7 +43,7 @@ ynh_script_progression --message="Updating a configuration file..." --weight=2 domain="$new_domain" -# Configure Galene +# Configure Galène ynh_add_config --template="config.json" --destination="$data_dir/data/config.json" chmod 400 "$data_dir/data/config.json" chown $app:$app "$data_dir/data/config.json" diff --git a/scripts/install b/scripts/install index becb153..32620d9 100755 --- a/scripts/install +++ b/scripts/install @@ -84,9 +84,9 @@ password_hash=$(echo $($install_dir/galene-password-generator $password)) ynh_app_setting_set --app=$app --key=password_hash --value="$password_hash" # Configure Galène -ynh_add_config --template="config.json" --destination="$install_dir/live/data/config.json" -chmod 400 "$install_dir/live/data/config.json" -chown $app:$app "$install_dir/live/data/config.json" +ynh_add_config --template="config.json" --destination="$install_dir/data/config.json" +chmod 400 "$install_dir/data/config.json" +chown $app:$app "$install_dir/data/config.json" # Configure Galène LDAP key=$(jose jwk gen -i '{"kty":"oct","alg":"HS256"}') diff --git a/scripts/upgrade b/scripts/upgrade index 05203da..f3fb864 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -115,9 +115,9 @@ chmod 400 "$install_dir/live_ldap/data/galene-ldap.json" chown $app:$app "$install_dir/live_ldap/data/galene-ldap.json" # Create a group name config -#ynh_add_config --template="groupname.json" --destination="$data_dir/groups/$group_name.json" -#chmod 400 "$data_dir/groups/$group_name.json" -#chown $app:$app "$data_dir/groups/$group_name.json" +# ynh_add_config --template="groupname.json" --destination="$data_dir/groups/$group_name.json" +# chmod 400 "$data_dir/groups/$group_name.json" +# chown $app:$app "$data_dir/groups/$group_name.json" # Create a group name authenticated on LDAP ynh_add_config --template="groupname-ldap.json" --destination="$data_dir/groups/YunoHost_Users.json"