rbot
18 years agoFixed a bug that cut off the query-part of the url, cleaned up the redirect url joining.
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.

18 years agoWhoops, forgot to ungreedy the <title>-finding regexes.
Chris Gahan [Thu, 26 Jan 2006 22:22:41 +0000 (22:22 +0000)] 
Whoops, forgot to ungreedy the <title>-finding regexes.

18 years agoFixed a bunch of bugs:
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)

18 years agoAdded some nice new features to the URL-titles extension.
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.

18 years agotest
Chris Gahan [Thu, 26 Jan 2006 16:19:10 +0000 (16:19 +0000)] 
test

18 years agoTODO - work out why httputil with proxies doesn't like a head then a get on
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..

18 years agoreinstate the use of the bot's httputil. As soon as I tried this at work I
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.

18 years agoFrom Chris:
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

18 years agocomma sep
Tom Gilbert [Sat, 21 Jan 2006 21:29:50 +0000 (21:29 +0000)] 
comma sep

18 years agobunch of changes.
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..

18 years agonew submission from Chris
Tom Gilbert [Fri, 20 Jan 2006 16:03:48 +0000 (16:03 +0000)] 
new submission from Chris

18 years agoanother plugin from Chris
Tom Gilbert [Fri, 20 Jan 2006 09:29:28 +0000 (09:29 +0000)] 
another plugin from Chris

18 years agooops
Tom Gilbert [Fri, 20 Jan 2006 09:28:24 +0000 (09:28 +0000)] 
oops

18 years agosome awesome plugins from Chris Gahan >:)
Tom Gilbert [Fri, 20 Jan 2006 09:27:18 +0000 (09:27 +0000)] 
some awesome plugins from Chris Gahan >:)

18 years agofix the fix
Tom Gilbert [Thu, 12 Jan 2006 15:58:38 +0000 (15:58 +0000)] 
fix the fix

18 years agoproperly support ssl
Tom Gilbert [Thu, 12 Jan 2006 15:57:21 +0000 (15:57 +0000)] 
properly support ssl

18 years agofrom #32
Tom Gilbert [Wed, 4 Jan 2006 17:20:31 +0000 (17:20 +0000)] 
from #32

18 years agoexception handling
Tom Gilbert [Mon, 12 Dec 2005 23:00:27 +0000 (23:00 +0000)] 
exception handling

18 years agofound a bug
Tom Gilbert [Mon, 12 Dec 2005 20:21:08 +0000 (20:21 +0000)] 
found a bug

18 years agotry to handle backwards compat issues
Tom Gilbert [Mon, 12 Dec 2005 15:44:30 +0000 (15:44 +0000)] 
try to handle backwards compat issues

18 years agosupplied in #53
Tom Gilbert [Sat, 10 Dec 2005 12:29:08 +0000 (12:29 +0000)] 
supplied in #53

18 years agorequested for certain networks
Tom Gilbert [Fri, 9 Dec 2005 21:01:43 +0000 (21:01 +0000)] 
requested for certain networks

18 years agofixes from eean
Tom Gilbert [Thu, 1 Dec 2005 23:01:31 +0000 (23:01 +0000)] 
fixes from eean

18 years agoDonated by these lovely chaps:
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 :)

18 years agofix defunct procs
Tom Gilbert [Tue, 29 Nov 2005 22:35:19 +0000 (22:35 +0000)] 
fix defunct procs

18 years agotry this better fix
Tom Gilbert [Mon, 14 Nov 2005 13:27:40 +0000 (13:27 +0000)] 
try this better fix

18 years agomore escaping
Tom Gilbert [Fri, 4 Nov 2005 21:04:00 +0000 (21:04 +0000)] 
more escaping

18 years agowindows hates logging to files with : in them :p
Tom Gilbert [Fri, 4 Nov 2005 20:16:10 +0000 (20:16 +0000)] 
windows hates logging to files with : in them :p

18 years agoclose #38 for real
Tom Gilbert [Thu, 13 Oct 2005 17:46:22 +0000 (17:46 +0000)] 
close #38 for real

