mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
Testing (#69)
* Upgrade to v0.24.1 (#63) * Upgrade to v0.24.1 * Auto-update READMEs * Update manifest.toml * Auto-update READMEs * Update manifest.toml * Update install * Update upgrade * Update upgrade * Update _common.sh --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Auto-update READMEs * cleaning * cleaning * Update manifest.toml * Update manifest.toml * Auto-update READMEs --------- Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org>
This commit is contained in:
parent
907aff9e09
commit
35961054c5
14 changed files with 21 additions and 49 deletions
|
@ -19,7 +19,7 @@ It shall NOT be edited by hand.
|
|||
Web-based cross-platform XMPP client
|
||||
|
||||
|
||||
**Shipped version:** 0.25.1~ynh1
|
||||
**Shipped version:** 0.25.1~ynh2
|
||||
|
||||
**Demo:** <https://nl.movim.eu/?login>
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ No se debe editar a mano.
|
|||
Web-based cross-platform XMPP client
|
||||
|
||||
|
||||
**Versión actual:** 0.25.1~ynh1
|
||||
**Versión actual:** 0.25.1~ynh2
|
||||
|
||||
**Demo:** <https://nl.movim.eu/?login>
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ EZ editatu eskuz.
|
|||
Web-based cross-platform XMPP client
|
||||
|
||||
|
||||
**Paketatutako bertsioa:** 0.25.1~ynh1
|
||||
**Paketatutako bertsioa:** 0.25.1~ynh2
|
||||
|
||||
**Demoa:** <https://nl.movim.eu/?login>
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main.
|
|||
Client XMPP multiplateforme basé sur le Web
|
||||
|
||||
|
||||
**Version incluse :** 0.25.1~ynh1
|
||||
**Version incluse :** 0.25.1~ynh2
|
||||
|
||||
**Démo :** <https://nl.movim.eu/?login>
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ NON debe editarse manualmente.
|
|||
Web-based cross-platform XMPP client
|
||||
|
||||
|
||||
**Versión proporcionada:** 0.25.1~ynh1
|
||||
**Versión proporcionada:** 0.25.1~ynh2
|
||||
|
||||
**Demo:** <https://nl.movim.eu/?login>
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
Web-based cross-platform XMPP client
|
||||
|
||||
|
||||
**分发版本:** 0.25.1~ynh1
|
||||
**分发版本:** 0.25.1~ynh2
|
||||
|
||||
**演示:** <https://nl.movim.eu/?login>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ location __PATH__/ {
|
|||
try_files $uri $uri/ __PATH__/index.php;
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
# more_set_headers X-Cache $upstream_cache_status;
|
||||
# more_set_headers "X-Cache: $upstream_cache_status";
|
||||
# fastcgi_ignore_headers "Cache-Control" "Expires" "Set-Cookie";
|
||||
# fastcgi_cache nginx_cache;
|
||||
# fastcgi_cache_valid any 7d;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[Unit]
|
||||
Description=Movim: responsive web-based XMPP client
|
||||
Description=Movim: web-based XMPP client
|
||||
After=nginx.service network.target local-fs.target
|
||||
|
||||
[Service]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Un utilisateur Jabber peut être mis admini via cette commande (iel doit s'être loggué une fois avant):
|
||||
Un utilisateur Jabber peut être mis admin via cette commande (iel doit s'être loggué une fois avant) :
|
||||
```
|
||||
sudo -u __APP__ php__PHPVERSION__ __INSTALL_DIR__/daemon.php setAdmin <your jabber id>
|
||||
```
|
||||
|
|
|
@ -7,7 +7,7 @@ name = "Movim"
|
|||
description.en = "Decentralized social platform based on XMPP"
|
||||
description.fr = "Plateforme sociale décentralisée basée sur XMPP"
|
||||
|
||||
version = "0.25.1~ynh1"
|
||||
version = "0.25.1~ynh2"
|
||||
|
||||
maintainers = []
|
||||
|
||||
|
@ -25,6 +25,7 @@ architectures = "all"
|
|||
multi_instance = false
|
||||
|
||||
ldap = false
|
||||
|
||||
sso = true
|
||||
|
||||
disk = "50M"
|
||||
|
@ -57,12 +58,12 @@ ram.runtime = "50M"
|
|||
|
||||
[resources.apt]
|
||||
packages = [
|
||||
"php8.2-curl",
|
||||
"php8.2-mbstring",
|
||||
"php8.2-imagick",
|
||||
"php8.2-gd",
|
||||
"php8.2-pgsql",
|
||||
"php8.2-xml",
|
||||
"php8.3-curl",
|
||||
"php8.3-mbstring",
|
||||
"php8.3-imagick",
|
||||
"php8.3-gd",
|
||||
"php8.3-pgsql",
|
||||
"php8.3-xml",
|
||||
"postgresql",
|
||||
"postgresql-contrib",
|
||||
"apt-transport-https",
|
||||
|
|
|
@ -7,17 +7,6 @@
|
|||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# INITIALIZE AND STORE SETTINGS
|
||||
#=================================================
|
||||
|
||||
fpm_footprint="low"
|
||||
fpm_free_footprint=0
|
||||
fpm_usage="low"
|
||||
ynh_app_setting_set --app="$app" --key=fpm_footprint --value="$fpm_footprint"
|
||||
ynh_app_setting_set --app="$app" --key=fpm_free_footprint --value="$fpm_free_footprint"
|
||||
ynh_app_setting_set --app="$app" --key=fpm_usage --value="$fpm_usage"
|
||||
|
||||
#=================================================
|
||||
# CONFIGURING A POSTGRESQL DATABASE
|
||||
#=================================================
|
||||
|
@ -72,7 +61,7 @@ chown -R "$app:www-data" "$install_dir"
|
|||
ynh_script_progression --message="Adding system configurations related to $app..." --weight=1
|
||||
|
||||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
|
||||
ynh_add_fpm_config
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
|
|
@ -34,7 +34,7 @@ ynh_script_progression --message="Restoring system configurations related to $ap
|
|||
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||
|
||||
# Recreate a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint --phpversion=$phpversion
|
||||
ynh_add_fpm_config
|
||||
|
||||
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
|
|
|
@ -19,24 +19,6 @@ ynh_systemd_action --service_name="$app" --action="stop" --log_path="systemd"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Ensuring downward compatibility..."
|
||||
|
||||
# If fpm_footprint doesn't exist, create it
|
||||
if [ -z "${fpm_footprint:-}" ]; then
|
||||
fpm_footprint=low
|
||||
ynh_app_setting_set --app="$app" --key=fpm_footprint --value="$fpm_footprint"
|
||||
fi
|
||||
|
||||
# If fpm_free_footprint doesn't exist, create it
|
||||
if [ -z "${fpm_free_footprint:-}" ]; then
|
||||
fpm_free_footprint=0
|
||||
ynh_app_setting_set --app="$app" --key=fpm_free_footprint --value="$fpm_free_footprint"
|
||||
fi
|
||||
|
||||
# If fpm_usage doesn't exist, create it
|
||||
if [ -z "${fpm_usage:-}" ]; then
|
||||
fpm_usage=low
|
||||
ynh_app_setting_set --app="$app" --key=fpm_usage --value="$fpm_usage"
|
||||
fi
|
||||
|
||||
if [ -f "$install_dir/config/db.inc.php" ]; then
|
||||
ynh_secure_remove --file="$install_dir/config/db.inc.php"
|
||||
fi
|
||||
|
@ -75,7 +57,7 @@ chown "$app:$app" "$install_dir/.env"
|
|||
#=================================================
|
||||
# BUILD MOVIM
|
||||
#=================================================
|
||||
ynh_script_progression --message="Building Movim..."
|
||||
ynh_script_progression --message="Building $app..."
|
||||
|
||||
ynh_exec_warn_less ynh_install_composer
|
||||
|
||||
|
@ -89,7 +71,7 @@ COMPOSER_ALLOW_SUPERUSER=1 ynh_exec_warn_less ynh_composer_exec --commands="movi
|
|||
ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1
|
||||
|
||||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config --usage="$fpm_usage" --footprint="$fpm_footprint"
|
||||
ynh_add_fpm_config
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
|
Loading…
Reference in a new issue