Commit graph

383 commits

Author SHA1 Message Date
Thor77
8299c73eb9 Move output-fixture to confest.py and yield path
* Modify test_log and test_template to use these changes
2017-04-28 23:27:05 +02:00
Thor77
e37e292ba9 Bump version to 1.4.2 2017-04-19 23:36:30 +02:00
Thor77
cbf7000e91 Include README.rst as description for PyPi 2017-04-19 23:35:25 +02:00
Thor77
ef5894b407 Refactor documentation
* move documentation-source from /docs/source to /docs/ and build in
/docs/_build instead of /docs/build
* convert README to rst and remove information also present in
documentation and refer to it
* regenerate conf.py/Makefile with most recent Sphinx-version
* add development.rst with information for contributors
2017-04-19 23:24:30 +02:00
Thor77
97d58254b3 Remove unnecessary variable-declaration
possibly leading to faster access-time
2017-03-31 22:39:57 +02:00
Thor77
8d18b9c4ae Fix not using defined variable for match-access
possibly leading to slower access-times
2017-03-31 22:21:54 +02:00
Thor77
4b261ed321 Bump version to 1.4.1 2017-03-30 20:15:09 +02:00
Thor77
1bc555d66c Add IdentMap-lookup for new clients
added to clients-collection during log-parsing

Fix #18
2017-03-30 20:10:08 +02:00
Thor77
683f9b984a Add testcase for wrong identifier with identmap
If a client connects with a secondary identifier first,
this one is used as the identifier for the Client-object instead of the
primary one.
2017-03-29 12:45:35 +02:00
Thor77
6e662e2555 Bump version to 1.4.0 2017-03-24 23:22:02 +01:00
Thor77
270b20d385 Fix E501 (line too long) 2017-03-24 23:19:48 +01:00
Thor77
0081ac9939 Log parse time of individual logs 2017-03-24 23:18:26 +01:00
Thor77
e4212f28fb Log total execution time to info 2017-03-24 23:17:58 +01:00
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
cb42b9ee2a Bump version 1.3.1 2017-03-04 00:27:38 +01:00
Thor77
bdba91879e Add AppVeyor-badge 2017-03-04 00:25:22 +01:00
Thor77
aaf5f2b851 Convert filter to list
because filters are (non-subscriptable) objects in py3
2017-03-04 00:02:41 +01:00
Thor77
a694a2bc58 Refactor test_onlinetime
to require only one iteration and simplify testing
2017-03-03 23:59:24 +01:00
Thor77
6238f14574 Fix incorrectly initialized codeblock
in IdentMap-documentation
2017-02-28 20:59:09 +01:00
Thor77
cd01eb433a Use hyperlinks instead of onclick-events
to link to positions.
Disabled color-change and text-decoration to keep a clean and consisten
look.
2017-02-27 22:16:16 +01:00
Thor77
a1274a52f4 Bump version to 1.3.0 2017-02-27 13:37:05 +01:00
Thor77
cf82835b46 Exclude tsstats/logger.py from coverage-report 2017-02-27 13:37:05 +01:00
Thor77
c665babc94 Add debugstdout to #Configuration 2017-02-27 13:37:05 +01:00
Thor77
fb5a136b9d Regenerate CLI-usage 2017-02-27 13:37:05 +01:00
Thor77
6c35aed767 Only log to file if not logging to stdout 2017-02-27 13:37:05 +01:00
Thor77
8f49c3e95d Add debugstdout flag/config-directive
to enable debug logging to stdout

Fix #15
2017-02-27 13:37:04 +01:00
Thor77
0033ce186f Move logger-setup to tsstats.logger
and handlers are now attached as desired in __main__.cli
2017-02-27 13:37:00 +01:00
Thor77
2753f548fe Test disconnect on server-stop 2017-02-23 21:51:42 +01:00
Thor77
962fd486af Test reading config from disk again 2017-02-23 21:38:59 +01:00
Thor77
709c573b65 Refactor config-tests
by just testing the return-value of tsstats.config.load instead of
writing and reading a config-file from disk as there's absolutely no
need to test that as it's just basic ConfigParser-functionality
2017-02-22 22:00:09 +01:00
Thor77
5e19e38965 Fix E501 (line too long) 2017-02-19 17:17:14 +01:00
Thor77
f68986117b Use flake8 instead of pyflakes
for additional pep8-checks
2017-02-19 17:14:49 +01:00
Thor77
f893c42b31 Bump version to 1.2.0 2017-02-18 15:00:39 +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
2816c2ecfa Merge pull request #13 from djmattyg007/mobile_improvements
Improve presentation on mobile devices
2017-02-18 14:19:52 +01:00
Thor77
5db1345717 Bump version to 1.1.2 2017-02-16 22:49:27 +01:00
Thor77
4adfb9cfc1 Make all datetime-objects timezone-aware
Because the tool is using utc-timestamps everywhere, this emphasizes
this fact (by default) in the output.
If you don't want timezones behind each datetime in your output, just
remove the "%Z" from the `datetimeformat`.

Fix #9
2017-02-16 22:44:51 +01:00
Matthew Gamble
531f5c57d2
Improve presentation at mobile
- Add custom hint--medium--xs style, to make the tooltips wrap neatly
- Add meta viewport tag
2017-02-16 18:17:29 +11:00
Thor77
ba8b393b76 Bump version to 1.1.1 2017-02-15 22:05:20 +01:00
Thor77
9d5547ccfd Run tests for py3.5 on Travis 2017-02-15 21:55:38 +01:00
Thor77
a47c7a6728 Add supported python-versions
Fix #10
2017-02-15 21:55:11 +01:00
Thor77
f0c33b2ad9 Remove obsolete TODO-section
there are GitHub-issues for that usecase
2017-02-15 21:53:26 +01:00
Thor77
d5c3f312df Merge pull request #8 from djmattyg007/template_fixes
Fix closing header tag
2017-02-14 22:39:40 +01:00
Thor77
ab96dd42f9 Merge pull request #5 from djmattyg007/readme_update
Update readme to emphasise fact that no ServerQuery account is required
2017-02-14 22:38:26 +01:00
Matthew Gamble
3824eeac10
Fix closing header tag 2017-02-15 08:36:01 +11:00
Matthew Gamble
69557a94a6
Update CLI help text to match readme 2017-02-15 08:33:17 +11:00
Thor77
ae35a73a64 Merge pull request #7 from djmattyg007/template_security
* Add rel=noopener to the github link to prevent window.opener attacks.
* Add no-referrer referrer policy to prevent leakage of sensitive info such as private domain names.
2017-02-14 16:07:37 +01:00
Thor77
d7876f25b6 Merge pull request #6 from djmattyg007/template_doctype
Add doctype to template
2017-02-14 15:58:07 +01:00
Matthew Gamble
96156ca622
Add no-referrer referrer policy to prevent leakage of sensitive info
This prevents Referer headers from being sent when requesting any
external assets, and when clicking on any offsite links. This includes
the github link in the footer. This helps to prevent the leakage of
sensitive details, such as private domain names.
2017-02-14 18:17:35 +11:00
Matthew Gamble
e94e117242
Add rel=noopener to prevent window.opener attacks
This is highly unlikely, but it never hurts to be cautious.
2017-02-14 18:14:59 +11:00