summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-02-25reaction: fix can_add? method logicRaine Virta
It should now follow this logic: * Allow everyone to create basic replies * Require specific permissions for cmd and ruby reactions
2010-02-25reaction: reverse permission checkRaine Virta
2010-02-13geoip: Add blogama and allow for fallback optionsDavid Gadling
2010-02-10react: restrict command reactions by defaultGiuseppe Bilotta
Anybody can create a dangerous reaction, and then trick the owner into triggering it. Credits to apoc for spotting this.
2010-01-26markov: detect addressing-by-nick in channelVoker57
and filter it in smart way
2010-01-25markov: fix delayGiuseppe Bilotta
markov.delay had the wrong default, and its use didn't have any degree of randomness in it. Set the default to 5 and use rand() again.
2010-01-25markov: unify should_talkGiuseppe Bilotta
Unify probability check for addressed and non-addressed case by passing the message as a parameter to should_talk and picking the probability accordingly.
2010-01-25markov: whitespace cleanupGiuseppe Bilotta
2010-01-26markov: removed unnecessary mutexesVoker57
These were slowing down learning process greatly and do not make sense as far as I can see: learning is always done only by single thread anyway.
2010-01-26markov: close registry correctlyVoker57
2010-01-26markov: Intern only when it makes senseVoker57
2010-01-26markov: statsVoker57
2010-01-26markov: Moved weighted pick to separate functionVoker57
2010-01-26markov: learn message after maybe replying to it.Voker57
2010-01-26markov: bidirectional line generatingVoker57
2010-01-26markov: ignore word patternsVoker57
2010-01-26markov: fixed parameter typeVoker57
2010-01-26markov: use not only first two first words for building phraseVoker57
2010-01-26markov: separate probability for answering when adressedVoker57
2010-01-26markov: read-only listVoker57
2010-01-26markov: made delay an option, fixed non-replied statusVoker57
2010-01-25Message 'prefixed?' methodGiuseppe Bilotta
This is used to tell apart colloquial messages to the bot ("botname, do this") from classic bot-style interface ("!do this").
2009-12-21message: Allow forcefully prepending of the nick when replyingAlex Legler
2009-12-21ircbot/rfc2812/message: Add banlist message handlingAlex Legler
2009-12-21ircbot: Delegate ERR_NOSUCHNICK and ERR_NOSUCHCHANNEL events to pluginsAlex Legler
2009-12-21hangman: expand %{site} in helpGiuseppe Bilotta
2009-12-21spotify: fail on load if Spotify module is not availableRaine Virta
2009-12-21spotify: handle errorsRaine Virta
2009-12-21add spotify pluginRaine Virta
2009-12-21lastfm: use Spotify from lib_spotifyRaine Virta
2009-12-21add lib_spotify pluginRaine Virta
2009-12-21lastfm: wrap artist name with bold in now_playing outputRaine Virta
2009-12-21lastfm: use CGI.escape on query part of spotify searchesRaine Virta
2009-12-21lastfm: remove dashes from Spotify queriesRaine Virta
2009-12-21lastfm: show spotify links on now_playing if possibleRaine Virta
2009-12-21lastfm: fix detection of invalid username on now_playingRaine Virta
2009-11-30When a translator fails to initialize, map its command to respond the reasonYaohan Chen
2009-11-30Simplify support for using "auto" to detect source languageYaohan Chen
When "auto" is used as source language, Google Translate detects the source language. However there is no need to hardcode Google Translate as the only translator supporting "auto". If another translator supports language detection, we can add "auto" to its supported source languages. If no translator in default_list supports translating from "auto", the existing code already responds with a message saying so.
2009-11-30translator: use google's RESTful interface for google_translateRaine Virta
2009-11-30translator: fix random bug caused by undefined variablesRaine Virta
2009-11-06irclog: don't kill logger thread on false can_log_onGiuseppe Bilotta
Change a return to a next. Leftover from the refactoring of the logger into its own thread. Thanks to gelraen for spotting this.
2009-11-05remote: bring up to date with changes in MessageMapperGiuseppe Bilotta
2009-11-05remote: use permit? instead of allow?Giuseppe Bilotta
We cannot signal back to the user from the UI anyway.
2009-11-03dice: restore + killed by ec5745fa7abd47b8ca12bd783b0759079dff9917Giuseppe Bilotta
2009-11-01urban: fix numpages being nil in some casesRaine Virta
2009-11-01tumblr: better guess for group name on ## channelsGiuseppe Bilotta
2009-11-01IRC Framework: Channel.npname()Giuseppe Bilotta
Returns the unprefixed part of a channel name
2009-11-01Ruby 1.9 compat: use String#[0,1] for channel prefixesGiuseppe Bilotta
This ensures that checks are correct in both Ruby 1.8 and 1.9
2009-10-21httputil.rb: fix http.no_expire_cache being IntegerValuefranz
It should be BooleanValue, otherwise false would get converted to 0 which would evaluate to true, meaning cache would never expire.
2009-10-21urban: fix page detection logicRaine Virta
numpages = s[%r{<div id='paginator'>.*?</div>}m].scan(/\d+/) ^ produces an error when regex returns nil