18 years agoclose #38
Tom Gilbert [Thu, 13 Oct 2005 15:38:56 +0000 (15:38 +0000)] 
close #38

18 years agovarious outstanding changes
Tom Gilbert [Thu, 13 Oct 2005 15:37:44 +0000 (15:37 +0000)] 
various outstanding changes

18 years agothis seems to work for more people..
Tom Gilbert [Fri, 30 Sep 2005 15:10:11 +0000 (15:10 +0000)] 
this seems to work for more people..

18 years agoroll out that one change
Tom Gilbert [Wed, 28 Sep 2005 09:46:18 +0000 (09:46 +0000)] 
roll out that one change

18 years agofix regex, make this work again
Tom Gilbert [Wed, 28 Sep 2005 09:22:49 +0000 (09:22 +0000)] 
fix regex, make this work again

18 years agoapply patch and close #37 and #33
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.

18 years agolastfm plugin from Jeremy Voorhis :)
Tom Gilbert [Wed, 21 Sep 2005 09:22:55 +0000 (09:22 +0000)] 
lastfm plugin from Jeremy Voorhis :)

18 years agofix help text, ticket #36
Tom Gilbert [Fri, 16 Sep 2005 21:23:50 +0000 (21:23 +0000)] 
fix help text, ticket #36

18 years agopath from vampjon in ticket #34
Tom Gilbert [Fri, 16 Sep 2005 10:26:30 +0000 (10:26 +0000)] 
path from vampjon in ticket #34

18 years agofix bug #29
Tom Gilbert [Sun, 11 Sep 2005 00:24:23 +0000 (00:24 +0000)] 
fix bug #29

18 years agotimestamp debug logs
Tom Gilbert [Fri, 9 Sep 2005 20:59:15 +0000 (20:59 +0000)] 
timestamp debug logs

18 years agofix for localised nickservs
Tom Gilbert [Fri, 9 Sep 2005 20:32:23 +0000 (20:32 +0000)] 
fix for localised nickservs

18 years agonope, that breaks gem install, need a better way
Tom Gilbert [Fri, 9 Sep 2005 20:00:21 +0000 (20:00 +0000)] 
nope, that breaks gem install, need a better way

18 years agofix usage :/
Tom Gilbert [Fri, 9 Sep 2005 19:53:42 +0000 (19:53 +0000)] 
fix usage :/

18 years agobugfix
Tom Gilbert [Fri, 9 Sep 2005 18:30:55 +0000 (18:30 +0000)] 
bugfix

18 years agobah that doesn't do what I wanted at all, it's per-file :/
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 :/

18 years agotweaking the markov plugin a little
Tom Gilbert [Wed, 7 Sep 2005 21:18:38 +0000 (21:18 +0000)] 
tweaking the markov plugin a little

18 years agobetter win32 fix
Tom Gilbert [Wed, 7 Sep 2005 19:20:24 +0000 (19:20 +0000)] 
better win32 fix

18 years agochangelog
Tom Gilbert [Wed, 7 Sep 2005 19:16:56 +0000 (19:16 +0000)] 
changelog

18 years agowin32 thing for signal handling
Tom Gilbert [Wed, 7 Sep 2005 19:16:34 +0000 (19:16 +0000)] 
win32 thing for signal handling

fix quit! :p

18 years agoenable keyword
Tom Gilbert [Wed, 7 Sep 2005 19:03:06 +0000 (19:03 +0000)] 
enable keyword

18 years agobetter failure to connect behaviour
Tom Gilbert [Mon, 5 Sep 2005 12:06:21 +0000 (12:06 +0000)] 
better failure to connect behaviour

18 years agoa little more robustness around emtpy lookups
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

18 years agoreconnect one connect failures too. Examples are temporary failures in DNS
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).

18 years agofix ping/pong/reconnect issue reported in #20
Tom Gilbert [Sun, 28 Aug 2005 17:19:59 +0000 (17:19 +0000)] 
fix ping/pong/reconnect issue reported in #20

