]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - ChangeLog
Sat Jul 30 22:33:36 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
[user/henk/code/ruby/rbot.git] / ChangeLog
index ec1c8886acfdd57dc65825ee0e9feadf9c538a6e..af545d9ad6102089f82641bead64acadb52c8b30 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,111 @@
+Sat Jul 30 22:33:36 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
+
+  * Config items are now objects, various types are available.
+       * The config wizard will now use registered config items if :wizard is set
+    to true for those items. It will ask questions in the order they were
+               registered.
+       * The config module now works for doing runtime configuration.
+       * misc refactoring
+
+Sat Jul 30 01:19:32 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
+
+  * config module for configuring the running bot via IRC
+       * BotConfig.register method for various modules and any plugin to register
+       bot configuration which the new config module will expose for them.
+       * various other tweaks as I continue to refactor..
+
+Fri Jul 29 13:07:56 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
+
+  * 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
+
+Thu Jul 28 23:45:26 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
+
+  * 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
+
+Tue Jul 26 14:41:34 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
+
+  * Prevent multiple plugin registrations of the same name
+       * 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+$/}
+
+
+Sat Jul 23 01:39:08 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
+
+  * Changed BotConfig to use yaml storage, method syntax instead of hash for
+       get/set, to allow more flexibility and encapsulation
+       * Added convenience method Message.okay (m.okay is the same as the
+       old-style @bot.okay m.replyto)
+
+Wed Jul 20 23:30:01 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
+
+  * 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
+
+Wed Jul 20 01:18:06 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
+
+       * Add new httputil object to the bot object, to be used by plugins etc
+       that wish to make http requests. It sets up all the proxies etc for them
+       according to bot config.
+
+Sat Jul 16 02:23:13 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
+
+  * Apply most of Rene's patch and fix various plugins.
+       * New plugin: autoop (auto ops via hostmask)
+       * New feature: karmastats
+
+Wed Oct 13 16:16:31 BST 2004  Tom Gilbert <tom@linuxbrit.co.uk>
+
+  * Fix bug with quotes plugin where it gets confused and sees both a quote
+  and a keyword, both plugins are triggered by, for example "addquote foo is
+  bar"
+  * fixed this by implementing the "has_responded" flag on a message. When a
+  plugin replied to a message (or it manually sets m.replied to true), the
+  keywords plugin will honour that flag and not examine the message for
+  keywords. This flag can also be checked by listen plugins that don't want to
+  interfere with other plugin commands.
+
 Mon Oct 11 00:37:52 BST 2004  Tom Gilbert <tom@linuxbrit.co.uk>
 
   * Fixes to the NickServ plugin