Chris Gahan [Thu, 26 Jan 2006 17:38:47 +0000 (17:38 +0000)]
Fixed a bunch of bugs:
* Now uses the @bot.httputil proxy
* Broken URLs weren't working because I forgot to rename a variable :P~~
* Left out [Link Info] from the error messages
* Surprise bugfix! (i forget what it was :D)
Chris Gahan [Thu, 26 Jan 2006 17:29:38 +0000 (17:29 +0000)]
Added some nice new features to the URL-titles extension.
For example: Doesn't cause rbot to explode when a link to a huge file is
pasted, displays filesize information about non-HTML files, converts
weird html &stuff; characters to ascii characters, handles multiple
<title> tags properly.
Tom Gilbert [Thu, 26 Jan 2006 09:18:08 +0000 (09:18 +0000)]
From Chris:
There was a bit of a glitch in that title grabber extension I wrote to
the URL plugin -- namely, that it would just mindlessly download
whatever link anybody posted to the channel. Whenever anybody posted a
bigass quicktime movie or something, the bot would explode. So, I had
to get down and dirty with Net::HTTP to check for mimetypes and
redirects and stuff.
Tom Gilbert [Sat, 21 Jan 2006 21:22:41 +0000 (21:22 +0000)]
bunch of changes.
Another of Chris' plugins. A contributed russian.lang from ruskie (honest,
that's his nick!). Some tweaks to error handling. Some modified user/auth
handling (from DevRandom) still a bit more to do on that tho..
Tom Gilbert [Tue, 30 Aug 2005 14:25:37 +0000 (14:25 +0000)]
reconnect one connect failures too. Examples are temporary failures in DNS
resolution etc (one user is on a modem which occasionally redials, for
example).
Tom Gilbert [Wed, 24 Aug 2005 21:26:02 +0000 (21:26 +0000)]
egads, Etc.getlogin returns the real login, so if you su to another user and
run rbot, it'll still use you homedir. I am getting really pissed with the
complete lack of documentation I keep running into :/ The Etc module is
*completely* undocumented, for example.
Tom Gilbert [Wed, 24 Aug 2005 19:12:14 +0000 (19:12 +0000)]
applied patch from ticket #15, and added .inspect to try and work out what
exception "reset by peer" gives you.
One thing I'm finding troublesome with ruby is working out what exceptions
things are going to throw. Especially poorly documented stuff implemented in
C. Why the Socket module throws an exception for "reset by peer" which
*isn't* a SocketError I don't know, but apparently it does.
Tom Gilbert [Wed, 10 Aug 2005 23:04:16 +0000 (23:04 +0000)]
patch from Alexey Froloff:
Do not try to load same plugin from different locations. Added
ability to disable system-wide plugins - create
PLUGIN.rb.disabled in user's plugins directory.
For example, to disable freshmeat plugin installed in
/usr/share/rbot/plugins/freshmeat.rb one can create empty file
~/.rbot/plugins/freshmeat.rb.disabled
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
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.