mirror of
https://github.com/YunoHost-Apps/garradin_ynh.git
synced 2024-09-03 18:36:17 +02:00
Merge branch 'testing' into test
This commit is contained in:
commit
92e494286a
10 changed files with 149 additions and 34 deletions
85
README.md
85
README.md
|
@ -1,28 +1,71 @@
|
||||||
# Garradin
|
# Garradin
|
||||||
|
|
||||||
## Garradin est un logiciel libre de gestion associative. il permet de gérer des membres.
|
[](https://dash.yunohost.org/appci/app/garradin)  
|
||||||
|
|
||||||
|
|
||||||
### State : Testing/Production ###
|
|
||||||
|
|
||||||
report issue/rapport de bogues: https://github.com/Yunohost-Apps/garradin_ynh/issues
|
|
||||||
site de garradin : http://garradin.eu
|
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/jenkins/job/garradin%20%28Community%29/lastBuild/consoleFull)<br>
|
|
||||||
[](https://install-app.yunohost.org/?app=garradin)
|
[](https://install-app.yunohost.org/?app=garradin)
|
||||||
|
|
||||||
## Installation :
|
*[Lire ce readme en français.](./README_fr.md)*
|
||||||
- CLI
|
|
||||||
`sudo yunohost app install https://github.com/Yunohost-Apps/garradin_ynh`
|
|
||||||
|
|
||||||
- À travers l'interface d'administration
|
> *This package allows you to install Garradin quickly and simply on a YunoHost server.
|
||||||
|
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
||||||
|
|
||||||
### TODO list :
|
## Overview
|
||||||
- Permissions de certains fichiers sensibles ?
|
Garradin is a free association managing software.
|
||||||
|
|
||||||
#### Problèmes / Avertissements :
|
**Shipped version:** 0.9.6
|
||||||
- le système SSO n'est pas implémenté, ni l'installation directe. L'utilisateur admin devra créer son compte avec le formulaire de création de compte qu'il trouvera à la fin de l'installation. Plusieurs raisons m'ont poussé à ne pas implémenter le SSO :
|
|
||||||
- Le SSO n'est pas implémenté dans l'app originale.
|
## Screenshots
|
||||||
- Avoir 150+ utilisateurs dans Yunohost n'est pas très pratique, ni très sécurisé, et revient en fin de compte à centraliser les services.
|
|
||||||
- Ce formulaire laisse le choix à l'administrateur de choisir les modalités de création de son compte. On pourrait peut-être me reprocher de ne pas avoir intégré ce formulaire dans le formulaire d'installation que l'utilisateur remplit avant l'installation de ce paquet. Il est vrai que j'aurais pu mettre les ~dix champs qui compose le formulaire de Garradin, mais je ne trouvais pas cela très pratique.
|

|
||||||
- Cette application n'est disponible qu'en Français (la loi 1901 sur les asso n'étant appliquée qu'en France).
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
## Demo
|
||||||
|
|
||||||
|
* [Official demo](https://garradin.eu/essai/)
|
||||||
|
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
* Official documentation: https://fossil.kd2.org/garradin/wiki?name=Documentation
|
||||||
|
|
||||||
|
## YunoHost specific features
|
||||||
|
|
||||||
|
#### Multi-user support
|
||||||
|
|
||||||
|
LDAP is not supported yet.
|
||||||
|
|
||||||
|
#### Supported architectures
|
||||||
|
|
||||||
|
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/garradin/)
|
||||||
|
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/garradin/)
|
||||||
|
|
||||||
|
## Limitations
|
||||||
|
|
||||||
|
* The application is ONLY translated into french.
|
||||||
|
|
||||||
|
**More info on the documentation page:**
|
||||||
|
https://yunohost.org/packaging_apps
|
||||||
|
|
||||||
|
## Links
|
||||||
|
|
||||||
|
* Report a bug: https://github.com/YunoHost-Apps/garradin_ynh/issues
|
||||||
|
* App website: https://garradin.eu
|
||||||
|
* Upstream app repository: https://fossil.kd2.org/garradin/wiki?name=Garradin
|
||||||
|
* YunoHost website: https://yunohost.org/
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Developer info
|
||||||
|
----------------
|
||||||
|
|
||||||
|
**Only if you want to use a testing branch for coding, instead of merging directly into master.**
|
||||||
|
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/garradin_ynh/tree/testing).
|
||||||
|
|
||||||
|
To try the testing branch, please proceed like that.
|
||||||
|
```
|
||||||
|
sudo yunohost app install https://github.com/YunoHost-Apps/garradin_ynh/tree/testing --debug
|
||||||
|
or
|
||||||
|
sudo yunohost app upgrade REPLACEBYYOURAPP -u https://github.com/YunoHost-Apps/garradin_ynh/tree/testing --debug
|
||||||
|
```
|
||||||
|
|
70
README_fr.md
Normal file
70
README_fr.md
Normal file
|
@ -0,0 +1,70 @@
|
||||||
|
# Garradin
|
||||||
|
|
||||||
|
[](https://dash.yunohost.org/appci/app/garradin)  
|
||||||
|
[](https://install-app.yunohost.org/?app=garradin)
|
||||||
|
|
||||||
|
*[Read this readme in english.](./README.md)*
|
||||||
|
|
||||||
|
> *Ce package vous permet d'installer REPLACEBYYOURAPP rapidement et simplement sur un serveur YunoHost.
|
||||||
|
Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.*
|
||||||
|
|
||||||
|
## Vue d'ensemble
|
||||||
|
Garradin est un logiciel libre de gestion associative. il permet de gérer des membres.
|
||||||
|
|
||||||
|
**Version incluse :** 0.9.6
|
||||||
|
|
||||||
|
## Captures d'écran
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
## Démo
|
||||||
|
|
||||||
|
* [Démo officielle](https://garradin.eu/essai/)
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
* Documentation officielle : https://fossil.kd2.org/garradin/wiki?name=Documentation
|
||||||
|
|
||||||
|
## Caractéristiques spécifiques YunoHost
|
||||||
|
|
||||||
|
#### Support multi-utilisateur
|
||||||
|
|
||||||
|
* L'authentification LDAP n'est pas disponible.
|
||||||
|
|
||||||
|
#### Architectures supportées
|
||||||
|
|
||||||
|
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/garradin/)
|
||||||
|
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/garradin/)
|
||||||
|
|
||||||
|
## Limitations
|
||||||
|
|
||||||
|
* Garradin n'est disponible qu'en français.
|
||||||
|
|
||||||
|
**Plus d'informations sur la page de documentation :**
|
||||||
|
https://yunohost.org/packaging_apps
|
||||||
|
|
||||||
|
## Liens
|
||||||
|
|
||||||
|
* Signaler un bug : https://github.com/YunoHost-Apps/garradin_ynh/issues
|
||||||
|
* Site de l'application : http://garradin.eu
|
||||||
|
* Dépôt de l'application principale : https://fossil.kd2.org/garradin/wiki?name=Garradin
|
||||||
|
* Site web YunoHost : https://yunohost.org/
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Informations pour les développeurs
|
||||||
|
----------------
|
||||||
|
|
||||||
|
**Seulement si vous voulez utiliser une branche de test pour le codage, au lieu de fusionner directement dans la banche principale.**
|
||||||
|
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/garradin_ynh/tree/testing).
|
||||||
|
|
||||||
|
Pour essayer la branche testing, procédez comme suit.
|
||||||
|
```
|
||||||
|
sudo yunohost app install https://github.com/YunoHost-Apps/garradin_ynh/tree/testing --debug
|
||||||
|
ou
|
||||||
|
sudo yunohost app upgrade REPLACEBYYOURAPP -u https://github.com/YunoHost-Apps/garradin_ynh/tree/testing --debug
|
||||||
|
```
|
|
@ -1,3 +1,4 @@
|
||||||
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||||
location __PATH__ {
|
location __PATH__ {
|
||||||
|
|
||||||
# Path to source
|
# Path to source
|
||||||
|
@ -7,6 +8,7 @@ if ($scheme = http) {
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
rewrite ^ https://$server_name$request_uri? permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# Protecting sensibles urls
|
# Protecting sensibles urls
|
||||||
location ~ 403 {
|
location ~ 403 {
|
||||||
rewrite ^(.*)$ /include/ redirect;
|
rewrite ^(.*)$ /include/ redirect;
|
||||||
|
|
BIN
images/compta.png
Normal file
BIN
images/compta.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
BIN
images/emails.png
Normal file
BIN
images/emails.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
BIN
images/membre.png
Normal file
BIN
images/membre.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
BIN
images/site.jpg
Normal file
BIN
images/site.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 206 KiB |
BIN
images/wiki.png
Normal file
BIN
images/wiki.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
|
@ -9,9 +9,7 @@
|
||||||
"en": "Software to manage association",
|
"en": "Software to manage association",
|
||||||
"fr": "Logiciel libre de gestion d'association"
|
"fr": "Logiciel libre de gestion d'association"
|
||||||
},
|
},
|
||||||
|
|
||||||
"version": "0.9.8~ynh3",
|
"version": "0.9.8~ynh3",
|
||||||
|
|
||||||
"url": "http://garradin.eu/a-propos/",
|
"url": "http://garradin.eu/a-propos/",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -34,12 +34,14 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
change_domain=0
|
change_domain=0
|
||||||
if [ "$old_domain" != "$new_domain" ]; then
|
if [ "$old_domain" != "$new_domain" ]
|
||||||
|
then
|
||||||
change_domain=1
|
change_domain=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
change_path=0
|
change_path=0
|
||||||
if [ "$old_path" != "$new_path" ]; then
|
if [ "$old_path" != "$new_path" ]
|
||||||
|
then
|
||||||
change_path=1
|
change_path=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -80,7 +82,7 @@ if [ $change_domain -eq 1 ]; then
|
||||||
ynh_delete_file_checksum --file="$nginx_conf_path"
|
ynh_delete_file_checksum --file="$nginx_conf_path"
|
||||||
mv $nginx_conf_path /etc/nginx/conf.d/$new_domain.d/$app.conf
|
mv $nginx_conf_path /etc/nginx/conf.d/$new_domain.d/$app.conf
|
||||||
# Store file checksum for the new config file location
|
# Store file checksum for the new config file location
|
||||||
#ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf"
|
ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue