Commit Graph

585 Commits

Author SHA1 Message Date
Ryan Hitchman 551d854fbd fix stock formatting 2015-10-22 15:22:08 -07:00
Josh Gao 6b23fe36f4 stock: display after-hours stock data 2015-10-22 15:14:16 -07:00
Ryan Hitchman e99867b2bc delete yahooanswers -- the API was disabled 2015-08-27 13:26:52 -07:00
Ryan Hitchman 1543f7523d Merge pull request #135 from sklnd/patch-1
weather: change location quoting mechanism
2015-08-16 15:06:11 -07:00
Chris Skalenda f6d376a207 weather: change location quoting mechanism
This fixes two word place names, like 'Las Vegas, Nevada'
2015-08-04 15:26:42 -06:00
Ryan Hitchman 374bdbc548 hackernews: represent <p> with // 2015-07-24 13:35:13 -07:00
Ryan Hitchman 7eff869123 hackernews: handle unicode & html escapes
add an end-to-end test that also checks that the remote API works
2015-07-24 13:26:36 -07:00
Ryan Hitchman a3e1b452e7 Merge pull request #134 from Ell/master
Added support for retrieving information from hackernews urls
2015-07-23 19:53:08 -07:00
Ell 1ff5bda620 cleaned up code and remove unneeded error checks 2015-07-23 19:41:30 -07:00
Ell 1a6b665e06 added support for retrieving information from hackernews urls 2015-07-23 18:01:33 -07:00
Ryan Hitchman b660993dfb youtube: update to v3 API (old API is deprecated)
This requires a Google API Key with Youtube read permissions enabled.
2015-05-06 11:34:23 -07:00
Alan Love f7671fce2c added API V3 support to youtube, this requires a googleapis key enabled for youtube 2015-04-21 12:03:04 -07:00
Ryan Hitchman 31826f382f Fix #129: bot.py main() broke everything (oops) 2015-01-23 10:57:43 -08:00
Ryan Hitchman d9e03b2dd3 remember: add tests 2015-01-21 23:53:18 -08:00
Ryan Hitchman 921b986683 wrap bot.py in a main() function to be import-safe 2015-01-21 23:16:59 -08:00
Ryan Hitchman 62fbe6e237 seen: add test 2015-01-21 23:16:52 -08:00
Ryan Hitchman 00b441e46e bf: add 100% line coverage test 2015-01-19 23:03:11 -08:00
Ryan Hitchman c40e9614f3 quote: implement get-quote-by-id, add 100% line-coverage testing 2015-01-19 22:39:28 -08:00
Ryan Hitchman 22a3a6aa70 Fix #121: don't accept tells to bot 2015-01-11 23:31:33 -08:00
Ryan Hitchman c6f3423efa Merge pull request #127 from KaneTW/patch-2
down.py URL bugfix and detailed error messages
2015-01-04 02:31:57 -06:00
Ryan Hitchman 7d2932f9c3 Merge pull request #128 from avidal/patch-2
Don't include " dontsave" when displaying weather API failures
2015-01-04 02:31:28 -06:00
Alex Vidal 1000be3ea1 Don't include " dontsave" when displaying weather API failures
The weather plugin will reply with "Could not find weather for <input>" when the API response doesn't include the "current_observation" key. However, when the user appends " dontsave" to the query that gets reported back to the user and confuses the shit out of everyone.
2014-12-30 14:24:57 -06:00
KaneTW 885b765888 down.py URL bugfix and detailed error messages
Adjusts urlparse behaviour for schemeless URLs (see python docs) to put the domain name into netloc, and makes error messages more detailed so differentiation between a HTTP error or DNS error can occur.
2014-12-03 20:10:28 +01:00
Ryan Hitchman 94343e7891 Merge pull request #126 from KaneTW/patch-1
Allow https, too
2014-12-01 23:32:10 -06:00
KaneTW 26c199d1cc Allow https, too
Also a bit easier to extend down detection to more sophisticated methods.
2014-12-01 23:11:07 +01:00
Ryan Hitchman d1a9309b03 fix #125: handle 'git log' failures gracefully 2014-11-26 15:58:28 -08:00
Ryan Hitchman 5e21e1b7b5 Merge pull request #123 from socram8888/master
Properly handle multicharacter bot prefixes
2014-11-26 16:20:04 -06:00
Ryan Hitchman bffea3c15a Merge pull request #124 from TeamPeggle/feature/config-disable-ignorebots
allow override of sieve's ignorebots in config
2014-11-26 16:19:17 -06:00
James Ward 46ed4e85fb allow override of sieve's ignorebots in config 2014-11-25 10:21:12 -05:00
Marcos Vives Del Sol 4c970f6b16 Properly handle multicharacter bot prefixes 2014-11-23 16:19:56 +01:00
Ryan Hitchman fa904d2ded Merge pull request #117 from pmrowla/lastfm-save
[lastfm] make .lastfm behave the same as .weather
2014-11-07 22:26:57 -08:00
Ryan Hitchman 68341a7655 Merge pull request #119 from crisisking/youtube_no_results
Accounts for situations where no youtube videos are returned.
2014-11-07 22:25:46 -08:00
Bryan Koroleski fe3ed74057 Accounts for situations where no videos are returned.
Sometimes, Youtube will say that there is one result,
but won't return anything.
2014-09-25 13:22:20 -05:00
Peter Rowlands 22f2e28e97 [lastfm] make .lastfm behave the same as .weather
- syntax is now .lastfm <username> [dontsave] | @<nick>
2014-08-27 14:51:39 -05:00
Chris Swetenham f4accb15e5 wikipedia.py: If the command is used without arguments, fetch a random page 2014-08-13 18:54:34 -07:00
Ryan Hitchman 2fd1def5f4 Merge pull request #114 from pmrowla/twitter_rt
fix #11
2014-08-13 18:47:19 -07:00
Peter Rowlands 9b35809372 fix #11
- use full retweeted text for native retweets instead of truncating it
2014-08-13 14:43:05 -05:00
Ryan Hitchman e589bd6e21 use PMs instead of notices for .showtells 2014-06-02 20:11:11 -07:00
Ryan Hitchman 200a2158bb wikipedia: escape URLs properly 2014-05-19 09:50:05 -07:00
Ryan Hitchman 46d733bd5f use PMs for tells -- notices are easy to miss 2014-05-17 13:46:31 -07:00
Ryan Hitchman 01192e0ddf add kick/ban/unban helper functions 2014-05-12 22:35:15 -07:00
craisins b0be5e5140 Added crowdcontrol plugin which allows for kick/ban/warnings based on
regex definitions of unwanted chat messages.
2014-05-12 22:08:42 -07:00
Ryan Hitchman ebb1c5ed28 Merge pull request #110 from tomjakubowski/patch-1
Improve weather plugin suggestions
2014-05-11 15:25:07 -07:00
Tom Jakubowski 110d09e20e Improve weather plugin suggestions
"$city, $state, $country" works better for follow-up searches.
2014-05-11 14:27:45 -07:00
Ryan Hitchman a275a44fa4 log: remove raw logging -- it's redundant with formatted logging 2014-05-10 23:45:47 -07:00
Ryan Hitchman e2bcd6aea0 add cdecl, remove explain. fixes #108 2014-05-09 21:39:11 -07:00
Ryan Hitchman c14cc2d1b0 Merge pull request #107 from craisins/master
Added support for custom bot prefixes
2014-05-09 15:04:57 -07:00
craisins 2b44d0af29 Added support for custom bot prefixes 2014-05-08 23:09:58 -04:00
Ryan Hitchman ab2a36260e bf: fix order of operations 2014-05-06 19:19:42 -07:00
Ryan Hitchman 0a84f84e57 tag: sanitize inputs 2014-05-01 21:45:37 -07:00