Commit Graph

3627 Commits

Author SHA1 Message Date
Valentin Lorentz f7899c7627 Factoids: fix merge 2011-02-26 10:45:29 +01:00
Valentin Lorentz 3c42a1f513 Plugin: fix forgotten merge info 2011-02-26 10:44:35 +01:00
Valentin Lorentz f5de099798 Dict: update l10n-fr 2011-02-26 10:43:38 +01:00
Valentin Lorentz a3ff40d359 Ctcp: update l10n-fr 2011-02-26 10:43:28 +01:00
Valentin Lorentz c5de801317 Channel: update l10n-fr 2011-02-26 10:43:20 +01:00
Valentin Lorentz 2de895cf9b Alias: update l10n-fr 2011-02-26 10:43:12 +01:00
Valentin Lorentz 0d7e3d3759 (Re)generate all plugin's .pot file 2011-02-26 10:40:50 +01:00
Valentin Lorentz 2d56eba17e Unix: fix merge of @ping 2011-02-26 09:50:15 +01:00
Daniel Folkinshteyn e35bf94600 Unix: add call command, giving owner ability to call any system command. 2011-02-25 19:38:33 +01:00
brian c cc5f3c1049 Unix: various enhancements to the ping command:
Fixed bug in 100% packet loss response.
Errors from ping are now sent to irc.error().
Added packet count, interval, ttl, and wait options.
Added additional test cases.

Also, Enabled threading for Unix plugin, and
for wtf, spell, and ping commands.

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2011-02-25 19:31:46 +01:00
oevna@users.sourceforge.net 61167ce909 Unix: fixed uncaught OSError exception raised when executing ping fails.
Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2011-02-25 19:31:06 +01:00
Daniel Folkinshteyn f69c47b092 Unix: fix test for the ping command, call unix ping instead of the default misc ping. 2011-02-25 19:30:45 +01:00
oevna@users.sourceforge.net 390b3ec15f Added ping command to Unix plugin
Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2011-02-25 19:30:31 +01:00
Daniel Folkinshteyn f6c9543dc3 Filter: add unbinary command, as counterpart to binary command. 2011-02-25 19:30:20 +01:00
Daniel Folkinshteyn 6ccd1ce3d6 ChannelLogger: include in logs the reasons for parts and quits 2011-02-25 19:29:24 +01:00
Daniel Folkinshteyn da25be73d4 Channel: nicks: add --count argument, which outputs only the count of nicks in channel.
also add tests for the nick command.
2011-02-25 19:27:07 +01:00
Daniel Folkinshteyn 8e80e7b657 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.
2011-02-25 19:24:04 +01:00
Daniel Folkinshteyn 2925c45b51 restore the 'import re' to Topic plugin, which was for some reason taken out
two commits ago, in commit 51cabeea33
it is necessary for the operation of the plugin
(specifically, in the _checkManageCapabilities function)

the tests didn't catch that because it apparently imports re separately.
2011-02-25 19:22:56 +01:00
Daniel Folkinshteyn 9f26bb1420 for Later plugin, add test for actual sending of notes to nicks upon their being seen. 2011-02-25 19:21:00 +01:00
Daniel Folkinshteyn a6d92a70e8 Add Later note expiration period, 30 days by default.
This should prevent the accumulation of old unclaimed notes in the database,
which is possible due to notes left to misspelled nicks, to temporary nicks
used by regulars, or to one-time visitor nicks.
2011-02-25 19:20:48 +01:00
Daniel Folkinshteyn dfeb50de2d Add --raw option to factoids.whatis, which disables variable substitution on the factoid.
also add test for this.
2011-02-25 19:18:50 +01:00
Daniel Folkinshteyn b12d8a8a04 Use the ircutils.standardSubsitute function upon factoid output.
This allows inclusion of the usual standardSubstitute vars within factoids.

There is no config to disable this, since it is possible to escape the substitutions
by simply doubling the dollar signs, as per the python documentation:
http://docs.python.org/library/string.html#template-strings

Thus, if you want a factoid to output a literal "$channel", for example, all
you'd need to do is use "$$channel" in your factoid text, which will come out
as "$channel" when said by the bot.

