Commit Graph

348 Commits

Author SHA1 Message Date
Thor77 117dff2486 Use TemplateStream.dump for writing template
instead of manually opening a file and writing to it
2016-11-18 22:11:14 +01:00
Thor77 87e5d697cb Bump version to 0.15.0 2016-11-18 22:05:29 +01:00
Thor77 9c09f34f02 Update template-location for package_data 2016-11-18 21:55:33 +01:00
Thor77 273a01bec6 Rename default template to stats.jinja2
from template.html
2016-11-18 21:52:30 +01:00
Thor77 9a38e0e7cb Rename template_path to template 2016-11-18 21:46:38 +01:00
Thor77 4bed26dac8 Move default template into new templates-subdir 2016-11-18 21:44:53 +01:00
Thor77 b8d2df4650 Load templates from templates-subdirectory
instead of package-root
2016-11-18 21:42:27 +01:00
Thor77 3acb1af132 Add onlinetimethreshold to Configuration-section 2016-11-14 21:28:02 +01:00
Thor77 5b2ad90436 Bump version to 0.14.1 2016-11-11 18:46:35 +01:00
Thor77 2e234d00bb Update CLI-Usage: add onlinetimethreshold-arg 2016-11-11 18:45:52 +01:00
Thor77 5dc21e89de Bump version to 0.14.0 2016-11-11 18:42:22 +01:00
Thor77 d522ce648a Add testcase for tsstats.utils.filter_threshold 2016-11-11 18:41:51 +01:00
Thor77 5637a11b2b Add onlinetimethreshold config and cli-option
to set render_template.onlinetime_threshold.
Default value is -1 => no filtering to not cause confusion
2016-11-11 18:40:52 +01:00
Thor77 4ac27143a6 Add onlinetime_threshold-arg to render_template
and filter_threshold-function to tsstats.utils.
Only display clients in onlinetime-section with a onlinetime
greater than onlinetime_threshold seconds
2016-11-11 18:40:30 +01:00
Thor77 17392494ed Bump version to 0.13.2 2016-11-10 21:58:30 +01:00
Thor77 414054c243 Link to section-list from section-heading 2016-11-10 21:57:30 +01:00
Thor77 15a437ea2c Bump hint.css-version to 2.4.1 2016-11-10 21:50:45 +01:00
Thor77 338f6cd6de Bump version to 0.13.1 2016-11-07 20:25:24 +01:00
Thor77 1ec0a37480 Add testcase for #3 (encoding issues) 2016-11-07 20:24:08 +01:00
Thor77 db24696c47 Bump version to 0.13.0 2016-11-06 19:28:21 +01:00
Thor77 03c0941962 Add safety-measure to ensure clients disconnect at server stop 2016-11-06 19:23:00 +01:00
Thor77 c8955bee5e Remove double-iteratation over logfiles
by passing the iterator returned by glob.glob direclty to _bundle_logs
2016-11-06 19:18:21 +01:00
Thor77 679473f7b4 Use utcnow for creation_time
because utc timestamps are used in logs and for online_dc, too.
2016-11-04 20:05:02 +01:00
Thor77 812916f179 Use list-comprehension for reconnect
to make this action more obvious and understandable
2016-11-04 20:03:46 +01:00
Thor77 6c301c2ed4 Bump version to 0.12.6 2016-11-03 23:01:09 +01:00
Thor77 ba8e082e64 Reconnect clients only for last log (online_dc)
because doing it after every log would lead to insane onlinetimes
and only the last log should have online clients, anyways.

Fix #4
2016-11-03 22:52:05 +01:00
Thor77 edc914b451 Bump version to 0.12.5 2016-11-02 21:24:36 +01:00
Thor77 7cd057d3c5 Write template-output as utf-8 2016-11-02 21:24:19 +01:00
Thor77 c0096a7c52 Read logs as utf-8 2016-11-02 21:24:07 +01:00
Thor77 1c4ee4d72d Import Config-table from README into docs 2016-11-01 22:14:15 +01:00
Thor77 de7afd87e7 Rename CMD-Arguments to CLI-Usage 2016-10-30 21:08:27 +01:00
Thor77 419164f332 Add Example-section to showcase common calls 2016-10-30 21:07:00 +01:00
Thor77 96ffef1b5a Remove ID-Mapping-Section (superseded by docs)
because link in config-section refers to docs anyways
2016-10-30 20:47:35 +01:00
Thor77 8020e047f6 Show more distinct that a config is optional 2016-10-30 20:41:38 +01:00
Thor77 b520fe588f Update cli help output 2016-10-30 19:53:26 +01:00
Thor77 4c89eb8302 Create Contributing-section (superseding "Tests")
and add a short sentence about flake8
2016-10-30 19:49:19 +01:00
Thor77 e5be93b17a Bump version to 0.12.4 2016-10-28 23:43:09 +02:00
Thor77 a1f535961e Add manual installation and package-usage to Installation 2016-10-28 23:42:44 +02:00
Thor77 1a485c67c5 Update screenshot to showcase last-connected-hint 2016-10-28 23:33:14 +02:00
Thor77 de5f58cb93 Bump version to 0.12.3 2016-10-28 23:27:05 +02:00
Thor77 37b8b7bc26 Bump hint.css-version to 2.4.0 2016-10-28 23:24:31 +02:00
Thor77 76948713a4 Bump version to 0.12.2 2016-10-27 00:09:53 +02:00
Thor77 2d80ba6804 Add action-group to re_dis_connect.
Used to not rely on position in message
for correct action-parsing.
2016-10-27 00:08:28 +02:00
Thor77 c0523717a7 Bump version to 0.12.1 2016-10-27 00:08:12 +02:00
Thor77 b6e73e733d Fix adding server/clientgroup-actions to clients.
This was caused, because the used regex was very generic.
Therefore it parsed these lines without any problems,
a timestamp wasn't added but it was already in the clients-dict,
when these checks (conn or disconnect) were performed.
2016-10-27 00:02:56 +02:00
Thor77 80df2c02f0 Add testcase for logs with server/clientgroup-actions 2016-10-27 00:02:17 +02:00
Thor77 9c3c772db9 Bump version to 0.12.0 2016-10-26 23:07:58 +02:00
Thor77 1b1ed86750 Add session-time on disconnect to debug-log 2016-10-04 15:21:05 +02:00
Thor77 040b451c7d Add timestamp for (dis)connect to debug-log 2016-10-04 15:18:08 +02:00
Thor77 c59d182da4 Update screenshot to showcase new features 2016-09-30 22:36:12 +02:00