18 years agobetter setup for ping timeouts.
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

18 years agofix for ticket #17
Tom Gilbert [Sat, 27 Aug 2005 13:11:15 +0000 (13:11 +0000)] 
fix for ticket #17

18 years agoreworked that last patch, now rbot pings the server and sets the timeout
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

18 years agopatch from ticket #19 modified and applied - thanks :)
Tom Gilbert [Sat, 27 Aug 2005 12:15:37 +0000 (12:15 +0000)] 
patch from ticket #19 modified and applied - thanks :)

18 years agoegads, Etc.getlogin returns the real login, so if you su to another user and
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.

18 years agoadd this to clean up
Tom Gilbert [Wed, 24 Aug 2005 20:18:00 +0000 (20:18 +0000)] 
add this to clean up

18 years agoswitch back to post-config to help packagers
Tom Gilbert [Wed, 24 Aug 2005 20:15:50 +0000 (20:15 +0000)] 
switch back to post-config to help packagers

18 years agoattempt fix for annoying exception issue
Tom Gilbert [Wed, 24 Aug 2005 20:01:42 +0000 (20:01 +0000)] 
attempt fix for annoying exception issue

18 years agofix nil lookups
Tom Gilbert [Wed, 24 Aug 2005 19:14:23 +0000 (19:14 +0000)] 
fix nil lookups

18 years agoapplied patch from ticket #15, and added .inspect to try and work out what
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.

18 years agoSun Aug 21 13:29:55 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
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)

18 years agomore fixes
Tom Gilbert [Fri, 12 Aug 2005 20:13:00 +0000 (20:13 +0000)] 
more fixes

18 years agosome tweaks
Tom Gilbert [Fri, 12 Aug 2005 19:51:53 +0000 (19:51 +0000)] 
some tweaks

18 years agofix autoop plugin
Tom Gilbert [Fri, 12 Aug 2005 19:51:24 +0000 (19:51 +0000)] 
fix autoop plugin

18 years agooops, mustn't override cleanup
Tom Gilbert [Fri, 12 Aug 2005 19:17:08 +0000 (19:17 +0000)] 
oops, mustn't override cleanup

18 years agofix broken autoop
Tom Gilbert [Thu, 11 Aug 2005 08:26:01 +0000 (08:26 +0000)] 
fix broken autoop

18 years agoupdate changelog
Tom Gilbert [Wed, 10 Aug 2005 23:13:27 +0000 (23:13 +0000)] 
update changelog

18 years agoAUTHORS update.
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>

18 years agooops, put those back in
Tom Gilbert [Wed, 10 Aug 2005 23:07:38 +0000 (23:07 +0000)] 
oops, put those back in

18 years agopatch from Alexey Froloff:
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

18 years agopatch from Alexey Froloff to use homedir from /etc/passwd (oops!) instead of
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

18 years agonew plugin for markov-chain chat inanity :)
Tom Gilbert [Mon, 8 Aug 2005 22:09:37 +0000 (22:09 +0000)] 
new plugin for markov-chain chat inanity :)

18 years agoSun Aug 07 18:20:24 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
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

18 years agoSun Aug 07 17:53:06 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
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

18 years agotry that maybe
Tom Gilbert [Sun, 7 Aug 2005 16:46:45 +0000 (16:46 +0000)] 
try that maybe

18 years agotry again
Tom Gilbert [Sun, 7 Aug 2005 16:32:09 +0000 (16:32 +0000)] 
try again

18 years agoattempt workaround for missing load_file
Tom Gilbert [Sun, 7 Aug 2005 16:27:13 +0000 (16:27 +0000)] 
attempt workaround for missing load_file

18 years agoSun Aug 07 15:11:07 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
Tom Gilbert [Sun, 7 Aug 2005 14:11:42 +0000 (14:11 +0000)] 
Sun Aug 07 15:11:07 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>

  * fix address_prefix, broken in 0.9.9, reported by ruskie.

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..