Mercurial > templog
comparison web/config.py @ 291:f7261dd970da
- replace ssl client certs with cookies
- remove unused ssh code
- add /set?fake=1 test mode
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 06 Jul 2019 16:32:16 +0800 |
parents | 35ae717d48f0 |
children |
comparison
equal
deleted
inserted
replaced
290:35ae717d48f0 | 291:f7261dd970da |
---|---|
7 | 7 |
8 DATA_PATH = '/home/matt/templog/web/data' | 8 DATA_PATH = '/home/matt/templog/web/data' |
9 | 9 |
10 # local config items | 10 # local config items |
11 HMAC_KEY = 'a hmac key' | 11 HMAC_KEY = 'a hmac key' |
12 ALLOWED_USERS = [] # list of sha1 hashes of client ssl keys | 12 ALLOWED_USERS = [] # list of hashes allowed, as provided by the Email link |
13 SSH_HOST = 'remotehost' | |
14 SSH_KEYFILE = '/home/matt/.ssh/somekey' | |
15 SSH_PROG = 'ssh' | |
16 | 13 |
17 UPDATE_URL = 'http://evil.ucc.asn.au/~matt/templog/update' | 14 UPDATE_URL = 'http://evil.ucc.asn.au/~matt/templog/update' |
15 | |
16 EMAIL = "[email protected]" | |
18 | 17 |
19 GRAPH_WIDTH = 600 | 18 GRAPH_WIDTH = 600 |
20 GRAPH_HEIGHT = 700 | 19 GRAPH_HEIGHT = 700 |
21 ZOOM = 1 | 20 ZOOM = 1 |
22 # determine by viewing the image | 21 # determine by viewing the image |