Also added tests for this new behavior.
2011-02-25 19:18:02 +01:00
Daniel Folkinshteyn 8ed94257ba some enhancements Factoids.rank:
output options: plain key output, and alpha sorting for plain output.
allow an optional argument for how many ranked facts to show.
2011-02-25 19:16:48 +01:00
Daniel Folkinshteyn 7c3bc67c86 Add some sanity checks to RSS plugin:
First: if an rss feed is called without the number of headlines argument,
we now have a default number of items it will output.
before, it tried to stuff the whole rss feed into the channel, which is quite
floody, if more than one 'mores' is set, or if oneToOne is false.

Second: when adding a new feed to announce, it again, tried to stuff the
whole rss feed into the channel, which ran into the same floody conditions
as above. now we have a default number of feeds to output when there's no
cached history.
2011-02-25 19:15:41 +01:00
Daniel Folkinshteyn 7505f839fc fix docstring for Plugin.plugin command so it actually says what the command will do.
also add a Plugin.plugins command, which always returns a list of all plugins containing a command.
add a test for it.
2011-02-25 19:14:35 +01:00
Daniel Folkinshteyn 92fc1e308f update quotegrabs to sqlite3 2011-02-25 19:14:06 +01:00
Daniel Folkinshteyn d433bfc8f0 for Factoids: make approximate fuzzy key searches also when invoking whatis directly.
also add tests.
while there, remove useless config setting for replyinvalidcommand testing, since it is true by default.
2011-02-25 19:13:27 +01:00
Daniel Folkinshteyn e939cfd124 update Karma plugin and test code to use sqlite3.
This involved also updating src/conf.py to look for sqlite3 and add it to supybot.conf.databases list,
since karma uses the plugins.DB() constructor for its database, which checks the available databases list.
2011-02-25 19:11:58 +01:00
Daniel Folkinshteyn bf6f0e2d18 make google translate return detailed google error, instead of the unhelpful "we broke google". 2011-02-25 18:56:56 +01:00
Daniel Folkinshteyn 8d45228642 for google translate, error if destination language is 'auto'. 2011-02-25 18:56:50 +01:00
Daniel Folkinshteyn 261a646451 in Later nick validation, use irc.isNick. now instead of forcing strictRfc to true, we are using the config. 2011-02-25 18:56:40 +01:00
Daniel Folkinshteyn e46948400d take out getDb override from factoids, since i have changed it upstream, in plugins.__init__.py, to use proper sqlite3 syntax. 2011-02-25 18:54:51 +01:00
Daniel Folkinshteyn 1b0aa48368 make on-join telling for later configurable. 2011-02-25 18:54:30 +01:00
Daniel Folkinshteyn e68704a0fc 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.
2011-02-25 18:53:11 +01:00
Daniel Folkinshteyn dae8dfd2e7 add replace function to format that takes varying-length strings to replace.
add test for it
add error test for format.translate for different length translate args.
2011-02-25 18:49:39 +01:00
Daniel Folkinshteyn 2d718d31bb Fix factoids bug ,Factoids.showFactoidIfOnlyOneMatch feature is broken when used off-channel:
https://sourceforge.net/tracker/?func=detail&aid=2965589&group_id=58965&atid=489447
2011-02-25 18:48:56 +01:00
Daniel Folkinshteyn c0986e1122 change Topic to have a default required capability set, for all write operations.
by default, now only allows chanops, and users with admin or channel,op capability to change topics
2011-02-25 18:47:56 +01:00
Daniel Folkinshteyn 7ec1ca2070 make later plugin send waiting messages on user join also, not just on privmsg. 2011-02-25 18:38:14 +01:00
Daniel Folkinshteyn fcaa7863fa add nick validation to later tell
this avoids plugging the later db with messages for bogus nicks
2011-02-25 18:37:22 +01:00
Daniel Folkinshteyn a2da24d202 add a random-synonym getting function to Dict, add tests for it.
using the moby-thes database from dict.org.
2011-02-25 18:36:17 +01:00
Daniel Folkinshteyn b306c5440f add damerau-levenshtein distance to supybot.utils.seq
use it in factoids invalid command to match possible typos
write tests for same.
2011-02-25 18:36:09 +01:00
Daniel Folkinshteyn bdc8fd5285 fix some encoding error for non-ascii langs 2011-02-25 18:36:00 +01:00
Daniel Folkinshteyn ca045128d7 add detected source language display for 'auto' google translate, add test for auto translate. 2011-02-25 18:35:53 +01:00
Daniel Folkinshteyn 6b324674a7 enable google translate to autodetect language with 'auto' fromlang. 2011-02-25 18:35:44 +01:00
Daniel Folkinshteyn 9b516480af add tests for factoids.alias 2011-02-25 18:35:37 +01:00
Daniel Folkinshteyn 50ac5a05e1 delete leftover debug-prints 2011-02-25 18:35:30 +01:00
Daniel Folkinshteyn 366c2b7c17 add factoids alias function, to link more keys to existing factoids. 2011-02-25 18:35:17 +01:00
Daniel Folkinshteyn 436d2bade8 mod factoids plugin to use a separate key-value relationship table
this avoids duplication, and allows one to set a bunch of aliases for a factoid, without creating duplicates of the same fact content.
2011-02-25 18:33:40 +01:00
Daniel Folkinshteyn 471921eab6 make 'factoids info' include usage count in output. add test for same. 2011-02-24 21:03:30 +01:00
nanotube e71ee8fbb1 don't give up too easily with invalid command, instead search factoid keys with wildcard first. 2011-02-24 21:02:39 +01:00
nanotube b922890b6f add rank test to factoids, update factoids test code to sqlite3 2011-02-24 21:01:19 +01:00
nanotube 5c0596f484 rename factrank to just rank for consistency 2011-02-24 21:01:08 +01:00
Daniel Folkinshteyn 2b5ffaa940 add replies function to reply plugin, which makes multiple replies, if supybot.reply.oneToOne is false. 2011-02-24 20:58:05 +01:00
Daniel Folkinshteyn f71464adb3 This merges an old branch i had for sqlite3 factoids+moobotfactoids.
fix up moobotfactoids+factoids to use the sqlite text_factory=str,
also fixed up a test for factoid search, since it now sorts keys alphabetically.
2011-02-24 20:55:24 +01:00
Daniel Folkinshteyn c0ebdddb47 start factoid rankings from 1 not from 0 2011-02-24 20:09:00 +01:00
Daniel Folkinshteyn 34f8557cfd remove rogue test-print 2011-02-24 20:06:35 +01:00
Daniel Folkinshteyn 7351ec1702 sort keys in factoid search output by alphabetically by key name. 2011-02-24 20:03:28 +01:00
Daniel Folkinshteyn d2ac0e742a implement factoid usage counter 2011-02-24 20:03:03 +01:00
Daniel Folkinshteyn 957998f483 Utilities: add countargs function, returns number of arguments supplied.
also add tests for it.
2011-02-20 11:30:50 +01:00
Daniel Folkinshteyn 6381266cfd Utilities: add 'sample' command, a basic interface to random.sample()
Also add tests for it.
2011-02-20 11:29:08 +01:00
Valentin Lorentz 9d7287a436 Import MessageParser from gribble repo 2011-02-20 11:14:29 +01:00
Valentin Lorentz f3a20df8f1 Import Conditional from gribble repo 2011-02-20 11:13:57 +01:00
Daniel Folkinshteyn f6e3698c24 Scheduler: handle event persistence on plugin reload.
Write data to disk on unload; populate events dict with events which are
still scheduled on reload.
2011-02-20 10:43:02 +01:00
Daniel Folkinshteyn 42efc79ef1 Scheduler: add scheduled task persistence.
The list of tasks scheduled with the Scheduler plugin is now saved
on exit, and restored upon restart.

