]>
git.netwichtig.de Git - user/henk/code/ruby/rbot.git/log
Giuseppe Bilotta [Wed, 7 Mar 2007 21:15:05 +0000 (21:15 +0000)]
quiz plugin: don't crash when the answer is entirely made of sepators
Giuseppe Bilotta [Mon, 5 Mar 2007 22:58:10 +0000 (22:58 +0000)]
autorejoin plugin: insult on rejoin now optional
Giuseppe Bilotta [Mon, 5 Mar 2007 22:45:10 +0000 (22:45 +0000)]
quiz plugin: new cleanup command to remove players with 0 points and 0 jokers
Giuseppe Bilotta [Mon, 5 Mar 2007 21:59:51 +0000 (21:59 +0000)]
Previous commit wasn't that good, too restrictive. Relax, and differentiate between user id and mask
Giuseppe Bilotta [Mon, 5 Mar 2007 09:47:01 +0000 (09:47 +0000)]
Rework netmask/hostname detection code to work around non-RFC-compliant servers
Giuseppe Bilotta [Sat, 24 Feb 2007 11:26:59 +0000 (11:26 +0000)]
Try to give a meaningful quit message when quitting because of problems
Giuseppe Bilotta [Fri, 23 Feb 2007 21:34:02 +0000 (21:34 +0000)]
Utils.secs_to_string now convert seconds to integers instead of displaying ridiculously long floating values
Giuseppe Bilotta [Tue, 20 Feb 2007 23:02:35 +0000 (23:02 +0000)]
Use ASCII KCODE to prevent problems like missing characters or matching failures when clients send messages in something else than UTF-8
Giuseppe Bilotta [Tue, 20 Feb 2007 23:01:14 +0000 (23:01 +0000)]
Minor message optimizations
Giuseppe Bilotta [Tue, 20 Feb 2007 10:55:28 +0000 (10:55 +0000)]
shiritori plugin, thanks to hagabaka
Giuseppe Bilotta [Tue, 20 Feb 2007 08:46:00 +0000 (08:46 +0000)]
New IRC Framework: bot now keeps track of his nick correctly across disconnects
Giuseppe Bilotta [Tue, 20 Feb 2007 08:19:03 +0000 (08:19 +0000)]
remind plugin: fix for repeated reminders failing after [717].
Giuseppe Bilotta [Tue, 20 Feb 2007 08:15:59 +0000 (08:15 +0000)]
Fix timer handling when Actions raise errors
Giuseppe Bilotta [Sun, 18 Feb 2007 21:03:26 +0000 (21:03 +0000)]
Initial steps towards a namespace rationalization
Giuseppe Bilotta [Sun, 18 Feb 2007 21:01:39 +0000 (21:01 +0000)]
nickserv plugin: previous commit had a line wrong
Giuseppe Bilotta [Sun, 18 Feb 2007 20:44:40 +0000 (20:44 +0000)]
nickserv plugin: export information on current identification status
Giuseppe Bilotta [Sun, 18 Feb 2007 14:27:43 +0000 (14:27 +0000)]
Plugin header boilerplating.
New plugin.header file provided, to be used as model for the header of new plugins. Many existing plugins have been adjusted to provide the same info the same way. I might have misplaced some information, so please let me know if this is the case.
Also augmented a couple of copyright notices to include the 'rbot development team' alongside Tom Gilbert.
Giuseppe Bilotta [Sun, 18 Feb 2007 11:11:44 +0000 (11:11 +0000)]
nickserv plugin: better nickname recovery handling
Giuseppe Bilotta [Sun, 18 Feb 2007 10:51:43 +0000 (10:51 +0000)]
Minor optimization to Auth.random_password
Giuseppe Bilotta [Sun, 18 Feb 2007 10:10:17 +0000 (10:10 +0000)]
More fixes for nickname handling on connection
Giuseppe Bilotta [Sun, 18 Feb 2007 09:14:34 +0000 (09:14 +0000)]
basics: respond to public pings too (i.e. to /ping lib/rbot/rfc2812.rbchannel)
Giuseppe Bilotta [Sat, 17 Feb 2007 13:44:52 +0000 (13:44 +0000)]
New IRC Framework: optimize processing of server messages by using Symbols instead of Strings, and try a better fix for mismatching nicks on Welcome messages
Giuseppe Bilotta [Sat, 17 Feb 2007 13:24:17 +0000 (13:24 +0000)]
New IRC Framework: fix initial handling and guessing of nick/user/host for the bot on connection
Giuseppe Bilotta [Sat, 17 Feb 2007 10:28:42 +0000 (10:28 +0000)]
bans plugin: fix badword regular expression creation
Giuseppe Bilotta [Fri, 16 Feb 2007 20:50:08 +0000 (20:50 +0000)]
quiz plugin: remove debug stuff
Giuseppe Bilotta [Fri, 16 Feb 2007 20:49:30 +0000 (20:49 +0000)]
quiz plugin: sometimes cmd_hint was not busting even when it should have
Chris Gahan [Fri, 16 Feb 2007 06:28:21 +0000 (06:28 +0000)]
* Fixed roshambo (the bot would always tie if it picked scissors)
* Fixed figlet (if you didn't have the font "rectangles", it wouldn't work)
Giuseppe Bilotta [Fri, 16 Feb 2007 00:14:23 +0000 (00:14 +0000)]
keywords plugin: more fixes to 'reply-on-question' code
Giuseppe Bilotta [Thu, 15 Feb 2007 23:40:54 +0000 (23:40 +0000)]
autoop plugin: auto-opping on nick change can now be disabled
Giuseppe Bilotta [Thu, 15 Feb 2007 23:31:41 +0000 (23:31 +0000)]
remind plugin: one-shot reminders gave a reminder time with an extra period added. Remove it, and add some minor optimizations
Giuseppe Bilotta [Thu, 15 Feb 2007 17:24:52 +0000 (17:24 +0000)]
Regexp: IP address regexps where missing an octet
Giuseppe Bilotta [Thu, 15 Feb 2007 16:00:09 +0000 (16:00 +0000)]
More Regexp madness. Fixes, optimizations, and a new method to parse channel lists
Giuseppe Bilotta [Thu, 15 Feb 2007 13:58:15 +0000 (13:58 +0000)]
New unreplied() method for plugins that want to handle PRIVMSGs unreplied by any other plugin. Use it in the keywords plugin
Giuseppe Bilotta [Thu, 15 Feb 2007 12:58:34 +0000 (12:58 +0000)]
autoop plugin: make it work again when no channel is specified
Giuseppe Bilotta [Thu, 15 Feb 2007 12:47:50 +0000 (12:47 +0000)]
More minor plugin optimizations
Giuseppe Bilotta [Thu, 15 Feb 2007 12:41:45 +0000 (12:41 +0000)]
Start implementing common regular expressions to be used by plugin map() requirements
Giuseppe Bilotta [Thu, 15 Feb 2007 11:05:02 +0000 (11:05 +0000)]
New IRC Framework: set default capabilities to RFC's values
Giuseppe Bilotta [Thu, 15 Feb 2007 00:30:32 +0000 (00:30 +0000)]
Allow all printable 7-bit ASCII characters in passwords
Giuseppe Bilotta [Thu, 15 Feb 2007 00:11:17 +0000 (00:11 +0000)]
Stringify password when creating botuser. Useful when e.g. conf.yaml contains a master password which is numeric and unquoted
Giuseppe Bilotta [Wed, 14 Feb 2007 22:04:38 +0000 (22:04 +0000)]
Reset configuration changed status after saving successfully
Giuseppe Bilotta [Wed, 14 Feb 2007 22:00:08 +0000 (22:00 +0000)]
Modernize/optimize/cleanup a bunch of plugins
Remove some unnecessary plugin.register() calls, replace other by plugin.map() calls.
Also use e.g. Array#pick_one instead of ar[rand(ar.length)]
Giuseppe Bilotta [Wed, 14 Feb 2007 20:01:24 +0000 (20:01 +0000)]
shortenurls plugin, merging tinyurl and rubyurl and adding access to most of ShortURL's services
Giuseppe Bilotta [Wed, 14 Feb 2007 15:29:11 +0000 (15:29 +0000)]
Only save config file when configuration changed
Giuseppe Bilotta [Wed, 14 Feb 2007 15:22:33 +0000 (15:22 +0000)]
lart pluing: use plugin.map instead of plugin.register
Giuseppe Bilotta [Wed, 14 Feb 2007 15:22:02 +0000 (15:22 +0000)]
Make message map regexps less aggressive
Giuseppe Bilotta [Wed, 14 Feb 2007 12:30:58 +0000 (12:30 +0000)]
Try to fail more graciously when net/https is not loadable (usually because of missing Ruby/OpenSSL bindings)
Giuseppe Bilotta [Wed, 14 Feb 2007 09:42:19 +0000 (09:42 +0000)]
Really minor typo in previous commit
Giuseppe Bilotta [Wed, 14 Feb 2007 09:41:44 +0000 (09:41 +0000)]
New Irc Framework: fix default channel modes prefixes for users
Giuseppe Bilotta [Wed, 14 Feb 2007 09:28:29 +0000 (09:28 +0000)]
New Irc Framework: fix bug in debug message causing failures
Giuseppe Bilotta [Tue, 13 Feb 2007 17:38:12 +0000 (17:38 +0000)]
quiz plugin: quiz refresh command to refresh the question pool for the current channel
Giuseppe Bilotta [Tue, 13 Feb 2007 15:55:40 +0000 (15:55 +0000)]
quiz plugin: QuizAnswer class to wrap quiz answers, including information about core, being numeric and whatnot
Giuseppe Bilotta [Tue, 13 Feb 2007 15:04:45 +0000 (15:04 +0000)]
quiz plugin: multiple answers allowed per questions, patch from Yaohan Chen, with minor fixes and optimizations added by yours truly
Giuseppe Bilotta [Mon, 12 Feb 2007 23:20:00 +0000 (23:20 +0000)]
Remote Service Provider: increase security by preventing a malicious client from accessing the @bot instance variable
Giuseppe Bilotta [Mon, 12 Feb 2007 21:04:48 +0000 (21:04 +0000)]
Remote Service Provider: implement auth control for remote clients. They can now login using 'remote login :username :password' to obtain a session_id that will identify them for subsequent connections
Giuseppe Bilotta [Mon, 12 Feb 2007 16:08:49 +0000 (16:08 +0000)]
Remote Service Provider now functional, although it lacks remote client auth/id
Giuseppe Bilotta [Mon, 12 Feb 2007 12:22:27 +0000 (12:22 +0000)]
Fix casemap/server mismatch problems when moving the bots between servers with different casemaps
Giuseppe Bilotta [Mon, 12 Feb 2007 01:18:39 +0000 (01:18 +0000)]
quiz plugin: more UTF-8 workarounds while we wait for Ruby 2.0
Giuseppe Bilotta [Mon, 12 Feb 2007 01:03:16 +0000 (01:03 +0000)]
Initial work on a DRb-based remote service for rbot. Thanks to halorgium for the idea
Giuseppe Bilotta [Sun, 11 Feb 2007 17:27:55 +0000 (17:27 +0000)]
MessageMapper: documentation cleanup, and Template enhancements (they now remeber which botmodule they were registered for)
Giuseppe Bilotta [Sun, 11 Feb 2007 14:52:05 +0000 (14:52 +0000)]
Minor messagemapper optimizations
Giuseppe Bilotta [Sun, 11 Feb 2007 10:34:43 +0000 (10:34 +0000)]
quiz plugin: initial support for unicode (UTF-8) answers
Giuseppe Bilotta [Sun, 11 Feb 2007 09:23:12 +0000 (09:23 +0000)]
Start work on preferring size to length: it's the same for arrays, and will be more correct in most cases when proper support for multibyte strings will be implemented (via package or because of ruby 2)
Giuseppe Bilotta [Sat, 10 Feb 2007 11:05:51 +0000 (11:05 +0000)]
rss plugin: spam log less
Giuseppe Bilotta [Sat, 10 Feb 2007 10:51:58 +0000 (10:51 +0000)]
markov plugin: upgrade ignores to new IRC framework
Giuseppe Bilotta [Sat, 10 Feb 2007 10:06:05 +0000 (10:06 +0000)]
Preserve safe save dir across rescans
Giuseppe Bilotta [Sat, 10 Feb 2007 09:59:15 +0000 (09:59 +0000)]
Handle server connections (e.g. through a bip proxy) that do not use the full user hostmask as a prefix of user messages
Giuseppe Bilotta [Sat, 10 Feb 2007 09:04:55 +0000 (09:04 +0000)]
No we aren't. Fix devoiceme. Thanks Kamu
Giuseppe Bilotta [Sat, 10 Feb 2007 08:58:54 +0000 (08:58 +0000)]
Ahem. Rename usermodes plugin to modes plugin :D. Are we done with this yet?
Giuseppe Bilotta [Sat, 10 Feb 2007 08:56:43 +0000 (08:56 +0000)]
Rename op plugin to usermodes
Giuseppe Bilotta [Sat, 10 Feb 2007 08:56:19 +0000 (08:56 +0000)]
op plugin: fix hop and add voice
Giuseppe Bilotta [Sat, 10 Feb 2007 08:46:45 +0000 (08:46 +0000)]
op plugin: add half-op commands (hop). Also, previous contribution was miscredited: submitter was Kamu
Giuseppe Bilotta [Sat, 10 Feb 2007 08:40:02 +0000 (08:40 +0000)]
op plugin: also provide a deop command. Thanks to Yaohan Chen
Giuseppe Bilotta [Sat, 10 Feb 2007 08:30:11 +0000 (08:30 +0000)]
quiz plugin: online and on-disk sources can now be customized
Giuseppe Bilotta [Thu, 8 Feb 2007 12:35:55 +0000 (12:35 +0000)]
rss plugin: rss watch improvements: can now specify the channel when creating or deleting a watch, and can also list all channels watching any feed
Giuseppe Bilotta [Thu, 8 Feb 2007 11:12:54 +0000 (11:12 +0000)]
Message mapper: we are ony interested in matching messages that fully agree with the template
Giuseppe Bilotta [Thu, 8 Feb 2007 10:10:15 +0000 (10:10 +0000)]
Japanese language support, thanks to Yaohan Chen
Giuseppe Bilotta [Wed, 7 Feb 2007 22:21:33 +0000 (22:21 +0000)]
Rubify ugly unhilight_nick code
Giuseppe Bilotta [Wed, 7 Feb 2007 21:39:12 +0000 (21:39 +0000)]
quiz plugin: dottification of nicks made optional, defaults to true
Giuseppe Bilotta [Wed, 7 Feb 2007 10:35:28 +0000 (10:35 +0000)]
Fix rbot quieting
Giuseppe Bilotta [Tue, 6 Feb 2007 17:36:43 +0000 (17:36 +0000)]
Enhance Utils tools to get first pars, allowing an option to strip an initial part of the paragraphs extracted
Giuseppe Bilotta [Tue, 6 Feb 2007 16:56:27 +0000 (16:56 +0000)]
dict plugin: options to set number of hits and first_pars which will be displayed, similar to the ones found in search
Giuseppe Bilotta [Tue, 6 Feb 2007 16:50:21 +0000 (16:50 +0000)]
Fix IRCification of HTML strings when only whitespace is present between IRC bold/underline code
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
Giuseppe Bilotta [Tue, 6 Feb 2007 15:11:49 +0000 (15:11 +0000)]
Optimizations to ircify_first_html_par
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
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
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
Giuseppe Bilotta [Tue, 6 Feb 2007 11:34:17 +0000 (11:34 +0000)]
Suppress a couple of warnings
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
Giuseppe Bilotta [Tue, 6 Feb 2007 11:11:45 +0000 (11:11 +0000)]
Minor fix for english salutation
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
Giuseppe Bilotta [Tue, 6 Feb 2007 09:57:44 +0000 (09:57 +0000)]
salut plugin: don't respond to salutations when changing the configuration
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
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
Giuseppe Bilotta [Mon, 5 Feb 2007 23:11:41 +0000 (23:11 +0000)]
New IRC Framework: add missing accessors for channel modes
Giuseppe Bilotta [Mon, 5 Feb 2007 20:58:18 +0000 (20:58 +0000)]
Improved Utils.secs_to_string
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
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
Giuseppe Bilotta [Mon, 5 Feb 2007 15:53:54 +0000 (15:53 +0000)]
Fix max_lines handling in new sendmsg code
Giuseppe Bilotta [Mon, 5 Feb 2007 15:27:23 +0000 (15:27 +0000)]
azgame plugin: acceptable strings are defined per-language now