rbot
17 years agoMove code to get first par from a series of urls from search plugin to Utils, and...
Giuseppe Bilotta [Tue, 6 Feb 2007 16:46:54 +0000 (16:46 +0000)] 
Move code to get first par from a series of urls from search plugin to Utils, and use it in dict plugin too

17 years agoOptimizations to ircify_first_html_par
Giuseppe Bilotta [Tue, 6 Feb 2007 15:11:49 +0000 (15:11 +0000)] 
Optimizations to ircify_first_html_par

17 years agoMove code to find and ircify first par from search plugin to utils
Giuseppe Bilotta [Tue, 6 Feb 2007 15:08:25 +0000 (15:08 +0000)] 
Move code to find and ircify first par from search plugin to utils

17 years agoMove extensions to standard classes into a specific extends.rb util module
Giuseppe Bilotta [Tue, 6 Feb 2007 14:31:26 +0000 (14:31 +0000)] 
Move extensions to standard classes into a specific extends.rb util module

17 years agosendmsg improvements: default send options can now be configured via the standard...
Giuseppe Bilotta [Tue, 6 Feb 2007 14:17:00 +0000 (14:17 +0000)] 
sendmsg improvements: default send options can now be configured via the standard bot config mechanism. Maximum lines are also properly enforced

17 years agoSuppress a couple of warnings
Giuseppe Bilotta [Tue, 6 Feb 2007 11:34:17 +0000 (11:34 +0000)] 
Suppress a couple of warnings

17 years agoCreate an utils subdir in core, which will store all utility files that can be reload...
Giuseppe Bilotta [Tue, 6 Feb 2007 11:27:38 +0000 (11:27 +0000)] 
Create an utils subdir in core, which will store all utility files that can be reloaded without quitting the bot, and move httputil and utils to it

17 years agoMinor fix for english salutation
Giuseppe Bilotta [Tue, 6 Feb 2007 11:11:45 +0000 (11:11 +0000)] 
Minor fix for english salutation

17 years agosalut plugin: try to reply in the same language we've been addressed
Giuseppe Bilotta [Tue, 6 Feb 2007 10:49:53 +0000 (10:49 +0000)] 
salut plugin: try to reply in the same language we've been addressed

17 years agosalut plugin: don't respond to salutations when changing the configuration
Giuseppe Bilotta [Tue, 6 Feb 2007 09:57:44 +0000 (09:57 +0000)] 
salut plugin: don't respond to salutations when changing the configuration

17 years agoNew IRC Framework: more convenience methods to look into Netmask, User and Channel...
Giuseppe Bilotta [Tue, 6 Feb 2007 09:46:52 +0000 (09:46 +0000)] 
New IRC Framework: more convenience methods to look into Netmask, User and Channel Lists

17 years agoNew IRC Framework: NetmaskList now have an enhanced [] that allows retrieval by Netma...
Giuseppe Bilotta [Tue, 6 Feb 2007 00:11:38 +0000 (00:11 +0000)] 
New IRC Framework: NetmaskList now have an enhanced [] that allows retrieval by Netmask or String

17 years agoNew IRC Framework: add missing accessors for channel modes
Giuseppe Bilotta [Mon, 5 Feb 2007 23:11:41 +0000 (23:11 +0000)] 
New IRC Framework: add missing accessors for channel modes

17 years agoImproved Utils.secs_to_string
Giuseppe Bilotta [Mon, 5 Feb 2007 20:58:18 +0000 (20:58 +0000)] 
Improved Utils.secs_to_string

17 years agorss plugin: the refresh rate of each rss can be set independently of the global one...
Giuseppe Bilotta [Mon, 5 Feb 2007 19:36:48 +0000 (19:36 +0000)] 
rss plugin: the refresh rate of each rss can be set independently of the global one. Set to 0 to reset

17 years agorss plugin: add command to change the handle or url or type of an existing feed
Giuseppe Bilotta [Mon, 5 Feb 2007 16:07:07 +0000 (16:07 +0000)] 
rss plugin: add command to change the handle or url or type of an existing feed

