]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/log
user/henk/code/ruby/rbot.git
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

17 years agonickserv plugin now defaults to not providing the nick when identifying, as this...
Giuseppe Bilotta [Sun, 17 Dec 2006 23:46:02 +0000 (23:46 +0000)]
nickserv plugin now defaults to not providing the nick when identifying, as this seems to be more common

17 years agoPrevious commit also had fixes in azgame, forgot to log them
Giuseppe Bilotta [Sat, 16 Dec 2006 23:08:31 +0000 (23:08 +0000)]
Previous commit also had fixes in azgame, forgot to log them

17 years agokarma check for self++ now case insensitive
Giuseppe Bilotta [Sat, 16 Dec 2006 23:00:30 +0000 (23:00 +0000)]
karma check for self++ now case insensitive

17 years agoHopefully fix the rss watch/unwatch problem for good
Giuseppe Bilotta [Tue, 28 Nov 2006 22:45:24 +0000 (22:45 +0000)]
Hopefully fix the rss watch/unwatch problem for good

17 years agoMinor keywords fix
Giuseppe Bilotta [Tue, 28 Nov 2006 22:10:32 +0000 (22:10 +0000)]
Minor keywords fix

17 years agoMinor typo in italian.lang
Giuseppe Bilotta [Sat, 11 Nov 2006 08:55:01 +0000 (08:55 +0000)]
Minor typo in italian.lang

17 years agoSSL support
Giuseppe Bilotta [Wed, 1 Nov 2006 09:54:51 +0000 (09:54 +0000)]
SSL support

17 years agoMake rss feed handle lookup case insensitive
Giuseppe Bilotta [Mon, 30 Oct 2006 17:07:58 +0000 (17:07 +0000)]
Make rss feed handle lookup case insensitive

17 years agoA-Z game
Giuseppe Bilotta [Sat, 28 Oct 2006 13:18:07 +0000 (13:18 +0000)]
A-Z game

17 years agoMove irc_send_penalty method of string in ircsocket.rb, and rework flood control...
Giuseppe Bilotta [Sat, 28 Oct 2006 11:19:46 +0000 (11:19 +0000)]
Move irc_send_penalty method of string in ircsocket.rb, and rework flood control to be more reactive while still preventing excessive flood disconnections

17 years agoThreat works again
Giuseppe Bilotta [Sat, 28 Oct 2006 08:36:50 +0000 (08:36 +0000)]
Threat works again

17 years agosalut now only replies to salutations directed at him, unless salut.address_only...
Giuseppe Bilotta [Sat, 28 Oct 2006 08:28:52 +0000 (08:28 +0000)]
salut now only replies to salutations directed at him, unless salut.address_only is false

17 years agoToo much stuff was being sent with each line, go back to 400 bytes max
Giuseppe Bilotta [Sat, 28 Oct 2006 08:27:01 +0000 (08:27 +0000)]
Too much stuff was being sent with each line, go back to 400 bytes max

17 years agoPenalty-based flood protection
Giuseppe Bilotta [Fri, 27 Oct 2006 14:18:23 +0000 (14:18 +0000)]
Penalty-based flood protection

17 years agoTry to read old language-agnostic lart/praises if language-specific ones are not...
Giuseppe Bilotta [Fri, 27 Oct 2006 11:51:23 +0000 (11:51 +0000)]
Try to read old language-agnostic lart/praises if language-specific ones are not found

17 years agoRework cached? for get_cached replies to prevent warnings about redefined methods
Giuseppe Bilotta [Wed, 25 Oct 2006 22:30:38 +0000 (22:30 +0000)]
Rework cached? for get_cached replies to prevent warnings about redefined methods

17 years agoStrings returned by get_cached now have a cached? method which returns true or false...
Giuseppe Bilotta [Wed, 25 Oct 2006 19:37:00 +0000 (19:37 +0000)]
Strings returned by get_cached now have a cached? method which returns true or false depending on whether the result was taken from the cache or not.

17 years agotemplate directory cleanup: with the new auth, levels and users files are not needed...
Giuseppe Bilotta [Wed, 25 Oct 2006 19:25:00 +0000 (19:25 +0000)]
template directory cleanup: with the new auth, levels and users files are not needed anymore

17 years agonew weather plugin that uses weatherunderground.com mobile interface. can be called...
Giuseppe Bilotta [Wed, 25 Oct 2006 16:12:20 +0000 (16:12 +0000)]
new weather plugin that uses weatherunderground.com mobile interface. can be called with station code or location. doesn't remember last location (yet)

