Commit graph

42 commits

Author SHA1 Message Date
Matthew
a83d6de253 Add ability to pass a directory for --log option (#17)
If you pass a directory, it will now tack a '*.log' glob on the end of
the path to automatically use all log files inside this directory.
2017-03-08 22:54:07 +01:00
Thor77
6238f14574 Fix incorrectly initialized codeblock
in IdentMap-documentation
2017-02-28 20:59:09 +01:00
Matthew
5968dc31dd Support for a nicer structure for ID maps (#12)
This adds support for a more expressive (albeit more verbose) IdentMap
structure. It makes it easier to annotate the structure with additional
data (such as names to associate with the IDs), to assist with
maintaining the IdentMap.
2017-02-18 14:58:23 +01:00
Thor77
1c4ee4d72d Import Config-table from README into docs 2016-11-01 22:14:15 +01:00
Thor77
b520fe588f Update cli help output 2016-10-30 19:53:26 +01:00
Thor77
ea64ee0ecb bump version to 0.8.0 2016-06-25 20:48:18 +02:00
Thor77
6c33524850 update help-output in quickstart-docs 2016-06-25 20:43:59 +02:00
Thor77
487a50508f add -nod/--noonlinedc cli-flag 2016-06-23 21:43:40 +02:00
Thor77
4c694a7770 bump version to 0.7.2 2016-06-12 18:45:08 +02:00
Thor77
123370554a use defined output_path in tsstats.tests.test_template.output-fixture and sort imports 2016-06-12 18:39:56 +02:00
Thor77
89906d04c7 expect key as lambda in tsstats.utils.sort_clients
* kwarg renamed to key_l (from key)
* add possibility to modify attribute
2016-06-12 17:36:12 +02:00
Thor77
9d5197d813 use py2-compatible way to convert datetime.datetime to timestamp
* bump version to 0.6.8
2016-06-12 17:20:32 +02:00
Thor77
3fec44feaa bump version to 0.6.7 2016-06-12 17:03:09 +02:00
Thor77
20cac026d5 bump version to 0.6.6 2016-06-10 16:49:37 +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
f3517dcb99 add quickstart-guide to docs and placeholders for config and cli
* bump version to 0.6.4
2016-06-08 22:36:23 +02:00
Thor77
6074fe0d63 update cli-help and config-keys in README.md
* bump version to 0.6.3
2016-06-08 18:12:57 +02:00
Thor77
ea5d997b5a update bootstrap and hint.css in tsstats/template.html
* bump version to 0.6.2
* fix insecure-content warnings
2016-06-07 18:26:47 +02:00
Thor77
41fee91e63 add tsstats/template.html to setup.py:package_data
* fix TemplateNotFound on pip-installations
* bump version to 0.6.1
2016-06-07 17:59:02 +02:00
Thor77
fe29b6f050 refactor template-loading
* use ChoiceLoader([PackageLoader, FileSystemLoader]) instead of FileSystemLoader
* add PackageLoader to allow template-access on egg-installations
* use correct way to get filesystem-path to package (dirname(__file__))
* remove superflous template_name-arg from tsstats.template.render_template
* bump version to 0.6.0
2016-06-07 17:51:28 +02:00
Thor77
52a05acdab add source-encoding (utf-8) to all files 2016-06-07 17:42:53 +02:00
Thor77
c3cfad0a88 fix wrong regex for logs with unexpected spacing
* add "\ *" arround level, component, sid and message
2016-06-07 16:51:55 +02:00
Thor77
5c44f0ca47 fix missing requirements.txt for installation via pip
* copy deps to setup.py instead of reading requirements.txt
2016-06-07 15:46:10 +02:00
Thor77
8ca23e0115 add documentation to tsstats.{config,log,template,utils}.* 2016-05-30 20:23:03 +02:00
Thor77
b726a9fa79 divite api.rst into sections 2016-05-29 00:26:25 +02:00
Thor77
f7af9f9d39 add documentation for tsstats.exceptions.* 2016-05-29 00:25:21 +02:00
Thor77
f72521dc2c bump version to 0.5.3 2016-05-25 20:16:19 +02:00
Thor77
a1f25648a2 define log_format just once and rename to log_timestamp_format 2016-05-25 20:09:48 +02:00
Thor77
09ad45e9a6 cover tsstats.log.parse_logs 2016-05-25 20:06:17 +02:00
Thor77
da5683ede2 add tsstats.log.re_log_entry for log-line-matching
* don't evaluate invalid log-lines leading to unexpected results
* don't abort parsing just because of an invalid character at the beginning/end
* add debug-output if line doesn't match
2016-05-25 20:06:00 +02:00
Thor77
42d8c74f72 fix tsstats.log.parse_logs not returning clients 2016-05-24 22:29:49 +02:00
Thor77
53ffad3d81 refactor tsstats.log.parse_log(s)
* rename tsstats.log.parse_logs to tsstats.log.parse_log and remove glob-functionality
* create tsstats.log.parse_log to handle globbing
* fix tests to use tsstats.log.parse_log instead of tsstats.log.parse_logs
* bump version to 0.4.0
2016-05-23 21:50:10 +02:00
Thor77
1f5a6211b9 bump version to 0.3.0 2016-05-21 23:15:15 +02:00
Thor77
9c0ebc18ed add documentation for IdentMap 2016-05-20 23:58:23 +02:00
Thor77
af3ea48a2d re-add redundant client.nick= in tsstats.log.parse_logs to display nick-changes 2016-05-19 21:59:34 +02:00
Thor77
4bb7553f64 remove duplicate code in tsstats.log.parse_logs
* bump version to 0.2.4
2016-05-19 21:57:15 +02:00
Thor77
2f0755c1fc bump version to 0.2.3 2016-05-19 21:40:37 +02:00
Thor77
3bb5538b64 bump version to 0.2.2 2016-05-19 21:40:37 +02:00
Thor77
8af2b761a3 refactor tsstats.client.Client.__getitem__ 2016-05-19 21:09:27 +02:00
Thor77
a3397d6367 bump version to 0.2.0 2016-05-19 15:47:04 +02:00
Thor77
89dc96dc99 bump version to 0.1.1 2016-05-18 22:40:50 +02:00
Thor77
9e3a5f1bcf add sphinx-documentation
* basic index
* api-documentation for tsstats.client.Client and tsstats.client.Clients
2016-05-18 21:36:09 +02:00