17 years agoFix max_lines handling in new sendmsg code
Giuseppe Bilotta [Mon, 5 Feb 2007 15:53:54 +0000 (15:53 +0000)] 
Fix max_lines handling in new sendmsg code

17 years agoazgame plugin: acceptable strings are defined per-language now
Giuseppe Bilotta [Mon, 5 Feb 2007 15:27:23 +0000 (15:27 +0000)] 
azgame plugin: acceptable strings are defined per-language now

17 years agorss plugin: only parse feeds when xml changed. also, the xml is now saved to the...
Giuseppe Bilotta [Mon, 5 Feb 2007 15:19:11 +0000 (15:19 +0000)] 
rss plugin: only parse feeds when xml changed. also, the xml is now saved to the registry

17 years agolinkbot plugin: nick/network catchers were not greedy enough
Giuseppe Bilotta [Mon, 5 Feb 2007 15:15:04 +0000 (15:15 +0000)] 
linkbot plugin: nick/network catchers were not greedy enough

17 years agoazgame plugin: Japanese support (via wordlist) thanks to Yaohan Chen
Giuseppe Bilotta [Mon, 5 Feb 2007 15:10:43 +0000 (15:10 +0000)] 
azgame plugin: Japanese support (via wordlist) thanks to Yaohan Chen

17 years agoFix horrible bug in reworked sendmsg code that prevented it from working correctly...
Giuseppe Bilotta [Mon, 5 Feb 2007 12:13:09 +0000 (12:13 +0000)] 
Fix horrible bug in reworked sendmsg code that prevented it from working correctly with messages with embedded newlines

17 years agoazgame plugin: move az rules into the plugin initialization
Giuseppe Bilotta [Mon, 5 Feb 2007 11:42:20 +0000 (11:42 +0000)] 
azgame plugin: move az rules into the plugin initialization

17 years agorss plugin: fix missplet 'gmane'
Giuseppe Bilotta [Mon, 5 Feb 2007 10:57:53 +0000 (10:57 +0000)] 
rss plugin: fix missplet 'gmane'

17 years agorss plugin: performance enhancements when outputting formatted rss to multiple locati...
Giuseppe Bilotta [Mon, 5 Feb 2007 10:56:41 +0000 (10:56 +0000)] 
rss plugin: performance enhancements when outputting formatted rss to multiple locations, and make use of the overlong lines management introduced

17 years agolinkbot plugins to properly delegate messages from linkbots
Giuseppe Bilotta [Mon, 5 Feb 2007 10:49:58 +0000 (10:49 +0000)] 
linkbot plugins to properly delegate messages from linkbots

17 years agosearch plugin now exploits the new sendmsg improvements
Giuseppe Bilotta [Mon, 5 Feb 2007 01:09:49 +0000 (01:09 +0000)] 
search plugin now exploits the new sendmsg improvements

17 years agosendmsg improvements: plugins can now choose what to do with overlong messages withou...
Giuseppe Bilotta [Mon, 5 Feb 2007 01:09:01 +0000 (01:09 +0000)] 
sendmsg improvements: plugins can now choose what to do with overlong messages without having to resort to custom solutions

17 years agoMore search.rb first_par fixups
Giuseppe Bilotta [Sun, 4 Feb 2007 23:44:56 +0000 (23:44 +0000)] 
More search.rb first_par fixups

17 years agoMinor optimization in message.rb
Giuseppe Bilotta [Sun, 4 Feb 2007 23:12:52 +0000 (23:12 +0000)] 
Minor optimization in message.rb

17 years agoImprove 'first paragraph' detection in search plugin, and clean up ircify_html method
Giuseppe Bilotta [Sun, 4 Feb 2007 22:57:46 +0000 (22:57 +0000)] 
Improve 'first paragraph' detection in search plugin, and clean up ircify_html method

17 years agoTuning of messagemapper debug output
Giuseppe Bilotta [Sun, 4 Feb 2007 15:33:26 +0000 (15:33 +0000)] 
Tuning of messagemapper debug output