17 years agoRenamen demauro to dict, add chambers dictionary
Giuseppe Bilotta [Wed, 25 Oct 2006 14:07:43 +0000 (14:07 +0000)]
Renamen demauro to dict, add chambers dictionary

17 years agoAdd support for British English via Oxford
Giuseppe Bilotta [Wed, 25 Oct 2006 13:43:01 +0000 (13:43 +0000)]
Add support for British English via Oxford

17 years agodemauro plugin: add some introductory comment
Giuseppe Bilotta [Wed, 25 Oct 2006 13:19:51 +0000 (13:19 +0000)]
demauro plugin: add some introductory comment

17 years agodemauro plugin: add is_italian? method (for use by other plugins)
Giuseppe Bilotta [Wed, 25 Oct 2006 13:19:22 +0000 (13:19 +0000)]
demauro plugin: add is_italian? method (for use by other plugins)

17 years agoWhen contacted in private, quiz plugin now uses 'private' as a key instead of its...
Giuseppe Bilotta [Wed, 25 Oct 2006 07:53:47 +0000 (07:53 +0000)]
When contacted in private, quiz plugin now uses 'private' as a key instead of its nick as it did before. This ensure consistent scoring even when the bot changes nick

17 years agoMinor quiz cleanups
Giuseppe Bilotta [Wed, 25 Oct 2006 06:58:47 +0000 (06:58 +0000)]
Minor quiz cleanups

17 years agoDon't change the default headers setting the headers for the HEAD request when checki...
Giuseppe Bilotta [Tue, 24 Oct 2006 19:15:14 +0000 (19:15 +0000)]
Don't change the default headers setting the headers for the HEAD request when checking expiration

17 years agoInitial implementation of proper caching based on last-modified and etag HTTP headers
Giuseppe Bilotta [Tue, 24 Oct 2006 15:24:13 +0000 (15:24 +0000)]
Initial implementation of proper caching based on last-modified and etag HTTP headers

17 years agoSupport basic_auth in httputil get and head methods
Giuseppe Bilotta [Tue, 24 Oct 2006 00:14:54 +0000 (00:14 +0000)]
Support basic_auth in httputil get and head methods

17 years agoWhitespace cleanup in url.rb
Giuseppe Bilotta [Tue, 24 Oct 2006 00:12:55 +0000 (00:12 +0000)]
Whitespace cleanup in url.rb

17 years agoTrap a possible exception when getting URL titles, even though nothing is actually...
Giuseppe Bilotta [Tue, 24 Oct 2006 00:12:23 +0000 (00:12 +0000)]
Trap a possible exception when getting URL titles, even though nothing is actually done to handle it

17 years agokeyword plugin whitespace cleanup and implement --from option in keyword search when...
Giuseppe Bilotta [Mon, 23 Oct 2006 23:22:50 +0000 (23:22 +0000)]
keyword plugin whitespace cleanup and implement --from option in keyword search when you want more results than the first keyword.search_resuts

17 years agoUpdate REQUIREMENTS
Giuseppe Bilotta [Mon, 23 Oct 2006 22:37:10 +0000 (22:37 +0000)]
Update REQUIREMENTS

17 years agoMake rubyurl more strict about URLs to be shortened
Giuseppe Bilotta [Mon, 23 Oct 2006 22:27:53 +0000 (22:27 +0000)]
Make rubyurl more strict about URLs to be shortened

17 years agoDon't require rubygems for rubyurl
Giuseppe Bilotta [Mon, 23 Oct 2006 21:59:59 +0000 (21:59 +0000)]
Don't require rubygems for rubyurl

17 years agoMake sure the bot doesn't tell to itself
Giuseppe Bilotta [Mon, 23 Oct 2006 21:21:03 +0000 (21:21 +0000)]
Make sure the bot doesn't tell to itself

17 years agostupid typo in keywords forget
Giuseppe Bilotta [Mon, 23 Oct 2006 21:16:26 +0000 (21:16 +0000)]
stupid typo in keywords forget

17 years agoRoulette plugin now allows spinning the cylinder, with an option to automatically...
Giuseppe Bilotta [Mon, 23 Oct 2006 20:25:23 +0000 (20:25 +0000)]
Roulette plugin now allows spinning the cylinder, with an option to automatically do it at the butlast shot (defaults to true); the bot can also kick shot players (defaults to false)

17 years agoFix targmax/maxtargets handling
Giuseppe Bilotta [Mon, 23 Oct 2006 15:00:05 +0000 (15:00 +0000)]
Fix targmax/maxtargets handling

