summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-10-16rss plugin: 'headlines' uses date if handle not presentGiuseppe Bilotta
When the feed handle is empty or not used (e.g. during rss show), the headlines output filter will display the date before the title.
2008-10-16rss plugin: strip feed title of initial/final whitespaceGiuseppe Bilotta
2008-10-16rss plugin: 'headlines' output formatGiuseppe Bilotta
A simple output format that only provides feed titles, skipping all other data, including the feed link. Requested by step on #rbot.
2008-10-16rss plugin: use %{at} instead of @ in output filtersGiuseppe Bilotta
2008-10-14UNO plugin: fix playable cards during picksGiuseppe Bilotta
A bug in the logic allowed a +2 to be playable on a Reverse of the wrong color (e.g. g+2, gr, r+2).
2008-10-13httputil: don't raise on HTTPServer/ClientErrorGiuseppe Bilotta
2008-10-06figlet: strip first and last empty line(s)Giuseppe Bilotta
2008-10-03PO updateGiuseppe Bilotta
2008-09-24IRC logging: only log nick/quits on the channels the bot is inGiuseppe Bilotta
2008-09-24ircbot.rb: fill was_on info when delegating sent QUITGiuseppe Bilotta
2008-09-24irc.rb: User#channels methodGiuseppe Bilotta
2008-09-24seen plugin: don't update seen info on topic infoGiuseppe Bilotta
2008-09-05+ plugins/games/quiz: '!quiz stop' command implementeddmitry kim
2008-09-05quiet exception listGiuseppe Bilotta
Keep a track of exceptions to a global 'quiet' command so that user can use !quiet and !talk in here to make the bot only talk in one channel without quiet-ing it by hand in each one of the other channels.
2008-09-05message.rb: fix the fix to message addressing logicGiuseppe Bilotta
This reverts commit b6bd9a24014ac9fbc822e9051f216f0506f24cd5 "message.rb: fix message addressing logic" since it actually breaks the validity for address? in a number of cases. Instead, add proper @address setting to NickMessage which is the only one getting it wrong presently.
2008-09-04launch_here: fix svn version codepathGiuseppe Bilotta
'up' was a leftover variabled since the code was in bin/rbot. Use SCM_DIR instead.
2008-09-02Version 0.9.13Giuseppe Bilotta
2008-08-22iplookup plugin: fix brokage from IPv6 supportGiuseppe Bilotta
Commit ff949fe1c9dd0c179ecdce9340c04c05242d3a48 "iplookup plugin: support IPv6 too" broke the main iplookup method by forgetting to initialize reply correctly. Fix it, and replace String#+= usage with String#<< which is more efficient speed- and memory-wise.
2008-08-21geoip plugin: only retrieve host info once on WHOISGiuseppe Bilotta
2008-08-21geoip plugin: thread commandGiuseppe Bilotta
2008-08-19IRC Socket: documentation cleanupGiuseppe Bilotta
2008-08-19IRC socket: minor flood_send logic fixesGiuseppe Bilotta
2008-08-19IRC socket: get rid of delay/burstGiuseppe Bilotta
The penalty system should be enough to prevent the bot from being disconnected because of excess flood, making the old sendq delay/burst code unnecessary. So get rid of the latter altogether. (If the penalty system as implemented ever happens to be insufficient as implemented, it should just get fixed rather than rely on the sendq delay/burst assistance.)
2008-08-13geoip plugin: fixed host regexRaine Virta
2008-08-13geoip plugin: had to change host name of the new lookup serverRaine Virta
2008-08-13nickrecover plugin: work more than once per sessionGiuseppe Bilotta
2008-08-13message.rb: fix message addressing logicGiuseppe Bilotta
IRC messages which are not PRIVMSG or NOTICE (i.e. not UserMessage) are 'addressed' to the bot when they originate from it. Rather than putting this logic in each one of them (and forgetting about it for some, e.g. NICK messages), put it in BasicUserMessage. Compensate by always setting @address in UserMessage to test against target instead.
2008-08-13geoip plugin: new service for geoip-lookup along with some other enhancementsRaine Virta
2008-08-11geoip plugin: now stacking whois requests to prevent overlapsRaine Virta
2008-08-11geoip plugin: added nick based network-wide lookup and fixed some charset issuesRaine Virta
2008-08-11rfc2812: always return the actual Channel or User when handledGiuseppe Bilotta
For consistency, all delegations now return the actual Channel object in data[:channel] and the actual User object in data[:nick].
2008-08-11rfc2812: handle ERR_NOSUCHNICK and ERR_NOSUCHCHANNELGiuseppe Bilotta
Delete the corresponding user/channel from the server list (if present), and notify the client about the error.
2008-08-11rfc2812: create channels and users for al commands when neededGiuseppe Bilotta
Always create a user or channel when we receive information about it. This makes server message parsing much more robust (no more crashes about NilClass not having user/channel methods) but has a few subtle implications about the server state: for example, channels may exist in the Server object even when the bot is not in the channel itself.
2008-08-11geoip pluginRaine Virta
2008-08-10irclog core module: rename old logs when switching from dir to fileGiuseppe Bilotta
It may happen that a user changes from an irclog.filename_format where some components are files to a format where they are directories (e.g. from '%%{where}' to '%%{where}/%Y') or conversely. In this case, we rename the existing file/dir by appending '.old.atime' to it (atime is the actual file/dir access time).
2008-08-10irclog core module: skip, don't die when unable to open logfileGiuseppe Bilotta
2008-08-10+ handle WHOIS queriesGiuseppe Bilotta
The bot now exposes a whois(nick) method to make WHOIS queries to the server. The extended syntax whois(nick, server) is also supported, allowing another server to be queried (this is useful to retrieve info which is only available on nick's server, such as idle time and signon date). Most if not all RFC-compliant replies are handled, although some of the data received is currently ignored. Non-RFC extended replies such as nickserv identification status are not hanlded yet, since they are highly server-specific, both in numeric reply choice (e.g. 307 vs 320) and in reply message syntax and meaning. A new WhoisMessage is also introduced, for plugin delegation. The source is the originating server, the target is the user for which information was requested. A #whois() method is provided holding all retrieved information.
2008-08-10rfc2812.rb: support RPL_AWAY replyGiuseppe Bilotta
2008-08-09+ support channel URL and creation timeGiuseppe Bilotta
2008-08-09quakeauth plugin: don't identify on connect if we're not on quakenetGiuseppe Bilotta
2008-08-09quakeauth plugin: don't error out when identifying with m == nilGiuseppe Bilotta
2008-08-09message.rb: correct @plainmessage and @message for CTCP messagesGiuseppe Bilotta
After CTCP parsing, @plainmessage was not defined correctly (as it still contained the CTCP command), and @plainmessage and @message were not being cleaned up correctly. This manifested itself e.g. with spurious \001ACTION and other strange unusual byte sequence popping up in markov-generated text. Fix by redefining @plainmessage and @message appropriately in CTCP handling.
2008-08-09Start working on 0.9.13Giuseppe Bilotta
2008-08-08Version 0.9.12Giuseppe Bilotta
2008-08-08lastfm plugin: support 'lastfm username' as the help suggestsGiuseppe Bilotta
2008-08-08quakeauth plugin v2Raine Virta
This patch introduces the ability for the bot to register itself to the Q bot, together with a number of other enhancements.
2008-08-08irclog core module: double-percent the {where} in irclog.filename_formatGiuseppe Bilotta
strftime in Ruby versions before 1.8.7 gobbles % which are not part of a known format directives, so %{where} must be double-escaped into %%{where}.
2008-08-08markov plugin: always plain replies when chipping inGiuseppe Bilotta
2008-08-08plugins.rb: use IO.read instead of readlins+join gimmicksGiuseppe Bilotta
2008-08-08wow plugin: return String form of realm from get_realm_statusGiuseppe Bilotta
This is needed to prevent an error from being raised when core.reply_with_nick is true