Commit Graph

478 Commits

Author SHA1 Message Date
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
Thor77 9682e2fe6a Update copyright-year and add copyright-holder 2016-09-30 22:23:07 +02:00
Thor77 45f9ba2737 Bump version to 0.11.2 2016-09-22 15:36:01 +02:00
Thor77 f7669792c1 Set default for General.output to tsstats.html 2016-09-22 15:35:39 +02:00
Thor77 3a1d51a60b Remove default for output-flag
default still set through config-defaults, though
Providing a default here suppressed config-option "output"
2016-09-22 15:28:42 +02:00
Thor77 d1627d369f Add debug-logging-output to tsstats.template.render_template
* bump version to 0.11.1
2016-09-18 21:51:24 +02:00
Thor77 959423be81 Bump version to 0.11.0 2016-09-17 22:51:50 +02:00
Thor77 ddd220d629 Include datetime_fmt in funcdoc of tsstats.template.render_template 2016-09-17 22:49:05 +02:00
Thor77 08d282b6ca Add datetimeformat flag/option to cmd/config section 2016-09-17 22:47:04 +02:00
Thor77 799f622201 Use RawConfigParser instead of ConfigParser in tsstats.config
because General.datetimeformat creates problems with string-interpolation.
These are solved by swichting to RawConfigParser, which doesn't support this feature.
2016-09-17 22:42:32 +02:00
Thor77 52fc1b487c Add cli-flag for datetimeformat and pass config-option to funccall 2016-09-17 22:41:38 +02:00
Thor77 4078e4b06b Add config-option datetimeformat
for tsstats.template.render_template(datetime_fmt)
2016-09-17 22:41:03 +02:00
Thor77 1ecf24b9b2 Add datetime_fmt-arg to tsstats.template.render_template
Specify a custom datetime-format for various datetime-renderings (creation-time, last
online)
2016-09-17 22:38:30 +02:00
Thor77 bd2157c2b8 Update config- and cli-documentation in README.md to include template-option 2016-08-10 23:11:42 +02:00
Thor77 5c52ab1995 Pass template config/cli-option to render_template in tsstats.__main__.main 2016-08-10 22:49:16 +02:00
Thor77 bbd2ff7a46 Add template_path-kwarg to tsstats.template.render_template 2016-08-10 22:47:19 +02:00
Thor77 604fefe286 Add 'template' config-option 2016-08-10 22:45:14 +02:00
Thor77 07b61d86ce Add -t/--template cli-arg 2016-08-10 22:44:48 +02:00
Thor77 3f140b8d6a Don't add sid-suffix to output if only one vserver occured in parsed logs
* bump version to 0.10.5
2016-08-09 20:37:20 +02:00
Thor77 a475caa7c7 Fix not calling str() on value before adding to config in __main__.cli
* bump version to 0.10.4
2016-08-08 22:25:57 +02:00
Thor77 5ff08e0163 Delay debugfile-creation to suppress needless creation if not in debugmode
* bump version to 0.10.3
2016-08-08 22:10:30 +02:00