Commit Graph

3586 Commits

Author SHA1 Message Date
Mika Suomalainen
ca61dd0ed2 Limiter: Add l10n-fi 2011-06-26 19:32:03 +02:00
Valentin Lorentz
add80364ee Limiter: fix typo. Closes GH-35 2011-06-26 19:25:11 +02:00
Valentin Lorentz
a815f11e51 Anonymous: bug fix (_ was used as a temporary variable name) 2011-06-26 11:12:28 +02:00
Mika Suomalainen
9ded853eff Later: fix typo in l10n-fi 2011-06-25 14:57:41 +02:00
Valentin Lorentz
2cb7f72874 User: fix typo. Closes GH-32. 2011-06-25 13:06:06 +02:00
Valentin Lorentz
1acc55feb3 Karma & Lart & Later: Add l10n-fi. 2011-06-25 12:30:53 +02:00
Valentin Lorentz
2c996b7459 Internet: add l10n-fi 2011-06-23 15:41:03 +02:00
Mika Suomalainen
4daef04fdc Herald: Add l10n-fi. 2011-06-23 12:29:44 +02:00
Valentin Lorentz
a487451cc7 Todo: Add allowThirdpartyReader config variable. 2011-06-23 12:28:42 +02:00
Valentin Lorentz
61ec5f70fb Todo: fix the help string for @todo (and update i18n and l10n-fr). 2011-06-23 11:34:46 +02:00
Valentin Lorentz
1c07963a90 Owner: Being ignored for commands flood is now restricted to non-trusted users (instead of non-owners). Closes GH-13. 2011-06-22 20:02:43 +02:00
skizzhg
9d5365248e Admin & ChannelLogger & Dict & Maths & News & Seen & Status & Time & Todo & URL: Add Italian translation 2011-06-21 19:40:01 +02:00
Mika Suomalainen
cdb54322a7 Google: Add Finnish translation. 2011-06-21 18:24:01 +02:00
Mika Suomalainen
5cd607f018 Format & Games: Add Finnish translation. 2011-06-20 18:31:33 +02:00
Mika Suomalainen
2ef0004517 Filter: Add l10n-fi. 2011-06-17 19:42:25 +02:00
Mika Suomalainen
8469382895 Dict: fix l10n-fi. 2011-06-17 19:41:12 +02:00
Valentin Lorentz
a6e1bbe293 Dict & Limiter & Note & Scheduler & ShrinkUrl & URL & Utilities: Add Italian translation 2011-06-16 19:06:16 +02:00
skizzhg
ee92c71e6e Admin & Alias & Anonymous & AutoMode & Ctcp & Dunno & Internet & Lart & NickCapture & Protector & Quote & Success: Add Italian translation 2011-06-12 22:30:45 +02:00
Valentin Lorentz
58152b5a70 AutoMode: fix missing closing quote (update l10n-fr and l10n-fi), thanks to skizzhg. 2011-06-12 12:51:26 +02:00
Mika Suomalainen
15d9d0fe6c Factoids: Add finnish translation 2011-06-11 19:05:26 +02:00
Valentin Lorentz
5a65dd7162 String: Fix typo in l10n-fr 2011-06-10 19:48:10 +02:00
Valentin Lorentz
7e8a079439 Anonymous: Internationalize some strings and localize them into French (thanks to skizzhg). 2011-06-09 20:56:20 +02:00
Mika Suomalainen
37f2ef1634 Ctcp & Dict & Dunno: Add finnish translation 2011-06-08 19:33:21 +02:00
Valentin Lorentz
c85daa4fb1 Conditional: Add Finnish translation. 2011-06-07 20:52:51 +02:00
Valentin Lorentz
05f122a008 Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-06-07 06:08:45 +02:00
Valentin Lorentz
7ce41c78ad Admin: fix typo in French translation 2011-06-07 06:08:07 +02:00
Valentin Lorentz
28a3067eee Misc: update i18n and l10n-fr 2011-06-06 19:06:52 +02:00
Valentin Lorentz
6c1699583b Misc: use Limnoria version string. 2011-06-05 20:30:32 +02:00
Valentin Lorentz
73cf53f8e6 Revert "Games: fix typo (die -> dice)"
This reverts commit e41dedb112.
2011-06-05 19:58:50 +02:00
Valentin Lorentz
4e96d098a4 Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-06-04 18:00:19 +02:00
Valentin Lorentz
e41dedb112 Games: fix typo (die -> dice) 2011-06-04 17:59:35 +02:00
Valentin Lorentz
18aa92e6da Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-06-01 22:50:21 +02:00
Valentin Lorentz
0c7e2ce9e8 Rename 'permission' to 'capacité' in French translations 2011-06-01 22:47:36 +02:00
Valentin Lorentz
865bd93244 MessageParser: remove redundant spaces 2011-05-27 18:18:53 +02:00
Daniel Folkinshteyn
ef6fe23e02 Seen: fix tests so they pass. fix seen command so it properly accepts nick wildcards.
Conflicts:

	src/version.py
