Commit Graph

260 Commits

Author SHA1 Message Date
Thor77 8223c389d3 Fix Python 3.10 compatability 2023-01-14 18:39:20 +01:00
Thor77 a9c942d442
Disable shadows on hints 2020-03-27 22:39:50 +01:00
Thor77 127370adbd
Update bootstrap and hint.css 2020-03-27 22:39:37 +01:00
Thor77 604dc0a439
Switch to bootstrapcdn for boostrap css 2019-03-10 13:14:17 +01:00
Thor77 1f177ff49b Bump css dependencies 2019-03-10 13:06:28 +01:00
Thor77 544da4062f Use bootstrap-4.0.0 2019-03-10 13:06:28 +01:00
Matthew 35c5c91fb0 Simplify navbar markup, update it for bootstrap4 beta1. (#23)
* Simplify navbar markup, update it for bootstrap4 beta1.

* Fix CSS classname for background color of navbar
2019-03-10 13:06:28 +01:00
Thor77 21f9f6581b Switch badge-type to secondary
because -default is now invisible
2019-03-10 13:06:28 +01:00
Thor77 371af752eb Add flexbox-classes to listgroup-item
to align badges correctly
2019-03-10 13:06:28 +01:00
Thor77 b81b1bca10 Switch css-include to bootstrap4-beta 2019-03-10 13:06:28 +01:00
Matthew c34f2d4d8b Improve navbar on mobile devices (#16)
* add button to show/hide menu items
* ensure navigation fills the width of the viewport by moving it out of the main container element
2019-03-10 13:06:28 +01:00
Thor77 3207c0070c Don't rely on style-attr for debug-label presence 2019-03-10 13:06:28 +01:00
Thor77 4069ab659a Add margin for list-groups 2019-03-10 13:06:28 +01:00
Thor77 0dc12e73a1 Replace deprecated page-header heading-class
with `display-4`
2019-03-10 13:06:28 +01:00
Thor77 b474e4124d Remove now unneccessary padding from body 2019-03-10 13:06:28 +01:00
Thor77 2344915d6e Use new navbar-syntax
removed padding from debug-badge as it's not required anymore
2019-03-10 13:06:28 +01:00
Thor77 3ce4962e12 Use new badge-syntax
explicit definition of badge-style and -position
2019-03-10 13:06:28 +01:00
Thor77 dc572ad8fa Switch css-include to bootstrap4 2019-03-10 13:06:28 +01:00
Thor77 f878fefeaa Use raw strings for RegEx's 2018-05-19 18:06:59 +02:00
Thor77 1ef4a3bc15 Handle connected clients on unexpected shutdown
caused, for example, by a server crash.
Could be triggered by an incorrectly named logfile as well because it is
assumed once there are connected clients in a logfile which isn't the
last one to be parsed.

The fix is realized by taking the timestamp of the last event from the
currently parsed logfile and disconnecting all still connected clients
on that timestamp.
2018-05-19 17:28:03 +02:00
Thor77 6e40555612 Only log online_clients if there are any
at the end of a logfile.
2018-05-02 20:59:23 +02:00
Thor77 5ea2f6ab3d Remove extra lines after encoding header 2018-02-01 20:49:23 +01:00
Thor77 ab68f57f83 Use timestamp for relative timestamp human test 2018-01-10 20:33:52 +01:00
Thor77 7fd4297c4d Adapt tests to Clients.__iter__ returning keys 2017-09-25 23:21:12 +02:00
Thor77 8d1c19a734 Adapt log.parse_logs and utils.sort_clients
to Clients.__iter__ return keys instead of values
2017-09-25 23:21:06 +02:00
Thor77 2ebd445349 Clients.__iter__ return keys instead of values
as desired by MutableMapping.__iter__
2017-09-25 23:14:26 +02:00
Thor77 c9ab6f6b97 Add encoding-header to missing files 2017-09-16 22:31:15 +02:00
Thor77 c8092018f2 Revert "Sort imports"
because the sorting-order is dependent on installed packages

This reverts commit 51191672c6.
2017-09-16 22:03:55 +02:00
Thor77 51191672c6 Sort imports 2017-09-16 21:59:44 +02:00
Thor77 871210dde4 Add test for tsstats.log._parse_line 2017-09-15 11:35:21 +02:00
Thor77 1e1f112867 Add funcdoc to tsstats.log._parse_line 2017-09-15 10:51:29 +02:00
Thor77 a9e8cd0b6e Revert "Add test for Clients.__str__"
This reverts commit b9f798d04d.
2017-09-14 23:37:10 +02:00
Thor77 8558d731d4 Add test for render_servers.lastseen_relative 2017-09-14 23:09:50 +02:00
Thor77 f786c87dfb Add test for Client.__repr__ 2017-09-14 22:39:12 +02:00
Thor77 52f5cc3ac1 Add test for invalid log line 2017-09-14 22:37:56 +02:00
Thor77 b9f798d04d Add test for Clients.__str__ 2017-09-14 22:37:32 +02:00
Thor77 6345c3f1f5 Remove test for serverstop with connected clients
because it is non-trivial to implement with the new architecture and
probably not worth the effort, because it basically can't happen.
A warning/exception should be added instead.
2017-09-10 00:15:21 +02:00
Thor77 b1b80f657a Use parse_logs instead of _parse_details 2017-09-10 00:04:11 +02:00
Thor77 cbc76b5541 Add missing identmap-lookup for new clients 2017-09-09 18:44:41 +02:00
Thor77 1c224fa0ee Use parse_logs instead of _parse_details 2017-09-09 18:36:43 +02:00
Thor77 c79dd08bc0 Don't accept infinite arguments
leftover from old parse_logs-func
2017-09-09 18:04:56 +02:00
Thor77 147c41ffce Use parse_logs instead of _parse_details
because _parse_details is not available anymore
2017-09-09 17:35:55 +02:00
Thor77 df268f1c2a Add return and rtype to parse_logs-funcdoc 2017-09-08 15:39:39 +02:00
Thor77 602e6c4d51 Log start/end of parsing logfile 2017-09-08 15:39:39 +02:00
Thor77 91a9b8e4c7 Implement online_dc again 2017-09-08 15:39:39 +02:00
Thor77 90a367da27 Warn about online clients on logfile end 2017-09-08 15:39:39 +02:00
Thor77 59d4c88701 Add Client.__repr__ 2017-09-08 15:39:39 +02:00
Thor77 3d6c41538b Indent return of parsed_events correctly 2017-09-08 15:39:39 +02:00
Thor77 96d6e9f050 Only yield Server if there are clients for it 2017-09-08 15:39:39 +02:00
Thor77 7077446627 Add test for Client.nick-property 2017-09-08 15:39:39 +02:00