You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2020/09/08 16:06:36 UTC

[incubator-ponymail-foal] 02/02: seed UI config options that the backend needs

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 07343c437fa5b78d84847c86d91022c34d354c07
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Sep 8 18:06:09 2020 +0200

    seed UI config options that the backend needs
---
 tools/setup.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tools/setup.py b/tools/setup.py
index 413c4eb..48e45b4 100755
--- a/tools/setup.py
+++ b/tools/setup.py
@@ -447,6 +447,11 @@ database:
   db_prefix: %s    # DB prefix, usually 'ponymail'
   max_hits: 15000        # Maximum number of emails to process in a search
 
+ui:
+  wordcloud:       %s
+  mailhost:        %s
+  sender_domains:  %s
+
 tasks:
   refresh_rate:  150     # Background indexer run interval, in seconds
 
@@ -456,7 +461,7 @@ oauth:
   github_client_id:     ~
   github_client_secret: ~
 
-""" % (hostname,  port, dbname))
+""" % (hostname,  port, dbname, "true" if wce else "false", mlserver, mldom))
 
 
 print("All done, Pony Mail should...work now :)")