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

Merge pull request #14 from YunoHost-Apps/testing

Lastest changes in testing
This commit is contained in:
Clément 2020-06-01 21:44:46 +02:00 committed by GitHub
commit 108199f1e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 15 additions and 11 deletions

View file

@ -10,7 +10,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
## Overview
Gotify is a simple server for sending and receiving messages in real-time per web socket. (Includes a sleek web-ui)
**Shipped version:** 2.0.14
**Shipped version:** 2.0.16
## Screenshots

View file

@ -12,7 +12,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
## Vue d'ensemble
Gotify est un simple serveur permettant d'envoyer et de recevoir des messages via websocket.
**Version incluse:** 2.0.14
**Version incluse:** 2.0.16
## Captures d'écran

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/gotify/server/releases/download/v2.0.14/gotify-linux-amd64.zip
SOURCE_SUM=edf1650467ab20ddd827c824171e80d9c2f010eacedc9dfae0b967e981e78854
SOURCE_URL=https://github.com/gotify/server/releases/download/v2.0.16/gotify-linux-amd64.zip
SOURCE_SUM=c0919fa83fadf6ffee12b14dd94c0662bff69e83c11f51f9f1228ac374f91bf0
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=false

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/gotify/server/releases/download/v2.0.14/gotify-linux-arm-7.zip
SOURCE_SUM=d591e241e65629b13968bbbfca1ba58f4fc114c192c2b8d864d88c075e4dcfd2
SOURCE_URL=https://github.com/gotify/server/releases/download/v2.0.16/gotify-linux-arm-7.zip
SOURCE_SUM=c0919fa83fadf6ffee12b14dd94c0662bff69e83c11f51f9f1228ac374f91bf0
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=false

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/gotify/server/releases/download/v2.0.14/gotify-linux-arm64.zip
SOURCE_SUM=f29d0b504bcbbacc0d9bf2af9030c6a3c72fa5f21ec811236bcaa24abcfe5b5e
SOURCE_URL=https://github.com/gotify/server/releases/download/v2.0.16/gotify-linux-arm64.zip
SOURCE_SUM=27705235268d275baeb9fe024f6d9f3ee7faf91ee3f8d745f85728a30d307d39
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=false

View file

@ -21,6 +21,6 @@ database: # for database see (configure database section)
defaultuser: # on database creation, gotify creates an admin user
name: __ADMINUSER__ # the username of the default user
pass: __ADMINPASS__ # the password of the default user
passstrength: 10 # the bcrypt password strength (higher = better but also slower)
passstrength: 12 # the bcrypt password strength (higher = better but also slower)
uploadedimagesdir: data/images # the directory for storing uploaded images
pluginsdir: data/plugins # the directory where plugin resides

View file

@ -6,7 +6,7 @@
"en": "A simple server for sending and receiving messages.",
"fr": "Un simple serveur pour envoyer et recevoir des messages."
},
"version": "2.0.14~ynh1",
"version": "2.0.16~ynh1",
"url": "http://gotify.net",
"license": "MIT",
"maintainer": {

View file

@ -139,7 +139,10 @@ ynh_store_file_checksum "$final_path/config.yml"
# Set permissions to app files
chown -R root: $final_path
mkdir $final_path/data
chown -R root:$app $final_path/*
chmod -R 550 $final_path/*
chown $app $final_path/data
chmod 770 $final_path/data
#=================================================
# ADVERTISE SERVICE IN ADMIN PANEL
@ -163,4 +166,5 @@ ynh_script_progression --message="Reloading nginx web server..." --weight=1
systemctl reload nginx
systemctl start $app
ynh_script_progression --message="Installation of $app completed" --last
ynh_script_progression --message="Installation of $app completed" --last
ynh_print_warn "Change the admin password after the first login or delete it in the config file (stored in plain text)"