rbot
18 years agoreleasing 0.9.9 rbot-0.9.9
Tom Gilbert [Fri, 5 Aug 2005 23:41:34 +0000 (23:41 +0000)] 
releasing 0.9.9

18 years agomore tweaking pre-release
Tom Gilbert [Fri, 5 Aug 2005 23:39:47 +0000 (23:39 +0000)] 
more tweaking pre-release

18 years agothat syntax confuses rdoc
Tom Gilbert [Fri, 5 Aug 2005 23:09:41 +0000 (23:09 +0000)] 
that syntax confuses rdoc

18 years agoMore tweaks
Tom Gilbert [Fri, 5 Aug 2005 23:08:13 +0000 (23:08 +0000)] 
More tweaks

18 years agofixy
Tom Gilbert [Fri, 5 Aug 2005 23:01:23 +0000 (23:01 +0000)] 
fixy

18 years agoFri Aug 05 23:55:20 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
Tom Gilbert [Fri, 5 Aug 2005 22:55:36 +0000 (22:55 +0000)] 
Fri Aug 05 23:55:20 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>

  * few more tweaks preparing to release 0.9.9

18 years agoThu Aug 04 23:03:30 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
Tom Gilbert [Thu, 4 Aug 2005 22:44:35 +0000 (22:44 +0000)] 
Thu Aug 04 23:03:30 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>

  * Improved ircd recognition of rfc2812.rb
* de-string'd, de-cap'd rfc2812.rb, looks less shouty now
* moved the Q auth stuff (for quakenet) into a new qauth plugin (untested!)
* finish fixing the httputil

18 years agoThu Aug 04 00:11:52 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
Tom Gilbert [Wed, 3 Aug 2005 23:12:39 +0000 (23:12 +0000)] 
Thu Aug 04 00:11:52 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>

  * Tweaked the debug() stuff a bit. Need to do this more cleanly really
* Added a fair bit of documentation for some of the new features

18 years agoWed Aug 03 15:25:07 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
Tom Gilbert [Wed, 3 Aug 2005 20:07:14 +0000 (20:07 +0000)] 
Wed Aug 03 15:25:07 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>

  * Added french language file (TODO most of the plugins just talk english)
* The way the Enum configs were set up, it wasn't possible to add language
files to rbot at runtime (the directory was only scanned at startup). Now
you can set a values Proc, which is called to return a list of allowed
values whenever it's queried.
* Added Config module for determining where we were installed.
Unfortunately rubygems is a total whore in this regard, and I hope the
current hackery I have to do to support it becomes redundant in the
future.

18 years agofrench language submitted by Rick!
Tom Gilbert [Wed, 3 Aug 2005 14:07:06 +0000 (14:07 +0000)] 
french language submitted by Rick!

18 years agoThis change they made around TimeoutErrors really pees me off...
Tom Gilbert [Wed, 3 Aug 2005 08:30:11 +0000 (08:30 +0000)] 
This change they made around TimeoutErrors really pees me off...

18 years agoWed Aug 03 00:31:41 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
Tom Gilbert [Tue, 2 Aug 2005 23:32:05 +0000 (23:32 +0000)] 
Wed Aug 03 00:31:41 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>

  * Added Rakefile, tweaked gemspec

18 years ago * Fixed the new http.proxy* settings, they work!
Tom Gilbert [Tue, 2 Aug 2005 15:28:36 +0000 (15:28 +0000)] 
  * Fixed the new http.proxy* settings, they work!
* Fixed a bug with auth-checking for the config module
* misc tweaks

18 years agofixy
Tom Gilbert [Mon, 1 Aug 2005 21:51:23 +0000 (21:51 +0000)] 
fixy

18 years agogemspec file for rbot (WIP)
Tom Gilbert [Mon, 1 Aug 2005 20:59:25 +0000 (20:59 +0000)] 
gemspec file for rbot (WIP)

18 years agoSun Jul 31 02:20:08 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
Tom Gilbert [Sun, 31 Jul 2005 01:21:02 +0000 (01:21 +0000)] 
Sun Jul 31 02:20:08 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>

  * Updated docgen to generate rdoc again with the new repo structure
* added new restart command to the core bot, quits irc and reexecs the
bot, to pick up new code/libraries etc.

18 years agoSat Jul 30 22:33:36 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
Tom Gilbert [Sat, 30 Jul 2005 21:35:57 +0000 (21:35 +0000)] 
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

