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

Fix upgrade from 0.6.1~ynh1 (#96)

* 0.5.5 (#89)

* Upgrade binaries

* Auto-update README

Co-authored-by: yunohost-bot <yunohost@yunohost.org>

* Auto-update README

* Update upgrade

* 0.6 (#91)

* 0.6

* Auto-update README

Co-authored-by: yunohost-bot <yunohost@yunohost.org>

* Implement LDAP authentication

* Auto-update README

* Update upgrade

* Fix datadir

* Update scripts/install

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>

* Update scripts/install

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>

* Update conf/groupname-ldap.json

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>

* Fix upgrade from 0.6~ynh1 and before

* Upgrade to 0.6.1

* typo

* Update manifest.json

* Auto-update README

* Fix sources

* Fix upgrade from 0.6.1~ynh1

* Auto-update README

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: ericgaspar <junk.eg@free.fr>
This commit is contained in:
yalh76 2022-10-15 07:58:30 +02:00 committed by GitHub
parent ed1506fa3e
commit 48b3fdfc20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 8 deletions

View file

@ -44,7 +44,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th
- built-in TURN server.
**Shipped version:** 0.6.1~ynh2
**Shipped version:** 0.6.1~ynh3
**Demo:** https://galene.org:8443/

View file

@ -27,7 +27,7 @@ Galène est un serveur de visioconférence (un « SFU ») facile à déployer et
- détection d'activité
**Version incluse :** 0.6.1~ynh2
**Version incluse :** 0.6.1~ynh3
**Démo :** https://galene.org:8443/

View file

@ -18,6 +18,10 @@
upgrade=1 from_commit=aaae7fbe83ce001fabd40509882e765a5d8da2c1
# 0.6~ynh1
upgrade=1 from_commit=c5cc50f1b1f326080f4f657b7805f2c27c1c3f20
# 0.6.1~ynh1
upgrade=1 from_commit=f55a3d1990a0fb2fe17eb9b70aefb13337c2b623
# 0.6.1~ynh2
upgrade=1 from_commit=ed1506fa3eb56358fecb06d832c9684acbf682d9
backup_restore=1
multi_instance=0
port_already_use=0

View file

@ -6,7 +6,7 @@
"en": "Videoconferencing server that is easy to deploy",
"fr": "Serveur de visioconférence facile à déployer"
},
"version": "0.6.1~ynh2",
"version": "0.6.1~ynh3",
"url": "https://galene.org/",
"upstream": {
"license": "MIT",

View file

@ -132,13 +132,13 @@ then
ynh_setup_source --dest_dir="$final_path/build"
ynh_setup_source --dest_dir="$final_path/build_ldap" --source_id="ldap"
mkdir -p "$final_path/live/data"
mkdir -p "$final_path/live_ldap/data"
ynh_secure_remove --file="$final_path/live/static/"
cp -r "$final_path/build/static/" "$final_path/live/"
ynh_replace_string --match_string="<div class=\"galene-header\">Galène</div>" --replace_string="<div class=\"galene-header\" onclick=\"location.href=window.location.origin\" style=\"cursor:pointer\">Galène</div>" --target_file="$final_path/live/static/galene.html"
fi
mkdir -p "$final_path/live/data"
mkdir -p "$final_path/live_ldap/data"
ynh_secure_remove --file="$final_path/live/static/"
cp -r "$final_path/build/static/" "$final_path/live/"
ynh_replace_string --match_string="<div class=\"galene-header\">Galène</div>" --replace_string="<div class=\"galene-header\" onclick=\"location.href=window.location.origin\" style=\"cursor:pointer\">Galène</div>" --target_file="$final_path/live/static/galene.html"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"