Commit Graph

17 Commits

Author SHA1 Message Date
Thor77 040b451c7d Add timestamp for (dis)connect to debug-log 2016-10-04 15:18:08 +02:00
Thor77 850d3463ce remove unneccessary and unused tsstats.client.Client.__getitem__ 2016-06-12 18:43:20 +02:00
Thor77 28855e9a81 use datetime.timedelta for Client.onlinetime instead of int
* get rid of all the converting-stuff
2016-06-12 17:52:44 +02:00
Thor77 be361e976c sort imports in tsstats/client.py 2016-06-10 16:48:49 +02:00
Thor77 4acfe5bd0b fix references to identmap-doc from tsstats.client and tsstats.log
* use :doc: instead of :ref:
* bump version to 0.6.5
2016-06-08 22:36:26 +02:00
Thor77 52a05acdab add source-encoding (utf-8) to all files 2016-06-07 17:42:53 +02:00
Thor77 8af2b761a3 refactor tsstats.client.Client.__getitem__ 2016-05-19 21:09:27 +02:00
Thor77 cb6d433dca add usage of ident_map for tsstats.client.Clients.__setitem__ 2016-05-19 15:40:28 +02:00
Thor77 cb94560a2f add optional nick-arg to tsstats.client.Client.__init__ 2016-05-19 15:24:18 +02:00
Thor77 c9895c6c5a allow legacy tsstats.client.Client += 2016-05-19 15:23:11 +02:00
Thor77 ac305b3873 reimplement usage of IdentMap 2016-05-19 15:22:16 +02:00
Thor77 216bedc38f refactor tsstats.client.Clients
* use collections.MutableMapping as base
* use one dict to store all types of Clients
* don't use implicit += but explicit .setdefault in tsstats.log for client-adding
* give all clients to sort_clients in tsstats.template
* remove now unneccessary clients-assignment in tsstats.utils.sort_clients
2016-05-18 22:50:23 +02:00
Thor77 0990644128 add documentation to tsstats.client.Client and tsstats.client.Clients 2016-05-18 21:27:18 +02:00
Thor77 e7cf036971 use new-style class-definition 2016-05-11 20:53:17 +02:00
Thor77 e7fc91229e use % formatting in logging-functions 2016-05-11 20:45:42 +02:00
Thor77 d836b807be move logging-setup into __init__.py and use one central logger-object 2016-05-10 22:50:34 +02:00
Thor77 a25a596d02 split tsstats.py into package with multiple files 2016-05-08 21:32:37 +02:00