1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hedgedoc_ynh.git synced 2024-09-03 19:25:52 +02:00
* Upgrde to v.1.7.0
This commit is contained in:
Éric Gaspar 2020-12-24 16:31:32 +01:00 committed by GitHub
parent 3496357008
commit c9fa651f27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 18 additions and 18 deletions

View file

@ -11,7 +11,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
## Overview
hedgedoc is a real-time collaborative word processing web service. It uses Markdown language.
**Shipped version:** 1.6.0
**Shipped version:** 1.7.0
## Screenshots

View file

@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install
## Vue d'ensemble
HedgeDoc est un service web de traitement de texte collaboratif en temps réel. Il utilise le langage Markdown.
**Version incluse :** 1.6.0
**Version incluse :** 1.7.0
## Captures d'écran

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/hedgedoc/server/archive/1.6.0.tar.gz
SOURCE_SUM=5cb53b9441817f2e17f998057174f89213c96924d55b444bdaac35d0e48fab03
SOURCE_URL=https://github.com/hedgedoc/hedgedoc/archive/1.7.0.tar.gz
SOURCE_SUM=22c0c13d215669b4addb54d6b021b79f698f69c897cb2f48363495381055b1a8
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -6,14 +6,14 @@
"en": "Collaborative editor to work on notes written in Markdown",
"fr": "Éditeur collaboratif pour travailler sur des notes en Markdown"
},
"version": "1.6.0~ynh6",
"version": "1.7.0~ynh1",
"url": "https://github.com/hedgedoc/hedgedoc",
"license": "AGPL-3.0-only",
"maintainer": {
"name": ""
"name": "eric_G"
},
"requirements": {
"yunohost": ">= 4.0.0"
"yunohost": ">= 3.8.1"
},
"multi_instance": true,
"services": [

View file

@ -7,7 +7,7 @@
# dependencies used by the app
pkg_dependencies="postgresql apt-transport-https"
nodejs_version=12
nodejs_version=14
#=================================================
# PERSONAL HELPERS

View file

@ -82,19 +82,19 @@ ynh_script_progression --message="Updating NGINX web server configuration..." --
nginx_conf_path=/etc/nginx/conf.d/$old_domain.d/$app.conf
# Change the path in the nginx config file
# Change the path in the NGINX config file
if [ $change_path -eq 1 ]
then
# Make a backup of the original nginx config file if modified
# Make a backup of the original NGINX config file if modified
ynh_backup_if_checksum_is_different --file="$nginx_conf_path"
# Set global variables for nginx helper
# Set global variables for NGINX helper
domain="$old_domain"
path_url="$new_path"
# Create a dedicated nginx config
# Create a dedicated NGINX config
ynh_add_nginx_config
fi
# Change the domain for nginx
# Change the domain for NGINX
if [ $change_domain -eq 1 ]
then
# Delete file checksum for the old conf file location

View file

@ -118,7 +118,7 @@ ynh_system_user_create --username=$app --home_dir=$final_path
#==============================================
# INSTALL HEDGEDOC
#==============================================
ynh_script_progression --message="Building HedgeDoc... (this will take some time and resources!)" --weight=10
ynh_script_progression --message="Building HedgeDoc... (this will take some time and resources!)" --weight=20
pushd "$final_path" || ynh_die
ynh_use_nodejs
@ -178,7 +178,7 @@ chown -R $app:$app $final_path
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=2
yunohost service add $app --description="collaborative Markdown editor" --log="/var/log/$app/$app.log"
yunohost service add $app --description="Collaborative Markdown editor" --log="/var/log/$app/$app.log"
#=================================================
# START SYSTEMD SERVICE

View file

@ -113,7 +113,7 @@ systemctl enable $app.service --quiet
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=2
yunohost service add $app --description="collaborative Markdown editor" --log="/var/log/$app/$app.log"
yunohost service add $app --description="Collaborative Markdown editor" --log="/var/log/$app/$app.log"
#=================================================
# START SYSTEMD SERVICE

View file

@ -121,7 +121,7 @@ ynh_system_user_create --username=$app
#==============================================
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Building HedgeDoc... (this will take some time and resources!)" --weight=10
ynh_script_progression --message="Building HedgeDoc... (this will take some time and resources!)" --weight=20
pushd "$final_path" || ynh_die
ynh_use_nodejs
@ -177,7 +177,7 @@ chown -R $app:$app $final_path
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=2
yunohost service add $app --description="collaborative Markdown editor" --log="/var/log/$app/$app.log"
yunohost service add $app --description="Collaborative Markdown editor" --log="/var/log/$app/$app.log"
#=================================================
# START SYSTEMD SERVICE