]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blob - ChangeLog
Plugin map requirements are now checked at regular expression time, not later on
[user/henk/code/ruby/rbot.git] / ChangeLog
1 2007-02-02  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
2
3         * Plugin message mapper: Requirements (as set by the :requirements
4         hash) are now embedded in the regular expression matcher rather than
5         being cheked separately afterwards.
6
7 2007-01-30  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
8
9         * New IRC Framework: Server methods to retrieve a Channel or User are
10         now more robust to empty or nil nicks and channel names passed as
11         parameters.
12
13 2007-01-29  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
14
15         * Timer rescheduling: it is now possible to reschedule the period
16         any particular Action is taken by issuing the command
17                 @bot.timer.reschedule(handle, new_period)
18         where +handle+ is a timer handle returned by the @bot.timer.add() that
19         created the action, and new_period is the new period for the Action.
20
21 2007-01-23  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
22
23         * Reduced saving: the salut, lart, and quotes plugin now only save
24         their datafiles if anything changed since last time. This speeds up
25         operations such as saving and rescanning; it also allow hand-editing
26         of the data files while the bot is running, since a rescan will load
27         the changed data files without overwriting them with a useless save
28         before. Of course this only works if there are no pending changes in
29         the running bot.
30
31 2007-01-12  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
32
33         * Server timeout: rework the server timeout code. Instead of PINGing
34         the server unconditionally every server.ping_timeout seconds, we only
35         PING it if we don't receive anything in the user-chosen timeout (lazy
36         PING). The code rewrite also seems to have fixed the "bot stalling
37         doing nothing" problem, which seemed to have been a consequence of
38         @socket.select not having a timeout.
39
40 2006-11-01  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
41
42         * SSL support: patch from Robin H. Johnson <robbat2@gentoo.org>
43
44 2006-10-28  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
45
46         * A-Z game: try to guess the word the bot is thinking of: every miss
47         helps by reducing the range of allowed words, until it's so small
48         around the correct one that you can't miss it.
49
50 2006-10-27  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
51
52         * Flood protection: first attempt at penalty-based flood protection.
53         This should make rbot much less prone to Excess Floods *and* still
54         serve normally without excessive delays.
55
56 2006-10-25  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
57
58         * HttpUtil: Strings returned by get_cached now have a cached? method
59         which returns true or false depending on whether the result was taken
60         from the cache or not; this can be exploited by plugins that parse the
61         result in some particular way, since they can now skip the parsing
62         stage if they cache the parse result.
63
64 2006-10-24  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
65
66         * HttpUtil: initial implementation of proper caching based on
67         last-modified and etag HTTP headers
68
69 2006-10-17  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
70
71         * Salut plugin: handles (multilingual) salutations (hello/goodbye)
72
73 2006-10-15  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
74
75         * Language stuff: plugins can now handle language changes in a natural
76         fashion. lart is the first plugin to make use of this. NOTE: this
77         is not (yet) backwards compatible: the old larts/praises files from
78         previous rbot setups have to be renamed manually
79         * Language stuff: italian translations
80         * Utils.safe_save(filename): allows 'safe' saving of a file: it needs a
81         block, to which it will yield a temporary file on which operations can
82         be carried out. When the block returns, the tempfile will be renamed to
83         the given filename
84
85 2006-09-21  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
86
87         * New Auth Framework: restore backwards compatibility: 'auth
88         <masterpassword>' and 'login owner <masterpassword>' both work.
89         * Topic plugin: cleanups. Implement 'topic undo'. 'topic undo' after a
90         'topic undo' undoes the last undo.
91
92 2006-09-09  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
93
94         * New Auth Framework: rbot was opping anyone who asked for it (opme
95         plugin). Fixed, and cleaned up.
96
97 2006-09-01  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
98
99         * New Auth Framework: document and fine tune permissions view the auth
100         core botmodule.
101         * Version: when run from a svn checkout, the bot now tries to report
102         which svn revision it's at, and if there are local changes
103
104 2006-08-31  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
105
106         * Nickserv plugin: bot will now try to inform nickserv when password
107         is changed. Moreover it's not necessary to specify the nick anymore if
108         you want to change the password for the current bot nick. Also do some
109         internal cleanups while we're at it.
110
111 2006-08-29  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
112
113         * Script plugin: new (UNSAFE!) echo functions. Just like eval, but
114         m.replies the result of the evaluation.
115         * New Auth Framework: config keys now have their own permissions. So
116         you can allow people to view or edit only some of the config values.
117         auth.password defaults to false. Still needs some work.
118
119 2006-08-26  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
120
121         * Plugin message mapper: new implementation. Multi-word parameters now
122         need not be the last, and it is possible to retrieve the entire
123         substring with preserved whitespace by using to_s. Also, parts of the
124         map string can be bracketed to make them optional. Examples:
125                 remind :user [about] *stuff
126         will respond to
127                 remind me about washing my teeth
128         and also to
129                 remind me washing my teeth
130         It is possible to have parameters in brackets, in which case they will
131         be optional too, and default to nil or [] (resp. single- and
132         multi-word parameters) unless an alternative is provided in the
133         :defaults hash for the message map options.
134         * Script plugin: new (UNSAFE!) eval function. Not documented in help.
135         Not permitted by default.
136
137 2006-08-25 Mark Kretschmann <markey@web.de>
138
139         * Added quiz plugin, a multiplayer trivia quiz game.
140
141 2006-08-20  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
142
143         * Topic plugin: fix a bug that prevented it from loading
144         correctly.
145         * New IRC Framework: make sure that NOTICEs and PRIVMSGs do not
146         raise an exception when the target is in one of the special forms
147         #<mask> or $<mask>. Needs some work, though, since this case should be
148         handled specifically.
149
150 2006-08-17  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
151
152         * Fix help: It got broken while rearranging the plugin stuff, now it's
153         properly fixed.
154         * New Auth Framework: forgot to create the InvalidPassword exception.
155         It's a RuntimeError now.
156         * Fix help: this time for real (or so I hope).
157         * New IRC Framework: topic plugin now works correctly.
158         * New Auth Framework: nickserv plugin now defaults to false for its
159         auth, so that only owner can do stuff with it
160         * New Auth Framework: fix horrible typo, assignment instead of
161         equality test when checking for the username during login.
162         * Keywords plugin: tell and forget work again without 'keyword' before
163         them.
164
165 2006-08-12  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
166
167         * Subregistry: force prefix to be a String with to_s
168
169 2006-08-11  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
170
171         * AutoOp plugin: adapted to the new IRC framework.
172         * AutoOp plugin: trigger autoop on nick change too.
173         * New Auth Framework: allow? method now informs a user when they don't
174         have permission to do what they asked for.
175         * New nickreply and nickokay methods: they act like the old reply
176         method, but include the nick of the user the bot is replying to when
177         talking in public. The usual reply method can be configured to act
178         like this as default.
179
180 2006-08-10  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
181
182         * Fix a bug in new IRC Framework: the list of channels a quitting user was
183         on was not built correctly, causing an exception when the user was not
184         in the first channel in the list of channels.
185         * Fix a bug in new Auth Framework: BotUser's name is changed via
186         username=, not name=.
187         * New HalfLife 2 plugin from ocr: queries online servers for online
188         status and number of users.
189
190 2006-08-07  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
191
192         * Add kick method to kernel: plugins can now use
193                 @bot.kick channel, user, reason
194         to kick a user from a channel
195         * RSS plugin: fix rewatch_rss method
196         * RSS plugin: the different ways to represent channels before and
197         after the New IRC Framework was causing strange problems such as
198         watched feed not being listed as such, undeletable watches, double
199         watches etc. Fix this by checking both for the Channel objects and
200         their to_s form when checking for watches or deleting them.
201
202 2006-08-06  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
203
204         * Updating the ChangeLog again: describe the new stuff in trunk which
205         will be made available in the next release. Use Gnu style for new
206         changelog entries (yyyy-mm-dd name <email address>\n<tab> ...):
207         there's a macro for this since at least Vim 6.x and higher, called by
208         <Leader>o (default leader: slash (\))
209         * New IRC Framework: Server, Channels, User, Netmasks etc are all
210         proper Ruby objects. The better organization will allow multi-server
211         connections to be implemented more easily
212         * Modularize core: split the internal functionality from what can be
213         implemented as botmodules (which work just the same as plugins). Move
214         Configuration, Basics and Auth out of the 'kernel' into core
215         botmodules.
216         * New Auth Framework: BotUsers are now Ruby objects with attached
217         PermissionSets which define what the BotUser can do, by channel if
218         necessary. The new framework allows very fine-grained control while
219         still being very easy to manage for elementary usage. BotUser data can
220         be exported and imported, but no backwards compatibility has been
221         implemented yet. Most plugins still have to be updated to the new
222         command-path-based mechanism.
223
224 Sun Aug 06 17:33:55 BST 2006  Tom Gilbert <tom@linuxbrit.co.uk>
225
226   * 0.9.10 released
227         * Changes: Lots of new and updated plugins, including one to poll RSS feeds.
228         A first step towards a better auth system (total revamp due in 0.9.11).
229         Improvements to network and server code which should provide greater
230         stability. A new message queueing mechanism with bitrate throttling. A new
231         logging framework for debugging and tracing the activities of the bot. A
232         new split-db registry system for better performance and transactional
233         usage of bdb for resilience. More integration with Nickserv where
234         available including optional automatic ghost-killing.
235
236 Wed Sep 07 20:16:46 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
237
238   * Fixed quit, broke it last commit
239         * Fixed trap() for win32
240
241 Sun Aug 21 13:29:55 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
242
243   * fix for bug in quakenet plugin (trac #14)
244         * multiple fixes for unescaped bot nick in regexp's (trac #13)
245
246 Fri Aug 12 20:51:38 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
247
248   * fix up autoop plugin a bit
249
250 Thu Aug 11 00:13:11 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
251
252   * Added two plugins from Robin Kearney <robin@riviera.org.uk>
253         * Threat (US threat level :P)
254         * bash (bash.org quotes)
255
256 Thu Aug 11 00:04:31 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
257
258   * Patches from "Alexey I. Froloff" <raorn@altlinux.ru>
259         * Do not use "/home/#{Etc.getlogin}/" for default home directory, use
260         "#{Etc.getpwnam(Etc.getlogin).dir}/" instead.
261         * Do not try to load same plugin from different locations.  Added ability
262         to disable system-wide plugins - create PLUGIN.rb.disabled in user's
263         plugins directory.
264         * For example, to disable freshmeat plugin installed in /usr/share/rbot/plugins/freshmeat.rb one can create empty file ~/.rbot/plugins/freshmeat.rb.disabled
265
266 Mon Aug 08 23:08:01 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
267
268   * new markov plugin for random inane chat
269
270 Sun Aug 07 18:20:24 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
271
272   * stop insult plugin being used to insult the bot
273
274 Sun Aug 07 17:53:06 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
275
276   * workaround for people without YAML::load_file
277         * quit message for restart
278
279 Sun Aug 07 15:11:07 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
280
281   * fix address_prefix, broken in 0.9.9, reported by ruskie.
282
283 Sat Aug 06 00:54:34 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
284
285   * Released 0.9.9
286
287 Fri Aug 05 23:55:20 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
288
289   * few more tweaks preparing to release 0.9.9
290
291 Thu Aug 04 23:03:30 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
292
293   * Improved ircd recognition of rfc2812.rb
294         * de-string'd, de-cap'd rfc2812.rb, looks less shouty now
295         * moved the Q auth stuff (for quakenet) into a new qauth plugin (untested!)
296         * finish fixing the httputil
297
298 Thu Aug 04 00:11:52 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
299
300   * Tweaked the debug() stuff a bit. Need to do this more cleanly really
301         * Added a fair bit of documentation for some of the new features
302
303 Wed Aug 03 15:25:07 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
304
305   * Added french language file (TODO most of the plugins just talk english)
306         * The way the Enum configs were set up, it wasn't possible to add language
307         files to rbot at runtime (the directory was only scanned at startup). Now
308         you can set a values Proc, which is called to return a list of allowed
309         values whenever it's queried.
310         * Added Config module for determining where we were installed.
311         Unfortunately rubygems is a total whore in this regard, and I hope the
312         current hackery I have to do to support it becomes redundant in the
313         future.
314
315 Wed Aug 03 00:31:41 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
316
317   * Added Rakefile, tweaked gemspec
318
319 Tue Aug 02 16:27:36 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
320
321   * Fixed the new http.proxy* settings, they work!
322         * Fixed a bug with auth-checking for the config module
323         * misc tweaks
324
325 Sun Jul 31 02:20:08 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
326
327   * Updated docgen to generate rdoc again with the new repo structure
328         * added new restart command to the core bot, quits irc and reexecs the
329         bot, to pick up new code/libraries etc.
330
331 Sat Jul 30 22:33:36 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
332
333   * Config items are now objects, various types are available.
334         * The config wizard will now use registered config items if :wizard is set
335     to true for those items. It will ask questions in the order they were
336                 registered.
337         * The config module now works for doing runtime configuration.
338         * misc refactoring
339
340 Sat Jul 30 01:19:32 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
341
342   * config module for configuring the running bot via IRC
343         * BotConfig.register method for various modules and any plugin to register
344         bot configuration which the new config module will expose for them.
345         * various other tweaks as I continue to refactor..
346
347 Fri Jul 29 13:07:56 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
348
349   * Moved some stuff out of util.rb into the plugins that actually need
350         them. Those methods didn't belong in util as they were plugin-specific.
351         * moved a few more plugins to use map() where appropriate
352         * made the url plugin only store unique urls
353
354 Thu Jul 28 23:45:26 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
355
356   * Reworked the Timer module. The Timer now has a smart thread manager to
357         start/stop the tick() thread. This means the timer isn't called every 0.1
358         seconds to see what needs doing, which is much more efficient
359   * reworked the ircsocket queue mechanism to use a Timer
360         * reworked the nickserv plugin to use maps
361         * made server.reconnect_wait configurable
362         * added Class tracing mechanism to bin/rbot, use --trace Classname for
363         debugging
364
365 Tue Jul 26 14:41:34 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
366
367   * Prevent multiple plugin registrations of the same name
368         * reworking the config system to use yaml for persistence
369         * reworking the config system key names
370         * on first startup, the bot will prompt for the essential startup config
371         * new config module for configuring the bot at runtime
372         * new config module includes new configurables, for example changing the
373         bot's language at runtime.
374         * various other fixes
375         * New way of mapping plugins to strings, using maps. These may be
376         familiar to rails users. This is to reduce the amount of regexps plugins
377         currently need to do to parse arguments. The old method (privmsg) is still
378         supported, of course. Example plugin now:
379           def MyPlugin < Plugin
380                   def foo(m, params)
381                           m.reply "bar"
382                         end
383
384                         def complexfoo(m, params)
385                           m.reply "qux! (#{params[:bar]} #{params[:baz]})"
386                         end
387                 end
388                 plugin = MyPlugin.new
389                 # simple map
390                 plugin.map 'foo'
391
392     # this will match "rbot: foo somestring otherstring" and pass the
393                 # parameters as a hash using the names in the map.
394                 plugin.map 'foo :bar :baz', :action => 'complexfoo'
395                 # this means :foo is an optional parameter
396                 plugin.map 'foo :foo', :defaults => {:foo => 'bar'}
397     # you can also gobble up into an array
398                 plugin.map 'foo *bar' # params[:bar] will be an array of string elements
399     # and you can validate, here the first param must be a number
400                 plugin.map 'foo :bar', :requirements => {:foo => /^\d+$/}
401
402
403 Sat Jul 23 01:39:08 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
404
405   * Changed BotConfig to use yaml storage, method syntax instead of hash for
406         get/set, to allow more flexibility and encapsulation
407         * Added convenience method Message.okay (m.okay is the same as the
408         old-style @bot.okay m.replyto)
409
410 Wed Jul 20 23:30:01 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
411
412   * Move some core plugins to use the new httputil
413         * fix wserver's redirection handling for relative (i.e. broken) redirects
414         * fix tube plugin's html parsing
415
416 Wed Jul 20 01:18:06 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
417
418         * Add new httputil object to the bot object, to be used by plugins etc
419         that wish to make http requests. It sets up all the proxies etc for them
420         according to bot config.
421
422 Sat Jul 16 02:23:13 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>
423
424   * Apply most of Rene's patch and fix various plugins.
425         * New plugin: autoop (auto ops via hostmask)
426         * New feature: karmastats
427
428 Wed Oct 13 16:16:31 BST 2004  Tom Gilbert <tom@linuxbrit.co.uk>
429
430   * Fix bug with quotes plugin where it gets confused and sees both a quote
431   and a keyword, both plugins are triggered by, for example "addquote foo is
432   bar"
433   * fixed this by implementing the "has_responded" flag on a message. When a
434   plugin replied to a message (or it manually sets m.replied to true), the
435   keywords plugin will honour that flag and not examine the message for
436   keywords. This flag can also be checked by listen plugins that don't want to
437   interfere with other plugin commands.
438
439 Mon Oct 11 00:37:52 BST 2004  Tom Gilbert <tom@linuxbrit.co.uk>
440
441   * Fixes to the NickServ plugin
442
443 Sat Oct 09 23:23:24 BST 2004  Tom Gilbert <tom@linuxbrit.co.uk>
444
445   * Keyword searching
446
447 Fri Oct 08 00:40:07 BST 2004  Tom Gilbert <tom@linuxbrit.co.uk>
448
449   * fixed insult plugin
450   * fixed excuse plugin
451
452 Thu Oct 07 23:28:05 BST 2004  Tom Gilbert <tom@linuxbrit.co.uk>
453
454   * searching for urls in the url plugin
455   * roshambo (rock/paper/scissors) plugin from Hans Fugal <hans@fugal.net>
456
457 Sat Apr 17 20:56:50 BST 2004  Tom Gilbert <tom@linuxbrit.co.uk>
458
459   * Oh, found new tv plugin in my inbox from ages ago, but it's still not
460   working so I guess it changed again since then
461   * New eightball plugin from Daniel Free
462
463 Sat Apr 17 20:44:43 BST 2004  Tom Gilbert <tom@linuxbrit.co.uk>
464
465   * Fixed the babelfish parser so translate works again.
466   * Misc other fixes
467   * Note some plugins are broken (excuse,insult) because the server they use
468     went away. I don't know of a replacement right now.
469   * tv plugin seems broken, perhaps the html changed.
470
471 Thu Jan 15 21:37:38 GMT 2004  Tom Gilbert <tom@linuxbrit.co.uk>
472
473   * Fixes for ruby 1.8
474
475 0.9.8
476 * new plugin from Alan Third <alan@idiocy.org>, allows you to search and list
477   UK TV programmes.
478
479 0.9.7
480 * various plugin updates
481 * fix (again) for C to F temp conversion in weather plugin
482 * channel topic patch from Peter Suschlik, gives plugin better access to topic
483   changes and related information
484
485 0.9.6
486 * changes to layout of slashdot plugin output
487 * freshmeat plugin, show latest updates or search
488 * fix to C to F temp conversion in weather plugin
489 * status command returns some bot status
490 * fortune plugin
491 * using BDB::Btree everywhere now, instead of BDB::Hash, because the Btree api
492   allows me to set my own key comparison function. This is needed to keep
493   supporting case insensitivity (vital for IRC), which was sadly broken in
494   0.9.5 :( All existing dbs will be upgraded automatically.
495 * roulette plugin - play russian roulette :) also keeps game stats.
496 * new config option, NO_KEYWORD_ADDRESS. If set to "true", the bot will always
497   respond to keywords it knows even when not addressed and the message doesn't
498   start with '. Message must end with "?" however.
499 * hopefully fixed welcome message parsing from certain server types
500
501 0.9.5
502 * plugin object registry
503   This provides persistant storage for plugins via a hash interface. The
504   default mode is an object store, so you can store ruby objects and reference
505   them with hash keys. This is because the default store/restore methods of
506   the plugins' RegistryAccessor are calls to Marshal.dump and Marshal.restore,
507   for example:
508     blah = Hash.new
509     blah[:foo] = "fum"
510     @registry[:blah] = blah
511   then, even after the bot is shut down and disconnected, on the next run you
512   can access the blah object as it was, with:
513     blah = @registry[:blah]
514   The registry can of course be used to store simple strings, fixnums, etc as
515   well, and should be useful to store or cache plugin data or dynamic plugin
516   configuration. 
517
518   If you don't need to store objects, and strictly want a persistant hash of
519   strings, you can override the store/restore methods to suit your needs, for
520   example (in your plugin):
521     def initialize
522       class << @registry
523         def store(val)
524           val
525         end
526         def restore(val)
527           val
528         end
529       end
530     end
531   Your plugins section of the registry is private, it has its own namespace
532   (derived from the plugin's class name, so change it and lose your data).
533   Calls to registry.each etc, will only iterate over your namespace.
534
535   The nickserv and karma plugins use the new registry and should serve as a
536   useful example. Basic usage of the registry is simple, just treat it as a
537   hash, with values that never die (unless you delete() them).
538 * Change to the nickserv plugin. The old method of putting the nickserv
539   password in rbot.conf was useless for multiple nicks or easy updates. The
540   plugin now uses the plugin registry to store passwords for any nicks it
541   owns. The plugin can be told to register the current nick (supply a password
542   or it'll generate one), identify for the current nick (if the password is
543   known), and can be told the passwords for other nicks. If NickServ asks the
544   bot to identify, it will automatically do so if it knows the appropriate
545   password.
546 * karma plugin now uses the plugin registry, it should automatically import
547   your existing, stored karma data into the registry.
548 * The babelfish plugin now caches results in the bot registry to speed up
549   common lookups.
550 * New message types and plugin methods to grab them,
551   quit(QuitMessage):   Called when a user (or the bot) quits IRC
552   nick(NickMessage):   Called when a user (or the bot) changes Nick
553   topic(TopicMessage): Called when a user (or the bot) changes a channel topic
554 * A plugin's listen() method will now receive any kind of Message, e.g.
555   PrivMessage, NoticeMessage, NickMessage, JoinMessage, etc
556 * New plugins:
557   seen: the usual "seen" stuff: 
558         rbot: seen giblet?
559         giblet was last seen xxx ago doing xxx
560   cal:  calls the unix cal program to display a calendar
561   math: evaluates mathematical expressions:
562         rbot: math 2+2
563         rbot: math 4 to the power of 8
564         rbot: math ((232+432) - 4) / 2
565         (ported from infobot. Thanks to Kevin Lenzo, who wrote the
566         original infobot math module)
567   slashdot: displays latest headlines or searches for articles
568   url:  stores urls mentioned in channels for regurgitation later
569   weather: grabs and parses METAR weather data, will remember the last weather
570            code you asked for so you don't have to :)
571 * New utility function, Util.http_get(url) for getting remote data via http,
572   just dumps response.body into a string and returns it, or nil if anything at
573   all goes wrong. Useful for simple plugins.
574 * random quit messages if none specified, messages set in language description
575   file
576 * keywords are now stored in bdb databases - your old keywords.rbot will be
577   imported. Static keywords (fact packs) are also stored in bdb databases, and
578   rbot will automatically convert any text .fact file dropped in the confdir's
579   keywords subdirectory, at startup, into a bdb file. If both a db and a text
580   file exist of the same name (except the extension), the text file will be
581   imported and merged into the database.
582   static keywords will be looked up in each factpack db in turn, in
583   alphabetical filename order - so you can prioritise using the filename if
584   you wish.
585 * fixed a bug with autsplitting long sent lines, the last line was often being
586   split unnecessarily.
587
588 0.9.4
589 * Massive cleanup of rfc2812.rb, contributed by Lars Christensen
590   <dsl8950@vip.cybercity.dk>, gets rid of a lot of regexps
591 * Fixed bug reading static keyword files - "foo <=is=> bar" may not have
592   worked for a couple of releases, only "foo<=is=>bar" was working - this was
593   not intended and should be fixed now
594 * Experimental send queue, to prevent the bot from flooding out, the delay
595   between sending messages to the server defaults to 2s, but is configurable
596   in conf.rbot, set SENDQ_DELAY (0 to disable queueing). You can also set/get
597   the value from the bot, "rbot: options get sendq_delay", and 
598   "rbot: options set sendq_delay 1.5", if you have sufficient auth for "config"
599   This is a bursting sendq, most ircd's allow bursts of up to 5
600   lines, with non-burst limits of 512 bytes/2 seconds. To set the burst limit,
601   configure SENDQ_BURST in conf.rbot, or do the same kind of stuff with
602   "rbot: options set sendq_burst 2", etc.
603   The defaults are 2s/4 burst, which seem to work okay for me.
604 * support for multiple, customisable, addressing prefixes. Set ADDRESS_PREFIX
605   in conf.rbot to a space separate list of addressing prefixes, e.g
606   ADDRESS_PREFIX = | ! =>
607   Would mean that all of the following in channel messages would cause the bot
608   to respond:
609               rbot: version
610               |version
611               !version
612               =>version
613 * bb plugin removed, bb is nearly over and it doesn't work 100% anyway
614 * Two plugins from brailsmt (from #ruby-lang on openprojects), a stats plugin
615   which monitors usage of 1-word sentences, and lart, which allows you to ask
616   rbot to lart people - with an optional reason - larts are user-definable and
617   can be added on the fly.
618 * made google.rb work for people with 1.6 ruby's net/http
619
620 0.9.3
621
622 * fix quit messages
623 * new plugin for handling nickserv-protected nicks, use NICKSERV_PASSWORD in
624   the config file.
625 * fixes to a few other buglets
626 * new plugin to grab bigbrother headlines, still buggy and only useful for UK
627   folks who love bb :-)
628 * fixes to various plugins
629 * Patch from akira yamada <akira@ruby-lang.org>
630   DNS plugin: Use resolv-replace if found, do lookup in new thread
631   Fix bug joining channels with keys
632
633 0.9.2
634
635 * better "connect failure" error message
636 * better option parsing, and --debug option
637 * access to bot's online help via commandline, eg:
638   ./rbot.rb --help
639   ./rbot.rb --help core
640   ./rbot.rb --help "core save"
641 * Fix broken help from last point release
642 * Plugin API modification and cleanup. You no longer need to set @listen to
643   true in order to get all NOTICE and PRIVMSGs, you just need to define the
644   method. The method is now called listen(), renamed from listener(). This
645   should be the last time the plugin api is changed incompatibly.
646 * New plugin method kick(). Use it to see kicks (duh :))
647 * New plugin methods join(), part(). Obvious uses.
648 * Example plugin autorejoin.rb, uses kick event to rejoin channel and insult
649   kicker
650 * fix bug in remind plugins "remind me no more" recognition.
651
652 0.9.1
653
654 * Fix welcome message recognition for certain IRCd's.
655
656 0.9
657
658 * Allow keyword definitions which end in '?', like this:
659   bot: foo is bar\?
660 * rdoc documentation!
661 * fixed broken address regexp, "rbot: .foo" was being treated as an addressed
662   form of "foo" (lost the .)
663 * fix stupid bug in last release (looking for wrong default conf dir)
664
665 0.8
666
667 * Tarball layout change. modules all in rbot/ now, and the rbot/ default
668   configuration moved to rbotconf/. This lets the thing run from an unpacked
669   tarball while also being ready to run with the modules installed somewhere
670   else.
671 * change hashbang to /usr/bin/env ruby, in order to use PATH looking for ruby,
672   it's BSD friendly!
673 * allow "botnick : foo" style addressing, and even "botnick... foo"
674 * slap plugin (contributed by oct)
675 * renamed bot.send to bot.sendmsg, I didn't really want to override send() ;D
676   (thanks Kero)
677
678 0.7.1
679 * Made sane for packagers. Looks in the right places for plugins and language
680   files now, so extra effort shouldn't be needed there.
681
682 0.7
683
684 * Fixed "nick taken on join" bug
685 * Dice plugin patch from David Dorward
686 * fix searchquote regexp
687 * conf.rbot: PASSWORD -> SERVER_PASSWORD, to prevent confusion with PASSWD,
688   which is for master auth.
689
690 0.6
691
692 * Fixed addquote (was incrementing quote ID twice)
693 * now strips colour/bold escapes from incoming messages (rbot was ignoring
694   messages addressed using a bolded colon, for example).
695 * minor bugfixes
696 * more language breadth
697 * Addressing works better now
698 * Can autojoin channels with keys, conf.rbot line is:
699   autojoin_channels #chan1, #chan2, #chan3 key, #chan4 key, #chan5
700 * dice plugin fixes
701
702 0.5
703
704 * Initial release