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 #60 from YunoHost-Apps/testing

Few fixes
This commit is contained in:
yalh76 2022-08-31 01:56:58 +02:00 committed by GitHub
commit 5a47c14142
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 35 additions and 14 deletions

View file

@ -15,9 +15,11 @@ 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~ynh4
**Shipped version:** 5.2.6~ynh3
## Screenshots
@ -27,7 +29,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,9 @@ 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 +27,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>

View file

@ -15,9 +15,11 @@
setup_public=1
upgrade=1
# 3.17.1~ynh1
upgrade=1 from_commit=da4959616e67f89ef907a223f7c84607dc4771e5
#upgrade=1 from_commit=da4959616e67f89ef907a223f7c84607dc4771e5
# 5.2.6~ynh2
upgrade=1 from_commit=58cac7dfc0d0b835898d56238e550c775be7255b
# 5.2.6~ynh3
upgrade=1 from_commit=73fa31321aa056102c8a1c79efc3946753190c9c
backup_restore=1
multi_instance=1
port_already_use=0

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="plugins/ application/config/config.php"
fi
chmod 750 "$final_path"