Joel McCoy
6e41bdb373
Fix typo in Bot#unfollow
2015-01-02 17:22:39 -05:00
Jaiden Mispy
596f41f15f
Keep people in convo as long as they replied once
2014-12-20 07:24:40 +11:00
Jaiden Mispy
0292264613
slightly less paranoid about including people
2014-12-16 10:59:58 +11:00
Jaiden Mispy
15f893d597
3.0.6
2014-12-16 08:29:35 +11:00
Jaiden Mispy
f0c440b884
Test for and fix username case inconsistencies
2014-12-16 08:29:07 +11:00
Stawberri
f49aea4a52
Fixed log entries for replies
...
I didn't notice that log entries were also manually adding
meta.reply_prefix on.
2014-12-14 02:48:45 -08:00
Jaiden Mispy
03c8491d57
Less sensitive bot detection
2014-12-13 00:44:26 +11:00
Jaiden Mispy
4d4131e185
3.0.5
2014-12-13 00:10:57 +11:00
Jaiden Mispy
64c1aa411c
Add default delay range, configure check
2014-12-12 22:53:55 +11:00
Jaiden Mispy
bb5b9e8025
Merge pull request #58 from Stawberri/conditional_reply_prefix
...
Conditional reply_prefix for replies
2014-12-12 20:36:29 +10:00
Stawberri
e6cefa0890
conditional reply_prefix for replies
...
Reply prefix is now only added if the recipient's screen_name isn't
already in the tweet text.
2014-12-11 20:13:53 -08:00
Stawberri
6e97383fff
load previous archive with utf-8 encoding
...
Copied from model.rb's File.read
2014-12-09 14:25:13 -08:00
Jaiden Mispy
cb4c09b744
3.0.4
2014-12-08 23:31:44 +11:00
Jaiden Mispy
798451518b
Merge pull request #47 from Stawberri/fix_direct_messages
...
Fix direct messages
2014-12-08 22:28:24 +10:00
Stawberri
56ddb45b61
Fix direct messages
...
Someone renamed on_message to on_direct_message in bot.rb, but forgot to
update it in the template.
It used to be on_message in the template, so for less confusion, I think
it's preferable to just rename on_direct_message back. :o
2014-12-08 04:27:41 -08:00
Stawberri
0e9f7d6881
Fix reply options
...
Whoever wrote Bot.reply forgot to pass on options it received for
replies!
2014-12-08 04:21:55 -08:00
Stawberri
d94ff3d36b
Better optional parameter integration
...
Apparently I'm dumb and didn't know about equal signs in parameters.
2014-12-06 23:31:58 -08:00
Stawberri
3c54c9a017
meta.media_uris
...
Adds media_uris to tweet meta, which returns an array of strings
containing the URIs of media inside your tweet.
2014-12-06 21:57:51 -08:00
Jaiden Mispy
a2ca0da967
3.0.3
2014-12-06 22:37:10 +11:00
Stawberri
6bc89cd4fb
Switched to .match for matching
...
Mispy taught me something about ruby precedence today!
2014-12-06 03:29:29 -08:00
Stawberri
c4ba9e139f
Regex soft-retweet detection
...
I added a regex to detect 'RT @' anywhere in the content of a tweet, in
case someone hides a RT in the middle of a tweet! As a bonus, it also
detects a bunch of different types of quotes as well as other things
people might use, like 'via,' 'by,' and 'from'!
2014-12-06 01:38:38 -08:00
Jaiden Mispy
458b94a4c3
3.0.2 - Handle rate limitation in archiver
2014-12-06 00:07:49 +11:00
Jaiden Mispy
b738f1fe3a
3.0.1
2014-12-05 23:50:59 +11:00
Jaiden Mispy
5617544a30
Make sure we really have the right username
2014-12-05 23:50:07 +11:00
Jaiden Mispy
822f5e4c6c
More cleanup
2014-12-05 22:57:32 +11:00
Jaiden Mispy
1977445b1c
Lots of documentation and cleanup
2014-12-05 21:12:39 +11:00
Jaiden Mispy
efde0fd16f
Conversation-based bot detection and politeness
2014-12-05 19:04:15 +11:00
Jaiden Mispy
daeda5d7eb
Add ebooks auth
command
2014-12-05 14:03:11 +11:00
Jaiden Mispy
401586471b
Separate unprompted tracking from mention includes
2014-12-04 05:32:41 +11:00
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
2e336fb9be
On second thought, we can't use a cache system
...
Simply because the corpuses are too darn big to keep around
2014-11-18 13:51:31 +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
2698963fb1
consume multiple corpuses
2014-10-29 18:56:37 +01:00
Geoffroy Couprie
9731575a3d
update twitter gem to 5.0
2014-10-27 13:57:07 +01:00
Jaiden Mispy
0cb7abcb52
Test that models save and load correctly
2014-10-25 06:59:34 -07:00
Jaiden Mispy
7e62000e37
2.3.2
2014-10-25 05:49:49 -07:00
Jaiden Mispy
302ea0229d
grr stupid mistake
2014-10-25 05:49:23 -07:00
Jaiden Mispy
1f8ea676bd
2.3.1
2014-10-25 05:19:03 -07:00
Jaiden Mispy
4052d534b2
Save only necessary data into model
2014-10-25 04:26:52 -07:00
Jaiden Mispy
81b4f78187
2.3.0
2014-10-25 03:46:46 -07:00
Jaiden Mispy
3b1d6f856d
Switch to using token indexes instead of strings
2014-10-24 09:55:49 -07:00
Jaiden Mispy
6ae1dd5dac
2.2.9
2014-10-20 00:16:10 -07:00