Valentin Lorentz
ffc609a299
Internationalized MoobotFactoids, News, and NickCapture
2010-10-17 16:59:21 +02:00
Valentin Lorentz
e5e705f78c
Fix %n issue in Alias
2010-10-17 16:02:11 +02:00
Valentin Lorentz
7cf5bb7242
Merge branch 'i18n' of github.com:ProgVal/Supybot-fr into i18n
2010-10-17 16:00:13 +02:00
Valentin Lorentz
45de092652
Internationalize Herald, Internet, Karma, Lart, Later, Limiter, Math, and Misc
2010-10-17 15:59:23 +02:00
Valentin Lorentz
203fe3c56a
Internationalize Herald, Internet, Karma, Lart, Later, Limiter, Math, and Misc
2010-10-17 15:36:26 +02:00
Valentin Lorentz
9917232d9a
Internationalize Filter, Format, Games, and Google
2010-10-17 14:50:31 +02:00
Valentin Lorentz
d14bb0cc16
Internationalize ChannelLogger, Ctcp, Dict, Dunno, Factoids
2010-10-17 11:22:07 +02:00
Valentin Lorentz
ca23f946e5
Internationalize Alias, Anonymous, AutoMode, and BadWord
2010-10-16 18:54:18 +02:00
Valentin Lorentz
1cc1ec93a5
Internationalize Config, Network, Plugin, and User
2010-10-16 13:51:27 +02:00
Valentin Lorentz
ac1c7790f5
Localized Admin to French
2010-10-16 10:59:50 +02:00
Valentin Lorentz
5fa6ff7bf8
Add an accidentaly removed space
2010-10-16 10:54:33 +02:00
Valentin Lorentz
2a69fd23c4
Little fix to Admin internationalization
2010-10-16 10:51:50 +02:00
Valentin Lorentz
83c066eeab
Internationalize Channel
2010-10-16 10:17:51 +02:00
Valentin Lorentz
949d13cdc9
Internationalize Admin
2010-10-16 09:52:00 +02:00
Valentin Lorentz
70af49feb3
Changed .pot file name in ChannelStats.
2010-10-16 09:49:04 +02:00
Valentin Lorentz
850aa279a4
Finish localisation of ChannelStats
2010-10-10 15:43:13 +02:00
Valentin Lorentz
4552038be4
Renamed the .pot file of ChannelStats
2010-10-10 15:12:06 +02:00
Valentin Lorentz
a8319d3c6f
Remove debug message and internationalize config.py in ChannelStats
2010-10-10 15:11:41 +02:00
Valentin Lorentz
a750fe6a2e
Fix the internationalisation problem for the docstrings
2010-10-10 14:45:25 +02:00
Valentin Lorentz
842221801a
Fix the internationalisation problem for the docstrings
2010-10-10 14:45:07 +02:00
Valentin Lorentz
09209056fe
Fix some bad meta-data of the French localization of ChannelStats
2010-10-09 11:42:32 +02:00
Valentin Lorentz
50acd3d8d9
Creating the internationalization module and internationalize/localize ChannelStats into French
2010-10-09 11:36:22 +02:00
James Vega
26a458b9ec
Merge branch 'maint/0.83.4'
2010-09-20 19:46:18 -04:00
James Vega
ca56575eb5
Unix: Use converter to enforce "no spaces" for spell's argument.
...
Closes: Sf#3064304
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-20 19:44:01 -04:00
James Vega
074ded49e4
Use the plugin name for Owner.defaultplugin's error message.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-20 18:20:52 -04:00
James Vega
efdb2b44c1
Merge branch 'maint/0.83.4'
2010-09-09 00:02:18 -04:00
James Vega
154fbc30e9
Games: Re-add some, much higher, upper limits to dice.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-09 00:00:47 -04:00
James Vega
0abe22f5d1
Merge branch 'maint/0.83.4'
2010-09-08 23:50:35 -04:00
James Vega
45abdc8248
Karma: Refer to plugins.Karma.rankingDisplay in Karma.karma's help.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-08 23:44:40 -04:00
James Vega
b0575cec88
Handle changes to fnmatch.translate in Python 2.6
...
Define utils.python.glob2re based on the Python version being used.
Use glob2re in Todo and Note plugins.
Closes: Sf#3059292
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-08 23:31:01 -04:00
James Vega
fc2a84fb90
<text> -> <thing> in Karma.karma's help
...
Closes: Sf#3057517
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-08 22:43:45 -04:00
James Vega
c0e24cef30
Limiter: Fix "reduce limit" test case.
...
Closes: Sf#3058142
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-08 22:42:07 -04:00
James Vega
c9274606ce
Google: Remove Groups snarfer
...
The regular expressions were woefully out of date and since there's not a
stable API (or any for that matter), keeping things working is a losing
battle.
Closes: Sf#3057485
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-08 22:20:23 -04:00
James Vega
7cf61ad046
Games: Remove arbitrary upper limits on dice command.
...
Closes: Sf#3057255
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-08 21:35:22 -04:00
James Vega
63244b1e47
News: Use positiveInt converter instead of manual checks.
...
Closes: Sf#3059239
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-05 01:09:43 -04:00
James Vega
8deb47eb53
Merge branch 'maint/0.83.4'
2010-08-31 19:01:37 -04:00
James Vega
8cc6320768
Channel: Correct specification of "#channel,op" capability.
...
Closes: Sf#3055991
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-31 19:00:28 -04:00
James Vega
452c019b10
Filter: Rename _(un)code to _(morse|unMorse)code
...
Closes: Sf#3056753
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-31 18:52:09 -04:00
James Vega
28839f8d00
Merge branch 'maint/0.83.4'
2010-08-31 18:47:09 -04:00
James Vega
bc98577fb1
Dict: Refer to the server config variable in Dict.dict's help.
...
Closes: Sf#3056621
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-31 18:46:05 -04:00
James Vega
7d87d2f87a
Merge branch 'maint/0.83.4'
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-29 11:34:55 -04:00
James Vega
577294f489
User: Handle DuplicateHostmask exception in hostmask.add.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-29 11:32:39 -04:00
James Vega
de726f90f3
User: Only require name for set.password when changing other user's password.
...
Closes: Sf#3055358
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-29 11:32:23 -04:00
James Vega
f977a3a260
User: Require set.password be sent in private.
...
Closes: Sf#3055365
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-29 11:03:41 -04:00
James Vega
07da8cab13
User: Specify chanagename must be used in private in its help.
...
Closes: Sf#3055353
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-29 10:49:13 -04:00
James Vega
25b987cc58
Model Admin's ignore help after Channel's.
...
Closes: Sf#3054919
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-29 10:26:59 -04:00
James Vega
0ff414b993
Services: Don't filter outgoing JOIN messages on disabled networks
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit acffde68ab
)
2010-08-24 19:52:22 -04:00
James Vega
3f63917dc2
Use conf.registerGlobalValue to ensure generated values are properly setup.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 0c62204809
)
2010-08-24 19:52:09 -04:00
James Vega
8c280369a6
Services: Properly register the NickServ.password group and child values.
...
Closes: Sf#3019174
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit d78f7b6ac5
)
2010-08-24 19:51:51 -04:00
James Vega
0f877166ad
Services: Fix conflict with callbacks.Commands.isDisabled
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit f926804f40
)
2010-08-24 19:51:09 -04:00
Daniel Folkinshteyn
abf6df9e13
fix google calc to work when doing a currency conversion.
...
made the calcre more generic, so it finds stuff on both math and currency.
nothing a little exploration of google html page source couldn't solve.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 432228c736
)
2010-08-24 19:50:47 -04:00
Daniel Folkinshteyn
9e1ba9910a
make Misc.apropos return plugin name even if command is in only one plugin.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 8daebd1240
)
2010-08-24 19:50:22 -04:00
James Vega
976567c1ac
Services: Disable most of the plugin on networks in the disabled list.
...
Notify the user when trying to use the commands on a disabled network, ignore
noJoinsUntilIdentified, and don't try communicating with services.
Closes: Sf#3018464
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 9e73f4482c
)
2010-08-24 19:50:11 -04:00
James Vega
246e09cc99
Anonymous: Implement support for allowPrivateTarget config.
...
Closes: Sf#2991515
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 57e894de58
)
2010-08-24 19:49:14 -04:00
Daniel Folkinshteyn
e9d55d4bbd
fix bug in RSS.announce.list:
...
Because the 'channel' argument was declared optional, calling announce.list
off-channel without a channel argument caused an error.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 40941e044a
)
2010-08-24 19:48:42 -04:00
Daniel Folkinshteyn
fb8d0d320a
fix alias bug https://sourceforge.net/tracker/?func=detail&aid=2987147&group_id=58965&atid=489447
...
add tests for appropriate behavior
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 8d64d08645
)
2010-08-24 19:45:48 -04:00
James Vega
7869b962d1
Fix the previous Factoids fix.
...
channel needs to be part of the args list.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit fe07ea1146
)
2010-08-24 19:44:56 -04:00
James Vega
b2c45caa66
Factoids: Pass channel to whatis when being called from search
...
Thanks to Daniel Folkinshteyn for the fix.
Closes: Sf#2965589
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 209facd242
)
2010-08-24 19:44:45 -04:00
James Vega
be9128b3ec
Internet: Use whois-servers.net for all whois lookups.
...
rs.internic.net seems to be broken and using $tld.whois-servers.net looks to
be working for everything.
Also need to update the line termination string to use '\r\n' instead of '\n'
since some servers are strict about receiving the former.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 397cbbe0d3
)
2010-08-24 19:44:18 -04:00
James Vega
8d94ff743c
Include hostmasks in JOIN, PART, QUIT logs.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 4a9596608a
)
2010-08-24 19:44:10 -04:00
James Vega
0933621dab
Factoids: Prevent empty key or value when adding a factoid.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 10f5a12b7e
)
2010-08-24 19:43:56 -04:00
James Vega
455b5631bc
Update plugins to ignore all non-ACTION CTCP messages.
...
Also update commands.urlSnarfer to do the same, which allows us to revert
"Don't bother snarfing URLs from non-Action CTCP messages."
This reverts commit 3282e3407e
.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 288d7c6e02
)
2010-08-24 19:42:11 -04:00
Jeremy Fincher
e2cafb2e3d
Don't bother snarfing URLs from non-Action CTCP messages.
...
(cherry picked from commit 3282e3407e
)
2010-08-24 19:41:49 -04:00
James Vega
f35e68cd65
Network: Properly parse WHOIS response
...
The 319 message that indicates which channel(s) a user is in prefix the
channel name with the modes (@, +, !, etc.) applied to that user. These need
to be stripped from the channel name before we feed it to
irc.state.channels.get(), otherwise when irc.state.channels.get() returns None
we assume the channel can't be private and leak information.
(cherry picked from commit 408ab6f88a
)
2010-08-24 19:41:30 -04:00
James Vega
afb4e1e07f
Use 0 when no results are returned for Google.fight
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 3689460d0f
)
2010-08-24 19:40:54 -04:00
James Vega
a7c924b466
Switch from using the various popen flavors to subprocess.Popen
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit fbdc44ca52
)
2010-08-24 19:40:23 -04:00
James Vega
c53f8cd510
Rename Owner.log to Owner.logmark
...
Since every plugin has a log method (to do actual logging), the log command
was conflicting with that. The attempted workaround was overly complicated
and broken. Simply renaming the command to logmark simplifies everything.
Closes Sf #2889709
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit acaa9b1fd6
)
2010-08-24 19:21:58 -04:00
James Vega
0bd9a8b6f4
Use the correct URLs for the PySqlite website.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 927c8c963a
)
2010-08-24 19:15:27 -04:00
James Vega
dcdbd5bea4
Update references to PySqlite URL
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit f475525237
)
2010-08-24 19:15:17 -04:00
James Vega
f0852a9e45
utils.web: Provide access to the raw httpUrlRe/urlRe strings
...
Using the compiled regexps for a PluginRegexp method's __doc__ doesn't work.
Closes Sourceforge #2879862
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 25fc2de643
)
2010-08-24 19:14:58 -04:00
James Vega
bb4e09886a
Use utils.web.httpUrlRe for the Web/ShrinkUrl snarfer regexes.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit ca917d3528
)
2010-08-24 19:14:36 -04:00
Benjamin P. Burhans
750fb2ccdc
Check for empty word list in BadWords plugin before filtering.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 6418b3d8c3
)
2010-08-24 19:13:09 -04:00
Štěpán Němec
bc1c159d27
QuoteGrabs plugin: Add an `ungrab' command.
...
Also add a missing error check in the `list' db method.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit e922918564
)
2010-08-24 19:09:43 -04:00
Štěpán Němec
4cc8fdecdc
Note plugin: Fix erroneous use of __contributors__.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit a693162059
)
2010-08-24 19:03:27 -04:00
James Vega
6bebc383b4
ChannelStats.rank now starts from 1 instead of 0
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 169aee3bc0
)
2010-08-24 19:02:58 -04:00
James Vega
885d60a132
QuoteGrabs: QuoteGrabsRecord at arg needs to be an int.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit cbf68e53e3
)
2010-08-24 19:02:05 -04:00
James Vega
d43d083f44
User: getHostmasks should always return a string
...
Since it was calling irc.reply() in one case, we had both that irc.reply being
sent and the irc.reply() of what getHostmasks returned (None in that case).
Bad!
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit dcb247494e
)
2010-08-24 19:01:55 -04:00
James Vega
965f4e79b8
User: Fix hostmask.list to show the user's name not the repr user object
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 9dccada152
)
2010-08-24 19:01:44 -04:00
James Vega
7aeedea6f6
Updated ChannelIdDatabasePlugin's getCommandHelp signature
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit c9329303d3
)
2010-08-24 19:01:26 -04:00
James Vega
26cefc78f4
Channel: alert should not require the caller to have op capability
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit ba29f0787c
)
2010-08-24 19:01:12 -04:00
James Vega
2b0b74dfe0
Google: Keep the list of supported languages in one place.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 461f943d97
)
2010-08-24 19:01:00 -04:00
James Vega
65a180798f
QuoteGrabs: Fix incorrect argument order to _grab
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 874508867f
)
2010-08-24 19:00:34 -04:00
Ricky Zhou
4eb30069bf
Try using simplejson instead if json-py is installed.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 416a6e8dd2
)
2010-08-24 19:00:14 -04:00
James Vega
3090cffe2c
Include String plugin for Utilities' tests.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-07-11 11:04:33 -04:00
James Vega
0bfa0d153c
ShrinkUrl: Add serviceRotation config.
...
When configured, the outFilter and shrinkSnarfer use cycle through
serviceRotation's list of services. Otherwise, the default service is used.
Closes: deb#539858
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-07-11 10:47:37 -04:00
James Vega
acffde68ab
Services: Don't filter outgoing JOIN messages on disabled networks
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-27 19:48:36 -04:00
James Vega
0c62204809
Use conf.registerGlobalValue to ensure generated values are properly setup.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-24 00:37:40 -04:00
James Vega
c10d964604
Elide ignored replies from nested command output.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-24 00:33:04 -04:00
James Vega
d78f7b6ac5
Services: Properly register the NickServ.password group and child values.
...
Closes: Sf#3019174
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-21 19:35:35 -04:00
James Vega
f926804f40
Services: Fix conflict with callbacks.Commands.isDisabled
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-19 22:38:27 -04:00
Daniel Folkinshteyn
432228c736
fix google calc to work when doing a currency conversion.
...
made the calcre more generic, so it finds stuff on both math and currency.
nothing a little exploration of google html page source couldn't solve.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-19 18:01:38 -04:00
Daniel Folkinshteyn
8daebd1240
make Misc.apropos return plugin name even if command is in only one plugin.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-19 17:20:20 -04:00
James Vega
9e73f4482c
Services: Disable most of the plugin on networks in the disabled list.
...
Notify the user when trying to use the commands on a disabled network, ignore
noJoinsUntilIdentified, and don't try communicating with services.
Closes: Sf#3018464
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-19 16:59:13 -04:00
James Vega
57e894de58
Anonymous: Implement support for allowPrivateTarget config.
...
Closes: Sf#2991515
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-05-24 15:21:58 -04:00
Daniel Folkinshteyn
40941e044a
fix bug in RSS.announce.list:
...
Because the 'channel' argument was declared optional, calling announce.list
off-channel without a channel argument caused an error.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-05-24 14:46:04 -04:00
James Vega
5ccb242657
Re-add re import since capability-checking code relies on it.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-05-15 21:55:05 -04:00
Štěpán Němec
18ef6dadfc
Topic plugin: Restore topic automatically after join if not set.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-05-11 18:23:33 -04:00
Štěpán Němec
6520d1f282
Topic plugin: Add persistence support.
...
Topics now persist between restarts.
Rationale: Useful when reloading/restarting; previously the topics would
be just forgotten. Don't use database, as that would be an unnecessary
overkill and in any case not needed.
(Also, remove the unused `re' module import.)
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-05-11 18:22:37 -04:00
James Vega
41fd218b8d
ChannelStats: Fix rank to work with selfStats
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-05-11 17:50:43 -04:00
Daniel Folkinshteyn
814d89e200
topic now checks for +t mode before denying topic changes, and also allows halfops in addition to ops.
...
default required capabilities for topic changes (if topic is +t and user is not an op or halfop), are chan,op and chan,halfop
thanks jemfinch for the suggestions.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-04-14 22:57:01 -04:00