Thor77
4c872930db
Update pendulum to 2.1.2
2023-01-14 19:02:53 +01:00
Thor77
51abb87c88
Fix lint errors
2023-01-14 18:39:20 +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
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
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
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
1c224fa0ee
Use parse_logs instead of _parse_details
2017-09-09 18:36:43 +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
7077446627
Add test for Client.nick-property
2017-09-08 15:39:39 +02:00
Thor77
caff246f9a
Don't raise InvalidLog
...
because there's nothing you can do about it anyways, so there's no need
to stop.
2017-09-08 14:12:48 +02:00
Thor77
65a8379261
Use pendulum instead of plain datetime
...
because it is more intuitive to use and doesn't require the
tz_aware_datetime-workaround.
2017-07-07 14:22:24 +02:00
Thor77
11acf9f9b6
Add space between identifier and nick
...
mainly used in debug mode
2017-05-15 22:50:05 +02:00
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
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
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
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
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
72c1eb78f8
Use fixture for providing clients
...
for test_client and test_ident_map
2017-02-12 21:38:29 +01:00
Thor77
17a486bb7d
Fix incorrectly sorted imports
2016-11-23 21:19:21 +01:00
Thor77
ef66b45e21
Prefix clientlist-filter with section-filter
...
because navbar-entries are also li
2016-11-23 21:06:55 +01:00
Thor77
2cdcdd1e5b
Use new, sid-prefixed section-id
2016-11-23 21:06:11 +01:00
Thor77
a96200dafa
Update test_debug for new debug-label
2016-11-23 21:04:51 +01:00
Thor77
a3d4cdde5b
Use render_servers instead of render_template
2016-11-23 21:02:05 +01:00
Thor77
418be10603
Use render_servers for utf8-write-test
2016-11-22 23:08:49 +01:00
Thor77
75c5ebb575
Adapt to new return type of tsstats.log.parse_logs
...
in this case using list- instead of dict-indexing
2016-11-19 22:28:34 +01:00
Thor77
d522ce648a
Add testcase for tsstats.utils.filter_threshold
2016-11-11 18:41:51 +01:00
Thor77
1ec0a37480
Add testcase for #3 (encoding issues)
2016-11-07 20:24:08 +01:00
Thor77
80df2c02f0
Add testcase for logs with server/clientgroup-actions
2016-10-27 00:02:17 +02:00
Thor77
87f9bf43fc
rewrite config-tests to work with new return-value of tsstats.config.load
...
* bump version to 0.10.1
2016-08-06 21:39:36 +02:00
Thor77
892680fe4d
add onlinedc config-option
...
* inverse of --noonlinedc
2016-06-25 20:42:46 +02:00
Thor77
eafc98f548
add test for tsstats.log.parse_logs
2016-06-22 20:40:55 +02:00
Thor77
54532fd598
use _bundle_logs in template-tests for now
2016-06-21 18:25:38 +02:00
Thor77
468bfcd22d
fix log-tests by renaming all occurences of parse_log to _parse_details
...
* additionally remove deprecated test_multiple-test
2016-06-21 18:23:35 +02:00
Thor77
976d40e2b9
add test for tsstats.log._bundle_logs
2016-06-20 21:59:22 +02:00
Thor77
8abb0029fa
cover line not matching
2016-06-12 18:44:41 +02:00