Commit Graph

404 Commits (f444326cb04a5f2c2fa5a9078d6d3ebec5b20125)

Author SHA1 Message Date
Sean B. Palmer 6198b30d76 Throttle channel joins 2012-02-16 17:55:23 +00:00
Calvin Winkowski eba2e5b8a3 Added url shortener using xss vulnerablity that owner refused to fix. 2012-02-12 04:32:16 -05:00
mutantmonkey 3203eae258 rule34: fix 2012-02-12 01:06:32 -05:00
mutantmonkey 78dccb1ec8 rule34: handle empty result set 2012-02-12 01:03:39 -05:00
mutantmonkey e787df1850 add rule34 module 2012-02-12 01:01:50 -05:00
mutantmonkey e1a36026fd fix .npl 2012-02-10 22:02:53 -05:00
mutantmonkey fdf53d578f actually fix search module 2012-02-10 21:13:43 -05:00
mutantmonkey 8a33dabb3e fix search module 2012-02-10 21:11:04 -05:00
mutantmonkey 5423fc2edd log action messages too 2012-02-10 19:21:37 -05:00
mutantmonkey 410d72172f add logger module 2012-02-10 19:11:04 -05:00
mutantmonkey 3d41e2f1d9 fix clock and startup modules 2012-02-10 19:10:34 -05:00
mutantmonkey ee6ce7ba3e Merge branch 'master' of https://github.com/sbp/phenny 2012-02-08 16:10:44 -05:00
Sean B. Palmer 436d610ff4 Making the PING-loop optional 2012-01-14 22:55:59 +00:00
Sean B. Palmer 2575536078 Added clsn's ping-pong code 2012-01-12 14:21:49 +00:00
Sean B. Palmer e3633957a9 New .tr syntax for translations 2012-01-11 14:18:34 +00:00
mutantmonkey e21b2f6ec7 stache: fix case when no image is provided 2012-01-03 15:02:57 -05:00
mutantmonkey 585523cf7b add stache module 2012-01-03 14:54:26 -05:00
mutantmonkey 7ded434a61 tweak info and wadsworth module formatting 2012-01-03 14:28:14 -05:00
mutantmonkey 56f116732d module formatting tweaks; tabs -> spaces and more 2012-01-03 14:24:19 -05:00
mutantmonkey 733d3fd39e fix .mliar error message 2012-01-03 14:08:56 -05:00
mutantmonkey 9cd3578ed1 admin: join channel when invited 2012-01-03 13:55:39 -05:00
Reese Moore d972e70529 Move the content-type check back to the proper indent level, hopefully this
makes the bot check for an html Content-Type and not download every file.
2011-12-30 22:37:42 -05:00
mutantmonkey 92ea5b5310 head: fix .head and add response time 2011-12-28 17:45:11 -05:00
mutantmonkey 9594c33266 Merge fixed translation module 2011-12-27 12:18:29 -05:00
Sean B. Palmer b2fe5b31e2 Typo2 2011-12-27 14:50:21 +00:00
Sean B. Palmer 3724ba37cd Fixed translation module, with the help of der Hörmi 2011-12-27 14:48:24 +00:00
mutantmonkey 9a5acad5f0 urbandict: terminate if no definition found 2011-12-26 22:20:59 -05:00
mutantmonkey d127556c67 urbandict: strip whitespace, trim at 256 chars 2011-12-26 22:19:23 -05:00
mutantmonkey 2db37270a7 cleanup in fcc module 2011-12-26 22:16:16 -05:00
mutantmonkey 3adb930db8 add urban dictionary module 2011-12-26 22:16:06 -05:00
mutantmonkey f236a203df remove execute permissions from modules (unneeded) 2011-12-21 01:32:16 -05:00
mutantmonkey e14f178898 linx: should return when no url provided 2011-12-12 02:11:28 -05:00
mutantmonkey 42c37857fa linx: deal with no URL provided 2011-12-12 02:10:54 -05:00
mutantmonkey babaa9fb9f linx.li uploader 2011-12-12 01:55:10 -05:00
mutantmonkey 2b034e7a41 fix .u 2011-12-11 18:09:42 -05:00
mutantmonkey 6e69bc1ba3 tfw: fix indentation 2011-12-04 19:46:28 -05:00
mutantmonkey 76c0feddb5 tfw: handle unknown locations properly 2011-12-04 19:43:49 -05:00
mutantmonkey 0b5398ca04 fcc: show error when looking up non-existant callsign 2011-11-30 16:04:44 -05:00
mutantmonkey 01bcae7a03 start using callook.info instead of scraping from ARRL 2011-11-30 13:44:12 -05:00
mutantmonkey 5e3f24fadb add fcc callsign lookup 2011-11-29 22:58:05 -05:00
mutantmonkey d1ff59fd4f fix remind module 2011-11-26 21:20:01 -05:00
mutantmonkey 0461aab1c1 tfw: handle negative temps 2011-11-06 01:42:19 -05:00
mutantmonkey 7b41ea29bd fix .u 2011-10-22 21:54:12 -04:00
mutantmonkey 27ebfea407 chillmeter: add one more thing 2011-10-20 17:45:57 -04:00
mutantmonkey 4587c2de0c add some more chill things 2011-10-20 17:43:36 -04:00
mutantmonkey 4990fb63cf fix hs module to work with python3 2011-10-19 18:56:04 -04:00
mutantmonkey c0e16df2a8 Wadsworth's Constant module 2011-10-02 16:39:13 -04:00
mutantmonkey 0f62f9ceae fix wiktionary quoting 2011-09-29 19:41:18 -04:00
mutantmonkey 60660c1755 lastfm: handle http.client.BadStatusLine 2011-09-26 14:11:48 -04:00
mutantmonkey 04c41d07ed lastfm: open config file as w, not wb, to deal with unicode properly 2011-09-26 13:56:55 -04:00
mutantmonkey 4c64beada2 fix rounding in lastfm module caused by python3 upgrade 2011-09-23 19:00:58 -04:00
mutantmonkey e8ce0a1782 actually fix search this time 2011-09-22 18:19:25 -04:00
mutantmonkey 2ec39ddc34 Update readme, fix search 2011-09-22 18:15:42 -04:00
mutantmonkey 279e8ba969 use nonblocking sockets 2011-09-22 16:07:26 -04:00
mutantmonkey 800b78a02f more python3 fixes 2011-09-22 15:04:19 -04:00
mutantmonkey 50fe275870 Port to python3, fix ssl support 2011-09-22 14:17:27 -04:00
mutantmonkey 06133ef0c3 mylife: catch IOError too 2011-09-21 20:54:53 -04:00
mutantmonkey f34695717d Migrate modules using urllib2 to use phenny's web module 2011-09-21 20:43:05 -04:00
mutantmonkey c8fe22190c mylife: add my life is creepy 2011-09-17 21:46:42 -04:00
mutantmonkey f7658ccfdf fix mlihp 2011-09-17 21:35:55 -04:00
mutantmonkey 6897760ab7 mylife: add my life is Harry Potter 2011-09-17 21:35:08 -04:00
mutantmonkey bd69dcfed4 mylife: add my life is twilight 2011-09-17 21:31:31 -04:00
mutantmonkey c8512991ed fix hs (for real this time) 2011-09-14 20:29:42 -04:00
mutantmonkey 8d4e0a741b fix hs 2011-09-14 20:27:29 -04:00
mutantmonkey 213b83871d chillmeter: make decay work properly with negative chill level 2011-09-08 18:31:08 -04:00
mutantmonkey dd0ade6136 chillmeter: add weighting 2011-09-08 18:22:45 -04:00
mutantmonkey 0194837708 Merge branch 'master' of https://github.com/Ramblurr/phenny 2011-09-08 16:58:09 -04:00
Casey Link 2ae48cfb1b chillmeter: prevent dupes 2011-09-08 15:50:13 -05:00
mutantmonkey e94b3237f4 chillmeter: tweak chill words 2011-09-08 16:42:50 -04:00
Casey Link 4a475bd030 chillmeter: add unchill words 2011-09-08 15:38:08 -05:00
mutantmonkey 8b62d7dc71 chillmeter: add a few more chill words 2011-09-08 16:33:20 -04:00
Casey Link 4c5efae87e make chill meter channel specific 2011-09-08 15:28:58 -05:00
mutantmonkey af4d5e37b4 chillmeter: add more chill things 2011-09-08 16:18:34 -04:00
Casey Link addb25595b New plugin: chillmeter
Measures chillness.
2011-09-08 15:10:22 -05:00
Casey Link a758b8ab69 Improve botsnack plugin.
- More fun phrases depending on hunger level
- Simulated hunger (yay math)
- Better abuse prevention
2011-09-08 13:34:58 -05:00
mutantmonkey 96e015d6ed Revert "remove .py"
This reverts commit 352925b1c4.
2011-09-08 09:38:26 -04:00
mutantmonkey 352925b1c4 remove .py 2011-09-07 20:04:47 -04:00
mutantmonkey b9c2193eb2 Merge https://github.com/sbp/phenny
Conflicts:
	modules/head.py
	modules/wikipedia.py