18 years agoSat Jul 30 01:19:32 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
Tom Gilbert [Sat, 30 Jul 2005 00:22:21 +0000 (00:22 +0000)] 
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..

18 years agoFri Jul 29 13:07:56 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
Tom Gilbert [Fri, 29 Jul 2005 13:44:33 +0000 (13:44 +0000)] 
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

18 years agorename to opme
Tom Gilbert [Fri, 29 Jul 2005 11:14:12 +0000 (11:14 +0000)] 
rename to opme

18 years agorename to opme
Tom Gilbert [Fri, 29 Jul 2005 11:14:02 +0000 (11:14 +0000)] 
rename to opme

18 years agoThu Jul 28 23:45:26 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
Tom Gilbert [Thu, 28 Jul 2005 23:55:59 +0000 (23:55 +0000)] 
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

18 years agoremove previous help method, it's not ideal for the commandline
Tom Gilbert [Wed, 27 Jul 2005 18:08:59 +0000 (18:08 +0000)] 
remove previous help method, it's not ideal for the commandline

18 years agothis packaging stuff seems to actually be working
Tom Gilbert [Wed, 27 Jul 2005 17:56:26 +0000 (17:56 +0000)] 
this packaging stuff seems to actually be working

18 years agopost config script to persist configuration from the script
Tom Gilbert [Wed, 27 Jul 2005 17:50:49 +0000 (17:50 +0000)] 
post config script to persist configuration from the script

18 years agomore work on packaging, use Irc::Config module for storing configuration set
Tom Gilbert [Wed, 27 Jul 2005 17:50:27 +0000 (17:50 +0000)] 
more work on packaging, use Irc::Config module for storing configuration set
by install.rb

18 years agomore packaging work
Tom Gilbert [Wed, 27 Jul 2005 17:20:00 +0000 (17:20 +0000)] 
more packaging work

18 years agorework various modules to use the installed directories
Tom Gilbert [Wed, 27 Jul 2005 16:49:34 +0000 (16:49 +0000)] 
rework various modules to use the installed directories

18 years agomove language files to data dir
Tom Gilbert [Wed, 27 Jul 2005 16:33:16 +0000 (16:33 +0000)] 
move language files to data dir

18 years agomove rbot into lib - still rearranging for packaging/installation
Tom Gilbert [Wed, 27 Jul 2005 16:32:32 +0000 (16:32 +0000)] 
move rbot into lib - still rearranging for packaging/installation

18 years agorearrange repo for packaging
Tom Gilbert [Wed, 27 Jul 2005 15:59:13 +0000 (15:59 +0000)] 
rearrange repo for packaging

18 years agoversion update
Tom Gilbert [Wed, 27 Jul 2005 15:52:38 +0000 (15:52 +0000)] 
version update

18 years agoset a name to avoid spamming help with all the options
Tom Gilbert [Tue, 26 Jul 2005 22:52:14 +0000 (22:52 +0000)] 
set a name to avoid spamming help with all the options

18 years agouse new maps api
Tom Gilbert [Tue, 26 Jul 2005 22:49:47 +0000 (22:49 +0000)] 
use new maps api

18 years agoallow failed requirements tests to fall back to defaults and continue
Tom Gilbert [Tue, 26 Jul 2005 22:49:19 +0000 (22:49 +0000)] 
allow failed requirements tests to fall back to defaults and continue

18 years agoswitch fortune to use new maps
Tom Gilbert [Tue, 26 Jul 2005 22:19:21 +0000 (22:19 +0000)] 
switch fortune to use new maps

18 years agoswitch the fish plugin to use the new map mechanism
Tom Gilbert [Tue, 26 Jul 2005 22:13:46 +0000 (22:13 +0000)] 
switch the fish plugin to use the new map mechanism

18 years ago * Prevent multiple plugin registrations of the same name
Tom Gilbert [Tue, 26 Jul 2005 21:50:00 +0000 (21:50 +0000)] 
  * 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+$/}

18 years agobit of error checking/reporting
Tom Gilbert [Thu, 21 Jul 2005 11:40:21 +0000 (11:40 +0000)] 
bit of error checking/reporting

18 years agofix up the new http util to work properly with GET's
Tom Gilbert [Thu, 21 Jul 2005 11:39:57 +0000 (11:39 +0000)] 
fix up the new http util to work properly with GET's

