Giuseppe Bilotta [Thu, 20 Jul 2006 19:47:39 +0000 (19:47 +0000)]
Rename the former {{{log}}} method to {{{irclog}}} and introduce new logging functions: alongside the old {{{debug}}} function we now have {{{log}}}, {{{warning}}} and {{{error}}}, which should be used everywhere instead of the good old {{{puts}}} method
Giuseppe Bilotta [Thu, 13 Jul 2006 14:30:55 +0000 (14:30 +0000)]
Prevent a traceback when network is down and clearq is called. Don't know if it's better this way or by adding an {{{if @socket.connected?}}} at {{{ircbot.rb:373}}}
Improve debug output for multiline error messages. Improve exception handling for socket and connection problems. Stop sending pings when disconnected.
Giuseppe Bilotta [Thu, 29 Jun 2006 22:56:08 +0000 (22:56 +0000)]
Add $stdout flushing to debug. This is needed to work around some 'laggy console' issues that may occur when using a tee program under Windows to copy the debug output to a file on disk
Giuseppe Bilotta [Wed, 28 Jun 2006 21:44:18 +0000 (21:44 +0000)]
There are now three nickserv config options (name, ident_request, wait). The bot now also kills any ghosts that use its nick. Close ticket #88. Also provide a workaround for ticket #58.
Alexander Beisig [Mon, 26 Jun 2006 15:55:18 +0000 (15:55 +0000)]
some small improvements to topic.rb
- 'topic sep' now updates the topic with the new separator
- 'topic clear' command to clear the topic
- checks if rbot is in the channel specified in private adressing
Do environment checkpointing and log cleanups on save. This should prevent log file proliferation (previous commit [192] only cleaned up the logfiles on quit)
The sub_registry method for BotRegistryAccessor had somehow gotten AWOL. This commit restores it, since it is used by the quiz plugin used by the amaroK bot insanity, and it might be useful for other plugins (e.g. topic, auth)
Chris Gahan [Thu, 1 Jun 2006 06:10:25 +0000 (06:10 +0000)]
giuseppe.bilotta's patch:
"The auth module has a number of bugs that prevent it from functioning correctly. The attached patch fixes all the bugs I've come across and additionally introduces the command setpassword that allows a user to set his/her own password without requiring auth access. This is a provisional fix: it would be better to let the user allow full usermod access except for usermod level."
Tom Gilbert [Wed, 8 Feb 2006 18:47:38 +0000 (18:47 +0000)]
From Ralph Churchill, a new weather plugin using the new XML format rather
than METAR! Yay, goodbye ugly METAR parser :)
Also, a wow plugin, as requested by various folks, for checking realm status
:)
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..