2011-09-07 19:08:01 -04:00
Sean B. Palmer 2d3009ccb1 Attempt to patch a possible message injection hole. 2011-09-05 17:46:17 +01:00
mutantmonkey 4b6ebf0f21 Add magic 8-ball, tweak mylife 2011-09-02 17:11:12 -04:00
mutantmonkey 77df66a31b more my life methods 2011-09-02 01:16:19 -04:00
mutantmonkey 54f0095413 fix typo 2011-09-02 00:57:40 -04:00
mutantmonkey 8d54baa901 add another mylife module 2011-09-02 00:56:55 -04:00
mutantmonkey 4d8dfcbcf9 Fix typo 2011-09-01 11:38:43 -04:00
mutantmonkey 6fd34567b6 add mlia and mlih, merge fml and mlib into mylife.py 2011-09-01 09:40:25 -04:00
mutantmonkey bde1c43780 add my life is bro module 2011-09-01 00:50:14 -04:00
mutantmonkey 5e50eb00f2 Remove ddg.py since sbp added new DuckDuckGo search feature to search.py 2011-08-31 14:11:13 -04:00
mutantmonkey 56772b05a3 Merge https://github.com/sbp/phenny
Conflicts:
	modules/wikipedia.py
2011-08-31 14:09:08 -04:00
mutantmonkey eba3a3acd5 hs: tweak search parameters, handle exceptions more gracefully 2011-08-31 14:05:47 -04:00
Sean B. Palmer 66edd83372 DuckDuckGo support, and minor wa and wik fixes. 2011-08-04 15:53:55 +01:00
mutantmonkey 8768c00063 Merge https://github.com/Ramblurr/phenny 2011-07-30 01:53:23 -04:00
Casey Link 569862a227 Add fml module 2011-07-30 01:51:10 -04:00
mutantmonkey 20c9f25b23 slogan: strip strings 2011-07-28 10:55:23 -04:00
mutantmonkey fa3fd7110c Remove halbot, update slogan module to show usage when used improperly 2011-07-28 10:48:40 -04:00
mutantmonkey 04b31bb963 Merge https://github.com/dafyddcrosby/phenny 2011-07-28 10:44:22 -04:00
Sean B. Palmer c493e7ca07 Better file management in Wikipedia module, and deleted the Encarta module. 2011-07-22 15:53:16 +01:00
Sean B. Palmer f329429de4 Support for gzip encoding from Wikipedia. 2011-07-22 15:43:50 +01:00
mutantmonkey 51aad0a1f7 Merge pull request #14 from Ramblurr/master
NSFW: The Module
2011-07-15 11:39:37 -07:00
Casey Link d77fc7a8b0 New Module: nsfw
Somethings just aren't safe work work.
2011-07-15 14:32:32 -04:00
mutantmonkey e791c4ca98 Merge https://github.com/Ramblurr/phenny 2011-07-15 13:43:33 -04:00
mutantmonkey 13ca93a4e5 Use MediaWiki API for search 2011-07-15 13:43:27 -04:00
Casey Link 433daf8341 New lastfm module feature: AEP displaying. 2011-07-15 13:39:29 -04:00
mutantmonkey 4e25fa7bf9 Merge https://github.com/sbp/phenny 2011-07-11 12:13:51 -04:00
Sean B. Palmer 7dbddc8429 Allow latin1 searches of etymonline, which doesn't seem to support utf-8. 2011-06-17 16:56:49 +01:00
Sean B. Palmer 5261461f70 Merge branch 'master' of github.com:sbp/phenny 2011-06-17 16:50:21 +01:00
Sean B. Palmer 12c8cd07f5 Search shim, and an encoding fix. 2011-06-17 16:49:37 +01:00
Sean B. Palmer bbd2c7f943 Merge pull request #6 from Steve-V/master
Some commands use input without checking if it's actually been provided
2011-06-17 08:48:39 -07:00
mutantmonkey b99079a516 Make bot's help message channel-neutral 2011-06-14 16:20:44 -04:00
Dafydd Crosby a76e8bcc0d Adding the slogan module 2011-06-04 09:38:11 -06:00
Dafydd Crosby 2a03d0e065 Adding the halbot module 2011-06-04 09:36:47 -06:00
Sean B. Palmer 78ec273046 Fixing a bug with regexp matching when the bot has a metachar name. 2011-05-20 19:11:55 +01:00
Sean B. Palmer ccd0343d13 Added multilingual wikipedia search capability. 2011-05-17 00:04:14 +01:00
mutantmonkey d9c2d976e2 hs: deal with blank queries 2011-04-24 21:58:28 -04:00
Reese Moore dfa7338f3d remove unnecessary argument from ddg 2011-04-19 09:20:07 -04:00
Steve Vaught 482161e98b Added error checking for empty parameters 2011-04-19 00:50:58 -04:00
Reese Moore 43f98a4d43 Fix Duck Duck Go (.ddg) command comment (was .tfw). 2011-04-18 21:31:38 -04:00
Reese Moore 9747b00e9d Fix duplicate join messages as well as updating the keys while in use.
This makes the tell module single threaded, but performance shouldn't
suffer terribly. If it does, might have to roll back the changes and
consider managing the double JOINS and thread saftey manually.
2011-04-18 14:57:07 -04:00
Reese Moore 60b4bd875b Add message alert functionality to the phenny bot.
When a user joins a channel, and has messages waiting for them, alert
them.
2011-04-18 14:52:43 -04:00
mutantmonkey 20a8d88b86 Merge https://github.com/sbp/phenny 2011-04-04 16:52:16 -04:00
mutantmonkey f249e43ba4 Merge https://github.com/kunwon1/phenny 2011-04-04 16:46:46 -04:00
mutantmonkey c866b75f88 tfw: add meV unit support 2011-04-04 16:37:27 -04:00
Sean B. Palmer 5bc5662108 Couple of fixes from ayust on github, thanks 2011-03-10 13:41:02 +00:00
David Moore ff2434db41 added uri snarfing with automatic title reading 2011-03-05 19:51:52 -06:00
David Moore 18a24a8117 add cookie support to head.py, for e.g. nytimes urls 2011-03-05 15:02:22 -06:00
Sean B. Palmer ecb8af1bbe Better reload function. 2011-02-24 18:57:21 +00:00
Sean B. Palmer 22dfed082c Added the reminders module. 2011-02-24 17:30:07 +00:00
Sean B. Palmer 4a2b9efbe7 Added reminders module. 2011-02-23 21:32:37 +00:00
mutantmonkey 08e8c8c6c6 Add Hokie Stalker module 2011-02-18 18:12:09 -05:00
mutantmonkey eb8b883645 archwiki: fix pages without tables 2011-02-14 18:51:13 -05:00
mutantmonkey 1ebbc2b4a9 Add .awik 2011-02-14 18:38:12 -05:00
mutantmonkey 4a2000f8c0 Use https for VTLUUG wiki 2011-02-13 19:01:12 -05:00
Casey Link bdb9f45730 add VTLUUG wargame module 2011-02-09 22:38:26 -05:00
Casey Link e3e9c0284b fix the double 'ago' in now playing 2011-02-09 20:15:24 -05:00
Casey Link c703c03c61 fix strange album issues 2011-02-05 14:33:39 -05:00
Casey Link 93c39b3f28 correctly handle resolving and whitesace 2011-02-05 14:12:47 -05:00
Casey Link df48e246a7 resolve nick->user when doing self compare 2011-02-05 13:44:54 -05:00
Casey Link 67e548366b more error handling and add syntax help for the tasteometer 2011-02-05 13:37:49 -05:00
Casey Link 62466723d5 add support for single user taste comparisons 2011-02-05 13:30:32 -05:00
Casey Link 4352283318 add tasteometer command to determine users' musical compatibility 2011-02-05 13:03:23 -05:00
Casey Link c41253901b fix lastfm bugs 2011-02-05 12:33:24 -05:00
Casey Link d24a406af7 add ability to get now playing info on others. 2011-02-05 12:18:51 -05:00
Casey Link d4ee9c225d add lastfm module 2011-02-05 01:36:36 -05:00
mutantmonkey e10ea74335 Merge https://github.com/sbp/phenny 2011-01-18 12:51:10 -05:00
Sean B. Palmer 4608c57ea8 Generic error message for services that don't return plain text. 2011-01-15 14:52:37 +00:00
mutantmonkey 5cfdd0e41c ddg: Add link to results page 2011-01-01 12:18:47 -05:00
mutantmonkey bfb26c32d6 Added Duck Duck Go search functionality (only supports zero-click API right now) 2010-12-31 19:08:42 -05:00
Sean B. Palmer 01cebd1ccc HTTPS title support, and a minor encoding fix. 2010-12-23 19:34:03 +00:00
mutantmonkey c4ce3320fc Deal with pages that don't exist on the VTLUUG Wiki or in Uncyclopedia 2010-12-21 00:30:58 -05:00
mutantmonkey bbb932897b Added module to search VTLUUG wiki 2010-12-21 00:22:25 -05:00
mutantmonkey 15ce88b20a Bot can now have too much food 2010-12-11 15:58:43 -05:00
mutantmonkey fe4721bb99 Added .botfight and .bothug 2010-12-11 15:51:49 -05:00
mutantmonkey f3c80c2ba7 Added documentation and Celsius support to .tfw 2010-12-08 22:00:54 -05:00
mutantmonkey 50b570f542 .tfw: deal gracefully with the case where no location is specified 2010-12-07 18:36:31 -05:00
mutantmonkey c56aa15867 Deal more gracefully with errors and allow city and state as well 2010-12-06 17:53:12 -05:00
mutantmonkey 6bd9a15343 Make .tfw only work for zip codes 2010-12-06 17:41:00 -05:00
mutantmonkey c1a847c8a5 Properly deal with single line comments in tfw module 2010-12-06 17:08:43 -05:00
mutantmonkey 44354a5908 Added .tfw (The Fucking Weather) module 2010-12-06 16:12:28 -05:00
mutantmonkey bf8b638971 No need to process input for .botsnack 2010-12-06 15:39:14 -05:00
mutantmonkey 0c102513fd Announce when it will soon be yi 2010-12-01 18:06:26 -05:00
mutantmonkey d74cfb7198 Merge https://github.com/sbp/phenny 2010-11-14 18:38:57 -05:00
Sean B. Palmer 5ebe01386d Services fixes, and a standard JSON API. 2010-11-13 11:55:04 +00:00
mutantmonkey db3724d9cf Added .help command that replaces the default help 2010-11-12 10:34:22 -05:00
mutantmonkey a28759c83d Added Uncyclopedia module 2010-11-12 00:35:18 -05:00
mutantmonkey e0c9d5ce85 Added .botsnack feature 2010-11-11 18:01:39 -05:00
Sean B. Palmer ca95157acb Calculator updates, and .py and .wa implementations. 2010-11-06 13:58:51 +00:00
Sean B. Palmer 9ae58d0a35 New calculator function, as tested by yano and jasondavies! 2010-11-06 12:52:35 +00:00
Sean B. Palmer 63b981c994 The oblique services manifest changed location, updated to follow. 2010-11-06 12:09:03 +00:00
Sean B. Palmer 331bc44338 Fixed the oblique wiki load problem. 2010-10-20 16:50:21 +01:00
Sean B. Palmer b45c1e94f7 Updated the oblique, web services, manifest link. 2010-04-03 19:25:50 +01:00
Sean B. Palmer b4c7019d53 Fixed the Wikipedia module's search capability. 2010-04-03 11:08:03 +01:00
Sean B. Palmer c5b234578e Added d8uv's clock updates. 2010-01-30 11:23:24 +00:00
d8uv b8970d4d6b Added personal timezones back. I think. sbp'll probably have to fix EVERYTHING that I did. 2010-01-28 10:50:40 -09:00
Sean B. Palmer 22aed08fae Added server password stuff from Javier. 2010-01-13 13:11:32 +00:00
Sean B. Palmer 5d48dd8ca7 Run setup when reloading a module. 2009-06-18 14:20:12 +01:00
Sean B. Palmer b35681c759 Updated some of the copyright dates. 2009-06-07 10:08:49 +01:00
Sean B. Palmer 77ad158b1e Slightly cleaner oblique.py 2009-06-07 10:05:37 +01:00
Sean B. Palmer aafac55f7a Added config option for specifying services to use. 2009-06-07 09:57:41 +01:00
Sean B. Palmer a06ea9e4ba Addin the new Wiktionary module. 2009-01-19 16:47:28 +00:00
Sean B. Palmer 2299ef2588 Small edits. 2009-01-19 16:47:05 +00:00
Sean B. Palmer f9aff27534 Minor bug fixes. 2008-12-28 09:42:48 +00:00
Sean B. Palmer d26fc8d81f Applied a patch to weather.py from Chris Waigl, and fixed search.py. 2008-11-24 21:14:22 +00:00
Sean B. Palmer 4eb5bb8942 Fixed a minor search bug. 2008-11-20 10:25:03 +00:00
Sean B. Palmer 1856781604 Updated the search facilities. 2008-11-20 10:18:21 +00:00
Sean B. Palmer fe16d21212 Oblique stuff and fixes. 2008-10-29 16:03:12 +00:00
Sean B. Palmer b91de3886e Added oblique.py, a new web services module. 2008-09-11 17:18:44 +01:00
Sean B. Palmer 31d107c0bd Minor fixes, full stop stripping of tell nicknames &c. 2008-08-09 16:01:20 +01:00
Sean B. Palmer bf20b46f74 Stop calc from flooding, and can now join channels with a key. 2008-06-19 18:58:24 +01:00
Sean B. Palmer 68f2036546 Fix for Windows, and some more helpful error messages. 2008-05-31 11:46:48 +01:00
Sean B. Palmer 87b9866c7c New translation module, using the Google Ajax interface. 2008-05-23 19:16:38 +01:00
Sean B. Palmer d7f8faabe8 Updated the translate module, the web interface having changed. 2008-05-15 10:44:48 +01:00
Sean B. Palmer 986953131d Allow the user to configure the port in the config, and other fixes. 2008-04-26 15:54:35 +01:00
Sean B. Palmer 286d4a8497 New "limit" config variable, and some module fixes. 2008-03-31 16:17:32 +01:00
Sean B. Palmer fb2cd452e9 Some documentation and minor fixes. 2008-03-10 19:58:28 +00:00
Sean B. Palmer 5cad6661c9 Added a README and server password configurability. 2008-03-08 11:35:25 +00:00
Sean B. Palmer 989ea13d02 Minor fixes, and important .commands fix, to be private only. 2008-03-07 21:33:00 +00:00
Sean B. Palmer f81eae836d Better __doc__ consistency; really a test of some mercurial issues. 2008-03-02 14:44:14 +00:00
Sean B. Palmer 8f2e14481a Some Wikipedia encoding fixes. 2008-03-02 14:28:02 +00:00
Sean B. Palmer d7e909a061 Updated the Wikipedia search component. 2008-03-02 14:17:07 +00:00
Sean B. Palmer 23c1dffa10 Fixed some .u stuff, added .bytes, and made Ctrl+C work. 2008-03-02 11:16:25 +00:00
Sean B. Palmer 1078791cb6 Some sundry fixes and improvements to the modules. 2008-03-01 21:07:23 +00:00
Sean B. Palmer 3d920f4317 Some more little fixes, and added a Makefile. 2008-02-29 15:36:18 +00:00
Sean B. Palmer cbdf9ebd73 And some new modules too... 2008-02-23 12:17:06 +00:00
Sean B. Palmer 2fb0058943 Lots of fixes, changes, and new goodies. 2008-02-23 12:16:43 +00:00
Sean B. Palmer 7931fab145 Phenny2, now being tested on Freenode as the main phenny. 2008-02-21 12:06:33 +00:00