]>
git.netwichtig.de Git - user/henk/code/ruby/rbot.git/log
Giuseppe Bilotta [Tue, 28 Aug 2007 10:58:59 +0000 (10:58 +0000)]
rss plugin: fix watcher rescheduling broken in previous commit
Giuseppe Bilotta [Mon, 27 Aug 2007 22:51:42 +0000 (22:51 +0000)]
rss plugin: prevent deadlock between save and watcher threads.
Since the timer fix in [1035], rescheduling ticks the timer, which could cause the timed saving to trigger while a feed mutex was being held. Fix by moving the feed watcher rescheduling out of the mutex synchronization.
Also move other calculations out to hold the mutex for as little as necessary.
Giuseppe Bilotta [Mon, 27 Aug 2007 22:16:10 +0000 (22:16 +0000)]
GetText: add Config.datadir-based locale search path.
This ensures that locale files are found regardless of rubygems being loaded or not
Giuseppe Bilotta [Mon, 27 Aug 2007 21:47:35 +0000 (21:47 +0000)]
Language.from_locale now checks if the corresponding .lang file exist before returning a language string
Giuseppe Bilotta [Mon, 27 Aug 2007 20:17:58 +0000 (20:17 +0000)]
rss plugin: uncoditionally renew the feed mutexes
Giuseppe Bilotta [Mon, 27 Aug 2007 20:17:56 +0000 (20:17 +0000)]
Call 'super' from the correct place in httputil
Giuseppe Bilotta [Mon, 27 Aug 2007 01:41:31 +0000 (01:41 +0000)]
Show the git version differently
Giuseppe Bilotta [Mon, 27 Aug 2007 01:41:30 +0000 (01:41 +0000)]
When running from a git repository, expose the current git revision
Giuseppe Bilotta [Mon, 27 Aug 2007 01:41:29 +0000 (01:41 +0000)]
Check if the SVN_DIR is actually a git dir, and change accordingly
Giuseppe Bilotta [Sun, 26 Aug 2007 16:46:27 +0000 (16:46 +0000)]
shiritori plugin: suppress warning
Giuseppe Bilotta [Sun, 26 Aug 2007 16:38:34 +0000 (16:38 +0000)]
Only use locale functions when GetText was loaded
Giuseppe Bilotta [Sun, 26 Aug 2007 15:17:52 +0000 (15:17 +0000)]
Call 'super' method from #cleanup() in core modules too
Giuseppe Bilotta [Sun, 26 Aug 2007 15:13:48 +0000 (15:13 +0000)]
Call 'super' method from #cleanup() in all plugins
Giuseppe Bilotta [Sun, 26 Aug 2007 15:09:03 +0000 (15:09 +0000)]
Report plugin loading failues as errors, not as warnings
Giuseppe Bilotta [Sun, 26 Aug 2007 14:32:35 +0000 (14:32 +0000)]
rss plugin: all watchers are now informed of feed updates when anybody asks for the feed to be shown
Giuseppe Bilotta [Sun, 26 Aug 2007 14:30:03 +0000 (14:30 +0000)]
timer: tick when rescheduling
Giuseppe Bilotta [Sun, 26 Aug 2007 08:35:18 +0000 (08:35 +0000)]
Update .po files
Giuseppe Bilotta [Sun, 26 Aug 2007 08:31:41 +0000 (08:31 +0000)]
Missed some warn -> warning conversion
Giuseppe Bilotta [Sun, 26 Aug 2007 08:29:17 +0000 (08:29 +0000)]
auth core module: fix a bug in the permissions set argument parser
Giuseppe Bilotta [Sun, 26 Aug 2007 08:22:42 +0000 (08:22 +0000)]
Use rbot's own warning() command instead of Ruby built-in warn()
Giuseppe Bilotta [Sun, 26 Aug 2007 01:21:51 +0000 (01:21 +0000)]
Update .po files
Giuseppe Bilotta [Sun, 26 Aug 2007 01:16:32 +0000 (01:16 +0000)]
Translate Utils.secs_to_string strings
Giuseppe Bilotta [Sun, 26 Aug 2007 01:09:48 +0000 (01:09 +0000)]
Update .po files
Giuseppe Bilotta [Sun, 26 Aug 2007 01:03:59 +0000 (01:03 +0000)]
gettextize some more strings
Giuseppe Bilotta [Sun, 26 Aug 2007 00:54:24 +0000 (00:54 +0000)]
Remove extra (un)bolding from 'help failed plugins' help text
Giuseppe Bilotta [Sun, 26 Aug 2007 00:48:57 +0000 (00:48 +0000)]
Output gettext textdomain information when setting the language, not when loading the module
Giuseppe Bilotta [Sun, 26 Aug 2007 00:26:46 +0000 (00:26 +0000)]
Sanitize language string by downcasing, and use the sanitized string both for gettext locale and rbot language files. This allows language names such as 'traditional_chinese' to be input as 'Traditional Chinese'
Giuseppe Bilotta [Sun, 26 Aug 2007 00:14:49 +0000 (00:14 +0000)]
Cleaner gettext debug information reporting
Giuseppe Bilotta [Sat, 25 Aug 2007 23:35:34 +0000 (23:35 +0000)]
Try to guess the default language from the locale guessed from GeText
Giuseppe Bilotta [Sat, 25 Aug 2007 23:07:52 +0000 (23:07 +0000)]
Move 'it_IT' locale directory to 'it'
Giuseppe Bilotta [Sat, 25 Aug 2007 23:05:32 +0000 (23:05 +0000)]
gettext support: initial works for language -> locale mappings
Giuseppe Bilotta [Thu, 23 Aug 2007 22:13:08 +0000 (22:13 +0000)]
rss plugin: don't proceed if the specified feed doesn't exist
Giuseppe Bilotta [Thu, 23 Aug 2007 15:55:10 +0000 (15:55 +0000)]
Started italian translation
Giuseppe Bilotta [Thu, 23 Aug 2007 14:33:12 +0000 (14:33 +0000)]
Updated .po files
Giuseppe Bilotta [Thu, 23 Aug 2007 12:37:26 +0000 (12:37 +0000)]
auth core module: misplaced ) prevented gettext replacement
Giuseppe Bilotta [Thu, 23 Aug 2007 12:35:58 +0000 (12:35 +0000)]
New Auth module: keep auth.password and botowner passwords in sync when changing them
Giuseppe Bilotta [Thu, 23 Aug 2007 08:41:06 +0000 (08:41 +0000)]
url plugin: url.display_link_info is now an Integer: the number of links in a line for which info should be displayed
Giuseppe Bilotta [Thu, 23 Aug 2007 08:08:09 +0000 (08:08 +0000)]
config: allow migration from/to Boolean/IntegerValues
Giuseppe Bilotta [Thu, 23 Aug 2007 07:27:32 +0000 (07:27 +0000)]
url plugin: escape stuff before extracting urls
Giuseppe Bilotta [Thu, 23 Aug 2007 06:34:19 +0000 (06:34 +0000)]
url plugin: only consider http(s) urls found by URI.extract()
Giuseppe Bilotta [Wed, 22 Aug 2007 22:45:35 +0000 (22:45 +0000)]
url plugin: jump to fragment when grabbing first par of an url with fragment
Giuseppe Bilotta [Wed, 22 Aug 2007 22:21:37 +0000 (22:21 +0000)]
url plugin: use URI.extract to get urls in a message. Ensures links are properly grabbed, and grabs multiple urls in a line
Giuseppe Bilotta [Wed, 22 Aug 2007 21:52:18 +0000 (21:52 +0000)]
bash plugin: a nick is such only if it's followed by a space
Giuseppe Bilotta [Wed, 22 Aug 2007 20:42:19 +0000 (20:42 +0000)]
New Irc Framework: optimize Channel#has_user?()
Giuseppe Bilotta [Wed, 22 Aug 2007 20:35:28 +0000 (20:35 +0000)]
New Irc Framework: channel add_user was adding users indiscriminately when silent
Giuseppe Bilotta [Wed, 22 Aug 2007 20:14:33 +0000 (20:14 +0000)]
bash plugin: detect (nick) together with <nick> and nick:
Giuseppe Bilotta [Wed, 22 Aug 2007 19:57:59 +0000 (19:57 +0000)]
bash plugin: collapse consecutive lines from the same nick
Dmitry Kim [Tue, 21 Aug 2007 06:15:48 +0000 (06:15 +0000)]
* (ircbot) remove $cl_loglevel undefined warning
Yaohan Chen [Fri, 17 Aug 2007 16:59:23 +0000 (16:59 +0000)]
+ figlet.rb: added figlet.path to make path of the figlet program configurable
Yaohan Chen [Wed, 15 Aug 2007 03:35:52 +0000 (03:35 +0000)]
+ translator.rb: added 'translator' command which automatically picks a translator
for given language pair
Yaohan Chen [Tue, 14 Aug 2007 18:02:04 +0000 (18:02 +0000)]
* fixed incorrect loading logic which could have added entries to @aliases even when they
were invalid
Giuseppe Bilotta [Tue, 14 Aug 2007 17:19:27 +0000 (17:19 +0000)]
search plugin: use single result format when a single hit is found
Dmitry Kim [Sun, 12 Aug 2007 19:55:43 +0000 (19:55 +0000)]
* (ircbot) fatal typo in :badnick handler
Yaohan Chen [Sat, 11 Aug 2007 03:57:13 +0000 (03:57 +0000)]
* translator.rb: use Irc::Utils.bot
Yaohan Chen [Sat, 11 Aug 2007 03:21:38 +0000 (03:21 +0000)]
translator.rb:
+ added WorldLingo translator
+ display translator information in help messages
* refactoring of error handling code
* updated messages
Dmitry Kim [Sat, 11 Aug 2007 02:14:51 +0000 (02:14 +0000)]
* (httputils) docs spelling
Dmitry Kim [Sat, 11 Aug 2007 00:53:29 +0000 (00:53 +0000)]
* (httputils) avoid "method replaced" warning
Dmitry Kim [Fri, 10 Aug 2007 12:53:40 +0000 (12:53 +0000)]
* (httputils) moved encoding/charsets magic into httpres instances from the global class namespace
Dmitry Kim [Fri, 10 Aug 2007 12:52:10 +0000 (12:52 +0000)]
* (plugins/translator) fixed a diagnostic message
Yaohan Chen [Fri, 10 Aug 2007 09:39:17 +0000 (09:39 +0000)]
* alias.rb: fixed precedence error which caused list of aliases be reset on rescan
Yaohan Chen [Fri, 10 Aug 2007 09:30:06 +0000 (09:30 +0000)]
* translator.rb: corrected naming of BabelfishTranslator#do_translate method
Yaohan Chen [Fri, 10 Aug 2007 09:16:23 +0000 (09:16 +0000)]
+ added a translator plugin
* updated messages
Yaohan Chen [Tue, 7 Aug 2007 20:42:22 +0000 (20:42 +0000)]
* use Util.safe_save in alias plugin
* handle corrupt data file in alias plugin
Dmitry Kim [Sun, 5 Aug 2007 22:17:36 +0000 (22:17 +0000)]
* (plugins/url.rb) apply URI.escape to make non-rfc charsets in uri useable
Yaohan Chen [Wed, 1 Aug 2007 04:48:49 +0000 (04:48 +0000)]
* fixed some fuzzy messages
Yaohan Chen [Wed, 1 Aug 2007 04:41:34 +0000 (04:41 +0000)]
* fixed a typo in a message in shiritori
* regenerated messages
Giuseppe Bilotta [Tue, 31 Jul 2007 21:10:43 +0000 (21:10 +0000)]
Store the real_name information from WHO replies
Giuseppe Bilotta [Tue, 31 Jul 2007 21:06:39 +0000 (21:06 +0000)]
New IRC Framework: store a User's real_name
Giuseppe Bilotta [Tue, 31 Jul 2007 21:02:42 +0000 (21:02 +0000)]
New IRC Framework: WHO the channels we join, so that we get as much user information as possible about the user on channel
Giuseppe Bilotta [Tue, 31 Jul 2007 14:18:21 +0000 (14:18 +0000)]
botuser.rb: don't fail when being passed nil instead of an array to load
Giuseppe Bilotta [Sun, 29 Jul 2007 19:10:14 +0000 (19:10 +0000)]
Add missing space in message
Giuseppe Bilotta [Sun, 29 Jul 2007 11:08:32 +0000 (11:08 +0000)]
User mode-checking methods now accept channel names and will try to resolve the corresponding Channel automatically
Giuseppe Bilotta [Thu, 26 Jul 2007 11:23:26 +0000 (11:23 +0000)]
Mode-checking methohds for User too
Giuseppe Bilotta [Thu, 26 Jul 2007 11:11:17 +0000 (11:11 +0000)]
Channel methods to check for user modes, with quickies to check for op and voice
Yaohan Chen [Tue, 24 Jul 2007 22:16:55 +0000 (22:16 +0000)]
* dictclient: adjusted output format
Yaohan Chen [Mon, 23 Jul 2007 19:14:37 +0000 (19:14 +0000)]
* Prevent the alias from including arguments not substituded in command, as a check for
possible incorrect command usage
Yaohan Chen [Mon, 23 Jul 2007 19:02:21 +0000 (19:02 +0000)]
* display installed version when gettext version is unsupported
Yaohan Chen [Mon, 23 Jul 2007 18:59:42 +0000 (18:59 +0000)]
* added Traditioanl Chinese response language file by hlb
Yaohan Chen [Mon, 23 Jul 2007 18:58:16 +0000 (18:58 +0000)]
* added Traditional Chinese po file by hlb
* updated po entries
Yaohan Chen [Mon, 23 Jul 2007 03:46:05 +0000 (03:46 +0000)]
added 'alias rm' as alternative for 'alias remove'
Yaohan Chen [Sun, 22 Jul 2007 20:57:29 +0000 (20:57 +0000)]
fixed a copy-paste error causing incorrect count of failed plugins to be displayed
Yaohan Chen [Sun, 22 Jul 2007 20:56:47 +0000 (20:56 +0000)]
fixed a typo in REQUIREMENTS, added link to ruby-gettext
Yaohan Chen [Sat, 21 Jul 2007 00:12:47 +0000 (00:12 +0000)]
added alias plugin
Yaohan Chen [Wed, 18 Jul 2007 17:24:05 +0000 (17:24 +0000)]
added information about ruby-gettext in REQUIREMENTS
Yaohan Chen [Wed, 18 Jul 2007 17:18:13 +0000 (17:18 +0000)]
- added version check for ruby/gettext, too low or high versions will not be loaded
and fallback is done
- updated comments in load_gettext.rb
- moved requires in relevant code sections
Dmitry Kim [Tue, 17 Jul 2007 02:02:42 +0000 (02:02 +0000)]
* (games/roulette) twice-in-a-row logic was very, very broken.
Yaohan Chen [Sun, 15 Jul 2007 22:04:37 +0000 (22:04 +0000)]
edited Japanese translation
Yaohan Chen [Sun, 15 Jul 2007 21:35:12 +0000 (21:35 +0000)]
gettextized two messages in azgame missed in the previous revision
edited Japanese translation
Yaohan Chen [Sat, 14 Jul 2007 04:10:27 +0000 (04:10 +0000)]
- added po files for en_US. it is necessary for users using this locale to avoid
getting an exception when checking gettext info (they also need to run rake makemo)
Yaohan Chen [Sat, 14 Jul 2007 04:05:28 +0000 (04:05 +0000)]
added a warning message if retrieving gettext info fails
added Nn_ dummy replacement
Yaohan Chen [Sat, 14 Jul 2007 03:59:11 +0000 (03:59 +0000)]
modified azgame to use gettext
added Japanese translation for azgame
Yaohan Chen [Sat, 14 Jul 2007 00:29:12 +0000 (00:29 +0000)]
- fixed an error due to copy and pasting causing the help message to list core modules
twice without listing plugins
Dmitry Kim [Thu, 12 Jul 2007 16:23:58 +0000 (16:23 +0000)]
* (gettext) make us somewhat less dependent on gettext internals
Dmitry Kim [Thu, 12 Jul 2007 09:49:50 +0000 (09:49 +0000)]
* (gettext) work around failing current_textdomain_info()
Yaohan Chen [Tue, 10 Jul 2007 05:16:02 +0000 (05:16 +0000)]
added the data directory for searching translatable source files
marked translatable strings for shiritori and dictclient plugins
added Japanese translation for shiritori
Yaohan Chen [Mon, 9 Jul 2007 08:46:03 +0000 (08:46 +0000)]
fixed a few strings which used gettext without changing #{} syntax
Yaohan Chen [Mon, 9 Jul 2007 08:31:45 +0000 (08:31 +0000)]
integrated ruby-gettext
modified a few files to allow translated messages
created gettext template file
initialized gettext files for Japanese and Simplified Chinese
Giuseppe Bilotta [Sun, 8 Jul 2007 19:08:39 +0000 (19:08 +0000)]
dict plugin: echo definitions from chambers
Giuseppe Bilotta [Sat, 7 Jul 2007 21:56:38 +0000 (21:56 +0000)]
search plugin: add google define support
Giuseppe Bilotta [Sat, 7 Jul 2007 21:12:51 +0000 (21:12 +0000)]
Fix Google Calculator regexp and ask for UTF-8 encoded results