1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snappymail_ynh.git synced 2024-09-03 20:26:29 +02:00

Merge pull request #23 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-05-31 14:46:40 +02:00 committed by GitHub
commit 7992736ac6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 35 additions and 34 deletions

View file

@ -105,7 +105,7 @@ SOURCE_URL=$asset_url
SOURCE_SUM=$checksum
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=$extension
SOURCE_IN_SUBDIR=true
SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=
EOT
echo "... conf/$src.src updated"

View file

@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# SnappyMail for YunoHost
[![Integration level](https://dash.yunohost.org/integration/snappymail.svg)](https://dash.yunohost.org/appci/app/snappymail) ![](https://ci-apps.yunohost.org/ci/badges/snappymail.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/snappymail.maintain.svg)
[![Integration level](https://dash.yunohost.org/integration/snappymail.svg)](https://dash.yunohost.org/appci/app/snappymail) ![Working status](https://ci-apps.yunohost.org/ci/badges/snappymail.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/snappymail.maintain.svg)
[![Install SnappyMail with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=snappymail)
*[Lire ce readme en français.](./README_fr.md)*
@ -18,10 +18,9 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Simple, modern, lightweight & fast web-based email client. The drastically upgraded & secured fork of RainLoop Webmail Community edition.
**Shipped version:** 2.16.1~ynh1
**Shipped version:** 2.16.3~ynh1
**Demo:** https://snappymail.eu/demo/
## Disclaimers / important information
:heavy_exclamation_mark: The password-file is created after first opening the admin UI!
@ -32,21 +31,22 @@ Open the admin UI `https://example.com/?admin` to configure your mail server set
## Documentation and resources
* Official app website: https://snappymail.eu/
* Official admin documentation: https://github.com/the-djmaze/snappymail/wiki
* Upstream app code repository: https://github.com/the-djmaze/snappymail
* YunoHost documentation for this app: https://yunohost.org/app_snappymail
* Report a bug: https://github.com/YunoHost-Apps/snappymail_ynh/issues
* Official app website: <https://snappymail.eu/>
* Official admin documentation: <https://github.com/the-djmaze/snappymail/wiki>
* Upstream app code repository: <https://github.com/the-djmaze/snappymail>
* YunoHost documentation for this app: <https://yunohost.org/app_snappymail>
* Report a bug: <https://github.com/YunoHost-Apps/snappymail_ynh/issues>
## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/snappymail_ynh/tree/testing).
To try the testing branch, please proceed like that.
```
``` bash
sudo yunohost app install https://github.com/YunoHost-Apps/snappymail_ynh/tree/testing --debug
or
sudo yunohost app upgrade snappymail -u https://github.com/YunoHost-Apps/snappymail_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,10 +1,14 @@
<!--
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.
-->
# SnappyMail pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/snappymail.svg)](https://dash.yunohost.org/appci/app/snappymail) ![](https://ci-apps.yunohost.org/ci/badges/snappymail.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/snappymail.maintain.svg)
[![Niveau d'intégration](https://dash.yunohost.org/integration/snappymail.svg)](https://dash.yunohost.org/appci/app/snappymail) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/snappymail.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/snappymail.maintain.svg)
[![Installer SnappyMail avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=snappymail)
*[Read this readme in english.](./README.md)*
*[Lire ce readme en français.](./README_fr.md)*
> *Ce package vous permet d'installer SnappyMail 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.*
@ -14,10 +18,9 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Simple, modern, lightweight & fast web-based email client. The drastically upgraded & secured fork of RainLoop Webmail Community edition.
**Version incluse :** 2.16.1~ynh1
**Version incluse :** 2.16.3~ynh1
**Démo :** https://snappymail.eu/demo/
## Avertissements / informations importantes
:heavy_exclamation_mark: The password-file is created after first opening the admin UI!
@ -28,21 +31,22 @@ Open the admin UI `https://example.com/?admin` to configure your mail server set
## Documentations et ressources
* Site officiel de l'app : https://snappymail.eu/
* Documentation officielle de l'admin : https://github.com/the-djmaze/snappymail/wiki
* Dépôt de code officiel de l'app : https://github.com/the-djmaze/snappymail
* Documentation YunoHost pour cette app : https://yunohost.org/app_snappymail
* Signaler un bug : https://github.com/YunoHost-Apps/snappymail_ynh/issues
* Site officiel de l'app : <https://snappymail.eu/>
* Documentation officielle de l'admin : <https://github.com/the-djmaze/snappymail/wiki>
* Dépôt de code officiel de l'app : <https://github.com/the-djmaze/snappymail>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_snappymail>
* Signaler un bug : <https://github.com/YunoHost-Apps/snappymail_ynh/issues>
## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/snappymail_ynh/tree/testing).
Pour essayer la branche testing, procédez comme suit.
```
``` bash
sudo yunohost app install https://github.com/YunoHost-Apps/snappymail_ynh/tree/testing --debug
ou
sudo yunohost app upgrade snappymail -u https://github.com/YunoHost-Apps/snappymail_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>

View file

@ -14,7 +14,8 @@
setup_private=1
setup_public=1
upgrade=1
#upgrade=1 from_commit=e94c50dabce1e91564e1dd41770c846eb6784e8a
#2.16.1
upgrade=1 from_commit=3c1a929c81b91e6b5d8b8512cd24a3d1fe0e56cd
backup_restore=1
multi_instance=1
change_url=1
@ -22,6 +23,6 @@
Email=
Notification=none
;;; Upgrade options
; commit=e94c50dabce1e91564e1dd41770c846eb6784e8a
name=Merge pull request #13 from YunoHost-Apps/testing
; commit=3c1a929c81b91e6b5d8b8512cd24a3d1fe0e56cd
name=Merge pull request #21 from YunoHost-Apps/testing
manifest_arg=domain=DOMAIN&path=PATH&is_public=1&language=fr&admin=USER&password=pass&port=666&

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/the-djmaze/snappymail/releases/download/v2.16.1/snappymail-2.16.1.tar.gz
SOURCE_SUM=bf62279e2b1051b566a5a5d080a71555ae7c5e134d36d395a442f5a46e12729f
SOURCE_URL=https://github.com/the-djmaze/snappymail/releases/download/v2.16.3/snappymail-2.16.3.tar.gz
SOURCE_SUM=e629fafd3e536f8133f8479603e29b0af3cb2a6f249cfad3d8988046f1cdcf63
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=false

View file

@ -6,7 +6,7 @@
"en": "Simple, modern, lightweight & fast web-based email client",
"fr": "Client de messagerie Web simple, moderne, léger et rapide"
},
"version": "2.16.1~ynh1",
"version": "2.16.3~ynh1",
"url": "https://snappymail.eu/",
"upstream": {
"license": "AGPL-3.0-only",

View file

@ -57,13 +57,9 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=5
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"
# Remove the app directory securely
ynh_secure_remove --file="$final_path/snappymail/v/2.15.3"
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/data/_data_/_default_/configs/application.ini"
fi
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"