2011-05-27 18:16:42 +02:00
Valentin Lorentz
64b4a61d3a PluginDownloader: remove useless import 2011-04-28 16:54:25 +02:00
Valentin Lorentz
6e00168662 PluginDownloader: add mtughan-weather and SpiderDave repositories 2011-04-28 14:47:25 +02:00
Valentin Lorentz
8fe3e77428 PluginDownloaded: add nanotube-bitcoin repository and check a plugin exists before downloading the tarball 2011-04-28 14:20:36 +02:00
Valentin Lorentz
72600e54af PluginDownloader: add stepnem's and gsf's repositories; fix issue with non-root path 2011-04-28 13:57:06 +02:00
Valentin Lorentz
f18429fdf7 PluginDownloader: add the @install command. 2011-04-28 11:38:48 +02:00
Valentin Lorentz
187ed38ecc PluginDownloader: creation; supports ProgVal and quantumlemur repositories; able to list repositories and plugins in them. 2011-04-27 14:59:02 +02:00
Valentin Lorentz
2791955209 Factoids: fix merge problem (duplicated wrap()-ing). Thanks kini fore the report 2011-04-09 15:24:52 +02:00
Valentin Lorentz
ab087f4b45 Seen: Fix save Seen.any.db. (thanks to beo_ for the repport and the test) 2011-04-03 14:45:33 +02:00
Valentin Lorentz
ad57b1c2ec Misc: fix french translation 2011-03-09 12:08:09 +01:00
Valentin Lorentz
c6e54fb1b2 Owner: fix error message when the ImportError comes from the plugin 2011-03-08 15:18:38 +01:00
Valentin Lorentz
8595c177dd Google: fix @calc 2011-03-07 18:20:10 +01:00
Valentin Lorentz
ad95bc96a8 Config: Fix French translation 2011-03-03 19:25:15 +01:00
Mika Suomalainen
74c634f67a Config: Add Finnish translation 2011-03-03 19:21:37 +01:00
Valentin Lorentz
db13293428 Merge branch 'testing' of github.com:ProgVal/Supybot-fr into testing 2011-03-02 16:03:34 +01:00
Mika Suomalainen
58bc8d59b9 ChannelStats: add Finnish translation 2011-03-02 16:03:10 +01:00
Valentin Lorentz
54e6e45bd7 Misc: fix typo French translation (thanks to trashy) 2011-03-01 21:55:32 +01:00
Valentin Lorentz
7e1cd95f46 MessageParser: fix missing configure() in config.py 2011-03-01 14:49:47 +01:00
Valentin Lorentz
2bcfd9e0e5 Conditional & MessageParser: Add description. 2011-03-01 14:35:40 +01:00
Mika Suomalainen
26c2e56905 Admin & Alias & Anonymous & AutoMode & BadWord & Channel & ChannelLogger: update/create Finnish translation 2011-02-28 16:45:53 +01:00
Valentin Lorentz
cb0139299a BadWord & Channel: add Finish translation 2011-02-28 09:47:00 +01:00
Valentin Lorentz
401725f511 MessageParser: internationalization and French localization 2011-02-26 11:48:21 +01:00
Valentin Lorentz
2779b676c2 Conditional: internationalize and localize in French 2011-02-26 11:26:02 +01:00
Valentin Lorentz
aef0b6865d Filter & Format & Later & Plugin & RSS & Reply & Status & Topic & Unix & Web: update French translation 2011-02-26 11:19:32 +01:00
Valentin Lorentz
e687061cae Factoids: update l10n-fr 2011-02-26 10:45:42 +01:00
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