17 years agodice plugin now acts on 'roll' too, and it uses the nickreply method. Fix ticket #66
Giuseppe Bilotta [Fri, 20 Oct 2006 00:15:51 +0000 (00:15 +0000)]
dice plugin now acts on 'roll' too, and it uses the nickreply method. Fix ticket #66

17 years agoImprove launch_here script with the suggestions from ticket #112
Giuseppe Bilotta [Thu, 19 Oct 2006 23:55:23 +0000 (23:55 +0000)]
Improve launch_here script with the suggestions from ticket #112

17 years agoUpdate threat plugin to new DHS site layout, and make it more robust
Giuseppe Bilotta [Thu, 19 Oct 2006 21:52:10 +0000 (21:52 +0000)]
Update threat plugin to new DHS site layout, and make it more robust

17 years agoFix redirection in httputil.get when location is only a partial/realtive url
Giuseppe Bilotta [Thu, 19 Oct 2006 21:47:40 +0000 (21:47 +0000)]
Fix redirection in httputil.get when location is only a partial/realtive url

17 years agoOnly show 1 RSS item when 1 RSS item is asked
Giuseppe Bilotta [Wed, 18 Oct 2006 22:58:31 +0000 (22:58 +0000)]
Only show 1 RSS item when 1 RSS item is asked

17 years agoFix the no-date bug the right way
Giuseppe Bilotta [Wed, 18 Oct 2006 22:40:59 +0000 (22:40 +0000)]
Fix the no-date bug the right way

17 years agoMinor aesthetical fixup
Giuseppe Bilotta [Wed, 18 Oct 2006 22:17:59 +0000 (22:17 +0000)]
Minor aesthetical fixup

17 years agoFix an issue with RSS feeds having no itemDate
Giuseppe Bilotta [Wed, 18 Oct 2006 22:17:42 +0000 (22:17 +0000)]
Fix an issue with RSS feeds having no itemDate

17 years agoHopefully made the babelfish plugin a bit more robust
Alexander Beisig [Tue, 17 Oct 2006 11:44:57 +0000 (11:44 +0000)]
Hopefully made the babelfish plugin a bit more robust

17 years agosalut plugin: handles multi-lingual salutations (hello/goodbye)
Giuseppe Bilotta [Tue, 17 Oct 2006 11:25:09 +0000 (11:25 +0000)]
salut plugin: handles multi-lingual salutations (hello/goodbye)

17 years agoSafe-save tempfiles are now created in a botclass-local directory, because atomic...
Giuseppe Bilotta [Sun, 15 Oct 2006 21:09:43 +0000 (21:09 +0000)]
Safe-save tempfiles are now created in a botclass-local directory, because atomic renaming only works within a filesystem

17 years agoUse the new Utils.safe_save to save quotefiles and larts/praises. Also adapt quotes...
Giuseppe Bilotta [Sun, 15 Oct 2006 20:39:55 +0000 (20:39 +0000)]
Use the new Utils.safe_save to save quotefiles and larts/praises. Also adapt quotes plugin to the new Irc framework

17 years agoUtils.safe_save does a 'safe' saving (save to tempfile, move tempfile to new location)
Giuseppe Bilotta [Sun, 15 Oct 2006 20:38:25 +0000 (20:38 +0000)]
Utils.safe_save does a 'safe' saving (save to tempfile, move tempfile to new location)

17 years agoDocument the new language stuff
Giuseppe Bilotta [Sun, 15 Oct 2006 19:53:44 +0000 (19:53 +0000)]
Document the new language stuff

17 years agoSome italian larts/praises
Giuseppe Bilotta [Sun, 15 Oct 2006 19:48:49 +0000 (19:48 +0000)]
Some italian larts/praises

17 years agoMake the lart plugin use language-specific lart/praises
Giuseppe Bilotta [Sun, 15 Oct 2006 19:36:36 +0000 (19:36 +0000)]
Make the lart plugin use language-specific lart/praises

17 years agoAllow plugins to do things when the language is changed. Will be used e.g. by lart...
Giuseppe Bilotta [Sun, 15 Oct 2006 19:34:58 +0000 (19:34 +0000)]
Allow plugins to do things when the language is changed. Will be used e.g. by lart to use language-specific lart files

17 years agoBetter flood control
Giuseppe Bilotta [Sun, 15 Oct 2006 17:01:11 +0000 (17:01 +0000)]
Better flood control

17 years agoautorejoin after a random time between 0 and 10, instead of fixed 10
Giuseppe Bilotta [Sun, 15 Oct 2006 13:40:54 +0000 (13:40 +0000)]
autorejoin after a random time between 0 and 10, instead of fixed 10

17 years agoMore italian.lang stuff
Giuseppe Bilotta [Sun, 15 Oct 2006 13:36:01 +0000 (13:36 +0000)]
More italian.lang stuff

17 years agoAdd italian language translations
Giuseppe Bilotta [Sun, 15 Oct 2006 13:32:25 +0000 (13:32 +0000)]
Add italian language translations

17 years agoWhen searching Wikipedia, strip 'Wikipedia, the free encyclopedia' from titles
Giuseppe Bilotta [Sun, 15 Oct 2006 11:18:26 +0000 (11:18 +0000)]
When searching Wikipedia, strip 'Wikipedia, the free encyclopedia' from titles

17 years agoRefine urban plugin output with bold, reverse and underline. If it's too much, we...
Giuseppe Bilotta [Sun, 15 Oct 2006 08:12:59 +0000 (08:12 +0000)]
Refine urban plugin output with bold, reverse and underline. If it's too much, we'll spartanize.

17 years agoTotally reworked urban dictionary plugin to use WAP. Much faster, much cleaner, doesn...
Giuseppe Bilotta [Sun, 15 Oct 2006 01:07:05 +0000 (01:07 +0000)]
Totally reworked urban dictionary plugin to use WAP. Much faster, much cleaner, doesn't need any fancy package

17 years agoAdd Wikipedia searching to the search plugin
Giuseppe Bilotta [Sat, 14 Oct 2006 14:00:06 +0000 (14:00 +0000)]
Add Wikipedia searching to the search plugin

17 years agoRename google plugin back to search in preparation for wikipedia support
Giuseppe Bilotta [Sat, 14 Oct 2006 13:16:37 +0000 (13:16 +0000)]
Rename google plugin back to search in preparation for wikipedia support

17 years agoTake advantage of Google WAP/WML interface
Giuseppe Bilotta [Sat, 14 Oct 2006 13:12:59 +0000 (13:12 +0000)]
Take advantage of Google WAP/WML interface

17 years agoMinor tuning for demauro
Giuseppe Bilotta [Sat, 14 Oct 2006 13:12:17 +0000 (13:12 +0000)]
Minor tuning for demauro

17 years agoMake use of Utils.decode_html_entities
Giuseppe Bilotta [Sat, 14 Oct 2006 13:11:49 +0000 (13:11 +0000)]
Make use of Utils.decode_html_entities

17 years agoCreate Utils.decode_html_entities, inspired from equivalent code in the url plugin...
Giuseppe Bilotta [Sat, 14 Oct 2006 13:11:02 +0000 (13:11 +0000)]
Create Utils.decode_html_entities, inspired from equivalent code in the url plugin, can now be used by everybody. Can make use of the htmlentities ruby package, if found

17 years agoUpdate demauro plugin to use the WAP interface: much better, much faster
Giuseppe Bilotta [Sat, 14 Oct 2006 10:02:43 +0000 (10:02 +0000)]
Update demauro plugin to use the WAP interface: much better, much faster

17 years agoFine tune url plugin
Giuseppe Bilotta [Fri, 13 Oct 2006 22:52:36 +0000 (22:52 +0000)]
Fine tune url plugin

17 years agoMinor tweaks to httputil: make last response available in @last_resp for get and...
Giuseppe Bilotta [Fri, 13 Oct 2006 22:30:01 +0000 (22:30 +0000)]
Minor tweaks to httputil: make last response available in @last_resp for get and head methods when they return nil

17 years agoExtended the opme plugin into a more general op plugin. Functionality is the same...
Mark Kretschmann [Tue, 10 Oct 2006 18:26:02 +0000 (18:26 +0000)]
Extended the opme plugin into a more general op plugin. Functionality is the same, but you can additionally op someone else. The old opme command was also kept for backwards compatibility.

17 years agoFix help (one more time)
Giuseppe Bilotta [Mon, 2 Oct 2006 09:02:17 +0000 (09:02 +0000)]
Fix help (one more time)

17 years agoUsage wants a parameter
Giuseppe Bilotta [Mon, 2 Oct 2006 08:56:58 +0000 (08:56 +0000)]
Usage wants a parameter

17 years agoClean up botmodule loading and command parsing and delegating. Restore hash-like...
Giuseppe Bilotta [Mon, 25 Sep 2006 23:12:56 +0000 (23:12 +0000)]
Clean up botmodule loading and command parsing and delegating. Restore hash-like behaviour for the plugin manager, so that @bot.plugins['name'] returns the botmodule with the given name