summaryrefslogtreecommitdiff
path: root/data/rbot
AgeCommit message (Collapse)Author
2009-02-10bans: put badwords in message() tooGiuseppe Bilotta
Move the whitelist and badwords check in the message() method instead of triggering on listen(). This is more correct and more efficient, and it ensures that the whitelist protects mass-highlighters too.
2009-02-10+ (bans) added masshl ban optionSimon Hafner
When a masshl ban is added, the bot will ban (or kick or whatever) anybody that calls more than a given fixed number of users or a percentage of in-channel users.
2009-02-08grouphug: htmlinfo filterGiuseppe Bilotta
2009-02-08grouphug: refactor confession retrievalGiuseppe Bilotta
Turn the confession extraction into its own method, and use it both for specific and random confession retrieval.
2009-02-08grouphug: fix retrieval of spurious confessionsGiuseppe Bilotta
The real confessions are in the 'main' div, so rather than second-guessing their true location (and getting it wrong every time the site changes layout), just skip to the 'main' div before looking for content.
2009-02-08grouphug: log errorsGiuseppe Bilotta
2009-02-07bash plugin: split long quotes at markersGiuseppe Bilotta
2009-02-07remind plugin: added possibility to reference times that are the next day as ↵Raine Virta
hh:mm
2009-02-07lastfm plugin: a small change in the last.fm api had broken the artist commandRaine Virta
2009-02-07hangman plugin: rudimentary stats tracking along with some other enhancementsRaine Virta
2009-02-07slashdot plugin: fix filter for multiple articlesGiuseppe Bilotta
2009-02-06rss plugin: don't abort if errors were found but rss is definedGiuseppe Bilotta
If we always abort, a failing first parser will cause a failure even though a subsequently tried parser succeeded in getting the feed right. So only return nil if rss was nil when the error list wasn't empty.
2009-02-01+ (plugins/rss) rss.announce_timeout config variabledmitry kim
2009-01-31rss plugin: fix return/error handling in parseRssGiuseppe Bilotta
Commit 36f1f28e668919dfab75c8fc4d1020abad351bd1 borked error handling as it assumed that a false or nil rss implied a nonempty errors, and it failed to return early. Fix by removing the early check for a missing rss and wrapping the report_problem (and the previously missing 'return nil') in the check for a nonempty errors array.
2009-01-30rss plugin: try all RSS parsersGiuseppe Bilotta
Some feeds fail when parsed by some parsers, but work correctly with others (e.g. http://www.blueman.com/community/rss fails with xmlparser but not with REXML). So try all of them and only abort if none works rather than failing because the default parser fails.
2009-01-30quotes plugin: add missing 'lastquote :channel' mapGiuseppe Bilotta
2009-01-30quotes plugin: 'other channel' commands must be mapped earlierGiuseppe Bilotta
Due to the way mapping work, quote commands whose first parameter is a channel must be mapped before the ones that implicitly refer to the current channel. This has the upside that they really work, and the downside that commands that refer to the current channel must specify the channel if their argument begins wit something that looks like a channel spec. However, this last case is extremely rare, so we're fine.
2009-01-28markov plugin: stricter permission on ignore and probabilityGiuseppe Bilotta
2009-01-28imdb plugin: fixed the ratings regexMatthias Hecker
2009-01-28rss plugin: don't warn on rewatchGiuseppe Bilotta
There is no need to warn when calling watchRss on a watched feed; in fact, since watchRss() is called every time a watcher is added, it just spam the channels with a useless message that also provides unnecessary information. So just return.
2009-01-28rss plugin: compact list of rss feedsGiuseppe Bilotta
When lots of rss feeds are defined, the bot will flood the channel on rss list. Fix by showing a compact list when the number of feeds is higher than the maximum output lines.
2009-01-28dict plugin: ircify html in demauro search resultGiuseppe Bilotta
Demauro's search results can contain some HTML, so clean it up before output.
2009-01-28quotes plugin: remove a done TODO itemGiuseppe Bilotta
2009-01-28* (rss.rb) bypass the http cache on !rss rewatchdmitry kim
2009-01-27azgame plugin: use Wordlist providerGiuseppe Bilotta
2009-01-27hangman plugin: tell who nailed the word/killed the guyGiuseppe Bilotta
2009-01-27hangman plugin: various improvements including support for wordlistsRaine Virta
2009-01-27url plugin: urls info should work regardless of configGiuseppe Bilotta
The 'urls info' command to manually query for link information should always work, regardless of the setting of the url.only_on_channels config setting. Fix by making the channels list for handle_urls() into an option (defaulting to url.only_on_channels) and passing an empty list from info().
2009-01-27url plugin: option hash for handle_urls()Giuseppe Bilotta
Turn handle_urls() options (other than the message) into a parameter hash.
2009-01-26rss plugin: fix watcher for empty feedGiuseppe Bilotta
2009-01-26rss plugin: parseRss returns the number of found itemsGiuseppe Bilotta
Change the parseRss routine to return the number of found items, or nil in case of error. This helps clearly differentiate between empty feeds (which are still legit) and b0rked feeds. This change in logic does not alter the fact that a feed update with no items will not wipe existing old feed items.
2009-01-24+ (rss.rb) monkey-patch some basic common api over different rss item implsdmitry kim
2009-01-22hangman pluginRaine Virta
2009-01-22rss plugin: mangle email in git formatGiuseppe Bilotta
Also fix a comment typo on the flyby
2009-01-22dice, 8ball: always add the nick to the replyGiuseppe Bilotta
2009-01-22+ (reply) config option to force reply to querySimon Hafner
+ (reply) symbol to bypass the config option * (plugins) fixed url according to the patch The symbols are: :to => :public force the message to be replied in channel (if any) :to => :private force the message to be replied in private :to => :auto takes core.private_replies (default)
2009-01-22* (plugins) changed to the new reply schema (:nick)Simon Hafner
2009-01-20bash plugin: bash latest is not brokenGiuseppe Bilotta
2009-01-20bash plugin: document bash searchGiuseppe Bilotta
2009-01-20bash plugin: refactor and localize helpGiuseppe Bilotta
2009-01-08fortune: configurable options for the commandGiuseppe Bilotta
2009-01-08fortune plugin: fix autodetectionGiuseppe Bilotta
An empty String is not false in Ruby, so check for it properly. Also, find_fortune needs a message passed to it, to be used when it discovers the correct path.
2009-01-08quakeauth: identify expects Hash for second parameterGiuseppe Bilotta
2009-01-08rot13: convert result to stringGiuseppe Bilotta
When core.reply_with_nick is active, m.reply expects the argument to be a String. Do the conversion explicitly.
2009-01-07autorejoin: no-kick listGiuseppe Bilotta
Botusers in the rejoin.no_kick_list config value can kick the bot without risking being kicked when it rejoins
2009-01-07autorejoin: option to kick the kickerGiuseppe Bilotta
2009-01-07autorejoin: standard headerGiuseppe Bilotta
2009-01-07autorejoin: work on password-protected channels tooGiuseppe Bilotta
2009-01-07twitter: appropriate messages when failing to get friends' statusGiuseppe Bilotta
2009-01-07twitter: auth when checking friends timelineGiuseppe Bilotta
Fixes issue #20.