summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-22Update po filesGiuseppe Bilotta
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+ (userdata) method delete_botdata(key)Simon Hafner
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-22+ (reply) add new option to control nick prefixingSimon Hafner
Message#reply() now accepts a :reply option :nick => false don't prefix nick :nick => true prefix nick :nick => :auto take core.reply_with_nick (default)
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-15ircbot: fix reconnect() waitingGiuseppe Bilotta
The refactored reconnect() method would only wait when the socket was connected at the time it got called. In case where the socket would have closed earlier (e.g. because of a network I/O error) it would reconnect directly, which would for example fail to prevent fast reconnections. Fix by fencing the wait code with a check for @last_rec (checked before the optional disconnect) rather than keeping it with the socket connect check, and always initializing @last_rec on socket connect. A side effect of this strategy is that reconnect() will only wait if the bot was previously connect, or if it got disconnected by anything but the disconnect() method. Callers of disconnect() should take care of waiting themselves if they plan to reconnect.
2009-01-15ircbot: SIGUSR1 forces a reconnectGiuseppe Bilotta
2009-01-15ircbot: refactor reconnection into its own methodGiuseppe Bilotta
2009-01-15auth: better clarify the allow/deny syntaxGiuseppe Bilotta
2009-01-08auth core botmodule: fix permission view without a specified userGiuseppe 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-08rfc2812: better handling of incomplete mode linesGiuseppe Bilotta
Sometimes the bot may receive incomplete or malformed mode lines. This can be seen for example by kicking repeatedly and at very short intervals the bot from a channel with +l set to some numbers (at least on freenode). We (don't) handle these malformed modelines by skipping them rather than crashing.
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-07ircbot: handle 'Trying to reconnect too fast' server ERRORGiuseppe Bilotta
2009-01-07rfc2812: handle server ERRORGiuseppe 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.
2009-01-04del.icio.us plugin: bailout early if not configuredGiuseppe Bilotta
2009-01-04dict plugin: update De Mauro URLGiuseppe Bilotta
The old dictionary has moved to old.demauroparavia.it; update URLs accordingly.
2008-12-31url plugin: added a config option for displaying link info only on specific ↵Raine Virta
channels
2008-12-29rss plugin: typo in helpGiuseppe Bilotta
2008-12-29* (timer) ignore blocked actions .next() :/dmitry kim
2008-12-29* (timer.rb) race condition on @actions.each() fixed (thanks, Mike`)dmitry kim
2008-12-28plugins: raise a descriptive LoadError when the db is corrupt on loadGiuseppe Bilotta
2008-12-16utils.rb: Utils.age_string to replace distance_of_time_in_wordsGiuseppe Bilotta
We define a new age_string function which is a cleaner version of distance_of_time_in_words. The latter gets removed as its only in-tree usage was from timeago (which is the UI version that should be used by plugins anyway). Utils.timeago gets a revamp too, exploiting the new age_string function.
2008-12-16utils.rb: fix Utils.timeago for explicit date outputGiuseppe Bilotta
2008-12-16utils.rb: fix Utils.distance_of_time_in_words for negative offsetsGiuseppe Bilotta
2008-12-12ircsocket: tunable IRC penaltyGiuseppe Bilotta
2008-12-12ircsocket: clean up opt parsingGiuseppe Bilotta
Irc::Socket initialization now always has opt as last parameter, so don't bother checking if it's a Hash.
2008-12-10* (httputil) provide an informative error message for non-http urlsdmitry kim
2008-11-21* (core/unicode) validate encoding.charsets with Iconvdmitry kim
2008-11-21* fix config validation diagnostics for ArrayValuedmitry kim
2008-11-20rss plugin: prevent double UTF-8 decondingGiuseppe Bilotta
The rss parser looks at the encoding specified into the XML file and converts everything to UTF-8. Since we do the UTF-8 conversion ourselves, monkey-patch the XML 'encoding' declaration to claim it's UTF-8 already (as it actually is).
2008-11-17azgame plugin: support autoadding words to wordlistGiuseppe Bilotta
When the game is started with a wordlist it's possible to specify a language to use for existence of words. When a word is not found in the wordlist, it's checked against the given language check function, and if present it's added to a specific file (autoadd-#{language}), which is also used on load to choose the word to pick.
2008-11-17azgame plugin: sort wordlist on loadGiuseppe Bilotta
2008-11-17azgame plugin: strip BOM during wordlist loadingGiuseppe Bilotta
2008-11-17azgame plugin: borked wordlist loading with previous patchGiuseppe Bilotta
2008-11-17azgame plugin: show available languages and wordlists in helpGiuseppe Bilotta
2008-11-17azgame plugin: generic wordlist mechanismGiuseppe Bilotta
Make the wordlist mechanism general. Any language which has no special support can be used, as long as a wordlist is provided.