diff --git a/ALL_README.md b/ALL_README.md index 152f2e7..4ed64dd 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -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) diff --git a/README_id.md b/README_id.md new file mode 100644 index 0000000..f35c6e5 --- /dev/null +++ b/README_id.md @@ -0,0 +1,63 @@ + + +# 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:** + +## Tangkapan Layar + +![Tangkapan Layar pada Galène](./doc/screenshots/screenshot.png) + +## Dokumentasi dan sumber daya + +- Website aplikasi resmi: +- Dokumentasi pengguna resmi: +- Dokumentasi admin resmi: +- Depot kode aplikasi hulu: +- Gudang YunoHost: +- Laporkan bug: + +## 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:** 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 3561a5e..126150d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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 = "/" diff --git a/scripts/change_url b/scripts/change_url index af6eb2d..a720edb 100755 --- a/scripts/change_url +++ b/scripts/change_url @@ -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" diff --git a/scripts/install b/scripts/install index 0a2fcf1..32620d9 100755 --- a/scripts/install +++ b/scripts/install @@ -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"}') diff --git a/scripts/upgrade b/scripts/upgrade index 5bf9c01..f3fb864 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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"