mirror of
https://github.com/YunoHost-Apps/limesurvey_ynh.git
synced 2024-09-03 19:36:32 +02:00
commit
730d0961e1
10 changed files with 15 additions and 20 deletions
|
@ -1,7 +1,7 @@
|
||||||
# All available README files by language
|
# All available README files by language
|
||||||
|
|
||||||
- [Read the README in English](README.md)
|
- [Read the README in English](README.md)
|
||||||
- [Lee el README en español](README_es.md)
|
- [Lea el README en español](README_es.md)
|
||||||
- [Irakurri README euskaraz](README_eu.md)
|
- [Irakurri README euskaraz](README_eu.md)
|
||||||
- [Lire le README en français](README_fr.md)
|
- [Lire le README en français](README_fr.md)
|
||||||
- [Le o README en galego](README_gl.md)
|
- [Le o README en galego](README_gl.md)
|
||||||
|
|
|
@ -19,7 +19,7 @@ It shall NOT be edited by hand.
|
||||||
LimeSurvey is used to create advanced poll.
|
LimeSurvey is used to create advanced poll.
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 6.5.7~ynh1
|
**Shipped version:** 6.5.8~ynh1
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ No se debe editar a mano.
|
||||||
LimeSurvey is used to create advanced poll.
|
LimeSurvey is used to create advanced poll.
|
||||||
|
|
||||||
|
|
||||||
**Versión actual:** 6.5.7~ynh1
|
**Versión actual:** 6.5.8~ynh1
|
||||||
|
|
||||||
## Capturas
|
## Capturas
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ EZ editatu eskuz.
|
||||||
LimeSurvey is used to create advanced poll.
|
LimeSurvey is used to create advanced poll.
|
||||||
|
|
||||||
|
|
||||||
**Paketatutako bertsioa:** 6.5.7~ynh1
|
**Paketatutako bertsioa:** 6.5.8~ynh1
|
||||||
|
|
||||||
## Pantaila-argazkiak
|
## Pantaila-argazkiak
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main.
|
||||||
Outil de création et diffusion de sondage
|
Outil de création et diffusion de sondage
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 6.5.7~ynh1
|
**Version incluse :** 6.5.8~ynh1
|
||||||
|
|
||||||
## Captures d’écran
|
## Captures d’écran
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ NON debe editarse manualmente.
|
||||||
LimeSurvey is used to create advanced poll.
|
LimeSurvey is used to create advanced poll.
|
||||||
|
|
||||||
|
|
||||||
**Versión proporcionada:** 6.5.7~ynh1
|
**Versión proporcionada:** 6.5.8~ynh1
|
||||||
|
|
||||||
## Capturas de pantalla
|
## Capturas de pantalla
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
LimeSurvey is used to create advanced poll.
|
LimeSurvey is used to create advanced poll.
|
||||||
|
|
||||||
|
|
||||||
**分发版本:** 6.5.7~ynh1
|
**分发版本:** 6.5.8~ynh1
|
||||||
|
|
||||||
## 截图
|
## 截图
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ name = "LimeSurvey"
|
||||||
description.en = "Create and distribute surveys"
|
description.en = "Create and distribute surveys"
|
||||||
description.fr = "Outil de création et diffusion de sondage"
|
description.fr = "Outil de création et diffusion de sondage"
|
||||||
|
|
||||||
version = "6.5.7~ynh1"
|
version = "6.5.8~ynh1"
|
||||||
|
|
||||||
maintainers = ["ljf"]
|
maintainers = ["ljf"]
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ code = "https://github.com/LimeSurvey/LimeSurvey"
|
||||||
cpe = "cpe:2.3:a:limesurvey:limesurvey"
|
cpe = "cpe:2.3:a:limesurvey:limesurvey"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.0.9"
|
yunohost = ">= 11.2"
|
||||||
architectures = "all"
|
architectures = "all"
|
||||||
multi_instance = true
|
multi_instance = true
|
||||||
ldap = true
|
ldap = true
|
||||||
|
@ -38,8 +38,6 @@ ram.runtime = "50M"
|
||||||
default = "/poll"
|
default = "/poll"
|
||||||
|
|
||||||
[install.init_main_permission]
|
[install.init_main_permission]
|
||||||
# this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
||||||
# This won't be saved as setting and will instead be used to initialize the SSOwat permission
|
|
||||||
type = "group"
|
type = "group"
|
||||||
default = "visitors"
|
default = "visitors"
|
||||||
|
|
||||||
|
@ -59,8 +57,8 @@ ram.runtime = "50M"
|
||||||
[resources]
|
[resources]
|
||||||
[resources.sources]
|
[resources.sources]
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
url = "https://github.com/LimeSurvey/LimeSurvey/archive/refs/tags/6.5.7+240515.tar.gz"
|
url = "https://github.com/LimeSurvey/LimeSurvey/archive/refs/tags/6.5.8+240517.tar.gz"
|
||||||
sha256 = "a9d8b31fddba18054a472b3bcd1fca185e901e978f675883a9b0e0ec92a01c0b"
|
sha256 = "f5b126c0f90d1ab2f9f5789e905e48bde4c5fd85da07e7d2df9c6f627db349b6"
|
||||||
autoupdate.strategy = "latest_github_tag"
|
autoupdate.strategy = "latest_github_tag"
|
||||||
autoupdate.version_regex = "^(.*)\\+.*$"
|
autoupdate.version_regex = "^(.*)\\+.*$"
|
||||||
|
|
||||||
|
@ -83,6 +81,7 @@ ram.runtime = "50M"
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
admin.url = "/admin"
|
admin.url = "/admin"
|
||||||
admin.allowed = "admins"
|
admin.allowed = "admins"
|
||||||
|
admin.show_tile = false
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = [
|
packages = [
|
||||||
|
|
|
@ -28,15 +28,11 @@ ynh_backup --src_path="$install_dir"
|
||||||
ynh_backup --src_path="$data_dir" --is_big
|
ynh_backup --src_path="$data_dir" --is_big
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP THE NGINX CONFIGURATION
|
# SYSTEM CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# BACKUP THE PHP-FPM CONFIGURATION
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -43,7 +43,7 @@ chown -R "$app:www-data" "$install_dir"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
ynh_add_config --template="../conf/config.php" --destination="$install_dir/application/config/config.php"
|
ynh_add_config --template="config.php" --destination="$install_dir/application/config/config.php"
|
||||||
|
|
||||||
chmod 400 "$install_dir/application/config/config.php"
|
chmod 400 "$install_dir/application/config/config.php"
|
||||||
chown "$app:$app" "$install_dir/application/config/config.php"
|
chown "$app:$app" "$install_dir/application/config/config.php"
|
||||||
|
@ -66,7 +66,7 @@ ynh_exec_as "$app" "php$phpversion" "$ls_cli" install "$admin" "$password" "$ful
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Loading SQL specific config..."
|
ynh_script_progression --message="Loading SQL specific config..."
|
||||||
|
|
||||||
ynh_add_config --template="../conf/data.sql" --destination="./data.sql"
|
ynh_add_config --template="data.sql" --destination="./data.sql"
|
||||||
|
|
||||||
ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" < ./data.sql
|
ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" < ./data.sql
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue