summaryrefslogtreecommitdiff
path: root/lib/rbot
AgeCommit message (Collapse)Author
2005-08-24egads, Etc.getlogin returns the real login, so if you su to another user andTom Gilbert
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.
2005-08-24add this to clean upTom Gilbert
2005-08-24switch back to post-config to help packagersTom Gilbert
2005-08-24attempt fix for annoying exception issueTom Gilbert
2005-08-24fix nil lookupsTom Gilbert
2005-08-24applied patch from ticket #15, and added .inspect to try and work out whatTom Gilbert
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.
2005-08-21Sun Aug 21 13:29:55 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* fix for bug in quakenet plugin (trac #14) * multiple fixes for unescaped bot nick in regexp's (trac #13)
2005-08-12some tweaksTom Gilbert
2005-08-10patch from Alexey Froloff:Tom Gilbert
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
2005-08-10patch from Alexey Froloff to use homedir from /etc/passwd (oops!) instead ofTom Gilbert
assuming /home/$user :D
2005-08-07Sun Aug 07 18:20:24 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* stop insult plugin being used to insult the bot
2005-08-07Sun Aug 07 17:53:06 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* workaround for people without YAML::load_file * quit message for restart
2005-08-07try that maybeTom Gilbert
2005-08-07try againTom Gilbert
2005-08-07attempt workaround for missing load_fileTom Gilbert
2005-08-07Sun Aug 07 15:11:07 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* fix address_prefix, broken in 0.9.9, reported by ruskie.
2005-08-05releasing 0.9.9Tom Gilbert
2005-08-05more tweaking pre-releaseTom Gilbert
2005-08-05that syntax confuses rdocTom Gilbert
2005-08-05More tweaksTom Gilbert
2005-08-04Thu Aug 04 23:03:30 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* 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
2005-08-03Thu Aug 04 00:11:52 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* 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
2005-08-03Wed Aug 03 15:25:07 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* 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.
2005-08-03This change they made around TimeoutErrors really pees me off...Tom Gilbert
2005-08-02Wed Aug 03 00:31:41 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* Added Rakefile, tweaked gemspec
2005-08-02 * Fixed the new http.proxy* settings, they work!Tom Gilbert
* Fixed a bug with auth-checking for the config module * misc tweaks
2005-07-31Sun Jul 31 02:20:08 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* 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.
2005-07-30Sat Jul 30 22:33:36 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* 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
2005-07-30Sat Jul 30 01:19:32 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* 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..
2005-07-29Fri Jul 29 13:07:56 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* Moved some stuff out of util.rb into the plugins that actually need them. Those methods didn't belong in util as they were plugin-specific. * moved a few more plugins to use map() where appropriate * made the url plugin only store unique urls
2005-07-28Thu Jul 28 23:45:26 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* Reworked the Timer module. The Timer now has a smart thread manager to start/stop the tick() thread. This means the timer isn't called every 0.1 seconds to see what needs doing, which is much more efficient * reworked the ircsocket queue mechanism to use a Timer * reworked the nickserv plugin to use maps * made server.reconnect_wait configurable * added Class tracing mechanism to bin/rbot, use --trace Classname for debugging
2005-07-27this packaging stuff seems to actually be workingTom Gilbert
2005-07-27post config script to persist configuration from the scriptTom Gilbert
2005-07-27more work on packaging, use Irc::Config module for storing configuration setTom Gilbert
by install.rb
2005-07-27rework various modules to use the installed directoriesTom Gilbert
2005-07-27move language files to data dirTom Gilbert
2005-07-27move rbot into lib - still rearranging for packaging/installationTom Gilbert