]>
git.netwichtig.de Git - user/henk/code/ruby/rbot.git/log
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
Chris Gahan [Fri, 27 Jan 2006 04:57:51 +0000 (04:57 +0000)]
Fixed a bug that cut off the query-part of the url, cleaned up the redirect url joining.
Chris Gahan [Thu, 26 Jan 2006 22:22:41 +0000 (22:22 +0000)]
Whoops, forgot to ungreedy the <title>-finding regexes.
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.
Chris Gahan [Thu, 26 Jan 2006 16:19:10 +0000 (16:19 +0000)]
test
Tom Gilbert [Thu, 26 Jan 2006 11:10:14 +0000 (11:10 +0000)]
TODO - work out why httputil with proxies doesn't like a head then a get on
the same object....
workaround for now..
Tom Gilbert [Thu, 26 Jan 2006 10:48:12 +0000 (10:48 +0000)]
reinstate the use of the bot's httputil. As soon as I tried this at work I
realised we lost proxy support.
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.
There is a nice new feature though:
22:37 <@epitron>
http://killswitchengage.com/shared/downloads/KillswitchEngage/KsE-RoseOfSharyn_v
ideo.mov
22:37 <@pookie> [Link Info] type: video/quicktime, size: 18,244,208 bytes
Tom Gilbert [Sat, 21 Jan 2006 21:29:50 +0000 (21:29 +0000)]
comma sep
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 [Fri, 20 Jan 2006 16:03:48 +0000 (16:03 +0000)]
new submission from Chris
Tom Gilbert [Fri, 20 Jan 2006 09:29:28 +0000 (09:29 +0000)]
another plugin from Chris
Tom Gilbert [Fri, 20 Jan 2006 09:28:24 +0000 (09:28 +0000)]
oops
Tom Gilbert [Fri, 20 Jan 2006 09:27:18 +0000 (09:27 +0000)]
some awesome plugins from Chris Gahan >:)
Tom Gilbert [Thu, 12 Jan 2006 15:58:38 +0000 (15:58 +0000)]
fix the fix
Tom Gilbert [Thu, 12 Jan 2006 15:57:21 +0000 (15:57 +0000)]
properly support ssl
Tom Gilbert [Wed, 4 Jan 2006 17:20:31 +0000 (17:20 +0000)]
from #32
Tom Gilbert [Mon, 12 Dec 2005 23:00:27 +0000 (23:00 +0000)]
exception handling
Tom Gilbert [Mon, 12 Dec 2005 20:21:08 +0000 (20:21 +0000)]
found a bug
Tom Gilbert [Mon, 12 Dec 2005 15:44:30 +0000 (15:44 +0000)]
try to handle backwards compat issues
Tom Gilbert [Sat, 10 Dec 2005 12:29:08 +0000 (12:29 +0000)]
supplied in #53
Tom Gilbert [Fri, 9 Dec 2005 21:01:43 +0000 (21:01 +0000)]
requested for certain networks
Tom Gilbert [Thu, 1 Dec 2005 23:01:31 +0000 (23:01 +0000)]
fixes from eean
Tom Gilbert [Thu, 1 Dec 2005 20:59:55 +0000 (20:59 +0000)]
Donated by these lovely chaps:
http://websvn.kde.org/trunk/extragear/multimedia/amarok/src/scripts/rbot/grouphug/
Thanks, eean :)
Tom Gilbert [Tue, 29 Nov 2005 22:35:19 +0000 (22:35 +0000)]
fix defunct procs
Tom Gilbert [Mon, 14 Nov 2005 13:27:40 +0000 (13:27 +0000)]
try this better fix
Tom Gilbert [Fri, 4 Nov 2005 21:04:00 +0000 (21:04 +0000)]
more escaping
Tom Gilbert [Fri, 4 Nov 2005 20:16:10 +0000 (20:16 +0000)]
windows hates logging to files with : in them :p
Tom Gilbert [Thu, 13 Oct 2005 17:46:22 +0000 (17:46 +0000)]
close #38 for real
Tom Gilbert [Thu, 13 Oct 2005 15:38:56 +0000 (15:38 +0000)]
close #38
Tom Gilbert [Thu, 13 Oct 2005 15:37:44 +0000 (15:37 +0000)]
various outstanding changes
Tom Gilbert [Fri, 30 Sep 2005 15:10:11 +0000 (15:10 +0000)]
this seems to work for more people..
Tom Gilbert [Wed, 28 Sep 2005 09:46:18 +0000 (09:46 +0000)]
roll out that one change
Tom Gilbert [Wed, 28 Sep 2005 09:22:49 +0000 (09:22 +0000)]
fix regex, make this work again
Tom Gilbert [Wed, 28 Sep 2005 09:22:14 +0000 (09:22 +0000)]
apply patch and close #37 and #33
made several additions to this plugin, some extra configuration settings and
options.
Tom Gilbert [Wed, 21 Sep 2005 09:22:55 +0000 (09:22 +0000)]
lastfm plugin from Jeremy Voorhis :)
Tom Gilbert [Fri, 16 Sep 2005 21:23:50 +0000 (21:23 +0000)]
fix help text, ticket #36
Tom Gilbert [Fri, 16 Sep 2005 10:26:30 +0000 (10:26 +0000)]
path from vampjon in ticket #34
Tom Gilbert [Sun, 11 Sep 2005 00:24:23 +0000 (00:24 +0000)]
fix bug #29
Tom Gilbert [Fri, 9 Sep 2005 20:59:15 +0000 (20:59 +0000)]
timestamp debug logs
Tom Gilbert [Fri, 9 Sep 2005 20:32:23 +0000 (20:32 +0000)]
fix for localised nickservs
Tom Gilbert [Fri, 9 Sep 2005 20:00:21 +0000 (20:00 +0000)]
nope, that breaks gem install, need a better way
Tom Gilbert [Fri, 9 Sep 2005 19:53:42 +0000 (19:53 +0000)]
fix usage :/
Tom Gilbert [Fri, 9 Sep 2005 18:30:55 +0000 (18:30 +0000)]
bugfix
Tom Gilbert [Wed, 7 Sep 2005 22:00:50 +0000 (22:00 +0000)]
bah that doesn't do what I wanted at all, it's per-file :/
Tom Gilbert [Wed, 7 Sep 2005 21:18:38 +0000 (21:18 +0000)]
tweaking the markov plugin a little
Tom Gilbert [Wed, 7 Sep 2005 19:20:24 +0000 (19:20 +0000)]
better win32 fix
Tom Gilbert [Wed, 7 Sep 2005 19:16:56 +0000 (19:16 +0000)]
changelog
Tom Gilbert [Wed, 7 Sep 2005 19:16:34 +0000 (19:16 +0000)]
win32 thing for signal handling
fix quit! :p
Tom Gilbert [Wed, 7 Sep 2005 19:03:06 +0000 (19:03 +0000)]
enable keyword
Tom Gilbert [Mon, 5 Sep 2005 12:06:21 +0000 (12:06 +0000)]
better failure to connect behaviour
Tom Gilbert [Wed, 31 Aug 2005 20:39:19 +0000 (20:39 +0000)]
a little more robustness around emtpy lookups
Also more robustness around reading/writing conf.yaml
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 [Sun, 28 Aug 2005 17:19:59 +0000 (17:19 +0000)]
fix ping/pong/reconnect issue reported in #20
Tom Gilbert [Sat, 27 Aug 2005 14:16:42 +0000 (14:16 +0000)]
better setup for ping timeouts.
I need to work on the timer code, it's not currently possible to create a
timer within a timer event, due to the thread stop/start thing
Tom Gilbert [Sat, 27 Aug 2005 13:11:15 +0000 (13:11 +0000)]
fix for ticket #17
Tom Gilbert [Sat, 27 Aug 2005 13:09:52 +0000 (13:09 +0000)]
reworked that last patch, now rbot pings the server and sets the timeout
accordingly
Tom Gilbert [Sat, 27 Aug 2005 12:15:37 +0000 (12:15 +0000)]
patch from ticket #19 modified and applied - thanks :)
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 20:18:00 +0000 (20:18 +0000)]
add this to clean up
Tom Gilbert [Wed, 24 Aug 2005 20:15:50 +0000 (20:15 +0000)]
switch back to post-config to help packagers
Tom Gilbert [Wed, 24 Aug 2005 20:01:42 +0000 (20:01 +0000)]
attempt fix for annoying exception issue
Tom Gilbert [Wed, 24 Aug 2005 19:14:23 +0000 (19:14 +0000)]
fix nil lookups
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 [Sun, 21 Aug 2005 12:31:41 +0000 (12:31 +0000)]
Sun Aug 21 13:29:55 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
* fix for bug in quakenet plugin (trac #14)
* multiple fixes for unescaped bot nick in regexp's (trac #13)
Tom Gilbert [Fri, 12 Aug 2005 20:13:00 +0000 (20:13 +0000)]
more fixes
Tom Gilbert [Fri, 12 Aug 2005 19:51:53 +0000 (19:51 +0000)]
some tweaks
Tom Gilbert [Fri, 12 Aug 2005 19:51:24 +0000 (19:51 +0000)]
fix autoop plugin
Tom Gilbert [Fri, 12 Aug 2005 19:17:08 +0000 (19:17 +0000)]
oops, mustn't override cleanup
Tom Gilbert [Thu, 11 Aug 2005 08:26:01 +0000 (08:26 +0000)]
fix broken autoop
Tom Gilbert [Wed, 10 Aug 2005 23:13:27 +0000 (23:13 +0000)]
update changelog
Tom Gilbert [Wed, 10 Aug 2005 23:12:50 +0000 (23:12 +0000)]
AUTHORS update.
Added two plugins from Robin Kearney <robin@riviera.org.uk>
Tom Gilbert [Wed, 10 Aug 2005 23:07:38 +0000 (23:07 +0000)]
oops, put those back in
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 [Wed, 10 Aug 2005 23:01:18 +0000 (23:01 +0000)]
patch from Alexey Froloff to use homedir from /etc/passwd (oops!) instead of
assuming /home/$user :D
Tom Gilbert [Mon, 8 Aug 2005 22:09:37 +0000 (22:09 +0000)]
new plugin for markov-chain chat inanity :)
Tom Gilbert [Sun, 7 Aug 2005 17:20:41 +0000 (17:20 +0000)]
Sun Aug 07 18:20:24 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
* stop insult plugin being used to insult the bot
Tom Gilbert [Sun, 7 Aug 2005 16:57:33 +0000 (16:57 +0000)]
Sun Aug 07 17:53:06 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
* workaround for people without YAML::load_file
* quit message for restart
Tom Gilbert [Sun, 7 Aug 2005 16:46:45 +0000 (16:46 +0000)]
try that maybe