1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00
This commit is contained in:
eric_G 2024-07-30 16:24:46 +00:00 committed by GitHub
commit 807df17406
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 86 additions and 21 deletions

View file

@ -5,4 +5,5 @@
- [Irakurri README euskaraz](README_eu.md)
- [Lire le README en français](README_fr.md)
- [Le o README en galego](README_gl.md)
- [Baca README dalam bahasa bahasa Indonesia](README_id.md)
- [阅读中文(简体)的 README](README_zh_Hans.md)

63
README_id.md Normal file
View file

@ -0,0 +1,63 @@
<!--
N.B.: README ini dibuat secara otomatis oleh <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
Ini TIDAK boleh diedit dengan tangan.
-->
# Galène untuk YunoHost
[![Tingkat integrasi](https://dash.yunohost.org/integration/galene.svg)](https://ci-apps.yunohost.org/ci/apps/galene/) ![Status kerja](https://ci-apps.yunohost.org/ci/badges/galene.status.svg) ![Status pemeliharaan](https://ci-apps.yunohost.org/ci/badges/galene.maintain.svg)
[![Pasang Galène dengan YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=galene)
*[Baca README ini dengan bahasa yang lain.](./ALL_README.md)*
> *Paket ini memperbolehkan Anda untuk memasang Galène secara cepat dan mudah pada server YunoHost.*
> *Bila Anda tidak mempunyai YunoHost, silakan berkonsultasi dengan [panduan](https://yunohost.org/install) untuk mempelajari bagaimana untuk memasangnya.*
## Ringkasan
Galène is a videoconference server (an “SFU”) that is easy to deploy and that requires moderate server resources. It was originally designed for lectures and conferences (where a single speaker streams audio and video to hundreds or thousands of users), but later evolved to be useful for student practicals (where users are divided into many small groups), and meetings (where a dozen users interact with each other).
### Client features:
- multiparty audio and video
- text chat
- reasonably good support for mobile (Android and iPhone/iPad)
- screen and window sharing, including sharing multiple windows simultaneously (not on mobile)
- streaming video and audio from disk
- activity detection
- LDAP support
- invite user
- Command-line client for Galene file transfer
**Versi terkirim:** 0.9.1~ynh1
**Demo:** <https://galene.org:8443/>
## Tangkapan Layar
![Tangkapan Layar pada Galène](./doc/screenshots/screenshot.png)
## Dokumentasi dan sumber daya
- Website aplikasi resmi: <https://galene.org/>
- Dokumentasi pengguna resmi: <https://galene.org/faq.html>
- Dokumentasi admin resmi: <https://galene.org/>
- Depot kode aplikasi hulu: <https://github.com/jech/galene>
- Gudang YunoHost: <https://apps.yunohost.org/app/galene>
- Laporkan bug: <https://github.com/YunoHost-Apps/galene_ynh/issues>
## Info developer
Silakan kirim pull request ke [`testing` branch](https://github.com/YunoHost-Apps/galene_ynh/tree/testing).
Untuk mencoba branch `testing`, silakan dilanjutkan seperti:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/galene_ynh/tree/testing --debug
atau
sudo yunohost app upgrade galene -u https://github.com/YunoHost-Apps/galene_ynh/tree/testing --debug
```
**Info lebih lanjut mengenai pemaketan aplikasi:** <https://yunohost.org/packaging_apps>

View file

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

View file

@ -70,7 +70,7 @@ ram.runtime = "50M"
url = "https://github.com/jech/galene/archive/refs/tags/galene-0.9.1.tar.gz"
sha256 = "3f0ab64a1c2364ddb55cf41d82d5df4337dff07c2934ed24775daad849c34a53"
autoupdate.strategy = "latest_github_tag"
[resources.sources.ldap]
url = "https://github.com/jech/galene-ldap/archive/c6b6f3859927a3cb8bf36b6e39614dff79275dd5.tar.gz"
sha256 = "5f261fde39694b2dc4412c9abaf8f2c269119ccdaea5fd0a6f69bd00a42885f3"
@ -82,7 +82,7 @@ ram.runtime = "50M"
[resources.install_dir]
[resources.data_dir]
subdirs = ["groups", "recordings"]
subdirs = ["groups", "recordings", "data"]
[resources.permissions]
main.url = "/"

View file

@ -42,10 +42,11 @@ ynh_change_url_nginx_config
ynh_script_progression --message="Updating a configuration file..." --weight=2
domain="$new_domain"
# 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="$data_dir/data/config.json"
chmod 400 "$data_dir/data/config.json"
chown $app:$app "$data_dir/data/config.json"
# Configure Galene LDAP
#ynh_add_config --template="galene-ldap.json" --destination="$install_dir/live_ldap/data/galene-ldap.json"

View file

@ -35,7 +35,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
ynh_setup_source --dest_dir="$install_dir/build"
ynh_setup_source --dest_dir="$install_dir/build_ldap" --source_id="ldap"
mkdir -p "$install_dir/live/data"
mkdir -p "$install_dir/live"
mkdir -p "$install_dir/live_ldap/data"
cp -r "$install_dir/build/static/" "$install_dir/live/"
@ -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"}')

View file

@ -50,7 +50,7 @@ ynh_script_progression --message="Upgrading source files..." --weight=2
ynh_setup_source --dest_dir="$install_dir/build" --full_replace=1
ynh_setup_source --dest_dir="$install_dir/build_ldap" --source_id="ldap" --full_replace=1
mkdir -p "$install_dir/live/data"
mkdir -p "$install_dir/live"
mkdir -p "$install_dir/live_ldap/data"
ynh_secure_remove --file="$install_dir/live/static/"
@ -95,14 +95,14 @@ chmod +x "$install_dir/galene-password-generator"
ynh_script_progression --message="Updating a configuration file..." --weight=2
# If password_hash doesn't exist, create it
if [ -z "${password_hash:-}" ]; then
password_hash=$(echo $($install_dir/galene-password-generator $password))
ynh_app_setting_set --app=$app --key=password_hash --value="$password_hash"
fi
#if [ -z "${password_hash:-}" ]; then
# password_hash=$(echo $($install_dir/galene-password-generator $password))
# ynh_app_setting_set --app=$app --key=password_hash --value="$password_hash"
#fi
# 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="$data_dir/data/config.json"
#chmod 400 "$data_dir/data/config.json"
#chown $app:$app "$data_dir/data/config.json"
# Configure Galène LDAP
# If key doesn't exist, create it
@ -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"