mirror of
https://github.com/YunoHost-Apps/limesurvey_ynh.git
synced 2024-09-03 19:36:32 +02:00
commit
dfbddd0966
9 changed files with 41 additions and 27 deletions
15
.github/workflows/updater.sh
vendored
15
.github/workflows/updater.sh
vendored
|
@ -4,6 +4,13 @@
|
|||
# PACKAGE UPDATING HELPER
|
||||
#=================================================
|
||||
|
||||
# This script is meant to be run by GitHub Actions
|
||||
# The YunoHost-Apps organisation offers a template Action to run this script periodically
|
||||
# Since each app is different, maintainers can adapt its contents so as to perform
|
||||
# automatic actions when a new upstream release is detected.
|
||||
|
||||
# Remove this exit command when you are ready to run this Action
|
||||
exit 1
|
||||
|
||||
#=================================================
|
||||
# FETCHING LATEST RELEASE AND ITS ASSETS
|
||||
|
@ -75,13 +82,19 @@ checksum=$(sha256sum "$tempdir/$filename" | head -c 64)
|
|||
# Delete temporary directory
|
||||
rm -rf $tempdir
|
||||
|
||||
# Get extension
|
||||
if [[ $filename == *.tar.gz ]]; then
|
||||
extension=tar.gz
|
||||
else
|
||||
extension=${filename##*.}
|
||||
fi
|
||||
|
||||
# Rewrite source file
|
||||
cat <<EOT > conf/$src.src
|
||||
SOURCE_URL=$asset_url
|
||||
SOURCE_SUM=$checksum
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_FORMAT=$extension
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_FILENAME=limesurvey.tar.gz
|
||||
SOURCE_EXTRACT=true
|
||||
|
|
4
.github/workflows/updater.yml
vendored
4
.github/workflows/updater.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Fetch the source code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Run the updater script
|
||||
|
@ -33,7 +33,7 @@ jobs:
|
|||
- name: Create Pull Request
|
||||
id: cpr
|
||||
if: ${{ env.PROCEED == 'true' }}
|
||||
uses: peter-evans/create-pull-request@v3
|
||||
uses: peter-evans/create-pull-request@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
commit-message: Update to version ${{ env.VERSION }}
|
||||
|
|
|
@ -6,6 +6,7 @@ It shall NOT be edited by hand.
|
|||
# LimeSurvey for YunoHost
|
||||
|
||||
[![Integration level](https://dash.yunohost.org/integration/limesurvey.svg)](https://dash.yunohost.org/appci/app/limesurvey) ![Working status](https://ci-apps.yunohost.org/ci/badges/limesurvey.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/limesurvey.maintain.svg)
|
||||
|
||||
[![Install LimeSurvey with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=limesurvey)
|
||||
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
|
@ -18,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
LimeSurvey is used to create advanced poll.
|
||||
|
||||
|
||||
**Shipped version:** 5.2.6~ynh4
|
||||
**Shipped version:** 5.6.8+230227~ynh1
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
@ -26,7 +27,7 @@ LimeSurvey is used to create advanced poll.
|
|||
|
||||
## Disclaimers / important information
|
||||
|
||||
## YunoHost specific features
|
||||
### YunoHost specific features
|
||||
|
||||
* 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.
|
||||
|
|
25
README_fr.md
25
README_fr.md
|
@ -5,28 +5,29 @@ It shall NOT be edited by hand.
|
|||
|
||||
# LimeSurvey pour YunoHost
|
||||
|
||||
[![Niveau d'intégration](https://dash.yunohost.org/integration/limesurvey.svg)](https://dash.yunohost.org/appci/app/limesurvey) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/limesurvey.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/limesurvey.maintain.svg)
|
||||
[![Niveau d’intégration](https://dash.yunohost.org/integration/limesurvey.svg)](https://dash.yunohost.org/appci/app/limesurvey) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/limesurvey.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/limesurvey.maintain.svg)
|
||||
|
||||
[![Installer LimeSurvey avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=limesurvey)
|
||||
|
||||
*[Read this readme in english.](./README.md)*
|
||||
|
||||
> *Ce package vous permet d'installer LimeSurvey rapidement et simplement sur un serveur YunoHost.
|
||||
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
|
||||
> *Ce package vous permet d’installer LimeSurvey rapidement et simplement sur un serveur YunoHost.
|
||||
Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.*
|
||||
|
||||
## Vue d'ensemble
|
||||
## Vue d’ensemble
|
||||
|
||||
Outil de création et diffusion de sondage
|
||||
|
||||
|
||||
**Version incluse :** 5.2.6~ynh4
|
||||
**Version incluse :** 5.6.8+230227~ynh1
|
||||
|
||||
## Captures d'écran
|
||||
## Captures d’écran
|
||||
|
||||
![Capture d'écran de LimeSurvey](./doc/screenshots/create_html_statistic_screen.png)
|
||||
![Capture d’écran de LimeSurvey](./doc/screenshots/create_html_statistic_screen.png)
|
||||
|
||||
## Avertissements / informations importantes
|
||||
|
||||
## Caractéristiques spécifiques de YunoHost
|
||||
### 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.
|
||||
|
@ -34,10 +35,10 @@ Outil de création et diffusion de sondage
|
|||
|
||||
## Documentations et ressources
|
||||
|
||||
* Site officiel de l'app : <https://www.limesurvey.org>
|
||||
* Site officiel de l’app : <https://www.limesurvey.org>
|
||||
* Documentation officielle utilisateur : <https://help.limesurvey.org>
|
||||
* Documentation officielle de l'admin : <https://manual.limesurvey.org/LimeSurvey_Manual/fr>
|
||||
* Dépôt de code officiel de l'app : <https://github.com/LimeSurvey/LimeSurvey>
|
||||
* Documentation officielle de l’admin : <https://manual.limesurvey.org/LimeSurvey_Manual/fr>
|
||||
* Dépôt de code officiel de l’app : <https://github.com/LimeSurvey/LimeSurvey>
|
||||
* Documentation YunoHost pour cette app : <https://yunohost.org/app_limesurvey>
|
||||
* Signaler un bug : <https://github.com/YunoHost-Apps/limesurvey_ynh/issues>
|
||||
|
||||
|
@ -53,4 +54,4 @@ ou
|
|||
sudo yunohost app upgrade limesurvey -u https://github.com/YunoHost-Apps/limesurvey_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>
|
||||
**Plus d’infos sur le packaging d’applications :** <https://yunohost.org/packaging_apps>
|
|
@ -1,7 +1,7 @@
|
|||
SOURCE_URL=https://github.com/LimeSurvey/LimeSurvey/archive/refs/tags/5.2.6+211213.tar.gz
|
||||
SOURCE_SUM=d097af55794000d87ad8f88698597f6cba2e972499819d3f4bd55748f1de1765
|
||||
SOURCE_URL=https://api.github.com/repos/LimeSurvey/LimeSurvey/tarball/refs/tags/5.6.8+230227
|
||||
SOURCE_SUM=eedad74060c71673b4ff0dbc466957d317add672d0e32984c83141b8b0ff3757
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FILENAME=limesurvey.tar.gz
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_FILENAME=
|
||||
SOURCE_FILENAME=limesurvey.tar.gz
|
||||
SOURCE_EXTRACT=true
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
## YunoHost specific features
|
||||
### YunoHost specific features
|
||||
|
||||
* 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.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
## Caractéristiques spécifiques de YunoHost
|
||||
### 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.
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Create and distribute surveys",
|
||||
"fr": "Outil de création et diffusion de sondage"
|
||||
},
|
||||
"version": "5.2.6~ynh4",
|
||||
"version": "5.6.8+230227~ynh1",
|
||||
"url": "https://www.limesurvey.org/",
|
||||
"upstream": {
|
||||
"license": "GPL-2.0+",
|
||||
|
@ -22,7 +22,7 @@
|
|||
"url": "https://reflexlibre.net"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.3.0"
|
||||
"yunohost": ">= 11.0.9"
|
||||
},
|
||||
"multi_instance": true,
|
||||
"services": [
|
||||
|
|
|
@ -31,7 +31,6 @@ is_admin_public=$(ynh_app_setting_get --app=$app --key=is_admin_public)
|
|||
#=================================================
|
||||
# CHECK VERSION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Checking version..."
|
||||
|
||||
upgrade_type=$(ynh_check_app_version_changed)
|
||||
|
||||
|
|
Loading…
Reference in a new issue