Giuseppe Bilotta [Sun, 23 Jul 2006 14:13:15 +0000 (14:13 +0000)]
{{{httputil.rb}}} now handles redirects: a step towards #105, can be used also in other net-oriented plugins
Giuseppe Bilotta [Sun, 23 Jul 2006 14:12:14 +0000 (14:12 +0000)]
Fix a warning introduced with [245]
Giuseppe Bilotta [Sat, 22 Jul 2006 23:16:40 +0000 (23:16 +0000)]
Implement support for the CAPAB IDENTIFY-MSG capability available on some server, therefore providing messages with the identified? method that tells if the sourcenick has identified with services or not
Giuseppe Bilotta [Sat, 22 Jul 2006 15:50:30 +0000 (15:50 +0000)]
Better interruption handling, saner generic exception handling
Giuseppe Bilotta [Sat, 22 Jul 2006 15:35:13 +0000 (15:35 +0000)]
Of course, I forgot about creating the subregistry directories for brand new installations. This fixes it, even though the code should be brought over to dbhash instead of being duplicated all around
Giuseppe Bilotta [Sat, 22 Jul 2006 15:19:58 +0000 (15:19 +0000)]
Ok, too hasty. Fix 'no plugins loaded on rescan' bug introduced by previous patch
Giuseppe Bilotta [Sat, 22 Jul 2006 14:58:16 +0000 (14:58 +0000)]
New configuration option plugins.blacklist holding an array of plugins to be blacklisted; entries are plugin filenames without the final {{{.rb}}}
Giuseppe Bilotta [Fri, 21 Jul 2006 23:31:01 +0000 (23:31 +0000)]
Fix path creation when upgrading 0.9.9 or earlier single-db registry
Giuseppe Bilotta [Fri, 21 Jul 2006 23:14:06 +0000 (23:14 +0000)]
Fix subregistry importing from single-file (0.9.9 or older) plugin database
Giuseppe Bilotta [Fri, 21 Jul 2006 22:43:07 +0000 (22:43 +0000)]
Fix private messages not working and default channel names for the message queue
Alexander Beisig [Fri, 21 Jul 2006 22:09:23 +0000 (22:09 +0000)]
Whoops, typo. My bad.
Alexander Beisig [Fri, 21 Jul 2006 22:06:39 +0000 (22:06 +0000)]
Disabled sending URL info to the channel by default, as several people
found it quite annoying. Can be reenabled with url.display_link_info
Giuseppe Bilotta [Fri, 21 Jul 2006 20:51:55 +0000 (20:51 +0000)]
Fix message queue length
Alexander Beisig [Fri, 21 Jul 2006 17:22:41 +0000 (17:22 +0000)]
added default security levels for "markov" and "autoop" (!)
Giuseppe Bilotta [Fri, 21 Jul 2006 15:43:52 +0000 (15:43 +0000)]
Implement new message queue system. Messages in ring 0 have top priority, other messages are satisfied round-robin
Giuseppe Bilotta [Fri, 21 Jul 2006 09:31:33 +0000 (09:31 +0000)]
Small improvement on the byterate-based throttling code
Giuseppe Bilotta [Fri, 21 Jul 2006 08:58:22 +0000 (08:58 +0000)]
Better byterate-based throttling code. We really need the separate queues though
Giuseppe Bilotta [Thu, 20 Jul 2006 21:52:53 +0000 (21:52 +0000)]
Apply patch offered in #98
Giuseppe Bilotta [Thu, 20 Jul 2006 21:39:03 +0000 (21:39 +0000)]
Fix #57
Giuseppe Bilotta [Thu, 20 Jul 2006 20:26:11 +0000 (20:26 +0000)]
Clean up logging from the plugins
Giuseppe Bilotta [Thu, 20 Jul 2006 20:08:26 +0000 (20:08 +0000)]
All lib/rbot files are now upgraded to the new logging feature
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, 20 Jul 2006 17:47:13 +0000 (17:47 +0000)]
Redirect standard streams if backgrounding was requested even if the fork failed
Giuseppe Bilotta [Thu, 20 Jul 2006 17:17:15 +0000 (17:17 +0000)]
Add --background option to daemonize the bot
Giuseppe Bilotta [Thu, 20 Jul 2006 14:52:18 +0000 (14:52 +0000)]
Include exception class when plugins fail
Giuseppe Bilotta [Thu, 20 Jul 2006 14:40:02 +0000 (14:40 +0000)]
Explicitly handle BDB::Fatal errors by dumping database stats and restarting
Giuseppe Bilotta [Wed, 19 Jul 2006 16:55:09 +0000 (16:55 +0000)]
Fine-tune byterate throttling flood prevention. Better than before, but still not there.
Giuseppe Bilotta [Wed, 19 Jul 2006 15:25:22 +0000 (15:25 +0000)]
Implement byterate-based flood protection
Giuseppe Bilotta [Tue, 18 Jul 2006 22:30:34 +0000 (22:30 +0000)]
Improve SIG(INT|TERM|HUP) handling and shutting down sequence
Giuseppe Bilotta [Tue, 18 Jul 2006 22:16:57 +0000 (22:16 +0000)]
Fix a problem introduced with the new quote saving procedure
Giuseppe Bilotta [Tue, 18 Jul 2006 14:44:17 +0000 (14:44 +0000)]
Improve robustness while saving auth config files and channel quotes
Giuseppe Bilotta [Tue, 18 Jul 2006 13:44:49 +0000 (13:44 +0000)]
Some nickservs don't want the nick to be passed to them when identifying
Giuseppe Bilotta [Tue, 18 Jul 2006 12:18:18 +0000 (12:18 +0000)]
rbot now properly identifies as the 'next version svn', and the gem package is built as the 'next version'
Alexander Beisig [Mon, 17 Jul 2006 20:28:18 +0000 (20:28 +0000)]
Fixed chucknorris.rb debug output
Alexander Beisig [Mon, 17 Jul 2006 20:22:51 +0000 (20:22 +0000)]
Changes that will (hopefully) make rbot work directly from the SVN checkout
Giuseppe Bilotta [Fri, 14 Jul 2006 12:26:49 +0000 (12:26 +0000)]
Fix for #102
Giuseppe Bilotta [Thu, 13 Jul 2006 14:31:24 +0000 (14:31 +0000)]
ircbot shouldn't issue {{{@socket}}} commands when disconnected
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}}}
Giuseppe Bilotta [Thu, 13 Jul 2006 14:27:24 +0000 (14:27 +0000)]
Fix a problem with not rejoining channel after disconnect and nick taken, because the JOIN commands were sent too soon.
Giuseppe Bilotta [Wed, 5 Jul 2006 16:19:40 +0000 (16:19 +0000)]
Add plugin for dictionary lookup using the (Italian) De Mauro/Paravia online dictionary
Giuseppe Bilotta [Wed, 5 Jul 2006 16:18:18 +0000 (16:18 +0000)]
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 [Thu, 29 Jun 2006 07:31:39 +0000 (07:31 +0000)]
Improve nick management when it was taken
Giuseppe Bilotta [Wed, 28 Jun 2006 22:21:17 +0000 (22:21 +0000)]
Be more tolerant for messages about channels we are not in, but still signal them as bugs
Giuseppe Bilotta [Wed, 28 Jun 2006 21:53:40 +0000 (21:53 +0000)]
Better workaround for ticket #58; now the {{{names}}} delegationg passes on the channel and user list
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.
Giuseppe Bilotta [Wed, 28 Jun 2006 16:02:24 +0000 (16:02 +0000)]
Fix issue #101
Giuseppe Bilotta [Wed, 28 Jun 2006 15:28:14 +0000 (15:28 +0000)]
Whitespace cleanup
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
Giuseppe Bilotta [Mon, 26 Jun 2006 15:35:24 +0000 (15:35 +0000)]
Fix issue #71 with the proposed patch
Alexander Beisig [Mon, 26 Jun 2006 15:09:08 +0000 (15:09 +0000)]
applied patch to topic.rb by [dmp] for #100
Giuseppe Bilotta [Fri, 23 Jun 2006 15:57:14 +0000 (15:57 +0000)]
Apply patch proposed in ticket #99
Alexander Beisig [Fri, 9 Jun 2006 16:35:29 +0000 (16:35 +0000)]
fixed directory structure problems with the new db code (#73, comment at #59)
Giuseppe Bilotta [Thu, 8 Jun 2006 22:37:38 +0000 (22:37 +0000)]
Do environment checkpointing and log cleanups on save. This should prevent log file proliferation (previous commit [192] only cleaned up the logfiles on quit)
Giuseppe Bilotta [Thu, 8 Jun 2006 22:33:38 +0000 (22:33 +0000)]
Output {{{gets}}} exceptions on debug
Giuseppe Bilotta [Thu, 8 Jun 2006 12:41:29 +0000 (12:41 +0000)]
Improved handling of database handling and cleanup during shutdown
Giuseppe Bilotta [Wed, 7 Jun 2006 14:53:31 +0000 (14:53 +0000)]
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)
Giuseppe Bilotta [Wed, 7 Jun 2006 14:43:22 +0000 (14:43 +0000)]
New features (private addressing) and cleanup for the topic plugin
Giuseppe Bilotta [Wed, 7 Jun 2006 14:30:01 +0000 (14:30 +0000)]
Fix #65 and #95. Disable topic built-in command since the new topic plugin handles that, and more
Alexander Beisig [Fri, 2 Jun 2006 22:35:34 +0000 (22:35 +0000)]
fixed #85, made "chat about" more reliable by trying to avoid two word sentences
Alexander Beisig [Fri, 2 Jun 2006 13:51:20 +0000 (13:51 +0000)]
fixed #83 and also fixed wrong calculation of games played
Chris Gahan [Thu, 1 Jun 2006 06:31:46 +0000 (06:31 +0000)]
Fixes #87 (from giuseppe.bilotta)
Chris Gahan [Thu, 1 Jun 2006 06:20:41 +0000 (06:20 +0000)]
giuseppe.bilotta's new topic plugin, as well as a tiny patch to the quotes plugin.
Chris Gahan [Thu, 1 Jun 2006 06:13:29 +0000 (06:13 +0000)]
giuseppe.bilotta's patch: "Fix exception when connection with server times out"
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."
Alexander Beisig [Tue, 30 May 2006 17:29:23 +0000 (17:29 +0000)]
fix httputil.rb when using proxy (Ticket #80)
Chris Gahan [Sat, 15 Apr 2006 17:19:38 +0000 (17:19 +0000)]
Chucknorris gets even more DIESEL!!
Chris Gahan [Tue, 28 Mar 2006 13:56:07 +0000 (13:56 +0000)]
Totally rewritten Chuck Norris plugin. Now uses QuickQuotes-Datafile(tm) Technology!
Chris Gahan [Sat, 25 Mar 2006 12:29:35 +0000 (12:29 +0000)]
A few more cosmetic tweaks for IPLookup.
Chris Gahan [Sat, 25 Mar 2006 12:16:07 +0000 (12:16 +0000)]
And the bugfix 3 minutes later. :)
Chris Gahan [Sat, 25 Mar 2006 12:12:36 +0000 (12:12 +0000)]
New plugin that finds out where an IP or domain is located (by looking up the IP address' owner in the ARIN whois database)
Chris Gahan [Fri, 10 Mar 2006 06:53:42 +0000 (06:53 +0000)]
Added a note about libopenssl-ruby to REQUIREMENTS for debian users.
Chris Gahan [Fri, 3 Mar 2006 16:34:05 +0000 (16:34 +0000)]
The chuck norris plugin has become 100 times more awesome! Try it...
Chris Gahan [Sat, 25 Feb 2006 20:57:43 +0000 (20:57 +0000)]
Some tweaks to the new Fact-about-anyone funcitonality.
Chris Gahan [Sat, 25 Feb 2006 20:08:14 +0000 (20:08 +0000)]
You can now add the nick of someone in the channel to get a fact about them.
Chris Gahan [Thu, 23 Feb 2006 15:52:16 +0000 (15:52 +0000)]
chucknorris.rb now supports Vin Diesel and Mr. T, and is rewritten a lot.
Chris Gahan [Thu, 23 Feb 2006 15:12:36 +0000 (15:12 +0000)]
New and IMPROVED Deep Thoughts plugin! (Better deep thoughts database...)
Chris Gahan [Wed, 22 Feb 2006 16:17:05 +0000 (16:17 +0000)]
Fixed some bugs (should stop showing #<Net::something...> objects, handles MovedPermanently which is a different errorcode from a Redirect...)
Chris Gahan [Wed, 22 Feb 2006 00:14:43 +0000 (00:14 +0000)]
A fixed chuck norris plugin. (The XML feed was disabled, so this one just scrapes the website.)
Tom Gilbert [Fri, 17 Feb 2006 21:00:20 +0000 (21:00 +0000)]
die, annoyingly large log files
Tom Gilbert [Fri, 17 Feb 2006 07:27:29 +0000 (07:27 +0000)]
Ralph Churchill submitted a weather forecast plugin :D
It uses the Yahoo Maps API, too. So you can say:
rbot: forecast Tulsa, OK
or
rbot: forecast 74104
Tom Gilbert [Fri, 10 Feb 2006 18:52:56 +0000 (18:52 +0000)]
use a db env for the databases to avoid some corruption problems (I hope)
Tom Gilbert [Thu, 9 Feb 2006 20:44:50 +0000 (20:44 +0000)]
attempt to resolve #65
Chris Gahan [Thu, 9 Feb 2006 19:24:03 +0000 (19:24 +0000)]
Stupid lack of a User-Agent was breaking a bunch of servers (403 errors). FIXED.
Chris Gahan [Thu, 9 Feb 2006 18:54:04 +0000 (18:54 +0000)]
Little tweak to fix an edge-case.
Chris Gahan [Thu, 9 Feb 2006 18:20:55 +0000 (18:20 +0000)]
Changed the way the URL grabber gets urls. Instead of using HEAD, it uses GET, but only grabs the first 50k of the page to check it for a header.
Tom Gilbert [Wed, 8 Feb 2006 18:56:23 +0000 (18:56 +0000)]
bug pointed on in #64, hopefully now resolved.
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
:)
Tom Gilbert [Sun, 5 Feb 2006 16:24:49 +0000 (16:24 +0000)]
oops bug
Chris Gahan [Fri, 3 Feb 2006 15:48:54 +0000 (15:48 +0000)]
More translation codes! (this function should go in the httputil module eventually)
Chris Gahan [Fri, 3 Feb 2006 15:41:14 +0000 (15:41 +0000)]
Since the CGI::unescapeHTML is pretty crappy, I added my own &thing;
translator (that uses IRC-printable characters).
Chris Gahan [Thu, 2 Feb 2006 12:46:27 +0000 (12:46 +0000)]
Searching for text in the URL history is now case-insensitive.
Chris Gahan [Thu, 2 Feb 2006 05:41:11 +0000 (05:41 +0000)]
Set a limit on the number of redirects...
Chris Gahan [Mon, 30 Jan 2006 21:45:54 +0000 (21:45 +0000)]
A fix for the case where a crappy webserver labels a giant file (like a .rar) as text/plain and the bot tries to download it.
Chris Gahan [Sat, 28 Jan 2006 07:49:19 +0000 (07:49 +0000)]
Whoops! I renamed the config setting in one place and not another...
Chris Gahan [Sat, 28 Jan 2006 07:17:18 +0000 (07:17 +0000)]
opme now says okay BEFORE opping!
Tom Gilbert [Fri, 27 Jan 2006 18:32:35 +0000 (18:32 +0000)]
autosplit registry. now we have one per plugin.
TODO creates empty dbs for plugins that don't even use the registry. would
be nice to only create on write but how feasible is that?
Tom Gilbert [Fri, 27 Jan 2006 18:17:00 +0000 (18:17 +0000)]
fix double-indefinite-article bug :)
Tom Gilbert [Fri, 27 Jan 2006 09:28:38 +0000 (09:28 +0000)]
bit of win32 doco
Tom Gilbert [Fri, 27 Jan 2006 09:21:51 +0000 (09:21 +0000)]
ticket #18