17 years agoweather plugin: allow choice between metric, english or both units when retrieving...
Giuseppe Bilotta [Sun, 4 Feb 2007 15:32:48 +0000 (15:32 +0000)] 
weather plugin: allow choice between metric, english or both units when retrieving data from weather underground

17 years agoWeather plugin fixups
Giuseppe Bilotta [Sun, 4 Feb 2007 14:35:34 +0000 (14:35 +0000)] 
Weather plugin fixups

17 years agoMerge weather plugins
Giuseppe Bilotta [Sun, 4 Feb 2007 13:49:26 +0000 (13:49 +0000)] 
Merge weather plugins

17 years agoReschedule save timer when changing core.save_every
Giuseppe Bilotta [Sun, 4 Feb 2007 12:57:22 +0000 (12:57 +0000)] 
Reschedule save timer when changing core.save_every

17 years agoFix rescheduling of timers
Giuseppe Bilotta [Sun, 4 Feb 2007 12:56:01 +0000 (12:56 +0000)] 
Fix rescheduling of timers

17 years agoProperly implement maximization of raw message length
Giuseppe Bilotta [Sun, 4 Feb 2007 12:07:20 +0000 (12:07 +0000)] 
Properly implement maximization of raw message length

17 years agoMinor auth help fix
Giuseppe Bilotta [Sun, 4 Feb 2007 11:53:07 +0000 (11:53 +0000)] 
Minor auth help fix

17 years agoEnhance the :requirements functionality in #map() to allow regexps with capturing...
Giuseppe Bilotta [Fri, 2 Feb 2007 23:48:47 +0000 (23:48 +0000)] 
Enhance the :requirements functionality in #map() to allow regexps with capturing groups: the first non-nil capture will be passed on as the corresponding parameter value, instead of the whole matched expression. See ChangeLog and documented source for details.

17 years agoTwo plugins had the executable property set. Reset it
Giuseppe Bilotta [Fri, 2 Feb 2007 21:13:51 +0000 (21:13 +0000)] 
Two plugins had the executable property set. Reset it

17 years agoPlugin map requirements are now checked at regular expression time, not later on
Giuseppe Bilotta [Fri, 2 Feb 2007 16:50:58 +0000 (16:50 +0000)] 
Plugin map requirements are now checked at regular expression time, not later on

17 years agoIn the new message mapper code, fail unconditionally when an entry doesn't match...
Giuseppe Bilotta [Fri, 2 Feb 2007 15:48:47 +0000 (15:48 +0000)] 
In the new message mapper code, fail unconditionally when an entry doesn't match its requirements. This is sub-optimal: the requirements should be included in the generated regular expression.

17 years agoFix rm methods in bans plugin
Giuseppe Bilotta [Fri, 2 Feb 2007 14:26:07 +0000 (14:26 +0000)] 
Fix rm methods in bans plugin

17 years agoPrevious commit also implemented quiz autoask delay, but I had forgotten to log it...
Giuseppe Bilotta [Thu, 1 Feb 2007 16:34:55 +0000 (16:34 +0000)] 
Previous commit also implemented quiz autoask delay, but I had forgotten to log it. Log it, and take the chance to beautify some comments

17 years agosalut plugin: don't try matching something when we know nothing
Giuseppe Bilotta [Thu, 1 Feb 2007 16:33:14 +0000 (16:33 +0000)] 
salut plugin: don't try matching something when we know nothing

17 years agoauth -> auth_path fixes
Giuseppe Bilotta [Tue, 30 Jan 2007 15:58:13 +0000 (15:58 +0000)] 
auth -> auth_path fixes

17 years agoWhen adding a feed watcher, let it fire instantly so that it can do the initial rss...
Giuseppe Bilotta [Tue, 30 Jan 2007 15:53:20 +0000 (15:53 +0000)] 
When adding a feed watcher, let it fire instantly so that it can do the initial rss retrieval

17 years agocase fixes in bans
Giuseppe Bilotta [Tue, 30 Jan 2007 14:39:34 +0000 (14:39 +0000)] 
case fixes in bans

