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