Commit Graph

3719 Commits

Author SHA1 Message Date
Mika Suomalainen
339e2622a1 MoobotFactoids: ln18-n 44% translated. 2011-07-23 00:41:09 +03:00
Mika Suomalainen
4bb788b98b MoobotFacroids: added template for ln18n-fi. 2011-07-22 21:19:22 +03:00
skizzhg
789e0f135c Utilities: fix l10n-it. 2011-07-22 02:02:11 +02:00
Valentin Lorentz
8ed2e80260 Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-07-22 01:43:52 +02:00
skizzhg
e37e292484 Channel & Factoids & Google & MessageParser & MoobotFactoids & Services & Topic & User: Add/update l10n-it. 2011-07-22 01:36:07 +02:00
Valentin Lorentz
a94b10e19b Channel: fix typo. 2011-07-22 01:34:31 +02:00
Mika Suomalainen
ce6a6b080a Channel: fixed l18n-fi. 2011-07-21 20:46:43 +03:00
Mika Suomalainen
b325533417 Merge remote-tracking branch 'progval/testing' into testing 2011-07-21 19:20:04 +03:00
Mika Suomalainen
435ed3196c Factoids: added ln18n-fi. 2011-07-21 19:19:57 +03:00
nyuszika7h
b429ecaba7 Anonymous: Add l18n-hu 2011-07-21 17:40:49 +02:00
Mika Suomalainen
e38d00cfc1 Factoids: 51% completed ln18-fi 2011-07-21 12:43:19 +03:00
Mika Suomalainen
ffbc082a32 Merge remote-tracking branch 'progval/testing' into testing 2011-07-21 10:31:35 +03:00
Valentin Lorentz
c571d0e007 Topic: fix typo in @unlock help. 2011-07-20 21:28:43 +02:00
Mika Suomalainen
d3788feecb Factoids: updated incompleted Translation. 2011-07-20 16:20:18 +03:00
Mika Suomalainen
65892c9aa4 Games: fix l18n-fi 2011-07-20 15:29:48 +03:00
Mika Suomalainen
020034dd5c Merge remote-tracking branch 'progval/testing' into testing 2011-07-20 10:48:20 +03:00
Mika Suomalainen
1e3bb247c0 Factoids: added partial l18n-fi 2011-07-20 10:48:08 +03:00
Valentin Lorentz
91d769fa63 Filter: Fix l10n-fr. 2011-07-20 01:41:08 +02:00
Valentin Lorentz
547bf62dac Filter: Fix l10n-fr. 2011-07-19 23:49:34 +02:00
Valentin Lorentz
083815c6f7 Factoids: Fix typo. 2011-07-18 15:23:06 +02:00
skizzhg
a4c0a13b1d MessageParser: Fix typo (rexeps -> regexps). 2011-07-17 15:21:07 +02:00
Mika Suomalainen
44fc846581 Alias: updated ln18n-fi 2011-07-16 22:57:11 +03:00
Mika Suomalainen
a813754947 BadWords: updated l18n-fi 2011-07-16 22:55:27 +03:00
Mika Suomalainen
6edc81d144 Ctcp: updated ln18-fi? 2011-07-16 22:53:34 +03:00
Mika Suomalainen
dcfb0eac0d Channel: updated l18n-fi 2011-07-16 22:46:07 +03:00
Mika Suomalainen
225a2fa250 Factoids: Removed games fi.po from translation; Anonymous: updated ln18-fi 2011-07-16 22:26:24 +03:00
Mika Suomalainen
9ce5b943aa Misc: fixed l18-n 2011-07-16 21:19:20 +03:00
Daniel Folkinshteyn
453f61da53 Dict: Fix FSF address in included dictclient module
Taking fresh address from http://www.gnu.org/licenses/old-licenses/gpl-2.0.html#SEC4
2011-07-16 14:27:52 +02:00
Valentin Lorentz
24aa0b6754 Later: add @undo command. Closes GH-76. 2011-07-16 13:59:49 +02:00
Valentin Lorentz
4e6d08c7ce Misc: Fix @source help. Closes GH-78. 2011-07-16 13:45:43 +02:00
Valentin Lorentz
5e9fd8129e Protector: Fix variable name. 2011-07-15 23:04:49 +02:00
Valentin Lorentz
ce08f275d4 Channel: Fix name conflicts with _. 2011-07-15 23:01:41 +02:00
Mika Suomalainen
862a590020 Misc: added l18n-fi 2011-07-15 17:21:36 +03:00
Valentin Lorentz
83e55fbbbd PluginDownloader: Installing a plugin overrides the existing plugin with the same name, if any. 2011-07-14 17:34:27 +02:00
Valentin Lorentz
4edfed5ed7 AutoMode: fix previous commit. 2011-07-12 16:09:55 +02:00
Valentin Lorentz
fac7f9b379 AutoMode & Conditional & Misc & Network & Owner & Plugin & RSS & Relay & Services & String & Unix: Add l10n-it. 2011-07-12 15:04:13 +02:00
Valentin Lorentz
6b160def92 Misc: Update messages.pot and l10n-fr. 2011-07-10 19:00:12 +02:00
Valentin Lorentz
a83f2c9a07 Misc: Change URL in @source. 2011-07-10 17:08:20 +02:00
Valentin Lorentz
0dfdfa2d28 Channel: fix NameError: 'replyirc' -> 'replyIrc'. Closes GH-73. 2011-07-09 14:05:28 +02:00
Valentin Lorentz
3a9d980df4 Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-07-09 13:44:31 +02:00
Valentin Lorentz
f943fee5d5 Protector: unban user before inviting him. Closes GH-69. 2011-07-09 13:44:16 +02:00
Valentin Lorentz
a4653af792 Protector: Bug fix (demote can't use irc.queueMsg if irc is not given). 2011-07-09 13:43:24 +02:00
Mika Suomalainen
f5505c5dba Internet: improved README. 2011-07-08 13:20:23 +03:00
Mika Suomalainen
553384410b Herald: improved README. 2011-07-08 13:15:10 +03:00
Mika Suomalainen
318d355e0f Games: improved README. 2011-07-08 13:13:04 +03:00
Mika Suomalainen
2b2713f700 Format: improved README 2011-07-08 13:07:58 +03:00
Mika Suomalainen
18e8b08716 Filter: created readme from plugin help. 2011-07-08 13:02:31 +03:00
Valentin Lorentz
6831b75d72 Conditional: fix typo. 2011-07-08 10:41:36 +02:00
Mika Suomalainen
e76c36236b Factoids: improved README 2011-07-08 00:54:12 +03:00
Mika Suomalainen
3fb9316b06 Dunno: improved README 2011-07-08 00:52:31 +03:00
Mika Suomalainen
caba0c4586 Ctcp: improved README 2011-07-08 00:49:42 +03:00
Mika Suomalainen
7ccb3d2014 ChannelStats: improved README 2011-07-08 00:36:09 +03:00
Mika Suomalainen
339aa11f23 ChannelLogger: improved readme 2011-07-08 00:34:08 +03:00
Mika Suomalainen
5b42e2b193 AutoMode: improved readme 2011-07-08 00:30:45 +03:00
Mika Suomalainen
4fe1ab8fe6 Anonymous: added readme 2011-07-08 00:25:24 +03:00
Daniel Folkinshteyn
48979a4db7 Scheduler: remove spammy debug output. 2011-07-07 13:33:30 +02:00
Daniel Folkinshteyn
4b1d2b49e4 Scheduler: don't immediately execute commands when restoring repeated events. 2011-07-07 13:31:50 +02:00
Valentin Lorentz
c6facc99f3 In registry.py, test whether a requested configuration variable is a channel name before creating it automatically. Closes GH-63. 2011-07-06 11:14:58 +02:00
Mika Suomalainen
afba2c2f29 MessageParser: Add l10n-fi 2011-07-04 13:04:04 +03:00
Mika Suomalainen
1ab0969625 Games: Fix l10n-fi. 2011-07-03 13:02:06 +03:00
Mika Suomalainen
6ad0718178 Games: Fix l10n-fi. 2011-07-03 12:29:43 +03:00
Valentin Lorentz
8c1d10e8f3 MoobotFactoids: Use when opening the database. 2011-07-02 11:50:31 +02:00
Mika Suomalainen
974ee4770d Dict: Update l10n-fi. 2011-07-02 12:22:49 +03:00
Mika Suomalainen
8a1ceb60d8 Merge remote-tracking branch 'progval/testing' into HEAD 2011-07-02 12:18:14 +03:00
Mika Suomalainen
92b28a1a1c Dict: updated Finnish translation 2011-07-02 12:07:15 +03:00
Valentin Lorentz
6ed15bafe4 Web: Fix use of %S converter. 2011-07-01 17:07:54 +02:00
Valentin Lorentz
41514bafdd Core & Channel & Topic: Add the isGranted converter. Closes GH-39. 2011-07-01 15:58:39 +02:00
Valentin Lorentz
5eddb189b6 Karma: fix typo. Closes GH-38. 2011-06-30 19:28:20 +02:00
Valentin Lorentz
1133b8f5c0 AutoMode: fix bans. 2011-06-30 19:06:22 +02:00
Valentin Lorentz
7418e78083 Relay: remove redundant nick on join/part when hostmasks enabled 2011-06-30 15:23:17 +02:00
Valentin Lorentz
b797c7f1dc BadWord & ChannelStats & Owner: update l10n-fr. 2011-06-30 13:31:45 +02:00
Valentin Lorentz
5ddbba4152 Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-06-30 09:57:44 +02:00
Valentin Lorentz
f0571e434b AutoMode & BadWord & Config & Format & Karma & Later & Web: Add/update l10n-it. 2011-06-30 09:56:25 +02:00
Valentin Lorentz
3b5d2cb48b Herald: fix name conflict (wqs using _ as a temporary variable) 2011-06-30 03:04:12 +02:00
Valentin Lorentz
5275d708e5 Owner: Fix bug with @enable and @disable if a plugin is given. Closes GH-43. Closes GH-44. 2011-06-29 13:56:22 +02:00
Valentin Lorentz
08175fc920 Conditional: Update l10n-fi 2011-06-29 09:40:05 +02:00
Valentin Lorentz
49e14f9a92 Conditional & Dict & Factoids & MessageParser: remove redundant spaces, update i18n and l10n-fr 2011-06-28 19:43:21 +02:00
Mika Suomalainen
7f8700a948 AutoMode & Math: update/add l10n-fi 2011-06-27 18:08:31 +02:00
Valentin Lorentz
90ed5fcc51 AutoMode: update messages.pot and l10n-fr 2011-06-27 12:06:16 +02:00
Valentin Lorentz
128143f856 AutoMode: fix supybot.plugins.AutoMode.owner. Closes GH-36. 2011-06-27 11:24:50 +02:00
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
James Vega
b0e595fbd2 Update Internet.hexip to handle IPv6
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2011-06-06 22:29:21 -04:00
James Vega
d56381436c Update Internet.dns to handle IPv6 IPs and responses
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2011-06-06 22:28:35 -04: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