1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pytition_ynh.git synced 2024-09-03 20:16:08 +02:00

Update to Pytition 2.5.1 and fix user image uploads and TinyMCE editors

When uploading images in mediaroot, files must have gid www-data
so that nginx can serve them.
Also, image upload script URL for TinyMCE editor was wrong if STATIC_ROOT
is not '/static/'
Tinymce js url was wrong in this case also.
This commit is contained in:
Yann Sionneau 2022-05-14 15:26:37 +02:00 committed by Félix Piédallu
parent ea9cd8f526
commit 8afcdb18e5
2 changed files with 19 additions and 25 deletions

View file

@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# Pytition for YunoHost
[![Integration level](https://dash.yunohost.org/integration/pytition.svg)](https://dash.yunohost.org/appci/app/pytition) ![Working status](https://ci-apps.yunohost.org/ci/badges/pytition.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/pytition.maintain.svg)
[![Integration level](https://dash.yunohost.org/integration/pytition.svg)](https://dash.yunohost.org/appci/app/pytition) ![](https://ci-apps.yunohost.org/ci/badges/pytition.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/pytition.maintain.svg)
[![Install Pytition with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=pytition)
*[Lire ce readme en français.](./README_fr.md)*
@ -34,7 +34,7 @@ Pytition is an application for privacy-friendly online petitions you can host on
## Screenshots
![Screenshot of Pytition](./doc/screenshots/stop_doing_teams.webp)
![](./doc/screenshots/stop_doing_teams.webp)
## Disclaimers / important information
@ -42,22 +42,21 @@ Pytition is an application for privacy-friendly online petitions you can host on
## Documentation and resources
* Official app website: <https://pytition.org>
* Official admin documentation: <https://pytition.readthedocs.io/en/latest/>
* Upstream app code repository: <https://github.com/pytition/Pytition>
* YunoHost documentation for this app: <https://yunohost.org/app_pytition>
* Report a bug: <https://github.com/YunoHost-Apps/pytition_ynh/issues>
* Official app website: https://pytition.org
* Official admin documentation: https://pytition.readthedocs.io/en/latest/
* Upstream app code repository: https://github.com/pytition/Pytition
* YunoHost documentation for this app: https://yunohost.org/app_pytition
* Report a bug: https://github.com/YunoHost-Apps/pytition_ynh/issues
## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/pytition_ynh/tree/testing).
To try the testing branch, please proceed like that.
``` bash
```
sudo yunohost app install https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug
or
sudo yunohost app upgrade pytition -u https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug
```
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
**More info regarding app packaging:** https://yunohost.org/packaging_apps

View file

@ -1,14 +1,10 @@
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
# Pytition pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/pytition.svg)](https://dash.yunohost.org/appci/app/pytition) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/pytition.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/pytition.maintain.svg)
[![Niveau d'intégration](https://dash.yunohost.org/integration/pytition.svg)](https://dash.yunohost.org/appci/app/pytition) ![](https://ci-apps.yunohost.org/ci/badges/pytition.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/pytition.maintain.svg)
[![Installer Pytition avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=pytition)
*[Read this readme in english.](./README.md)*
*[Lire ce readme en français.](./README_fr.md)*
> *Ce package vous permet d'installer Pytition 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.*
@ -34,7 +30,7 @@ Pytition permet d'héberger des pétitions respectueuses de la vie privée sur v
## Captures d'écran
![Capture d'écran de Pytition](./doc/screenshots/stop_doing_teams.webp)
![](./doc/screenshots/stop_doing_teams.webp)
## Avertissements / informations importantes
@ -42,22 +38,21 @@ Pytition permet d'héberger des pétitions respectueuses de la vie privée sur v
## Documentations et ressources
* Site officiel de l'app : <https://pytition.org>
* Documentation officielle de l'admin : <https://pytition.readthedocs.io/en/latest/>
* Dépôt de code officiel de l'app : <https://github.com/pytition/Pytition>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_pytition>
* Signaler un bug : <https://github.com/YunoHost-Apps/pytition_ynh/issues>
* Site officiel de l'app : https://pytition.org
* Documentation officielle de l'admin : https://pytition.readthedocs.io/en/latest/
* Dépôt de code officiel de l'app : https://github.com/pytition/Pytition
* Documentation YunoHost pour cette app : https://yunohost.org/app_pytition
* Signaler un bug : https://github.com/YunoHost-Apps/pytition_ynh/issues
## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/pytition_ynh/tree/testing).
Pour essayer la branche testing, procédez comme suit.
``` bash
```
sudo yunohost app install https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug
ou
sudo yunohost app upgrade pytition -u https://github.com/YunoHost-Apps/pytition_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