Commit Graph

217 Commits

Author SHA1 Message Date
blacktwin
f7f0e19394 update examples
include use of `--days` argument for rolling history
2019-10-23 15:07:07 -04:00
blacktwin
bac3e88ad8 loop correction 2019-10-23 14:56:31 -04:00
blacktwin
b5fd014c17 #172 update limit section for new history collector 2019-10-14 17:25:58 -04:00
blacktwin
82c7704fab starting work on #172
collect history from N days ago
2019-10-12 16:05:17 -04:00
Blacktwin
8cbdf2de55 #179 If duration is used convert to seconds from minutes 2019-07-22 16:03:50 -04:00
Landon Abney
2be0e376f8
Massive style cleanup
Adds a basic `setup.cfg` file with configurations for flake8 and pylama, 
fixes some basic issues with essentially every file including:
* Many, many, whitespace line cleanups
* Several unused variables and imports
* Missing coding and shabang lines
* Minor style fixes to more closely align with PEP8
* Turn `print` into function calls for Python 2/3 compat
* A few minor bugs
  * Things like using an undefined `i` in `stream_limiter_ban_email.py`
2019-06-20 23:55:11 -07:00
Blacktwin
a7a6a9381d Credit goes to @jonnywong16 2019-05-29 15:06:20 -04:00
Blacktwin
4739ae9615 remove unused function. 2019-04-30 10:12:41 -04:00
Blacktwin
7db5c68061 #155, adding kill when duration exceeds limit. Kill at limit. 2019-04-30 10:12:39 -04:00
Blacktwin
f626a9daa1 #155 add duration example 2019-04-25 16:11:57 -04:00
Blacktwin
7128597beb change single to double quotes 2019-04-25 16:11:34 -04:00
Blacktwin
3811bfa5fc #155 adding duration into total time check 2019-04-25 15:54:37 -04:00
Blacktwin
58e7fd1335 #138 message fix 2019-01-11 18:20:39 -05:00
Blacktwin
bc9d1bc550 Unique IP example update to User Concurrent Streams 2019-01-03 11:41:59 -05:00
dirtycajunrice
d9e383f871 removed multipstreams and changed readme to show example of working multi ip stream change 2018-12-23 21:07:46 -06:00
dirtycajunrice
a27056a11f fixed condition in which if user streams is set to more than one, it
would try to kill and notify x times more
2018-12-19 23:49:20 -06:00
dirtycajunrice
79088cf6ce added readme and snuck my name in >.< 2018-12-19 23:47:08 -06:00
dirtycajunrice
93ddee995e fixed rich message pointer from Arc 2018-12-19 23:26:35 -06:00
dirtycajunrice
d1443d2670 final addition to initialize ip_address for linting 2018-12-19 21:18:34 -06:00
dirtycajunrice
758af21ade spacing 2018-12-19 21:17:44 -06:00
dirtycajunrice
457486924e added functionality for dropping multi IP users 2018-12-19 21:15:45 -06:00
dirtycajunrice
f9ce8eae63 removed all instances of shadow of outer scope, made explicit from
implicit inheritance, defined a few docstring params, initialized 2 vars
2018-12-19 19:57:30 -06:00
dirtycajunrice
463586ff29 fixed typos and sams rename 2018-12-19 19:08:27 -06:00
dirtycajunrice
aa6017374e moved to bullet points for uniformity with conditions 2018-12-19 18:02:31 -06:00
dirtycajunrice
72fbf36377 fixed disappearing whitespace 2018-12-19 17:59:21 -06:00
dirtycajunrice
64f2312248 Updated readme to include Transcode Decision Change and explain
transcoding decision vs. video decision
2018-12-19 17:53:29 -06:00
Blacktwin
f7a7125783 24 is not valid. 0 instead. 2018-12-06 10:16:03 -05:00
Blacktwin
591c299af6 fix for title and transcode sessions 2018-11-19 23:41:58 -05:00
Blacktwin
17baec0e5d edit example to include --today 2018-10-24 00:44:11 -04:00
Blacktwin
dbb03e595f docstring --today 2018-10-24 00:43:39 -04:00
Blacktwin
f9f8cf401a added --today to only search for history of today 2018-10-16 15:03:48 -04:00
Blacktwin
19e85e6dbb Merge remote-tracking branch 'origin/master' 2018-10-07 09:20:44 -04:00
Landon Abney
c96596f422
Cleanup Rich Notifications instructions
Essentially just some stylistic changes, `slack` -> `Slack`, fixing bullet lists, and making the required arguments section clearer.
2018-10-03 11:27:09 -07:00
Blacktwin
78d196c4df remove unshare function 2018-09-26 16:08:29 -04:00
Blacktwin
85ada26e3d example for limit of specific library 2018-09-26 15:44:10 -04:00
Blacktwin
c34736f124 print reason for limit kill 2018-09-26 15:22:11 -04:00
Blacktwin
0c2d97cad4 docstring correction 2018-09-26 09:09:46 -04:00
Blacktwin
6fff1c61df update rich notification section 2018-09-26 09:09:16 -04:00
samwiseg00
8fffc30c77 Update README to reflect new kill_stream features 2018-09-08 23:58:08 -04:00
samwiseg00
713f6fbe56 Rewrite Kill_stream.py to add rich message functionality 2018-09-08 20:31:06 -04:00
blacktwin
038c17c41d
Merge pull request #88 from JonnyWong16/kill-pause-username
Add username argument for kill paused
2018-08-14 13:53:16 -04:00
JonnyWong16
ec07cebef9 Add username argument for kill paused 2018-08-13 21:15:31 -07:00
Blacktwin
8c3781728a sessionId check bypass if jbop == allstreams.
sessionId arg not needed for killing all user streams.
2018-08-13 07:03:37 -04:00
Blacktwin
ffa97daeff sessionId no longer required.
check for sessionId is performed later.
2018-08-13 07:01:05 -04:00
Blacktwin
40ac277101 remove unixtime and datestamp args. Use unixtime and datestamp from script 2018-07-10 11:15:44 -04:00
Blacktwin
f71e864a75 remove unixtime arg. Use unixtime from script 2018-07-10 11:14:12 -04:00
Blacktwin
caa41f3119 remove datestamp arg. Use datestamp from script 2018-07-10 11:08:20 -04:00
Blacktwin
42d381f9e2 encoding for killmessage, enviro instead of config, import os missing. 2018-07-10 10:55:58 -04:00
Blacktwin
03b36c1035 obsolete, use limiterr 2018-07-10 08:22:31 -04:00
Blacktwin
8cd280ea8a limiterr and readme with examples. 2018-07-10 08:17:54 -04:00