Commit Graph

465 Commits

Author SHA1 Message Date
Thor77 ba47122f50 Sort servers by sid for consistent output 2016-11-23 21:09:11 +01:00
Thor77 ef66b45e21 Prefix clientlist-filter with section-filter
because navbar-entries are also li
2016-11-23 21:06:55 +01:00
Thor77 2cdcdd1e5b Use new, sid-prefixed section-id 2016-11-23 21:06:11 +01:00
Thor77 a96200dafa Update test_debug for new debug-label 2016-11-23 21:04:51 +01:00
Thor77 a3d4cdde5b Use render_servers instead of render_template 2016-11-23 21:02:05 +01:00
Thor77 418be10603 Use render_servers for utf8-write-test 2016-11-22 23:08:49 +01:00
Thor77 42796be9d8 Use render_servers instead of render_template
* limit to one output file for all virtual servers
2016-11-22 23:04:18 +01:00
Thor77 5915664605 Set index.jinja2 as default for General.template 2016-11-22 23:03:51 +01:00
Thor77 062da49244 Rename render_template to render_servers
also includes refactoring for multiserver-output

* now accepts list of servers instead of clients as input
* index.jinja2 is now the default template
2016-11-22 23:02:26 +01:00
Thor77 9a686f7a2f Refactor template(s) for multiserver-display
* all virtual servers are now included in one single outputfile
* navbar for navigation between virtual servers
2016-11-22 22:59:57 +01:00
Thor77 4f77b2b6f3 Bump version to 0.18.0 2016-11-19 22:52:29 +01:00
Thor77 51225175ce Refactor clients preperation into prepare_clients 2016-11-19 22:50:28 +01:00
Thor77 cbbedfa669 Bump version to 0.17.0 2016-11-19 22:29:43 +01:00
Thor77 75c5ebb575 Adapt to new return type of tsstats.log.parse_logs
in this case using list- instead of dict-indexing
2016-11-19 22:28:34 +01:00
Thor77 f0dc95a583 Adapt to new return type of tsstats.log.parse_logs 2016-11-19 22:27:44 +01:00
Thor77 fdbde18856 parse_logs: Return Server instead of dict
because it's easier to iterate and access contained information
2016-11-19 22:25:57 +01:00
Thor77 6003543309 Bump version to 0.16.0 2016-11-18 22:14:00 +01:00
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