]>
git.netwichtig.de Git - user/henk/code/ruby/rbot.git/log
Giuseppe Bilotta [Thu, 13 Dec 2007 10:48:13 +0000 (10:48 +0000)]
auth: adjust some permissions
Giuseppe Bilotta [Thu, 13 Dec 2007 10:47:29 +0000 (10:47 +0000)]
messagemapper: fix set_auth_path() logic
Giuseppe Bilotta [Thu, 13 Dec 2007 10:34:49 +0000 (10:34 +0000)]
auth: 'permission search' command to look up the full_auth_path of commands
Giuseppe Bilotta [Thu, 13 Dec 2007 10:34:04 +0000 (10:34 +0000)]
plugins: register maps with full information accessible via @bot.plugins.maps
Giuseppe Bilotta [Thu, 13 Dec 2007 10:33:19 +0000 (10:33 +0000)]
plugins: refactor common code in #map() and #map!() to auxiliary #do_map() method
Giuseppe Bilotta [Tue, 11 Dec 2007 22:08:29 +0000 (22:08 +0000)]
auth: user tell should be in the 'manage' auth path, and thus forbidden by default
Giuseppe Bilotta [Tue, 11 Dec 2007 20:41:39 +0000 (20:41 +0000)]
wheelfortune: wof replace mechanism to fix the category, clue and/or answer of a QA not yet announced
Giuseppe Bilotta [Tue, 11 Dec 2007 20:40:53 +0000 (20:40 +0000)]
wheelfortune: rework replies to QA additions, providing the round number at which the clue will be given
Giuseppe Bilotta [Tue, 11 Dec 2007 12:04:15 +0000 (12:04 +0000)]
wheelfortune: spare one line when announcing
Giuseppe Bilotta [Fri, 7 Dec 2007 22:59:34 +0000 (22:59 +0000)]
maskdb: dup strings for manipulation
Giuseppe Bilotta [Fri, 7 Dec 2007 22:58:49 +0000 (22:58 +0000)]
wheelfortune: start checking permissions
Giuseppe Bilotta [Fri, 7 Dec 2007 19:10:02 +0000 (19:10 +0000)]
wheelfortune: the name of the game chosen by the player is stored for future retrieval
Giuseppe Bilotta [Fri, 7 Dec 2007 19:09:17 +0000 (19:09 +0000)]
userdata: classes with singleton methods are not dumpable. dup the hash before storage
Giuseppe Bilotta [Fri, 7 Dec 2007 19:08:33 +0000 (19:08 +0000)]
wheelfortune: vowels must now be bought
Giuseppe Bilotta [Fri, 7 Dec 2007 13:00:18 +0000 (13:00 +0000)]
New Irc Framework: netmask generalization now takes into consideration AzzurraNet host shadowing
Giuseppe Bilotta [Fri, 7 Dec 2007 12:59:32 +0000 (12:59 +0000)]
wheelfortune: some work on presentation
Giuseppe Bilotta [Fri, 7 Dec 2007 12:58:47 +0000 (12:58 +0000)]
wheelfortune: say when there are no scores
Giuseppe Bilotta [Thu, 6 Dec 2007 23:58:20 +0000 (23:58 +0000)]
wheelfortune: allow the game name to be customized
Giuseppe Bilotta [Thu, 6 Dec 2007 23:46:45 +0000 (23:46 +0000)]
wheelfortune: display round count on cancel
Giuseppe Bilotta [Thu, 6 Dec 2007 15:17:07 +0000 (15:17 +0000)]
wheelfortune: multiple fixes
Giuseppe Bilotta [Thu, 6 Dec 2007 15:16:21 +0000 (15:16 +0000)]
wheelfortune: it's chan, not p[:chan]
Giuseppe Bilotta [Thu, 6 Dec 2007 15:15:37 +0000 (15:15 +0000)]
wheelfortune: Wheel-of-Fortune game plugin. Initial commit
Giuseppe Bilotta [Thu, 6 Dec 2007 14:30:42 +0000 (14:30 +0000)]
debug info to track hard-to-nail bug about disappearing hosts in botuser netmasks
Giuseppe Bilotta [Thu, 6 Dec 2007 14:29:57 +0000 (14:29 +0000)]
auth: don't say stupid things when the password is changed
Giuseppe Bilotta [Thu, 6 Dec 2007 13:06:00 +0000 (13:06 +0000)]
userdata: don't extend the botuser hash to support dotted indices when migrating users
Giuseppe Bilotta [Tue, 4 Dec 2007 20:44:19 +0000 (20:44 +0000)]
rss plugin: display author if present in default format
Giuseppe Bilotta [Tue, 4 Dec 2007 20:27:49 +0000 (20:27 +0000)]
auth core module: improve user destroy semantics
Giuseppe Bilotta [Tue, 4 Dec 2007 15:01:21 +0000 (15:01 +0000)]
userdata: extend userdata hash with DottedIndex access
Giuseppe Bilotta [Tue, 4 Dec 2007 15:00:35 +0000 (15:00 +0000)]
extends: DottedIndex module to extend Hash-like classes for nested dot-separated index access (h['one.key'] is like h[:one][:key] with intermediate hash creation)
Giuseppe Bilotta [Tue, 4 Dec 2007 13:11:03 +0000 (13:11 +0000)]
azgame plugin: whitespace cleanup
Giuseppe Bilotta [Tue, 4 Dec 2007 12:35:02 +0000 (12:35 +0000)]
New Auth Framework: migrate userdata on permification
Giuseppe Bilotta [Tue, 4 Dec 2007 11:34:15 +0000 (11:34 +0000)]
New Auth Framework: migrate userdata on botuser copy/rename
Giuseppe Bilotta [Mon, 3 Dec 2007 23:47:59 +0000 (23:47 +0000)]
New Auth Framework: meet and hello commands to make transient botusers permanent
Giuseppe Bilotta [Mon, 3 Dec 2007 23:47:12 +0000 (23:47 +0000)]
salut plugin: only reply to salutations in unreplied messages
Giuseppe Bilotta [Mon, 3 Dec 2007 23:46:26 +0000 (23:46 +0000)]
New Auth Framework: sanitize botusername ''before'' checking for existence
Giuseppe Bilotta [Mon, 3 Dec 2007 22:03:32 +0000 (22:03 +0000)]
New Auth Framework: trap user editing exceptions
Giuseppe Bilotta [Mon, 3 Dec 2007 21:44:11 +0000 (21:44 +0000)]
New Auth Framework: TypeError, not TypError
Dmitry Kim [Thu, 29 Nov 2007 21:33:50 +0000 (21:33 +0000)]
* (plugins/rss) maintain refresh timeouts through restarts/rescans
Giuseppe Bilotta [Thu, 29 Nov 2007 16:15:19 +0000 (16:15 +0000)]
rss plugin: manageable permissions and defaults
Giuseppe Bilotta [Thu, 29 Nov 2007 14:57:11 +0000 (14:57 +0000)]
rss plugin: calculate item_uid_for_bot() on Atom feeds without breaking
Giuseppe Bilotta [Wed, 28 Nov 2007 23:44:45 +0000 (23:44 +0000)]
rss plugin: help for 'who watches'
Giuseppe Bilotta [Wed, 28 Nov 2007 23:15:29 +0000 (23:15 +0000)]
rss plugin: initial support for Atom feeds (needs Ruby's rss module 0.1.8 or later)
Giuseppe Bilotta [Wed, 28 Nov 2007 22:24:57 +0000 (22:24 +0000)]
karma plugin: skip messages which don't have ++ or -- in them
Yaohan Chen [Mon, 26 Nov 2007 05:15:52 +0000 (05:15 +0000)]
alias.rb:
* show a clear error message when the alias is removed but mapping is not yet
Yaohan Chen [Mon, 26 Nov 2007 04:25:19 +0000 (04:25 +0000)]
alias.rb:
* fix bug in alias checking code which prevented aliases with more than one
parameters
+ reply with error message if mapping alias fails
Dmitry Kim [Sat, 24 Nov 2007 16:29:58 +0000 (16:29 +0000)]
* (plugins/urban) filter urbandictionary suggestion via uniq()
Dmitry Kim [Sat, 24 Nov 2007 16:17:50 +0000 (16:17 +0000)]
* (plugins/urban) CGI.escape -> URI.escape
Dmitry Kim [Sat, 24 Nov 2007 16:09:04 +0000 (16:09 +0000)]
* (plugins/urban) only return 1 answer; other minor improvements
Dmitry Kim [Sat, 24 Nov 2007 12:25:44 +0000 (12:25 +0000)]
* (plugins/urban) route around urbanwap acting smaert wrt IP addresses (back to html scraping)
Yaohan Chen [Fri, 23 Nov 2007 22:20:22 +0000 (22:20 +0000)]
shiritori.rb: use normalize-japanese.rb, if present, to allow katakana
Giuseppe Bilotta [Fri, 23 Nov 2007 21:40:56 +0000 (21:40 +0000)]
twitter plugin: twitter friends status command
Dmitry Kim [Fri, 23 Nov 2007 12:50:14 +0000 (12:50 +0000)]
* (plugins/karma) don't thank for bot karma decrements
Dmitry Kim [Fri, 23 Nov 2007 12:41:05 +0000 (12:41 +0000)]
* (plugins/karma) new, hopefully less broken, karma syntax parser
Yaohan Chen [Thu, 22 Nov 2007 04:32:32 +0000 (04:32 +0000)]
language.rb: add '.UTF-8' to Lang2Locale values to make gettext use UTF-8 on WIN32
Giuseppe Bilotta [Wed, 21 Nov 2007 22:19:26 +0000 (22:19 +0000)]
New IRC Framework: warn, don't raise, on case mismatch
Giuseppe Bilotta [Wed, 21 Nov 2007 22:18:40 +0000 (22:18 +0000)]
factoids plugin: config value for number of search results
Giuseppe Bilotta [Wed, 21 Nov 2007 21:58:17 +0000 (21:58 +0000)]
factoids plugin: an empty trigger_pattern list means any word is a keyword
Giuseppe Bilotta [Wed, 21 Nov 2007 21:48:25 +0000 (21:48 +0000)]
factoids plugin: config option to reply to queries only when addressed
Giuseppe Bilotta [Wed, 21 Nov 2007 21:41:18 +0000 (21:41 +0000)]
factoids plugin: reply when queries match a trigger
Giuseppe Bilotta [Wed, 21 Nov 2007 21:30:22 +0000 (21:30 +0000)]
factoids plugin: scan factoids for query triggers
Giuseppe Bilotta [Wed, 21 Nov 2007 14:53:37 +0000 (14:53 +0000)]
twitter plugin: use the correct time
Yaohan Chen [Sun, 18 Nov 2007 09:50:57 +0000 (09:50 +0000)]
translator.rb: improved help message from translators
Giuseppe Bilotta [Sun, 18 Nov 2007 09:35:40 +0000 (09:35 +0000)]
twitter plugin: fix help
Yaohan Chen [Wed, 14 Nov 2007 09:16:08 +0000 (09:16 +0000)]
translator.rb: use "help <translator>" instead of "help translator <translator>" to show
translator information
Giuseppe Bilotta [Thu, 8 Nov 2007 23:59:26 +0000 (23:59 +0000)]
weather plugin: properly support multiple US and non-US stations
Giuseppe Bilotta [Thu, 8 Nov 2007 23:58:39 +0000 (23:58 +0000)]
weather plugin: refactor HTML cleanup code
Giuseppe Bilotta [Thu, 8 Nov 2007 23:57:53 +0000 (23:57 +0000)]
weather plugin: fix detection of weather page
Giuseppe Bilotta [Thu, 8 Nov 2007 23:06:27 +0000 (23:06 +0000)]
weather plugin: fix 163
Yaohan Chen [Thu, 8 Nov 2007 07:21:22 +0000 (07:21 +0000)]
alias.rb: revert previous commit about creating path since mkdir_p only creates
directory if it does not exist
Giuseppe Bilotta [Wed, 7 Nov 2007 19:00:38 +0000 (19:00 +0000)]
rbot should default to the debug level used by ruby
Giuseppe Bilotta [Wed, 7 Nov 2007 18:30:22 +0000 (18:30 +0000)]
alias plugin: don't create data path if it already exists
Giuseppe Bilotta [Wed, 7 Nov 2007 18:29:36 +0000 (18:29 +0000)]
lart plugin: fix listlart/praise logic
Giuseppe Bilotta [Tue, 6 Nov 2007 22:39:57 +0000 (22:39 +0000)]
Improved inspect methods all around
Giuseppe Bilotta [Tue, 6 Nov 2007 22:39:10 +0000 (22:39 +0000)]
New Irc Framework: methods to convert channel user modes (op, voice, etc) from mode (o, v, ...) to prefix (@, +, ...) and back
Giuseppe Bilotta [Tue, 6 Nov 2007 13:19:39 +0000 (13:19 +0000)]
New Irc Framework: fix channel creation when topic=nil
Giuseppe Bilotta [Mon, 5 Nov 2007 17:03:32 +0000 (17:03 +0000)]
factoids plugin: echo the newly learned fact
Giuseppe Bilotta [Mon, 5 Nov 2007 17:02:47 +0000 (17:02 +0000)]
factoids plugin: tell the user the index of the fact when refusing to learn something we know already
Yaohan Chen [Mon, 5 Nov 2007 15:32:13 +0000 (15:32 +0000)]
translator.rb: display translation provider when it's chosen automatically
Yaohan Chen [Mon, 5 Nov 2007 04:13:32 +0000 (04:13 +0000)]
alias.rb: help message for aliases show alias definitions
Giuseppe Bilotta [Sun, 4 Nov 2007 23:06:37 +0000 (23:06 +0000)]
factoids plugin: no need to prepend 'learnt' to metadata
Giuseppe Bilotta [Sun, 4 Nov 2007 21:51:49 +0000 (21:51 +0000)]
keywords plugin: keyword wipe command to remove unforgettable keywords
Giuseppe Bilotta [Sun, 4 Nov 2007 20:37:02 +0000 (20:37 +0000)]
factoids plugin: actually output metadata in long form of Factoid#to_s
Giuseppe Bilotta [Sun, 4 Nov 2007 20:02:18 +0000 (20:02 +0000)]
keywords plugin: simpler forget code
Giuseppe Bilotta [Sun, 4 Nov 2007 19:49:01 +0000 (19:49 +0000)]
keywords plugin: inform the user when a keyword couldn't be deleted because it wasn't found
Giuseppe Bilotta [Sun, 4 Nov 2007 15:14:21 +0000 (15:14 +0000)]
factoids plugin: command to forget a fact by index rather than text
Giuseppe Bilotta [Sun, 4 Nov 2007 15:13:35 +0000 (15:13 +0000)]
factoids plugin: display (selected, random) multiple facts in a single line, but in long form
Giuseppe Bilotta [Sun, 4 Nov 2007 15:12:43 +0000 (15:12 +0000)]
factoids plugin: move meta display into Factoid#to_s
Giuseppe Bilotta [Sun, 4 Nov 2007 15:11:55 +0000 (15:11 +0000)]
factoids plugin: display multiple facts one per line, but only a limited number of them
Giuseppe Bilotta [Sun, 4 Nov 2007 15:11:09 +0000 (15:11 +0000)]
extends: Arraydata/rbot/plugins/factoids.rbdelete_one to remove a random element from an array
Giuseppe Bilotta [Sun, 4 Nov 2007 15:10:23 +0000 (15:10 +0000)]
factoids plugin: mark factoids as changed after factfile import
Giuseppe Bilotta [Sun, 4 Nov 2007 14:03:26 +0000 (14:03 +0000)]
factoids plugin: factfile import
Giuseppe Bilotta [Sun, 4 Nov 2007 14:02:36 +0000 (14:02 +0000)]
factoids plugin: ensure that edited metadata is properly saved, and check for parseable dates
Giuseppe Bilotta [Sun, 4 Nov 2007 12:19:56 +0000 (12:19 +0000)]
factoids plugin: fact metadata editing
Giuseppe Bilotta [Sun, 4 Nov 2007 12:19:11 +0000 (12:19 +0000)]
factoids plugin: output fact numbers prefixed by a pound sign (#), and accept it in index parameter
Giuseppe Bilotta [Sun, 4 Nov 2007 12:18:27 +0000 (12:18 +0000)]
factoids plugin: tell fact metadata, if present
Giuseppe Bilotta [Sun, 4 Nov 2007 12:17:41 +0000 (12:17 +0000)]
factoids plugin: retrieve fact by index
Giuseppe Bilotta [Sun, 4 Nov 2007 12:16:56 +0000 (12:16 +0000)]
factoids plugin: default auth_path for fact editing
Giuseppe Bilotta [Sun, 4 Nov 2007 01:38:28 +0000 (01:38 +0000)]
keywords plugin: when exporting to factoids, split at ' or '
Giuseppe Bilotta [Sun, 4 Nov 2007 01:24:06 +0000 (01:24 +0000)]
factoids plugin: fact command (get a random fact). Remove fact command from chucknorris plugin
Giuseppe Bilotta [Sun, 4 Nov 2007 01:23:21 +0000 (01:23 +0000)]
factoids plugin: Factoid and FactoidList classes