11 Commits

Author SHA1 Message Date
AnthorNet
76954751c0 Fix missing _Core in relay 2015-05-04 13:26:33 +02:00
AnthorNet
a80994ae4a Change conf directory name 2015-05-04 11:41:15 +02:00
James Muscat
976454c358 Extra stats: uptime and EDDN version. 2015-04-23 09:57:51 +01:00
James Muscat
3fc16cbb0a Set CORS header to allow status page to read these values. 2015-04-15 15:00:39 +01:00
James Muscat
46292e3c30 Don't corrupt the commandline unless we're asked to.
The hacky approach caused problems with anything else trying to use
argparse (e.g. nosetests). This approach only tries to parse the
commandline if we need to e.g. within Relay/Gateway's main() function.
2015-04-14 14:30:26 +01:00
James Muscat
da426c1d89 Encapsulate settings as a class. Make a singleton available. 2015-04-14 00:30:22 +01:00
James Muscat
7d7f977cea Rip out the old method of collecting stats in favour of the generic way. 2015-04-13 18:32:32 +01:00
James Muscat
7c146a14c4 Factor out common code into StatsCollector. 2015-04-13 18:04:33 +01:00
James Muscat
95e83333d7 Add a StatsCollector to the Relay too. 2015-04-13 18:00:24 +01:00
James Muscat
c2109d2866 pep8 fix. 2015-04-04 00:38:11 +01:00
James Muscat
bffa6b3a13 Heavily borrow EMDR code for a relay. 2014-11-15 14:46:31 +00:00