diff --git a/conf/.env b/conf/.env index 1b9a1da..dc32a60 100644 --- a/conf/.env +++ b/conf/.env @@ -11,6 +11,12 @@ COMMENTO_FORBID_NEW_OWNERS=__ENABLE_REGISTRATIONS__ # Set PostgreSQL settings 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 #COMMENTO_SMTP_HOST=localhost #COMMENTO_SMTP_PORT=25 @@ -35,4 +41,4 @@ COMMENTO_GITLAB_SECRET= # Twitter OAuth configuration COMMENTO_TWITTER_KEY= -COMMENTO_TWITTER_SECRET= \ No newline at end of file +COMMENTO_TWITTER_SECRET= diff --git a/conf/nginx.conf b/conf/nginx.conf index 169a80b..c9bd339 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -14,5 +14,6 @@ location / { # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; + more_clear_input_headers 'Accept-Encoding'; } diff --git a/manifest.json b/manifest.json index 1dea646..b1bf235 100644 --- a/manifest.json +++ b/manifest.json @@ -17,7 +17,7 @@ }, "license": "MIT", "maintainer": { - "name": "", + "name": "eric_G", "email": "" }, "requirements": { diff --git a/scripts/install b/scripts/install index 940744c..77478e7 100755 --- a/scripts/install +++ b/scripts/install @@ -145,7 +145,7 @@ yunohost service add $app --description="Privacy-focused commenting platform" -- ynh_script_progression --message="Starting a systemd service..." --weight=1 # 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 diff --git a/scripts/restore b/scripts/restore index 0a98bac..d70a0ea 100755 --- a/scripts/restore +++ b/scripts/restore @@ -105,7 +105,7 @@ yunohost service add $app --description="Privacy-focused commenting platform" -- #================================================= 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 diff --git a/scripts/upgrade b/scripts/upgrade index f44c45c..c93295a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -54,7 +54,7 @@ ynh_abort_if_errors #================================================= 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 @@ -142,7 +142,7 @@ yunohost service add $app --description="Privacy-focused commenting platform" -- #================================================= 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