From eced38bfff26a9c7faf78683fe15f148732cd9cf Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Tue, 13 Jan 2015 08:36:01 +0200 Subject: incorporate https://github.com/ivoviz/feedback allows user to mark an image and send it. sends an email to configured recipient. defaults to using localhost:25 as the SMTP server (no user name, no password, see [1] for configuration parameters of flask-mail). Introduces a config parameter: FEEDBACK_RECIPIENT = feedback@localhost left TODO: 1. customize the 'thank you' text 2. document in user guide (setting MAIL_DEFAULT_SENDER correctly) [1] https://pythonhosted.org/Flask-Mail/#configuring-flask-mail --- res/client/css/icons.png | Bin 0 -> 2022 bytes res/etc/rhizi-server.conf | 11 ++++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 res/client/css/icons.png (limited to 'res') diff --git a/res/client/css/icons.png b/res/client/css/icons.png new file mode 100644 index 00000000..d2a0da7e Binary files /dev/null and b/res/client/css/icons.png differ diff --git a/res/etc/rhizi-server.conf b/res/etc/rhizi-server.conf index f5e3c2d3..2d105833 100644 --- a/res/etc/rhizi-server.conf +++ b/res/etc/rhizi-server.conf @@ -3,7 +3,16 @@ listen_port = 8080 development_mode = True neo4j_url = http://127.0.0.1:7474 log_path = rhizi-server.log -access_control = False +access_control = True SERVER_NAME = rhizi.local:8080 DEBUG = True + +# Mail settings +MAIL_DEFAULT_SENDER = rhizi@localhost +# 0/1 (not True - uses int) +MAIL_DEBUG = 0 +FEEDBACK_RECIPIENT = feedback@localhost + +# This should not be committed +SECRET_KEY = cographmetamaps -- cgit v1.3.1