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 #20 from YunoHost-Apps/2.16.0

2.16.0
This commit is contained in:
Éric Gaspar 2022-05-19 15:28:49 +02:00 committed by GitHub
commit c20165129b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 29 additions and 12 deletions

View file

@ -18,12 +18,16 @@ 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.15.3~ynh1
**Shipped version:** 2.16.1~ynh1
**Demo:** https://snappymail.eu/demo/
## Disclaimers / important information
:heavy_exclamation_mark: The password-file is created after first opening the admin UI!
:heavy_exclamation_mark: Be sure to immediately change the default password!
Open the admin UI `https://example.com/?admin` to configure your mail server settings. Login with user "admin" and password from the file `/var/www/snappymail/data/_data_/_default_/admin_password.txt`.
## Documentation and resources

View file

@ -14,12 +14,16 @@ 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.15.3~ynh1
**Version incluse :** 2.16.1~ynh1
**Démo :** https://snappymail.eu/demo/
## Avertissements / informations importantes
:heavy_exclamation_mark: The password-file is created after first opening the admin UI!
:heavy_exclamation_mark: Be sure to immediately change the default password!
Open the admin UI `https://example.com/?admin` to configure your mail server settings. Login with user "admin" and password from the file `/var/www/snappymail/data/_data_/_default_/admin_password.txt`.
## Documentations et ressources

View file

@ -14,7 +14,7 @@
setup_private=1
setup_public=1
upgrade=1
#upgrade=1 from_commit=CommitHash
#upgrade=1 from_commit=e94c50dabce1e91564e1dd41770c846eb6784e8a
backup_restore=1
multi_instance=1
change_url=1
@ -22,6 +22,6 @@
Email=
Notification=none
;;; Upgrade options
; commit=CommitHash
name=Name and date of the commit.
; commit=e94c50dabce1e91564e1dd41770c846eb6784e8a
name=Merge pull request #13 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.15.3/snappymail-2.15.3.tar.gz
SOURCE_SUM=c5c0f3185b1ae9adb17ea61db3904b1f149d9f7fda128f173a777f8e45955d00
SOURCE_URL=https://github.com/the-djmaze/snappymail/releases/download/v2.16.1/snappymail-2.16.1.tar.gz
SOURCE_SUM=bf62279e2b1051b566a5a5d080a71555ae7c5e134d36d395a442f5a46e12729f
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=false

View file

@ -1 +1,5 @@
:heavy_exclamation_mark: The password-file is created after first opening the admin UI!
:heavy_exclamation_mark: Be sure to immediately change the default password!
Open the admin UI `https://example.com/?admin` to configure your mail server settings. Login with user "admin" and password from the file `/var/www/snappymail/data/_data_/_default_/admin_password.txt`.

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.15.3~ynh1",
"version": "2.16.1~ynh1",
"url": "https://snappymail.eu/",
"upstream": {
"license": "AGPL-3.0-only",
@ -26,7 +26,7 @@
"multi_instance": true,
"services": [
"nginx",
"php7.4-fpm"
"php8.0-fpm"
],
"arguments": {
"install" : [

View file

@ -4,9 +4,9 @@
# COMMON VARIABLES
#=================================================
YNH_PHP_VERSION="7.4"
YNH_PHP_VERSION="8.0"
pkg_dependencies="php-uuid php${YNH_PHP_VERSION}-sqlite3 php${YNH_PHP_VERSION}-tidy php${YNH_PHP_VERSION}-dom php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-mbstring"
pkg_dependencies="php${YNH_PHP_VERSION}-sqlite3 php${YNH_PHP_VERSION}-tidy php${YNH_PHP_VERSION}-dom php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-mbstring"
#=================================================
# PERSONAL HELPERS

View file

@ -27,6 +27,7 @@ ynh_abort_if_errors
domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC
phpversion=$YNH_PHP_VERSION
app=$YNH_APP_INSTANCE_NAME

View file

@ -57,9 +57,13 @@ 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" --keep="$final_path/data/_data_"
ynh_setup_source --dest_dir="$final_path"
# Remove the app directory securely
ynh_secure_remove --file="$final_path/snappymail/v/2.15.3"
fi
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"