1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/commento_ynh.git synced 2024-09-03 18:16:16 +02:00

Merge pull request #5 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-03-04 19:11:02 +01:00 committed by GitHub
commit de5f4f6139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 27 additions and 8 deletions

View file

@ -28,7 +28,7 @@ Commento allows you to foster discussion on your website if you have a blog,
- Upvotes and downvotes - Upvotes and downvotes
**Shipped version:** 1.8.0~ynh2 **Shipped version:** 1.8.0~ynh3
**Demo:** https://demo.commento.io/ **Demo:** https://demo.commento.io/

View file

@ -24,7 +24,7 @@ Commento allows you to foster discussion on your website if you have a blog,
- Upvotes and downvotes - Upvotes and downvotes
**Version incluse :** 1.8.0~ynh2 **Version incluse :** 1.8.0~ynh3
**Démo :** https://demo.commento.io/ **Démo :** https://demo.commento.io/

View file

@ -8,6 +8,12 @@ COMMENTO_STATIC=__FINALPATH__
# Set PostgreSQL settings # Set PostgreSQL settings
COMMENTO_POSTGRES=postgres://__DB_USER__:__DB_PWD__@127.0.0.1:5432/__DB_NAME__?sslmode=disable COMMENTO_POSTGRES=postgres://__DB_USER__:__DB_PWD__@127.0.0.1:5432/__DB_NAME__?sslmode=disable
# Used to disable new dashboard registrations.
COMMENTO_FORBID_NEW_OWNERS=false
# If set to true, all static content will be served GZipped if the client's browser supports compression.
COMMENTO_GZIP_STATIC=false
# Set the SMTP credentials # Set the SMTP credentials
#COMMENTO_SMTP_HOST=localhost #COMMENTO_SMTP_HOST=localhost
#COMMENTO_SMTP_PORT=25 #COMMENTO_SMTP_PORT=25
@ -18,3 +24,15 @@ COMMENTO_POSTGRES=postgres://__DB_USER__:__DB_PWD__@127.0.0.1:5432/__DB_NAME__?s
# Set Google OAuth credentials # Set Google OAuth credentials
COMMENTO_GOOGLE_KEY= COMMENTO_GOOGLE_KEY=
COMMENTO_GOOGLE_SECRET= COMMENTO_GOOGLE_SECRET=
# Set GitHub OAuth credentials
COMMENTO_GITHUB_KEY=
COMMENTO_GITHUB_SECRET=
# Set GitLab OAuth credentials
COMMENTO_GITLAB_KEY=
COMMENTO_GITLAB_SECRET=
# Set Twitter OAuth credentials
COMMENTO_TWITTER_KEY=
COMMENTO_TWITTER_SECRET=

View file

@ -14,5 +14,6 @@ location / {
# Include SSOWAT user panel. # Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc; include conf.d/yunohost_panel.conf.inc;
more_clear_input_headers 'Accept-Encoding'; more_clear_input_headers 'Accept-Encoding';
} }

View file

@ -6,7 +6,7 @@
"en": "Fast, privacy-focused commenting platform", "en": "Fast, privacy-focused commenting platform",
"fr": "Plateforme de commentaires rapide axée sur la confidentialité" "fr": "Plateforme de commentaires rapide axée sur la confidentialité"
}, },
"version": "1.8.0~ynh2", "version": "1.8.0~ynh3",
"url": "https://commento.io/", "url": "https://commento.io/",
"upstream": { "upstream": {
"license": "MIT", "license": "MIT",

View file

@ -143,7 +143,7 @@ yunohost service add $app --description="Privacy-focused commenting platform" --
ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_script_progression --message="Starting a systemd service..." --weight=1
# Start a systemd service # Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT

View file

@ -105,7 +105,7 @@ yunohost service add $app --description="Privacy-focused commenting platform" --
#================================================= #=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION

View file

@ -52,7 +52,7 @@ ynh_abort_if_errors
#================================================= #=================================================
ynh_script_progression --message="Stopping a systemd service..." --weight=1 ynh_script_progression --message="Stopping a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log" ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
#================================================= #=================================================
# ENSURE DOWNWARD COMPATIBILITY # ENSURE DOWNWARD COMPATIBILITY
@ -135,7 +135,7 @@ yunohost service add $app --description="Privacy-focused commenting platform" --
#================================================= #=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX