]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/log
user/henk/code/ruby/rbot.git
17 years agomake sure @commands is never nil in script.rb
Alexander Beisig [Sat, 5 Aug 2006 18:08:09 +0000 (18:08 +0000)]
make sure @commands is never nil in script.rb

17 years agoreworked the keywords plugin, it uses a new and less messy syntax now
Alexander Beisig [Sat, 5 Aug 2006 18:04:44 +0000 (18:04 +0000)]
reworked the keywords plugin, it uses a new and less messy syntax now

17 years agoauth botmodule now allows showing all user settings and enable/disable boolean ones...
Giuseppe Bilotta [Sat, 5 Aug 2006 18:01:46 +0000 (18:01 +0000)]
auth botmodule now allows showing all user settings and enable/disable boolean ones. still needs work for setting and resetting. no user creation yet

17 years agoFix user data not being upgraded and fix a bug in the login-by-mask code
Giuseppe Bilotta [Sat, 5 Aug 2006 13:08:02 +0000 (13:08 +0000)]
Fix user data not being upgraded and fix a bug in the login-by-mask code

17 years agoFix some save/quit/rescan races
Giuseppe Bilotta [Sat, 5 Aug 2006 12:20:46 +0000 (12:20 +0000)]
Fix some save/quit/rescan races

17 years agoFix a disconnect on topic change
Giuseppe Bilotta [Sat, 5 Aug 2006 11:52:24 +0000 (11:52 +0000)]
Fix a disconnect on topic change

17 years agoRename the file core.rb to reflect the new botmoulde name
Giuseppe Bilotta [Sat, 5 Aug 2006 11:37:33 +0000 (11:37 +0000)]
Rename the file core.rb to reflect the new botmoulde name

17 years agoInternally rename the core botmodule to basics
Giuseppe Bilotta [Sat, 5 Aug 2006 11:35:57 +0000 (11:35 +0000)]
Internally rename the core botmodule to basics

17 years agoFix server casemap handling
Giuseppe Bilotta [Sat, 5 Aug 2006 11:33:29 +0000 (11:33 +0000)]
Fix server casemap handling

17 years agoMinor esthetical fixups
Giuseppe Bilotta [Sat, 5 Aug 2006 11:01:46 +0000 (11:01 +0000)]
Minor esthetical fixups

17 years agoAuth framework now allows automatic login and login-by-netmask (when enabled for...
Giuseppe Bilotta [Sat, 5 Aug 2006 10:58:20 +0000 (10:58 +0000)]
Auth framework now allows automatic login and login-by-netmask (when enabled for the specific botusers) --defaults to off

17 years agoAdjust auth framework to work with improved Irc framework and fix some issues in...
Giuseppe Bilotta [Sat, 5 Aug 2006 00:18:40 +0000 (00:18 +0000)]
Adjust auth framework to work with improved Irc framework and fix some issues in the Irc framework itself. Get rid of some of the debug clauses

17 years agoCommit [369] was bogus. This one cleans up and sanitizes the Irc framework.
Giuseppe Bilotta [Fri, 4 Aug 2006 23:42:14 +0000 (23:42 +0000)]
Commit [369] was bogus. This one cleans up and sanitizes the Irc framework.

17 years agoImprove robustness of ArrayOf; fix some inspect methods
Giuseppe Bilotta [Fri, 4 Aug 2006 16:21:20 +0000 (16:21 +0000)]
Improve robustness of ArrayOf; fix some inspect methods

17 years agoImprove robustness of ArrayOf; fix some inspect methods
Giuseppe Bilotta [Fri, 4 Aug 2006 14:49:36 +0000 (14:49 +0000)]
Improve robustness of ArrayOf; fix some inspect methods

17 years agoFreenode changes the hostmask of users after identification. Do not fail when a known...
Giuseppe Bilotta [Fri, 4 Aug 2006 07:26:35 +0000 (07:26 +0000)]
Freenode changes the hostmask of users after identification. Do not fail when a known user comes up with a different netmask, just give a warning

17 years agoAhem. I should remember to test things ''before'' committing, not after. Fix COREDIR...
Giuseppe Bilotta [Fri, 4 Aug 2006 07:15:29 +0000 (07:15 +0000)]
Ahem. I should remember to test things ''before'' committing, not after. Fix COREDIR as set by post-config

17 years agoAdd myself to AUTHORS in trunk too
Giuseppe Bilotta [Fri, 4 Aug 2006 06:48:07 +0000 (06:48 +0000)]
Add myself to AUTHORS in trunk too

17 years agoFix one more problem with missing COREDIR and clean up setup.rb
Giuseppe Bilotta [Fri, 4 Aug 2006 06:46:07 +0000 (06:46 +0000)]
Fix one more problem with missing COREDIR and clean up setup.rb

17 years agoWhoops.. removed the automatic adding of --debug. :)
Chris Gahan [Fri, 4 Aug 2006 06:35:50 +0000 (06:35 +0000)]
Whoops.. removed the automatic adding of --debug. :)

17 years agoA little handy script that launches the rbot daemon from this directory (no need...
Chris Gahan [Fri, 4 Aug 2006 06:34:44 +0000 (06:34 +0000)]
A little handy script that launches the rbot daemon from this directory (no need to install it!)

17 years agoSome fixes for the help system. Still not perfect, but better than before
Giuseppe Bilotta [Fri, 4 Aug 2006 00:44:31 +0000 (00:44 +0000)]
Some fixes for the help system. Still not perfect, but better than before

17 years agoFix stupid bug introduced with the new debugging messages. switch to kind_of? instead...
Giuseppe Bilotta [Fri, 4 Aug 2006 00:19:51 +0000 (00:19 +0000)]
Fix stupid bug introduced with the new debugging messages. switch to kind_of? instead of .class<=

17 years agorenamed keywords plugin to fix inconsistency between commands and help
Alexander Beisig [Thu, 3 Aug 2006 19:28:31 +0000 (19:28 +0000)]
renamed keywords plugin to fix inconsistency between commands and help

17 years agoMore responsive quits and some extra debug info for the new irc framework
Giuseppe Bilotta [Thu, 3 Aug 2006 18:20:56 +0000 (18:20 +0000)]
More responsive quits and some extra debug info for the new irc framework

17 years agoMake keywords.rb into a plugin and sync with 0.9.10
Giuseppe Bilotta [Thu, 3 Aug 2006 17:35:15 +0000 (17:35 +0000)]
Make keywords.rb into a plugin and sync with 0.9.10

17 years agoFix bug when users changed nick
Giuseppe Bilotta [Thu, 3 Aug 2006 15:36:37 +0000 (15:36 +0000)]
Fix bug when users changed nick

17 years agoInitial version of the new auth coremodule
Giuseppe Bilotta [Thu, 3 Aug 2006 14:07:12 +0000 (14:07 +0000)]
Initial version of the new auth coremodule

17 years agoLots of fixes all around, in preparation for the new auth coremodule
Giuseppe Bilotta [Thu, 3 Aug 2006 14:06:15 +0000 (14:06 +0000)]
Lots of fixes all around, in preparation for the new auth coremodule

17 years agoPort [338] to trunk
Giuseppe Bilotta [Wed, 2 Aug 2006 21:42:41 +0000 (21:42 +0000)]
Port [338] to trunk

17 years agoFix message handling, comment out some debug messages
Giuseppe Bilotta [Wed, 2 Aug 2006 21:39:43 +0000 (21:39 +0000)]
Fix message handling, comment out some debug messages

17 years agoInitial factorization of botconfig into kernel functionality and a coremodule
Giuseppe Bilotta [Wed, 2 Aug 2006 20:37:02 +0000 (20:37 +0000)]
Initial factorization of botconfig into kernel functionality and a coremodule

17 years agoFix User selection/creation
Giuseppe Bilotta [Wed, 2 Aug 2006 19:06:29 +0000 (19:06 +0000)]
Fix User selection/creation

17 years agoAuth now follows the specs defined in NewAuthModule even though there is no actual...
Giuseppe Bilotta [Wed, 2 Aug 2006 16:26:29 +0000 (16:26 +0000)]
Auth now follows the specs defined in NewAuthModule even though there is no actual auth coremodule. config.rb needs to be split into a class definition file and a coremodule that manages it

17 years agoModularized core now functional. Still a lot to do and auth missing, but the bot...
Giuseppe Bilotta [Wed, 2 Aug 2006 00:04:19 +0000 (00:04 +0000)]
Modularized core now functional. Still a lot to do and auth missing, but the bot is almost usable now

17 years agoNew modular framework is in place. Nothing works until core/auth.rb is done, though
Giuseppe Bilotta [Tue, 1 Aug 2006 17:14:01 +0000 (17:14 +0000)]
New modular framework is in place. Nothing works until core/auth.rb is done, though

17 years agoNew Irc framework: fix channel modes handling
Giuseppe Bilotta [Tue, 1 Aug 2006 13:42:27 +0000 (13:42 +0000)]
New Irc framework: fix channel modes handling

17 years agoFirst step towards the new modularized core framework
Giuseppe Bilotta [Tue, 1 Aug 2006 12:38:54 +0000 (12:38 +0000)]
First step towards the new modularized core framework

17 years agoFix the "list" function. Now counts the pages correctly.
Mark Kretschmann [Tue, 1 Aug 2006 12:26:40 +0000 (12:26 +0000)]
Fix the "list" function. Now counts the pages correctly.

17 years agorename file
Mark Kretschmann [Tue, 1 Aug 2006 11:32:06 +0000 (11:32 +0000)]
rename file

17 years agoRename "command" plugin to "script" plugin. Reasoning: Less confusion and conflict...
Mark Kretschmann [Tue, 1 Aug 2006 11:31:26 +0000 (11:31 +0000)]
Rename "command" plugin to "script" plugin. Reasoning: Less confusion and conflict potential.

17 years agoSome stupid fixes
Giuseppe Bilotta [Tue, 1 Aug 2006 00:13:30 +0000 (00:13 +0000)]
Some stupid fixes

17 years agoNew Auth framework, initial commit
Giuseppe Bilotta [Tue, 1 Aug 2006 00:10:09 +0000 (00:10 +0000)]
New Auth framework, initial commit

17 years agosyncing with rbot-0.9.10 branch
Tom Gilbert [Mon, 31 Jul 2006 17:34:22 +0000 (17:34 +0000)]
syncing with rbot-0.9.10 branch

17 years agoFirst shot at the new Irc framework. Bot is usable (sort of), but not all functionali...
Giuseppe Bilotta [Mon, 31 Jul 2006 15:33:15 +0000 (15:33 +0000)]
First shot at the new Irc framework. Bot is usable (sort of), but not all functionality may work as expected (or at all). If you are testing it, please report. Auth is known to be nonfunctional

17 years agoInitial import of the "time" plugin by Ian Monroe. Allows to view the local time...
Mark Kretschmann [Mon, 31 Jul 2006 14:22:28 +0000 (14:22 +0000)]
Initial import of the "time" plugin by Ian Monroe. Allows to view the local time of a given user.

17 years agoInitial import of my "command" plugin. Allows to create mini plugins directly from...
Mark Kretschmann [Mon, 31 Jul 2006 14:09:32 +0000 (14:09 +0000)]
Initial import of my "command" plugin. Allows to create mini plugins directly from IRC.

17 years agominor "cuteness" tweak for the karma plugin.
Tom Gilbert [Mon, 31 Jul 2006 13:41:12 +0000 (13:41 +0000)]
minor "cuteness" tweak for the karma plugin.

17 years agoInitial commit of the new Irc framework. Only add the file, no changes to the actual...
Giuseppe Bilotta [Sun, 30 Jul 2006 12:58:32 +0000 (12:58 +0000)]
Initial commit of the new Irc framework. Only add the file, no changes to the actual rbot code

17 years agoRevert one of the cleanups from [309] that totally hid the information on the origin...
Giuseppe Bilotta [Sun, 30 Jul 2006 07:56:24 +0000 (07:56 +0000)]
Revert one of the cleanups from [309] that totally hid the information on the origin of logged messages: it should only be blanked out on subsequent lines of multiline messages

17 years agoBDB::Fatal errors in plugins are now raised to toplevel; bdb lg_max increased to...
Giuseppe Bilotta [Sun, 30 Jul 2006 07:41:25 +0000 (07:41 +0000)]
BDB::Fatal errors in plugins are now raised to toplevel; bdb lg_max increased to 8 megabytes

17 years agowhitelist!
Tom Gilbert [Sat, 29 Jul 2006 22:59:25 +0000 (22:59 +0000)]
whitelist!

17 years agobans plugin from RockMan :D
Tom Gilbert [Sat, 29 Jul 2006 22:04:42 +0000 (22:04 +0000)]
bans plugin from RockMan :D

17 years agojust some tiny tweaks. giuseppe! you have been busy! :)
Tom Gilbert [Sat, 29 Jul 2006 18:12:50 +0000 (18:12 +0000)]
just some tiny tweaks. giuseppe! you have been busy! :)

17 years agoDo not use get_cached for RSS until we have proper cache handling
Giuseppe Bilotta [Fri, 28 Jul 2006 14:03:52 +0000 (14:03 +0000)]
Do not use get_cached for RSS until we have proper cache handling

17 years agoFix date sorting for rss plugins
Giuseppe Bilotta [Fri, 28 Jul 2006 13:44:06 +0000 (13:44 +0000)]
Fix date sorting for rss plugins

17 years agorss show will sort items by date, if possible; a specific range of items to be displa...
Giuseppe Bilotta [Thu, 27 Jul 2006 23:16:55 +0000 (23:16 +0000)]
rss show will sort items by date, if possible; a specific range of items to be displayed can be given

17 years agoDisplay plugin status after rescan
Giuseppe Bilotta [Thu, 27 Jul 2006 23:09:48 +0000 (23:09 +0000)]
Display plugin status after rescan

17 years agoWe don't want to close our initial logger, since that closes $stderr
Giuseppe Bilotta [Thu, 27 Jul 2006 22:00:42 +0000 (22:00 +0000)]
We don't want to close our initial logger, since that closes $stderr

17 years agoFix the location for the bot log: put it in the botclass directory, and remove any...
Giuseppe Bilotta [Thu, 27 Jul 2006 22:00:04 +0000 (22:00 +0000)]
Fix the location for the bot log: put it in the botclass directory, and remove any initial dots to prevent it from being hidden

17 years agoAbort if levels.rbot is badly messed up. We don't want to make the bot suddenly becom...
Giuseppe Bilotta [Thu, 27 Jul 2006 19:44:51 +0000 (19:44 +0000)]
Abort if levels.rbot is badly messed up. We don't want to make the bot suddenly become free for all

17 years agoNew logging systems now works correctly even when the bot is daemonized
Giuseppe Bilotta [Thu, 27 Jul 2006 10:05:52 +0000 (10:05 +0000)]
New logging systems now works correctly even when the bot is daemonized

17 years agoWhitespace/comment cleanup. Use =begin / =end for very large comments.
Giuseppe Bilotta [Thu, 27 Jul 2006 09:33:34 +0000 (09:33 +0000)]
Whitespace/comment cleanup. Use =begin / =end for very large comments.

17 years agoRevamped logging system based on the Logger class from stdlib
Giuseppe Bilotta [Thu, 27 Jul 2006 08:51:48 +0000 (08:51 +0000)]
Revamped logging system based on the Logger class from stdlib

17 years agoRemove @blacklisted, not needed anymore; include filename in module_eval to get more...
Giuseppe Bilotta [Thu, 27 Jul 2006 00:26:55 +0000 (00:26 +0000)]
Remove @blacklisted, not needed anymore; include filename in module_eval to get more sensible tracebacks; add some empty lines to make markey happy

17 years agoSmall cosmetic fix for trac output of non-changelog entries in RSS plugin
Giuseppe Bilotta [Wed, 26 Jul 2006 23:15:06 +0000 (23:15 +0000)]
Small cosmetic fix for trac output of non-changelog entries in RSS plugin

17 years agoweather plugin now reports error met when displaying info instead of silently errorin...
Giuseppe Bilotta [Wed, 26 Jul 2006 23:14:00 +0000 (23:14 +0000)]
weather plugin now reports error met when displaying info instead of silently erroring out

17 years agoOops, wrong way to remove the path from the module names; fix it, and provide test...
Giuseppe Bilotta [Wed, 26 Jul 2006 23:05:55 +0000 (23:05 +0000)]
Oops, wrong way to remove the path from the module names; fix it, and provide test messages for all logging levels

17 years agoLogging now also logs the filename and function it's being called from
Giuseppe Bilotta [Wed, 26 Jul 2006 22:48:47 +0000 (22:48 +0000)]
Logging now also logs the filename and function it's being called from

17 years agoGuess properly default botclass under Windows (preventing a backtrace at the same...
Giuseppe Bilotta [Wed, 26 Jul 2006 16:54:21 +0000 (16:54 +0000)]
Guess properly default botclass under Windows (preventing a backtrace at the same time, woot)

17 years agoProvide a handle method for plugins, so that plugin creators can both use map and...
Giuseppe Bilotta [Wed, 26 Jul 2006 15:34:29 +0000 (15:34 +0000)]
Provide a handle method for plugins, so that plugin creators can both use map and make their own privmsg method by calling handle(m) from within it

17 years agoWhitespace cleanup
Giuseppe Bilotta [Wed, 26 Jul 2006 15:31:04 +0000 (15:31 +0000)]
Whitespace cleanup

17 years agoserver.ping_timeout now defaults to 30 seconds
Giuseppe Bilotta [Wed, 26 Jul 2006 13:36:45 +0000 (13:36 +0000)]
server.ping_timeout now defaults to 30 seconds

17 years agoMore robust error handling in rss.rb, also increased the default polling value for...
Giuseppe Bilotta [Wed, 26 Jul 2006 13:05:28 +0000 (13:05 +0000)]
More robust error handling in rss.rb, also increased the default polling value for feeds. If failures occurred, polling time is increased

17 years agoAdd 'google' as a synonym for search
Giuseppe Bilotta [Wed, 26 Jul 2006 13:04:16 +0000 (13:04 +0000)]
Add 'google' as a synonym for search

17 years agoExport the bot's plugins; this eases plugins' communication with each other
Giuseppe Bilotta [Wed, 26 Jul 2006 12:26:41 +0000 (12:26 +0000)]
Export the bot's plugins; this eases plugins' communication with each other

17 years agoAdd info about ignored plugins (blacklisted, disabled, already loaded) to help; clean...
Giuseppe Bilotta [Wed, 26 Jul 2006 05:35:18 +0000 (05:35 +0000)]
Add info about ignored plugins (blacklisted, disabled, already loaded) to help; clean up failed plugins help

17 years agoMake demauro work with Ruby 1.8.4 too
Giuseppe Bilotta [Tue, 25 Jul 2006 22:09:25 +0000 (22:09 +0000)]
Make demauro work with Ruby 1.8.4 too

17 years agoBetter reporting of plugin failures
Giuseppe Bilotta [Tue, 25 Jul 2006 21:25:58 +0000 (21:25 +0000)]
Better reporting of plugin failures

17 years agoFix a bug in {{{help pluginfailures}}}
Giuseppe Bilotta [Tue, 25 Jul 2006 14:28:12 +0000 (14:28 +0000)]
Fix a bug in {{{help pluginfailures}}}

17 years agoNew config commands: reset (synonym for unset), add <...> to <...> and rm <...> from...
Giuseppe Bilotta [Tue, 25 Jul 2006 13:18:38 +0000 (13:18 +0000)]
New config commands: reset (synonym for unset), add <...> to <...> and rm <...> from <...> to manipulate individual values in BotConfigArrayValues

17 years agoFix a bug in config set (particularly important for BotConfigArrayValues)
Giuseppe Bilotta [Tue, 25 Jul 2006 12:29:16 +0000 (12:29 +0000)]
Fix a bug in config set (particularly important for BotConfigArrayValues)

17 years agoForgot to stringify an instance of key
Giuseppe Bilotta [Tue, 25 Jul 2006 12:11:41 +0000 (12:11 +0000)]
Forgot to stringify an instance of key

17 years agoUse symbols internally instead of strings for config keys.
Giuseppe Bilotta [Tue, 25 Jul 2006 09:57:13 +0000 (09:57 +0000)]
Use symbols internally instead of strings for config keys.

17 years agoInform users about plugins that failed to load; preserve the (supposedly) most intere...
Giuseppe Bilotta [Tue, 25 Jul 2006 01:19:50 +0000 (01:19 +0000)]
Inform users about plugins that failed to load; preserve the (supposedly) most interesting part(s) of the backtrace and display them on request

17 years agoWhen verifying uniqueness of plugin map parameters names, check for :param vs *param too
Giuseppe Bilotta [Tue, 25 Jul 2006 01:18:02 +0000 (01:18 +0000)]
When verifying uniqueness of plugin map parameters names, check for :param vs *param too

17 years agoCorrect Underline and Reverse
Giuseppe Bilotta [Tue, 25 Jul 2006 01:16:34 +0000 (01:16 +0000)]
Correct Underline and Reverse

17 years agoImplement map! properly this time
Giuseppe Bilotta [Mon, 24 Jul 2006 23:21:43 +0000 (23:21 +0000)]
Implement map! properly this time

17 years agoAdd mapsvn diff method for plugins: just like map, but doesn't add synonyms to the...
Giuseppe Bilotta [Mon, 24 Jul 2006 22:43:11 +0000 (22:43 +0000)]
Add mapsvn diff method for plugins: just like map, but doesn't add synonyms to the plugin name

17 years agoFix yet more problem reporting in rss plugin
Giuseppe Bilotta [Mon, 24 Jul 2006 21:56:41 +0000 (21:56 +0000)]
Fix yet more problem reporting in rss plugin

17 years agoFix problem reporting in rss plugin
Giuseppe Bilotta [Mon, 24 Jul 2006 21:44:05 +0000 (21:44 +0000)]
Fix problem reporting in rss plugin

17 years agocon:
Giuseppe Bilotta [Mon, 24 Jul 2006 20:40:56 +0000 (20:40 +0000)]
con:

17 years agoRSS plugin update.
Giuseppe Bilotta [Mon, 24 Jul 2006 19:02:37 +0000 (19:02 +0000)]
RSS plugin update.

* Less spammy formatting default for trac entries
* debug line inspecting the item to be formatted
* to_s and to_a methods for RssBlob

17 years agoRSS plugin cleanup: printFormattedRss made more generic, added 'trac' type
Giuseppe Bilotta [Mon, 24 Jul 2006 18:43:44 +0000 (18:43 +0000)]
RSS plugin cleanup: printFormattedRss made more generic, added 'trac' type

17 years agoRSS plugin now uses bold all around in the help messages
Giuseppe Bilotta [Mon, 24 Jul 2006 15:31:10 +0000 (15:31 +0000)]
RSS plugin now uses bold all around in the help messages

17 years agoAdd constants for Bold/Underline/Reverse/Color
Giuseppe Bilotta [Mon, 24 Jul 2006 15:30:00 +0000 (15:30 +0000)]
Add constants for Bold/Underline/Reverse/Color

17 years agoSet KCODE; UTF-8 is the future
Giuseppe Bilotta [Mon, 24 Jul 2006 15:29:34 +0000 (15:29 +0000)]
Set KCODE; UTF-8 is the future

17 years agoRevert the Struct.new-related changes because they don't do what we want
Giuseppe Bilotta [Mon, 24 Jul 2006 14:55:32 +0000 (14:55 +0000)]
Revert the Struct.new-related changes because they don't do what we want

17 years agoNew command system for RSS plugin
Giuseppe Bilotta [Mon, 24 Jul 2006 14:49:34 +0000 (14:49 +0000)]
New command system for RSS plugin

17 years agoMore RSS plugin improvements
Giuseppe Bilotta [Mon, 24 Jul 2006 13:44:30 +0000 (13:44 +0000)]
More RSS plugin improvements