17 years agoThe path to the fortune executable can now be configured (fortune.path). When empty...
Giuseppe Bilotta [Tue, 30 Jan 2007 14:21:11 +0000 (14:21 +0000)] 
The path to the fortune executable can now be configured (fortune.path). When empty, the bot will try to autodetect it. If autodetection is successfull, the path found will be stored in fortune.path

17 years agoCore botmodule config.rb has some (very little) facility to ease config key setting...
Giuseppe Bilotta [Tue, 30 Jan 2007 14:13:37 +0000 (14:13 +0000)] 
Core botmodule config.rb has some (very little) facility to ease config key setting from other botmodules

17 years agoquiz plugin was failing on private messages. Fix the problem
Giuseppe Bilotta [Tue, 30 Jan 2007 13:26:06 +0000 (13:26 +0000)] 
quiz plugin was failing on private messages. Fix the problem

17 years agotime plugin: provide commands to let the bot forget about timezones, and let the...
Giuseppe Bilotta [Tue, 30 Jan 2007 12:55:19 +0000 (12:55 +0000)] 
time plugin: provide commands to let the bot forget about timezones, and let the user know what happens when the timezone is set/forgotten

17 years agoFix b0rkedness in bans plugin
Giuseppe Bilotta [Tue, 30 Jan 2007 10:46:09 +0000 (10:46 +0000)] 
Fix b0rkedness in bans plugin

17 years agoIRC Framework: accept nil or empty nicks and channel names when looking for a user...
Giuseppe Bilotta [Tue, 30 Jan 2007 10:40:31 +0000 (10:40 +0000)] 
IRC Framework: accept nil or empty nicks and channel names when looking for a user or server on a channel

17 years agoBetter debugging when bans errors out
Giuseppe Bilotta [Tue, 30 Jan 2007 09:35:23 +0000 (09:35 +0000)] 
Better debugging when bans errors out

17 years agoWhitespace cleanup
Giuseppe Bilotta [Tue, 30 Jan 2007 01:36:26 +0000 (01:36 +0000)] 
Whitespace cleanup

17 years agoImproved bans plugin, thanks to kamu (reworked)
Giuseppe Bilotta [Tue, 30 Jan 2007 01:35:09 +0000 (01:35 +0000)] 
Improved bans plugin, thanks to kamu (reworked)

17 years agoUse the bot timer instead of Threads for periodic rss retrievals
Giuseppe Bilotta [Mon, 29 Jan 2007 22:36:33 +0000 (22:36 +0000)] 
Use the bot timer instead of Threads for periodic rss retrievals

17 years agoAllow timer action rescheduling
Giuseppe Bilotta [Mon, 29 Jan 2007 22:30:06 +0000 (22:30 +0000)] 
Allow timer action rescheduling

17 years agoRemove unused code from rss
Giuseppe Bilotta [Mon, 29 Jan 2007 19:42:12 +0000 (19:42 +0000)] 
Remove unused code from rss

17 years agoFix urban handling of links
Giuseppe Bilotta [Mon, 29 Jan 2007 19:35:54 +0000 (19:35 +0000)] 
Fix urban handling of links

17 years agoMessages from ignored users are logged to IRC logs, even though no other action is...
Giuseppe Bilotta [Mon, 29 Jan 2007 15:35:58 +0000 (15:35 +0000)] 
Messages from ignored users are logged to IRC logs, even though no other action is taken. This allows rbot logs to be used for ircstats

17 years agoPrevious commit was too squeezy. Check actual server limits
Giuseppe Bilotta [Sun, 28 Jan 2007 23:46:56 +0000 (23:46 +0000)] 
Previous commit was too squeezy. Check actual server limits

17 years agoTry to squeeze as much characters as possible on a single line
Giuseppe Bilotta [Sun, 28 Jan 2007 23:18:09 +0000 (23:18 +0000)] 
Try to squeeze as much characters as possible on a single line

17 years agoMinor Utils entity cleanup
Giuseppe Bilotta [Sun, 28 Jan 2007 23:17:34 +0000 (23:17 +0000)] 
Minor Utils entity cleanup

