Commit graph

25 commits

Author SHA1 Message Date
Jaiden Mispy
1a40ef85f9 Slightly different pesters model 2014-11-19 10:08:32 +11:00
Jaiden Mispy
24e8ce5ae3 Block blacklisted users on contact 2014-11-18 14:31:59 +11:00
Jaiden Mispy
8135aaaabb Use can_pester? logic for timeline tweets 2014-11-18 13:31:59 +11:00
Jaiden Mispy
9d8e30d7f6 Don't be so hasty to consider people bots 2014-11-18 13:26:06 +11:00
Jaiden Mispy
b72a6db0e1 Threading! 2014-11-18 13:24:59 +11:00
Jaiden Mispy
29beb23502 Bot anti-bot measures
We assume a user is a bot if it has 'ebooks' in the name
or if it replies more than once in a 30-second window
2014-11-18 12:00:34 +11:00
Jaiden Mispy
5bfaac99de Some actual tests for the bot response logic 2014-11-15 03:55:32 +11:00
Jaiden Mispy
746d218896 Fix tweet event handling 2014-11-14 22:59:39 +11:00
Jaiden Mispy
e646e24744 Use new twitter gem streaming support
Made more complicated by the fact that this
is not inherently eventmachine-based, unlike
tweetstream
2014-11-14 22:46:07 +11:00
Geoffroy Couprie
0fe4b627d0 update deprecated code 2014-10-29 19:00:49 +01:00
Geoffroy Couprie
9731575a3d update twitter gem to 5.0 2014-10-27 13:57:07 +01:00
Jaiden Mispy
203c20f6f3 Seems we can't go to twitter 5 yet 2014-10-20 00:16:10 -07:00
Jaiden Mispy
f4dbf89c15 Fix deprecations for twitter gem 5 2014-10-18 22:59:28 -07:00
Jaiden Mispy
228e0caa65 More memory profiling 2014-10-18 22:21:50 -07:00
Pira Wetton
3706ae0bbb picture shortcut 2014-09-23 20:26:48 -04:00
Mispy
8a5c4831ad 2.2.5 - encoding: utf-8 2014-05-07 16:45:17 +10:00
Mispy
17ef359de2 2.2.3 - Avoid some mention edge cases 2014-04-28 10:57:14 -07:00
Mispy
d676eaa77f 2.2.1 - Handle mentions at end of string 2014-04-20 06:17:57 -07:00
Mispy
f362f1ab2b Fix off-by-one error in mentionless calculation 2014-04-19 22:13:07 -07:00
Erik Michaels-Ober
7e033b7b3b Fix file permissions 2014-02-12 16:23:49 +01:00
Amelia Cuss
437e1edff6 Don't connect a TweetStream if we don't use it. 2013-12-12 13:29:20 +00:00
Amelia Cuss
dbe909f7b7 Use STDOUT, please.
It exists for a reason!  Otherwise we can't distinguish errors (like
from unhandled exceptions).
2013-12-12 13:29:19 +00:00
Michael Henriksen
8402bbdc80 Make event handlers optional to define
Check if event handlers have been defined before attempting to call them.
This prevents the bot from crashing in the case that an event handler
hasn't been defined.
2013-11-30 19:26:40 +01:00
Mispy
00f0228dd4 2.0.8 -- different generation algorithm 2013-11-14 07:58:46 -08:00
Mispy
e87dc5862b Github time! 2013-11-08 06:02:05 +11:00