Commit Graph

9 Commits

Author SHA1 Message Date
fbcc6dc511 Pass hostname to auth token request
Related to T56381
2018-08-15 13:06:45 +02:00
0eea078802 Include version in HTTP User-Agent header
This allows us to check on the server side whether the user is still using
an up-to-date benchmark client or not.
2018-08-14 17:20:13 +02:00
1a63105d5b Logging fixes 2018-08-14 17:15:41 +02:00
b64577df2e Run submission in a separate thread, and more explicit state
Also more explicit timeouts and an overall better handling of errors.
2018-08-14 16:36:43 +02:00
bf61aafdac Remove unused variable 2018-08-14 15:38:25 +02:00
7b88d7704c Fix T56372: Properly show error messages when submission fails
This also introduces a word-wrapping function that takes variable character
widths into account.
2018-08-14 15:08:58 +02:00
58644b911f Formatting according to PEP-8 using autopep8
I've added a `setup.cfg` file with `[pep8]` section to make it use the
120-char line length limit we have for all Blender/Python scripts.
2018-08-14 12:14:54 +02:00
30199bcbec Professional styling of 'auth token received' HTML page 2018-08-10 11:55:56 +02:00
1defd9395a Moved submission module into benchmark module 2018-08-10 10:35:05 +02:00