17 years agoSearches now can return the first paragraph of the first 'n' hits. Wikipedia and...
Giuseppe Bilotta [Sun, 28 Jan 2007 23:16:43 +0000 (23:16 +0000)] 
Searches now can return the first paragraph of the first 'n' hits. Wikipedia and Google searches can be configured separately both concerning number of hits returned and number of 'first paragraph' returned

17 years agoSince the new Irc framework the quotes plugin wasn't saving the full netmask of the...
Giuseppe Bilotta [Sat, 27 Jan 2007 11:30:42 +0000 (11:30 +0000)] 
Since the new Irc framework the quotes plugin wasn't saving the full netmask of the submitter. Fix it

17 years agoSalutation improvements when the bot isn't address
Giuseppe Bilotta [Fri, 26 Jan 2007 14:32:47 +0000 (14:32 +0000)] 
Salutation improvements when the bot isn't address

17 years agoKeep track of invalid tries in azgame, but report them without considering them for...
Giuseppe Bilotta [Fri, 26 Jan 2007 00:52:38 +0000 (00:52 +0000)] 
Keep track of invalid tries in azgame, but report them without considering them for scoring

17 years agoSort azgame scores from highest to lowest
Giuseppe Bilotta [Fri, 26 Jan 2007 00:12:14 +0000 (00:12 +0000)] 
Sort azgame scores from highest to lowest

17 years agoForgot a space
Giuseppe Bilotta [Fri, 26 Jan 2007 00:06:00 +0000 (00:06 +0000)] 
Forgot a space

17 years agoScore display cleanups in azgame
Giuseppe Bilotta [Thu, 25 Jan 2007 23:40:15 +0000 (23:40 +0000)] 
Score display cleanups in azgame

17 years agoInitial attempt at scoring in azgame. scoring isn't kept yet, and it's calculated...
Giuseppe Bilotta [Thu, 25 Jan 2007 23:08:50 +0000 (23:08 +0000)] 
Initial attempt at scoring in azgame. scoring isn't kept yet, and it's calculated for cancels too

17 years agoItalian salut datafile enhancements
Giuseppe Bilotta [Tue, 23 Jan 2007 16:50:47 +0000 (16:50 +0000)] 
Italian salut datafile enhancements

17 years agoMore lart plugins cleanup
Giuseppe Bilotta [Tue, 23 Jan 2007 16:46:28 +0000 (16:46 +0000)] 
More lart plugins cleanup

17 years agoPrevious commit also included reduced saving for the larts plugin, but the message...
Giuseppe Bilotta [Tue, 23 Jan 2007 16:41:14 +0000 (16:41 +0000)] 
Previous commit also included reduced saving for the larts plugin, but the message log didn't mention that. Edit the ChangeLog to inform users of the reduced save functionality, explaining how it can be used to hand-edit the data files while the bot is running

17 years agoOops, forgot to reset @changed after save in salut
Giuseppe Bilotta [Tue, 23 Jan 2007 16:32:39 +0000 (16:32 +0000)] 
Oops, forgot to reset @changed after save in salut

17 years agosalut only saves its data files when they were changed (i.e. never, presently)
Giuseppe Bilotta [Tue, 23 Jan 2007 16:24:29 +0000 (16:24 +0000)] 
salut only saves its data files when they were changed (i.e. never, presently)

17 years agoMemory optimizations in plugin management (useful on rescans)
Giuseppe Bilotta [Tue, 23 Jan 2007 16:19:14 +0000 (16:19 +0000)] 
Memory optimizations in plugin management (useful on rescans)

17 years agoRe-enable irc.ignore_users
Giuseppe Bilotta [Sun, 21 Jan 2007 15:03:46 +0000 (15:03 +0000)] 
Re-enable irc.ignore_users

17 years agoquotefiles are now only saved only if they were changed
Giuseppe Bilotta [Sun, 21 Jan 2007 14:22:39 +0000 (14:22 +0000)] 
quotefiles are now only saved only if they were changed

