Commit Graph

446 Commits

Author SHA1 Message Date
Ryan Hitchman e99867b2bc delete yahooanswers -- the API was disabled 2015-08-27 13:26:52 -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
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 d9e03b2dd3 remember: add tests 2015-01-21 23:53:18 -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
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
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
James Ward 46ed4e85fb allow override of sieve's ignorebots in config 2014-11-25 10:21:12 -05: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
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
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
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 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
Ryan Hitchman 08ea88afd2 make quote deletion admin-only 2014-04-30 13:22:15 -07:00
Ryan Hitchman 18159024c7 reload connection configurations, make admin setting per-connection 2014-04-30 13:16:16 -07:00
Ryan Hitchman 0750e8d8b0 Merge branch 'delete-command-branch' of github.com:djcrabhat/skybot 2014-04-30 12:36:17 -07:00
Ryan Hitchman 4c3cb0c9b7 allow nick blacklisting 2014-04-24 14:15:58 -07:00
Ryan Hitchman a5dd272767 rename "tagged?" to "is" so it actually works (command names match \w+) 2014-04-17 22:31:15 -07:00
Ryan Hitchman ce475bf554 remove broken/unused BAM plugin 2014-04-16 20:35:55 -07:00
Ryan Hitchman 6706a369ab allow channel/server level acl whitelist/blacklisting. fixes #104 2014-04-11 22:06:17 -07:00
Ryan Hitchman efe5144969 add requirements.txt, remove pycparser from plugins 2014-04-03 20:44:04 -07:00
Andy Eff 793f09b63e metacritic: Resets PSV to VITA, added XONE and PS4, changes score class check from metascore to metascore_w 2014-04-02 01:37:21 -07:00
stoneLeaf 420bb2bf21 Youtube plugin no longer relies on locale (fixes #53)
The plugin relied on the locale module to provide digit grouping of the view count. It could cause various encoding issues.
The digit grouping is now based on a simple homemade function.
2014-04-02 01:20:38 -07:00
Ryan Hitchman 4f1d49ef04 Merge pull request #99 from tomjakubowski/tagged-command
add .tagged? command
2014-04-02 01:14:13 -07:00
Ryan Hitchman ac78be39f5 suggest: fix for new API 2014-03-13 10:46:57 -07:00
Ryan Hitchman 65846913e4 Merge pull request #98 from jstultz/weather
Show weather for other users
2014-02-19 17:30:02 -08:00
Tom Jakubowski beb0c21b7d add .tagged? command 2014-02-18 20:34:57 -08:00
Ryan Hitchman 75ddc44e11 remember: fix 'can't remember new things' bug 2014-02-17 17:12:06 -08:00
Ryan Hitchman 61da8580d0 bitcoin: round high/low to integers 2014-02-11 12:23:26 -08:00