18 years agoWed Jul 20 23:30:01 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
Tom Gilbert [Thu, 21 Jul 2005 11:03:46 +0000 (11:03 +0000)] 
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

18 years agorework the tube plugin's html parser a bit, to enable it to work properly
Tom Gilbert [Thu, 21 Jul 2005 11:02:04 +0000 (11:02 +0000)] 
rework the tube plugin's html parser a bit, to enable it to work properly
with tricky station names, such as hammersmity & city.

18 years agoupdate ChangeLog
Tom Gilbert [Wed, 20 Jul 2005 00:18:13 +0000 (00:18 +0000)] 
update ChangeLog

18 years agoAdd new httputil object to the bot object, to be used by plugins etc that
Tom Gilbert [Wed, 20 Jul 2005 00:17:51 +0000 (00:17 +0000)] 
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.

18 years agoenable in-channel usage
Tom Gilbert [Tue, 19 Jul 2005 23:45:52 +0000 (23:45 +0000)] 
enable in-channel usage

18 years agoat some point over the last couple of years, the ruby http library started
Tom Gilbert [Tue, 19 Jul 2005 16:13:21 +0000 (16:13 +0000)] 
at some point over the last couple of years, the ruby http library started
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.

18 years agostarting on an http interface for configuring the bot
Tom Gilbert [Sun, 17 Jul 2005 22:56:16 +0000 (22:56 +0000)] 
starting on an http interface for configuring the bot

18 years agoupdate ChangeLog
Tom Gilbert [Sat, 16 Jul 2005 01:24:01 +0000 (01:24 +0000)] 
update ChangeLog

18 years agothat wasn't ideal
Tom Gilbert [Sat, 16 Jul 2005 01:20:54 +0000 (01:20 +0000)] 
that wasn't ideal

18 years agotypo
Tom Gilbert [Sat, 16 Jul 2005 01:19:54 +0000 (01:19 +0000)] 
typo

18 years agovarious fixes by me, plus most of Rene's patch (#1).
Tom Gilbert [Sat, 16 Jul 2005 01:18:13 +0000 (01:18 +0000)] 
various fixes by me, plus most of Rene's patch (#1).

18 years agoadded karmastats to the karma plugin
Tom Gilbert [Sat, 16 Jul 2005 01:06:41 +0000 (01:06 +0000)] 
added karmastats to the karma plugin

18 years agogerman language file submitted by Rene
Tom Gilbert [Sat, 16 Jul 2005 00:20:11 +0000 (00:20 +0000)] 
german language file submitted by Rene

18 years agoautoop plugin submitted by Rene Nussbaumer, tweaked by me.
Tom Gilbert [Sat, 16 Jul 2005 00:19:33 +0000 (00:19 +0000)] 
autoop plugin submitted by Rene Nussbaumer, tweaked by me.

18 years agoRudolf Polzer pointed out (a while ago, I forgot to apply this fix) an issue
Tom Gilbert [Thu, 14 Jul 2005 22:51:05 +0000 (22:51 +0000)] 
Rudolf Polzer pointed out (a while ago, I forgot to apply this fix) an issue
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.

18 years agothis is a common error
Tom Gilbert [Thu, 14 Jul 2005 21:01:03 +0000 (21:01 +0000)] 
this is a common error

18 years agoWebrick functionality is now in a plugin
Tom Gilbert [Thu, 14 Jul 2005 12:02:31 +0000 (12:02 +0000)] 
Webrick functionality is now in a plugin

18 years agofix for new xml format
Tom Gilbert [Mon, 11 Jul 2005 12:42:17 +0000 (12:42 +0000)] 
fix for new xml format

19 years agofixy
Tom Gilbert [Mon, 25 Apr 2005 12:39:19 +0000 (12:39 +0000)] 
fixy

19 years agofix http usage, other tweaks
Tom Gilbert [Thu, 10 Mar 2005 12:11:17 +0000 (12:11 +0000)] 
fix http usage, other tweaks

19 years agoNickserv fixes
Tom Gilbert [Sun, 10 Oct 2004 23:46:48 +0000 (23:46 +0000)] 
Nickserv fixes

19 years agokeyword searching
Tom Gilbert [Sat, 9 Oct 2004 22:25:33 +0000 (22:25 +0000)] 
keyword searching

19 years agoinitial import of rbot
Tom Gilbert [Sat, 9 Oct 2004 01:51:05 +0000 (01:51 +0000)] 
initial import of rbot