diff options
| author | Alon Levy <alon@pobox.com> | 2015-01-13 08:36:01 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-01-13 10:24:00 +0200 |
| commit | eced38bfff26a9c7faf78683fe15f148732cd9cf (patch) | |
| tree | 452466fa7c2923702df73fd2546da94b149d9925 /res | |
| parent | 96534de0c0dceefde8795e879927c5bedbdaa858 (diff) | |
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
Diffstat (limited to 'res')
| -rw-r--r-- | res/client/css/icons.png | bin | 0 -> 2022 bytes | |||
| -rw-r--r-- | res/etc/rhizi-server.conf | 11 |
2 files changed, 10 insertions, 1 deletions
diff --git a/res/client/css/icons.png b/res/client/css/icons.png Binary files differnew file mode 100644 index 00000000..d2a0da7e --- /dev/null +++ b/res/client/css/icons.png 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 |