Previously all scheduled tasks would be forgotten upon bot restart,
which was undesirable behavior.
2011-02-20 10:41:52 +01:00
Valentin Lorentz 2d265f9d82 Google: update translation 2011-02-14 18:35:53 +01:00
Daniel Folkinshteyn a6b9d5fe5f Google: fix encoding bug in lucky --snippet; need to pass encoded string to utils.web.htmlToText 2011-02-14 18:27:40 +01:00
Daniel Folkinshteyn 614e6c3f43 Google: in lucky --snippet, properly convert html to text, using utils.web.htmlToText. 2011-02-14 18:27:26 +01:00
Daniel Folkinshteyn 33c6eabf82 Google: add --snippet option to lucky command, which shows the text snippet for the page. 2011-02-14 18:26:50 +01:00
Valentin Lorentz 5395000e76 Change website supybot-fr.tk -> supybot.fr.cr 2011-02-09 17:16:26 +01:00
Valentin Lorentz c456abd25c Later: fix french translation 2011-01-30 12:04:57 +01:00
Valentin Lorentz bcc745b956 Update BadWord's .pot and fr.po 2011-01-29 11:52:14 +01:00
Daniel Folkinshteyn 817190ff6b BadWords: improve help for requireWordBoundaries config.
Make a note that the plugin requires restart or the words set updating,
for changes to this setting to take effect.
2011-01-29 11:47:23 +01:00
Daniel Folkinshteyn 0e67977cdd Badwords: add plugin docstring, and fix/standardize some method docstrings. 2011-01-29 11:46:14 +01:00
Daniel Folkinshteyn 9665c178aa Scheduler: don't immediately execute commands when restoring repeated events. 2011-01-29 11:45:16 +01:00
Daniel Folkinshteyn 7c7b093b33 Google: add some extra matching capability to google calc
now should be able to display any 'special' result from google.
2011-01-29 11:39:59 +01:00
Daniel Folkinshteyn b0bd346775 Services: add some more strings indicating identification success. 2011-01-29 11:36:48 +01:00
Daniel Folkinshteyn 60bbbc63ab Topic: get shouldn't require capabilities, since it's a read-only operation. 2011-01-29 11:34:10 +01:00
Valentin Lorentz e8814fc07a Add checkCapabilityButIgnoreOwner converter 2011-01-27 19:32:43 +01:00
Valentin Lorentz 1cceeb7ad1 Fix @String decode utf8 issue 2011-01-26 08:30:20 +01:00
Valentin Lorentz 17248b5d2c Merge branch 'testing' into unit-tests
Conflicts:
	src/utils/str.py