17 years agoTotally reworked ping timeout detection
Giuseppe Bilotta [Fri, 12 Jan 2007 10:32:52 +0000 (10:32 +0000)] 
Totally reworked ping timeout detection

17 years agoFix more ranking bugs, hopefully prevent corruption
Giuseppe Bilotta [Thu, 11 Jan 2007 21:11:09 +0000 (21:11 +0000)] 
Fix more ranking bugs, hopefully prevent corruption

17 years agoStupid typo in previous commit
Giuseppe Bilotta [Thu, 11 Jan 2007 15:42:19 +0000 (15:42 +0000)] 
Stupid typo in previous commit

17 years agoThe quiz scores databases can get corrupt sometimes. Until we find how and why, we...
Giuseppe Bilotta [Thu, 11 Jan 2007 15:39:15 +0000 (15:39 +0000)] 
The quiz scores databases can get corrupt sometimes. Until we find how and why, we just prevent further changes to them when we spot one

17 years agoDowncase the irc log location, so that loggin to e.g. #Channel and #channel go the...
Giuseppe Bilotta [Tue, 9 Jan 2007 18:03:02 +0000 (18:03 +0000)] 
Downcase the irc log location, so that loggin to e.g. #Channel and #channel go the same place

17 years agoMake sure the quiz plugin doesn't fail when win messages haven't been found
Giuseppe Bilotta [Sun, 7 Jan 2007 16:23:01 +0000 (16:23 +0000)] 
Make sure the quiz plugin doesn't fail when win messages haven't been found

17 years ago[574] still had a stupid typo
Giuseppe Bilotta [Sun, 7 Jan 2007 13:09:59 +0000 (13:09 +0000)] 
[574] still had a stupid typo

17 years agoIrc framework: fix errors in filling up the user lists for channels
Giuseppe Bilotta [Sat, 6 Jan 2007 21:29:44 +0000 (21:29 +0000)] 
Irc framework: fix errors in filling up the user lists for channels

17 years agoTry another fix for servers not going in ping timeout
Giuseppe Bilotta [Sat, 6 Jan 2007 21:09:34 +0000 (21:09 +0000)] 
Try another fix for servers not going in ping timeout

17 years agoMore keywords fixes
Giuseppe Bilotta [Fri, 5 Jan 2007 15:51:33 +0000 (15:51 +0000)] 
More keywords fixes

17 years agoFix a bug in quiz.rb listen()
Giuseppe Bilotta [Fri, 5 Jan 2007 15:38:36 +0000 (15:38 +0000)] 
Fix a bug in quiz.rb listen()

17 years agoMore italian salutations
Giuseppe Bilotta [Wed, 3 Jan 2007 10:46:48 +0000 (10:46 +0000)] 
More italian salutations

17 years agoFix reconnect errors
Giuseppe Bilotta [Tue, 2 Jan 2007 00:22:40 +0000 (00:22 +0000)] 
Fix reconnect errors

17 years agoDebugger plugin, which can be used to profile memory usage in rbot and detect memory...
Giuseppe Bilotta [Wed, 27 Dec 2006 00:00:17 +0000 (00:00 +0000)] 
Debugger plugin, which can be used to profile memory usage in rbot and detect memory leaks

17 years agoMinor fixes for english salutations
Giuseppe Bilotta [Tue, 26 Dec 2006 17:56:22 +0000 (17:56 +0000)] 
Minor fixes for english salutations

17 years agoOnly react on PrivMessage in salut and quiz
Giuseppe Bilotta [Fri, 22 Dec 2006 16:38:17 +0000 (16:38 +0000)] 
Only react on PrivMessage in salut and quiz

17 years agoFix a horrendous String leak
Giuseppe Bilotta [Fri, 22 Dec 2006 16:34:23 +0000 (16:34 +0000)] 
Fix a horrendous String leak

17 years agoFix 'Unknown command' being received from server
Giuseppe Bilotta [Wed, 20 Dec 2006 13:26:20 +0000 (13:26 +0000)] 
Fix 'Unknown command' being received from server