1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00

Merge pull request #27 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-01-14 10:16:47 +01:00 committed by GitHub
commit 12aa9f0656
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 15 deletions

View file

@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
NodeBB is built using the Node.js server-side Javascript platform, delivering unmatched performance.
Building on this high performance platform means fast and dependable performance that will support even the biggest and most active community.
**Shipped version:** 1.18.5~ynh1
**Shipped version:** 1.19.0~ynh1
**Demo:** https://try.nodebb.org
@ -33,7 +33,6 @@ Building on this high performance platform means fast and dependable performance
## Documentation and resources
* Official app website: https://nodebb.org
* Official user documentation: https://yunohost.org/apps
* Official admin documentation: https://docs.nodebb.org
* Upstream app code repository: https://github.com/NodeBB/NodeBB
* YunoHost documentation for this app: https://yunohost.org/app_nodebb

View file

@ -14,7 +14,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
NodeBB is built using the Node.js server-side Javascript platform, delivering unmatched performance.
Building on this high performance platform means fast and dependable performance that will support even the biggest and most active community.
**Version incluse :** 1.18.5~ynh1
**Version incluse :** 1.19.0~ynh1
**Démo :** https://try.nodebb.org
@ -29,7 +29,6 @@ Building on this high performance platform means fast and dependable performance
## Documentations et ressources
* Site officiel de l'app : https://nodebb.org
* Documentation officielle utilisateur : https://yunohost.org/apps
* Documentation officielle de l'admin : https://docs.nodebb.org
* Dépôt de code officiel de l'app : https://github.com/NodeBB/NodeBB
* Documentation YunoHost pour cette app : https://yunohost.org/app_nodebb

View file

@ -1,10 +1,5 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

View file

@ -6,14 +6,13 @@
"en": "Forum software built for the modern web",
"fr": "Logiciel de forum conçu pour le Web moderne"
},
"version": "1.18.5~ynh1",
"version": "1.19.0~ynh1",
"url": "https://nodebb.org",
"upstream": {
"license": "GPL-3.0",
"website": "https://nodebb.org",
"demo": "https://try.nodebb.org",
"admindoc": "https://docs.nodebb.org",
"userdoc": "https://yunohost.org/apps",
"code": "https://github.com/NodeBB/NodeBB"
},
"license": "GPL-3.0",
@ -22,7 +21,7 @@
"email": "abld@tutanota.com"
},
"requirements": {
"yunohost": ">> 4.2.4"
"yunohost": ">> 4.3.0"
},
"multi_instance": true,
"services": [

View file

@ -7,7 +7,7 @@
# dependencies used by the app
pkg_dependencies="postgresql"
nodejs_version=14
nodebb_version=v1.18.x
nodebb_version=v1.19.x
#=================================================
# PERSONAL HELPERS

View file

@ -40,8 +40,7 @@ db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd)
#=================================================
ynh_script_progression --message="Validating restoration parameters..." --weight=1
test ! -d $final_path \
|| ynh_die --message="There is already a directory: $final_path "
test ! -d $final_path || ynh_die --message="There is already a directory: $final_path "
#=================================================
# STANDARD RESTORATION STEPS