2011-01-22 10:29:22 +01:00
Valentin Lorentz e6fc429701 Fix bug with rainbow when message contains numeric characters #SF3140981 2011-01-22 09:59:19 +01:00
Valentin Lorentz d29ca0a227 Import Time plugin from Supybot-plugin repo 2011-01-22 09:54:53 +01:00
Valentin Lorentz f13a2c7ee4 Fix translations 2011-01-08 13:35:43 +01:00
Valentin Lorentz d273ac164e Fix Network localization 2011-01-05 17:22:34 +01:00
Valentin Lorentz 3582286658 Fix Factoids 2011-01-02 09:31:07 +01:00
Valentin Lorentz 6e6fd58ea7 Fix RSS encoding problem 2011-01-01 17:24:13 +01:00
Valentin Lorentz f45e0b01ac Fix @help monologue french translation 2010-12-23 19:56:23 +01:00
Valentin Lorentz d008f97383 Fix @Games monologue french translation 2010-12-23 15:51:06 +01:00
Valentin Lorentz 83f3fe1436 Merge branch 'l10n-fr' into testing 2010-12-12 15:05:08 +01:00
Valentin Lorentz 01018b902e Localize the two new strings of Config in French 2010-12-12 15:05:00 +01:00
Valentin Lorentz 59dad0501f Merge branch 'i18n' into l10n-fr 2010-12-12 15:03:22 +01:00
Valentin Lorentz a739511b73 Internationalize two strings in Config 2010-12-12 15:03:13 +01:00
Valentin Lorentz c5974046c6 Merge branch 'l10n-fr' into testing 2010-11-26 23:20:29 +01:00
Valentin Lorentz 50d887d67f Merge branch 'i18n' into l10n-fr 2010-11-26 23:19:57 +01:00
Valentin Lorentz 13b194a4fe Fix internationalisation bug in Config plugin 2010-11-26 23:19:05 +01:00
Valentin Lorentz 6629c8d48f Add @reloadlocale to Owner plugin 2010-11-19 17:10:47 +01:00
Valentin Lorentz bd7f38604e Merge branch 'l10n-fr' into testing 2010-11-19 17:01:46 +01:00
Valentin Lorentz 05560299d9 Later: fix localisation problem 2010-11-17 21:40:11 +01:00
Valentin Lorentz e5fd3b8a7d Merge branch 'l10n-fr' into testing 2010-11-17 16:50:56 +01:00
Valentin Lorentz 415f79d9a5 Later: fix localization problem 2010-11-17 16:44:34 +01:00
Valentin Lorentz ad79ec4f7f Merge branch 'l10n-fr' into testing 2010-11-11 12:39:19 +01:00
Valentin Lorentz 4d957e858e Factoids: localize a string 2010-11-11 12:39:13 +01:00
Valentin Lorentz 9ca812c83d Merge branch 'i18n' into l10n-fr 2010-11-11 12:38:32 +01:00
Valentin Lorentz 11f7033ee0 Factoids: Internationalize a config variable 2010-11-11 12:37:21 +01:00
Valentin Lorentz 44c692bdc6 Merge branch 'l10n-fr' into testing 2010-11-03 19:12:06 +01:00
Valentin Lorentz 485c6161ee Plugin: fix a little localization error 2010-11-03 19:12:00 +01:00
Valentin Lorentz fa336acbac Merge branch 'l10n-fr' into testing 2010-11-03 19:09:50 +01:00
Valentin Lorentz 9bd66a7e7c Plugin: fix two localization error 2010-11-03 19:09:42 +01:00
Valentin Lorentz 27ef96a78a Merge branch 'l10n-fr' into testing 2010-11-01 19:53:58 +01:00
Valentin Lorentz 382bad4a1d AutoMode: fix misspell in french locale 2010-11-01 19:52:28 +01:00
Valentin Lorentz d2ccb876dd Remove Debian plugin 2010-11-01 15:53:01 +01:00
Valentin Lorentz 0410cf3d0d Merge branch 'l10n-fr' into testing 2010-11-01 11:49:11 +01:00
Valentin Lorentz ddb3dd5a50 Merge branch 'i18n' into l18n-fr 2010-11-01 11:49:04 +01:00
Valentin Lorentz 4dcd7f7fb4 Bug fixes (mainly the &config help internationalization) 2010-11-01 11:42:33 +01:00
Valentin Lorentz 6dfd334344 Merge branch 'l10n-fr' into testing 2010-10-31 11:32:00 +01:00
Valentin Lorentz f536540204 Merge branch 'i18n' into l10n-fr 2010-10-31 11:31:53 +01:00
Valentin Lorentz 0360451cb9 Note & Owner : fix missing import for the i18n 2010-10-31 11:29:01 +01:00
Valentin Lorentz 27bb53b560 Merge branch 'l10n-fr' into testing 2010-10-30 21:41:44 +02:00
Valentin Lorentz 32cabd6d27 Status: fix two translations 2010-10-30 13:05:52 +02:00
Valentin Lorentz f3528c57d4 Merge branch 'l10n-fr' into testing 2010-10-30 12:49:57 +02:00
Valentin Lorentz caa18e4924 Topic: fix a translation 2010-10-30 12:49:12 +02:00
Valentin Lorentz be4b1adb52 Merge branch 'l10n-fr' into testing 2010-10-30 12:26:45 +02:00
Valentin Lorentz ee0df0160f Topic: fix offset between untraslated and translated strings 2010-10-30 12:26:39 +02:00
Valentin Lorentz a1db8e3ab1 Merge branch 'i18n' into l10n-fr 2010-10-30 12:24:07 +02:00
Valentin Lorentz 595d98df91 Topic: Fix bad doctring 2010-10-30 12:24:02 +02:00
Valentin Lorentz 5e09a9c887 Merge branch 'l10n-fr' into testing 2010-10-30 12:11:29 +02:00
Valentin Lorentz df3459dc3b Localize Sucess, Time, Todo, Topic, Url, Unix, User, Utilities, and Web into French 2010-10-30 12:10:31 +02:00
Valentin Lorentz 94d69151bc Merge branch 'i18n' into l10n-fr 2010-10-30 11:24:03 +02:00
Valentin Lorentz 52094ec910 User: internationalize a string 2010-10-30 11:23:56 +02:00
Valentin Lorentz 05389a98ef Localize Services, ShrinkUrl, Status, and String into French 2010-10-29 20:19:35 +02:00
Valentin Lorentz eb8b16f8fb Localize Misc, MoobotFactoids, Network, News, NickCapture, Nikometer, Note, Owner, Plugin, Praise, Protector, Quote, QuoteGrabs, RSS, Relay, Reply, Scheduler, and Seen 2010-10-29 18:10:32 +02:00
Valentin Lorentz dd11dbab0c Merge branch 'i18n' into l10n-fr 2010-10-29 14:48:03 +02:00
Valentin Lorentz 5339516257 Owner: Add the messages.pot 2010-10-29 14:47:47 +02:00
Valentin Lorentz f394757a3a Merge branch 'i18n' into l10n-fr 2010-10-29 13:55:06 +02:00
Valentin Lorentz 9ce8b4d59c Note: Add the messages.pot 2010-10-29 13:54:58 +02:00
Valentin Lorentz 28787c77dd Merge branch 'i18n' into l10n-fr 2010-10-29 12:03:16 +02:00
Valentin Lorentz 6c1b91c227 MoobotFactoid: Internationalize a string 2010-10-29 12:03:08 +02:00
Valentin Lorentz 424f5acebe Move MegaHAL and SupySandbox to the Supybot-plugins repository 2010-10-29 09:44:16 +02:00
Valentin Lorentz 520034d3dc Localize Later, Limiter, and Math into French 2010-10-28 19:33:27 +02:00
Valentin Lorentz 47586df8a1 Merge branch 'i18n' into l10n-fr 2010-10-28 16:15:56 +02:00
Valentin Lorentz 172467fb17 Later: refresh messages.pot 2010-10-28 16:15:50 +02:00
Valentin Lorentz c6b40ebc64 Merge branch 'i18n' into l10n-fr 2010-10-28 16:15:03 +02:00
Valentin Lorentz 4a2c78efb8 Later: fix internationalization problem 2010-10-28 16:14:56 +02:00
Valentin Lorentz da7888a878 Merge branch 'i18n' into l10n-fr 2010-10-28 16:13:05 +02:00
Valentin Lorentz 4e578da1b7 Later: internationalize a string 2010-10-28 16:12:58 +02:00
Valentin Lorentz b7651b06a1 Merge branch 'l10n-fr' into testing 2010-10-28 15:45:51 +02:00
Valentin Lorentz 2d1917c9a0 Localized Games, Google, Herald, Internet, Karma, and Lart into French 2010-10-28 15:44:01 +02:00
Valentin Lorentz 3e50b64fb5 Merge branch 'i18n' into l10n-fr 2010-10-28 15:43:39 +02:00
Valentin Lorentz 3fe627ad75 Internationalize a string in Karma 2010-10-28 15:43:31 +02:00
Valentin Lorentz 827ab3532e Merge branch 'i18n' into l10n-fr 2010-10-28 15:18:53 +02:00
Valentin Lorentz f3a579f3da Add the '<empty>' feature to nItems, and changed ChannelStats localization in order to use it as bug fixer 2010-10-28 15:18:06 +02:00
Valentin Lorentz 9b67f670c2 Localize Dict, Dunno, Factoids, Filter, and Format 2010-10-27 19:48:46 +02:00
Valentin Lorentz 5603e8ef2f Set the author as being ProgVal ;) 2010-10-27 14:20:04 +02:00
Valentin Lorentz 0dbb72dbd3 Internationalize ChannelLogger and Config 2010-10-26 19:23:26 +02:00
Valentin Lorentz 4a25b325cd Merge branch 'i18n' into l10n-fr 2010-10-26 19:23:00 +02:00
Valentin Lorentz 8864a7fc71 Fix Ctcp internationalization 2010-10-26 19:22:39 +02:00
Valentin Lorentz ecfe196eae Merge branch 'l10n-fr' into testing 2010-10-26 09:33:04 +02:00
Valentin Lorentz a7eb72fc29 Merge branch 'i18n' into l10n-fr 2010-10-26 09:32:34 +02:00
Valentin Lorentz db977bf5d2 Fix Python2.5 issue (class decorators)
Issue S-fr#5
2010-10-26 09:32:12 +02:00
Valentin Lorentz 4aff05f361 RSS: fix mislocated decorator 2010-10-26 09:27:09 +02:00
Valentin Lorentz ff24c559a7 MegaHAL: Don't prefix answers with the nick.
Issue S-fr#2
2010-10-26 09:02:41 +02:00
Valentin Lorentz cd025be24a MegaHAL: Don't learn private messages.
Issue S-fr#3
2010-10-26 09:01:45 +02:00
Valentin Lorentz 7e58815530 Merge branch 'l10n-fr' into testing 2010-10-25 18:45:33 +02:00
Valentin Lorentz 9ea39fc267 Merge branch 'i18n' into l10n-fr 2010-10-25 17:57:11 +02:00
Valentin Lorentz 88414decd2 Localize AutoMode, BadWords, and Channel into French 2010-10-25 17:56:17 +02:00
Valentin Lorentz 007c58703f Remove internationalization of a non-internationalizable string 2010-10-25 13:11:59 +02:00
Valentin Lorentz 7a332860ca Fix config 2010-10-24 15:25:29 +02:00
Valentin Lorentz 47e44d8ae7 Merge branch 'i18n' into testing 2010-10-24 13:50:52 +02:00
Valentin Lorentz 7fb900d8df Fix misspell in Herald 2010-10-24 13:50:46 +02:00
Valentin Lorentz 6ef2503416 Merge branch 'more-plugins' into testing 2010-10-24 13:37:51 +02:00
Valentin Lorentz cbc129417a Proxyfy MegaHAL and rexrite a (still broken) test case 2010-10-24 13:36:54 +02:00
Valentin Lorentz 42a95a1075 Localize Alias and Anonymous into French 2010-10-24 09:23:01 +02:00
Valentin Lorentz 07710b47ce Create MegaHAL plugin 2010-10-23 18:46:59 +02:00
Valentin Lorentz 8be4aaeff1 Merge branch 'readability' 2010-10-23 10:38:52 +02:00
Valentin Lorentz e122102e5a Fix a test in Unix plugin 2010-10-20 19:11:00 +02:00
Valentin Lorentz 7d0d1ad09a Merge branch 'i18n' into l10n-fr 2010-10-20 09:40:07 +02:00
Valentin Lorentz 6a9a8d81b8 Internationalize Time, Todo, Topic, URL, Unix, Utilities, and Web 2010-10-20 09:39:44 +02:00
Valentin Lorentz 371a40e004 Internationalize Seen, Services, ShrinkUrl, Status, String, and Success 2010-10-20 09:10:03 +02:00
Valentin Lorentz e4f198ddf7 Fix in Seen plugin : AssertionError: 'Someone was last seen in #test 0 seconds ago: *** test <test!user@host.domain.tld> has joined #test' does not match 'test has joined' 2010-10-20 08:50:59 +02:00
Valentin Lorentz aaa0c480af Internationalize Relay, Reply, RSS, Scheduler 2010-10-19 19:50:41 +02:00
Valentin Lorentz f613eb0f45 Add SupySandbox plugin 2010-10-17 19:59:13 +02:00
Valentin Lorentz e358b98974 Add Debian plugin 2010-10-17 18:43:34 +02:00
Valentin Lorentz 61780358ee Merge branch 'i18n' into l10n-fr 2010-10-17 18:37:47 +02:00
Valentin Lorentz 029c0cbe80 Internationalize Nickometer, Praise, Protector, Quote, and QuoteGrabs 2010-10-17 18:37:13 +02:00
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 b47c7c92a3 Edit Status and Web plugins in order to use %S 2010-10-16 11:37:58 +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