Commit Graph

274 Commits

Author SHA1 Message Date
melonhead e237e6d854 Use unicode.lower instead of str.lower for ACLs 2010-02-24 16:37:45 +00:00
melonhead fcffce45f3 Extended dotnetpad timeout to 10 seconds 2010-02-24 16:17:57 +00:00
Ryan Hitchman 40bb91bb88 make config file use json now, remove pyyaml and various other cruft 2010-02-22 20:32:09 -07:00
Ryan Hitchman cf4b7e50e5 make dice case-insensitive, improve remember.py:forget formatting 2010-02-22 19:22:47 -07:00
Ryan Hitchman 35d0444f13 fix remember unicode handling 2010-02-22 19:01:27 -07:00
Ryan Hitchman 923fdead1c fix slowness when connected to multiple networks & misc. stylistic changes 2010-02-22 16:24:01 -07:00
Ryan Hitchman 39a50f53f0 merge 2010-02-22 15:58:21 -07:00
liebot@grimace 5cc1366e0d Added google calculator module 2010-02-22 17:25:01 +00:00
Chris Skalenda f493927eb9 hurf durf 2010-02-21 22:23:52 -06:00
Chris Skalenda 8531bdd76c wikipedia: send a useragent when fetching xml from the wikipedia api. If you don't, it sends 403 a lot. 2010-02-21 22:12:55 -06:00
Ryan Hitchman ca8b24518e improve wolframalpha unescaping 2010-02-17 16:24:52 -07:00
Ryan Hitchman f39b4bf9cf make youtube plugin notify about restricted content 2010-02-14 12:10:21 -07:00
Ryan Hitchman 56c1119443 rewrite youtube plugin again to use jsonc interface and report more information 2010-02-13 18:11:42 -07:00
Ryan Hitchman 51e24dadb5 revert sieve to version without broken caching 2010-02-13 14:03:19 -07:00
Ryan Hitchman 9d139d8760 rewrite youtube plugin to use json instead of lxml.etree and to be more flexible 2010-02-12 22:13:55 -07:00
Ryan Hitchman 9b47d394ad add fake IRC class to help tracking leaks 2010-02-11 16:29:45 -07:00
Ryan Hitchman 826a47837c forgot to remove a debugging line 2010-02-07 17:58:06 -07:00
Ryan Hitchman 3c4edb54c2 make urlhistory give more information about when urls were linked 2010-02-05 19:54:28 -07:00
Ryan Hitchman 8f2c15b730 rewrote remember.py, improved WA scraping 2010-02-01 22:41:51 -07:00
Ryan Hitchman 30f6ead292 fix wolfralpha scraping when a pod is empty 2010-02-01 21:52:09 -07:00
Ryan Hitchman 1dd86babc2 change calling convention 2010-02-01 21:42:34 -07:00
Ryan Hitchman 8c68bbd128 rewrite weather.py to use sqlite db instead of flat files 2010-02-01 01:33:06 -07:00
Ryan Hitchman bad13e2908 make quote.py use the proper db 2010-02-01 01:16:16 -07:00
Ryan Hitchman d4005ce1f6 make quote.py SQL refer to quote table instead of quotes 2010-02-01 00:55:00 -07:00
Ryan Hitchman b7bcba0613 remove whitespace from quote.py's table creation 2010-02-01 00:48:00 -07:00
Ryan Hitchman f4098232c0 make seen lower case, make quote.py use quote instead of quotes 2010-02-01 00:40:54 -07:00
Ryan Hitchman 595a37f0e0 remove debug printing from a few plugins 2010-02-01 00:30:51 -07:00
Ryan Hitchman 9eb5b236a6 rewrite tell, simplify db access in quote, seen, urlhistory. fix wolframalpha for the last time 2010-02-01 00:29:50 -07:00
Ryan Hitchman 72b8168b2e fix typo (__query__ -> __help__) 2010-01-31 22:55:22 -07:00
Ryan Hitchman dd723eafe0 wolframalpha.py: gets results from WA (not using the commercial API)-- works pretty well 2010-01-31 22:49:52 -07:00
Hamled 20fd90b869 Merged .showtell changes with tip. 2010-01-30 11:25:06 -08:00
Hamled 7245621341 Fixed .showtells command. It should now correctly private message all available messages. 2010-01-30 11:09:34 -08:00
ipsum 768bde1f93 changed command to .re 2010-01-26 17:57:47 -05:00
ipsum 4ffc5fe5bf Added regular expressions plugin 2010-01-25 23:39:26 -05:00
Ryan Hitchman 7663b3e5d3 simple acls (deny-except and allow-except), force config rewrite on start 2010-01-24 17:30:00 -07:00
Ryan Hitchman 26515cf14b improve quote db schema, add channel random quotes 2010-01-22 04:19:16 -07:00
Ryan Hitchman 9f0c2fe9f1 quote.py: a simple quote database 2010-01-22 02:56:20 -07:00
Ryan Hitchman c6c94c9ecb make urlhistory nick sorting case-insensitive, simplify a few decorator calls 2010-01-18 22:14:49 -07:00
Ryan Hitchman 8271b23cb6 make urlhistory.py record irc servers as well 2010-01-18 20:16:40 -07:00
melonhead bb709a74bf Added URL normalization to urlhistory module to allow better detection of duplicates
Added configurable ignored URLs to urlhistory module
2010-01-18 15:07:06 -05:00
melonhead 7380470cf0 -Add "timeline" URL history plugin
-Create persist dir automatically if it does not exist
2010-01-18 12:47:55 -05:00
Ryan Hitchman 33585f3190 put input.inp.strip() in sieve, remove repetitive stripping in plugins 2010-01-17 16:07:08 -07:00
Ryan Hitchman 92c6d798b5 improve windows compatibility 2010-01-17 13:38:37 -07:00
Hamled d2ad68cc4e Twitter replied-to feature now supports replies to users as well as statuses. 2010-01-17 00:31:22 -08:00
Ryan Hitchman 2fd4375d78 give .mtg help text 2010-01-17 00:51:05 -07:00
Ryan Hitchman 7c3d5b1eab note to self: don't grants stoners commit access (reverting shit) 2010-01-17 00:48:59 -07:00
Hamled c183032774 Fix unintentional changes to plugin directory structure. 2010-01-16 20:24:36 -08:00
Hamled c8df4dfb38 Fix to twitter replied-to feature. Currently does not function correctly. 2010-01-16 20:12:17 -08:00
Hamled 9109ed2ac0 Fixed a syntax error in the previous update. 2010-01-16 19:08:03 -08:00
Hamled fc0244c952 Updated twitter module to allow fetching replied-to tweets. 2010-01-16 19:03:10 -08:00
Ryan Hitchman 5fe0bb0d7e fix .mtg set regex 2010-01-08 19:02:18 -07:00
Ryan Hitchman bde89835fc adding .mtg -- gives information about a magic the gathering card (scrapes magiccards.info) 2010-01-08 17:53:27 -07:00
Ryan Hitchman 9c43856c87 fix .cs/.fs unicode handling 2009-12-22 19:11:12 -07:00
Ryan Hitchman 81ca14fcf0 fix .google unicode query handling 2009-12-22 15:54:30 -07:00
Ryan Hitchman a92e02f4d8 rewrite twitter module to be more robust 2009-12-13 18:06:29 -07:00
melonhead 9c44d8ce69 Revert "bot.reply" to "input.reply" 2009-12-09 12:11:32 -05:00
melonhead 3dcb0dd537 Added "dontsave" functionality to .weather 2009-12-09 12:06:06 -05:00
Ryan Hitchman e07d6486b3 final fix for unprintable messages 2009-11-23 01:37:52 -07:00
Ryan Hitchman 3b5ec5f879 should fix log printing problems 2009-11-22 16:19:33 -07:00
Ryan Hitchman 5dd972a00e set socket timeout time to 5 seconds 2009-11-20 18:12:29 -07:00
Ryan Hitchman e8686e0279 testing is good! 2009-11-20 17:58:17 -07:00
Ryan Hitchman ef19fa7571 should make seen/tell case insensitive 2009-11-20 17:57:00 -07:00
Ryan Hitchman 1e9e844f86 make explain.py properly report errors 2009-11-20 17:30:10 -07:00
Ryan Hitchman a07333cbad fix explain.py 2009-11-20 17:27:07 -07:00
Ryan Hitchman c04387d180 stylistic cleanup of dotnetpad.py, untested because dotnetpad was down 2009-11-20 17:11:18 -07:00
Ryan Hitchman 90cb5bf47d use py2.6 json module instead of yaml as a json decoder 2009-11-20 16:55:39 -07:00
Chris Skalenda 8322df1c93 Adding a dotnetpad plugin. This lets you eval C# and F#, via the web. 2009-11-20 00:19:20 -06:00
Ryan Hitchman 7da1834e6a split more irc stuff from core into plugins, add nickserv support 2009-11-18 21:32:28 -07:00
Ryan Hitchman d44223399f actually committing help.py 2009-11-18 20:30:28 -07:00
Ryan Hitchman e3bb74a365 help.py: online documentation (use .help) 2009-11-18 20:20:59 -07:00
Ryan Hitchman 5f1ac6254e better fix for log.py mishandling certain strings 2009-11-18 19:45:57 -07:00
Ryan Hitchman 55e0851eb8 temporary fix to log plugin 2009-11-18 19:33:34 -07:00
Ryan Hitchman 42270718e9 make argument naming more consistent (input) -> (inp) 2009-11-18 18:49:51 -07:00
Ryan Hitchman 1f1b6396e7 move FakeBot stuff to Input, remove FakeBot 2009-11-18 18:42:37 -07:00
Ryan Hitchman 985f7c5d51 logging now properly ordered 2009-11-18 17:39:27 -07:00
Ryan Hitchman 8f045f626c make logging slightly less spammy 2009-11-17 20:29:00 -07:00
Ryan Hitchman efa0c410a3 better twitter.py error messages 2009-11-17 20:24:23 -07:00
Ryan Hitchman 692fbde76c support '.twitter #hashtag' searching. closes #3 2009-11-17 20:18:32 -07:00
Ryan Hitchman e9f3beb86f support '.twitter <user> <id>', closes issue #1 2009-11-17 18:21:11 -07:00
Ryan Hitchman 7e30d5d0a3 pep8 compliance 2009-11-17 17:38:48 -07:00
Ryan Hitchman bce01e4112 purge iambuttbot module -- account was banned 2009-11-17 17:29:03 -07:00
Ryan Hitchman baa623a4ac fix autorejoin 2009-11-17 17:27:55 -07:00
Ryan Hitchman 55f4b5aa95 separate YAML config file & multiple connections 2009-11-17 17:19:26 -07:00
Ryan Hitchman 161426f276 remove redundant google command definition 2009-11-17 16:16:10 -07:00
Ryan Hitchman 3cab3993dc update PyYAML to 3.09 2009-11-17 16:13:01 -07:00
Ryan Hitchman ddb9bdd3fd fix Hamled's mistake 2009-11-17 16:08:45 -07:00
melonhead@grimace 8e8d1a583a Fix bugs??? 2009-11-12 21:11:10 -05:00
melonhead@grimace 653a5a6575 Moved the ply module around 2009-11-12 18:20:21 -05:00
melonhead@grimace bfe427b69d Added __init__ for pycparser module 2009-11-12 18:13:18 -05:00
melonhead@grimace de9203c904 Add .explain trigger to explain cdecls 2009-11-12 18:05:07 -05:00
Ryan Hitchman c7f6451459 remove .goog alias (use .g/.google) (requested by KaeseEs) 2009-11-07 11:44:16 -07:00
Ryan Hitchman 0602629f98 merging 2009-11-07 11:41:51 -07:00
Hamled 76826e2fd4 An older version of the previous tell plugin patch was originally pushed. This is the correct version. 2009-10-19 13:28:14 -07:00
charles@rokh.hsd1.wa.comcast.net 07e6316698 Modified tell plugin to be less spammy. Added .showtells command to view all tells in PM. 2009-10-18 15:39:37 -07:00
Ryan Hitchman 038793c226 move irc into core/, fix reload plugin display 2009-10-16 19:36:02 -06:00
Ryan Hitchman 84f66e55ab testing is good 2009-07-21 14:14:29 -06:00
Ryan Hitchman 43e9303ba4 make urbandictionary say word name 2009-07-21 14:13:35 -06:00
Ryan Hitchman 1c177e12b8 suggest.py: support requesting specific suggestion numbers 2009-07-17 16:06:45 -06:00
Ryan Hitchman 23cb9343d0 randomized .gis 2009-07-13 20:43:13 -06:00
Ryan Hitchman 808d049c4e fix minor bugs in suggest.py and seen.py 2009-07-10 01:18:02 -06:00
Ryan Hitchman 9f0addbca7 suggest.py: returns a random google suggestion 2009-07-10 01:10:14 -06:00
Ryan Hitchman 1115f8d1d9 merging 2009-07-10 00:46:17 -06:00
Ryan Hitchman 382ff8a27a twitter.py: error detection & search by tweet id. closes #2 2009-07-10 00:41:09 -06:00
factormystic 937851049e fixed multiline tweet bug [issue #4] 2009-07-10 02:36:37 -04:00
Ryan Hitchman 5d4c321169 improved down 2009-07-10 00:06:55 -06:00
Ryan Hitchman 5bd945b7c1 down.py -- a better implementation 2009-07-09 23:39:37 -06:00
Ryan Hitchman 59a14e363e remove unnecessary files 2009-07-09 23:11:38 -06:00
factormystic ce4b2c806c added .down plugin 2009-07-10 01:05:03 -04:00
Ryan Hitchman fd8ba70c5e datetime woes 2009-07-08 11:57:02 -06:00
Ryan Hitchman a0131cfaa8 one DB to rule them all 2009-07-08 11:49:45 -06:00
Ryan Hitchman a41349bae7 lalala bugs 2009-07-08 11:48:22 -06:00
Ryan Hitchman 9d5a995260 woops 2009-07-08 11:44:50 -06:00
Ryan Hitchman e6360187b1 oops 2009-07-08 11:30:55 -06:00
Ryan Hitchman 3cdf0d2c83 pep8 compliance 2009-07-08 11:28:15 -06:00
Ryan Hitchman 40be3038ab restructure utilities, harmonize imports, add doc on other bots 2009-07-08 11:04:30 -06:00
Chris Skalenda e6545f8ce7 .seen and .tell: resize the username and chan columns to match max lengths on synirc. 2009-07-05 10:54:20 -05:00
Chris Skalenda 92b00e7cad .seen and .tell: add some constraints on columns. 2009-07-05 10:52:00 -05:00
Chris Skalenda ba3d706b39 .tell: probation is now channel specific. 2009-07-05 10:42:07 -05:00
Chris Skalenda e268a06268 .tell: limit the .tell user to three tells per person at one time 2009-07-05 10:40:04 -05:00
Chris Skalenda df77f79242 .tell: now with a relative timestamp! 2009-07-05 10:03:24 -05:00
Chris Skalenda 592257083f Added timesince from django. Adjusted sys.path accordingly.
Added reltime output to .seen.
2009-07-05 09:52:17 -05:00
Chris Skalenda b11e8699b3 Fix input trailing whitespace issues for .seen and .tell. 2009-07-04 22:46:11 -05:00
Chris Skalenda f2f812412c Adding .tell. 2009-07-04 22:27:05 -05:00
Chris Skalenda a3ef82a680 First crack at .seen
added plugins/seen.py
2009-07-04 19:52:17 -05:00
Ryan Hitchman 2710d6a14a unescape &gt; et. al. in twitter messages 2009-06-23 00:45:58 -06:00
Ryan Hitchman d485958f93 uggboots = babby 2009-05-21 18:24:01 -06:00
sekkusu@server.danieljennings.net 92ea836c50 Adding TinyUrl parser thingie. 2009-05-22 00:12:35 +00:00
Ryan Hitchman 92e451ad68 google search plugin (same module as google image search) 2009-05-14 22:00:48 -06:00
Ryan Hitchman f820b0014c minor fixes 2009-05-14 21:07:31 -06:00
Ryan Hitchman e328ff1bbb gis doc 2009-04-28 22:10:11 -06:00
Ryan Hitchman f0d61e61d9 gis.py: google image search 2009-04-28 22:08:10 -06:00
Ryan Hitchman ef210b828f adding sieve.py, bot should work now 2009-04-28 21:29:27 -06:00
Ryan Hitchman ab644b8910 fixing iambuttbot, log.py 2009-04-25 13:33:49 -06:00
Ryan Hitchman e9a2429e73 skybot now targets python 2.6.2 instead of python 2.5.2 (remove 'from __future__ import with_statement') 2009-04-25 00:01:40 -06:00
Ryan Hitchman d9d0c3eca3 don't do buttbot without password file 2009-04-22 20:50:51 -06:00
Ryan Hitchman bc46ef50e6 better error reporting, move printing into log module 2009-04-22 20:49:06 -06:00
Ryan Hitchman 322205eb92 misc cleaning, fix urban 2009-04-19 05:42:48 -06:00
Ryan Hitchman e284ed75ba split core into more reloadable chunks, more log work, beginning of hook.queue 2009-04-19 05:18:27 -06:00
Ryan Hitchman db1997d529 logging basically done, more cleaning 2009-04-17 21:51:14 -06:00
Ryan Hitchman 5ea26b8ff7 PEP8 compliance (only whitespace changes) 2009-04-17 18:57:18 -06:00
Ryan Hitchman 94d9fd22f0 make log append work, make bot respond to PMs, other minor cleanups 2009-04-17 18:13:54 -06:00
Ryan Hitchman 21285882c9 move plugins/sieve.py to core/sieve.py 2009-04-17 17:32:44 -06:00
Ryan Hitchman 13bd7fd3fe only reload modules when necessary (instead of all when one changed), move commandprefix into sieve 2009-04-17 17:12:40 -06:00
Ryan Hitchman b88b107343 beginning of log plugin 2009-04-17 15:54:11 -06:00
Ryan Hitchman 61a8706fed forgot to remove debug print statement~ 2009-04-16 21:53:59 -06:00
Ryan Hitchman 9deb8e244a urbandictionary plugin, '!' as command prefix, iambuttbot & twitter tweaks 2009-04-16 21:52:47 -06:00
Ryan Hitchman c93d99147a in-irc documentation for wikipedia 2009-04-03 12:40:53 -06:00
Ryan Hitchman ff37c5f7cb fix newlines in peristent weather/remember 2009-04-03 12:30:05 -06:00
Ryan Hitchman e01d2b1d6b forgot to remove this from remember 2009-04-02 22:19:21 -06:00
Ryan Hitchman df7f39a1bb weather plugin now remembers locations 2009-04-02 22:18:43 -06:00