Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-07-29 | Fri Jul 29 13:07:56 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk> | Tom Gilbert | |
* Moved some stuff out of util.rb into the plugins that actually need them. Those methods didn't belong in util as they were plugin-specific. * moved a few more plugins to use map() where appropriate * made the url plugin only store unique urls | |||
2005-07-29 | rename to opme | Tom Gilbert | |
2005-07-29 | rename to opme | Tom Gilbert | |
2005-07-28 | Thu Jul 28 23:45:26 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk> | Tom Gilbert | |
* Reworked the Timer module. The Timer now has a smart thread manager to start/stop the tick() thread. This means the timer isn't called every 0.1 seconds to see what needs doing, which is much more efficient * reworked the ircsocket queue mechanism to use a Timer * reworked the nickserv plugin to use maps * made server.reconnect_wait configurable * added Class tracing mechanism to bin/rbot, use --trace Classname for debugging | |||
2005-07-27 | remove previous help method, it's not ideal for the commandline | Tom Gilbert | |
2005-07-27 | this packaging stuff seems to actually be working | Tom Gilbert | |
2005-07-27 | post config script to persist configuration from the script | Tom Gilbert | |
2005-07-27 | more work on packaging, use Irc::Config module for storing configuration set | Tom Gilbert | |
by install.rb | |||
2005-07-27 | more packaging work | Tom Gilbert | |
2005-07-27 | rework various modules to use the installed directories | Tom Gilbert | |
2005-07-27 | move language files to data dir | Tom Gilbert | |
2005-07-27 | move rbot into lib - still rearranging for packaging/installation | Tom Gilbert | |
2005-07-27 | rearrange repo for packaging | Tom Gilbert | |
2005-07-27 | version update | Tom Gilbert | |
2005-07-26 | set a name to avoid spamming help with all the options | Tom Gilbert | |
2005-07-26 | use new maps api | Tom Gilbert | |
2005-07-26 | allow failed requirements tests to fall back to defaults and continue | Tom Gilbert | |
2005-07-26 | switch fortune to use new maps | Tom Gilbert | |
2005-07-26 | switch the fish plugin to use the new map mechanism | Tom Gilbert | |
2005-07-26 | * Prevent multiple plugin registrations of the same name | Tom Gilbert | |
* reworking the config system to use yaml for persistence * reworking the config system key names * on first startup, the bot will prompt for the essential startup config * new config module for configuring the bot at runtime * new config module includes new configurables, for example changing the bot's language at runtime. * various other fixes * New way of mapping plugins to strings, using maps. These may be familiar to rails users. This is to reduce the amount of regexps plugins currently need to do to parse arguments. The old method (privmsg) is still supported, of course. Example plugin now: def MyPlugin < Plugin def foo(m, params) m.reply "bar" end def complexfoo(m, params) m.reply "qux! (#{params[:bar]} #{params[:baz]})" end end plugin = MyPlugin.new # simple map plugin.map 'foo' # this will match "rbot: foo somestring otherstring" and pass the # parameters as a hash using the names in the map. plugin.map 'foo :bar :baz', :action => 'complexfoo' # this means :foo is an optional parameter plugin.map 'foo :foo', :defaults => {:foo => 'bar'} # you can also gobble up into an array plugin.map 'foo *bar' # params[:bar] will be an array of string elements # and you can validate, here the first param must be a number plugin.map 'foo :bar', :requirements => {:foo => /^\d+$/} | |||
2005-07-21 | bit of error checking/reporting | Tom Gilbert | |
2005-07-21 | fix up the new http util to work properly with GET's | Tom Gilbert | |
2005-07-21 | Wed Jul 20 23:30:01 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk> | Tom Gilbert | |
* Move some core plugins to use the new httputil * fix wserver's redirection handling for relative (i.e. broken) redirects * fix tube plugin's html parsing | |||
2005-07-21 | rework the tube plugin's html parser a bit, to enable it to work properly | Tom Gilbert | |
with tricky station names, such as hammersmity & city. | |||
2005-07-20 | update ChangeLog | Tom Gilbert | |
2005-07-20 | Add new httputil object to the bot object, to be used by plugins etc that | Tom Gilbert | |
wish to make http requests. It sets up all the proxies etc for them according to bot config. | |||
2005-07-19 | enable in-channel usage | Tom Gilbert | |
2005-07-19 | at some point over the last couple of years, the ruby http library started | Tom Gilbert | |
throwing timeout exceptions from .new, wheras they used to come from .get. This means timeouts kill the bot so I've moved all the http code into the begin block. | |||
2005-07-17 | starting on an http interface for configuring the bot | Tom Gilbert | |
2005-07-16 | update ChangeLog | Tom Gilbert | |
2005-07-16 | that wasn't ideal | Tom Gilbert | |
2005-07-16 | typo | Tom Gilbert | |
2005-07-16 | various fixes by me, plus most of Rene's patch (#1). | Tom Gilbert | |
2005-07-16 | added karmastats to the karma plugin | Tom Gilbert | |
2005-07-16 | german language file submitted by Rene | Tom Gilbert | |
2005-07-16 | autoop plugin submitted by Rene Nussbaumer, tweaked by me. | Tom Gilbert | |
2005-07-14 | Rudolf Polzer pointed out (a while ago, I forgot to apply this fix) an issue | Tom Gilbert | |
with rbot's string handling. Most ircds are pretty liberal about lines ending in various combinations of \r, \n, etc. We need to be careful about strings we pass to the ircd that may have come from users/untrusted sources (such as the output of the wserver plugin), and sanitize their line endings so that raw commands can't be sneaked through to the ircd. | |||
2005-07-14 | this is a common error | Tom Gilbert | |
2005-07-14 | Webrick functionality is now in a plugin | Tom Gilbert | |
2005-07-11 | fix for new xml format | Tom Gilbert | |
2005-04-25 | fixy | Tom Gilbert | |
2005-03-10 | fix http usage, other tweaks | Tom Gilbert | |
2004-10-10 | Nickserv fixes | Tom Gilbert | |
2004-10-09 | keyword searching | Tom Gilbert | |
2004-10-09 | initial import of rbot | Tom Gilbert | |