1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/limesurvey_ynh.git synced 2024-09-03 19:36:32 +02:00

Merge pull request #59 from YunoHost-Apps/upgrade

Few fixes
This commit is contained in:
yalh76 2022-08-15 15:48:58 +02:00 committed by GitHub
commit d631fe748d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 30 additions and 13 deletions

View file

@ -15,9 +15,10 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
## Overview
Create and distribute surveys
LimeSurvey is used to create advanced poll.
**Shipped version:** 5.2.6~ynh3
**Shipped version:** 5.2.6~ynh4
## Screenshots
@ -27,7 +28,10 @@ Create and distribute surveys
## YunoHost specific features
* The application is integrated with YunoHost accounts (LDAP database)
* In private mode, only authorized YunoHost members can create poll, with the public mode, it's possible to create account to people with no YunoHost account.
* SSO and LDAP are configured.
* Login secured by fail2ban
## Documentation and resources
* Official app website: <https://www.limesurvey.org>

View file

@ -17,7 +17,8 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Outil de création et diffusion de sondage
**Version incluse :** 5.2.6~ynh3
**Version incluse :** 5.2.6~ynh4
## Captures d'écran
@ -25,9 +26,12 @@ Outil de création et diffusion de sondage
## Avertissements / informations importantes
## YunoHost specific features
## Caractéristiques spécifiques de YunoHost
* En mode privé, seuls les membres autorisés de YunoHost peuvent créer des sondages, en mode public, il est possible de créer des comptes pour les personnes n'ayant pas de compte YunoHost.
* SSO et LDAP sont configurés.
* Login sécurisé par fail2ban
* The application is integrated with YunoHost accounts (LDAP database)
## Documentations et ressources
* Site officiel de l'app : <https://www.limesurvey.org>

1
doc/DESCRIPTION.md Normal file
View file

@ -0,0 +1 @@
LimeSurvey is used to create advanced poll.

1
doc/DESCRIPTION_fr.md Normal file
View file

@ -0,0 +1 @@
Outil de création et diffusion de sondage

View file

@ -1,3 +1,5 @@
## YunoHost specific features
* The application is integrated with YunoHost accounts (LDAP database)
* In private mode, only authorized YunoHost members can create poll, with the public mode, it's possible to create account to people with no YunoHost account.
* SSO and LDAP are configured.
* Login secured by fail2ban

5
doc/DISCLAIMER_fr.md Normal file
View file

@ -0,0 +1,5 @@
## Caractéristiques spécifiques de YunoHost
* En mode privé, seuls les membres autorisés de YunoHost peuvent créer des sondages, en mode public, il est possible de créer des comptes pour les personnes n'ayant pas de compte YunoHost.
* SSO et LDAP sont configurés.
* Login sécurisé par fail2ban

View file

@ -6,7 +6,7 @@
"en": "Create and distribute surveys",
"fr": "Outil de création et diffusion de sondage"
},
"version": "5.2.6~ynh3",
"version": "5.2.6~ynh4",
"url": "https://www.limesurvey.org/",
"upstream": {
"license": "GPL-2.0+",
@ -175,7 +175,7 @@
{
"name": "is_admin_public",
"type": "boolean",
"help": {
"ask": {
"en": "In private mode, only authorized YunoHost members can create poll, with the public mode, it's possible to create account to people with no YunoHost account. ",
"fr": "En mode privé, seuls les utilisateurs YunoHost autorisés peuvent créer un sondage. En mode public, il est possible de créer un sondage avec un compte Limesurvey mais sans compte YunoHost."
},

View file

@ -12,11 +12,11 @@ YNH_PHP_VERSION="7.3"
pkg_dependencies="php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-imap python3-pip php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-mbstring"
#=================================================
# SPECIFIC HELPERS
# PERSONAL HELPERS
#=================================================
#=================================================
# COMMON HELPERS
# EXPERIMENTAL HELPERS
#=================================================
# Send an email to inform the administrator

View file

@ -68,7 +68,7 @@ ynh_install_app_dependencies $pkg_dependencies
#=================================================
# CREATE DEDICATED USER
#=================================================
ynh_script_progression --message="Configuring system user..." --time --weight=1
ynh_script_progression --message="Configuring system user..." --weight=1
# Create a system user
ynh_system_user_create --username=$app --home_dir="$final_path"

View file

@ -127,7 +127,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --keep="$(echo $final_path/plugins/*) $final_path/application/config/config.php $final_path/upload"
ynh_setup_source --dest_dir="$final_path" --keep="application/config/config.php $(echo $final_path/plugins/*) $final_path/application/config/config.php $final_path/upload"
fi
chmod 750 "$final_path"