Commit Graph

4095 Commits

Author SHA1 Message Date
Valentin Lorentz
e45b9abd23 Math: Block factorial() in calc functions.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-05-23 06:04:28 -04:00
James McCoy
f3a09ce684 Success: Allow the plugin to be loaded from a query
Closes: Sf#3513915
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-05-23 00:52:24 -04:00
Valentin Lorentz
b7bc11deea Prevent the 'hostmask' converter from returning '*!*@*' while 'foo!*@*' was given. 2012-05-22 23:10:40 -04:00
Valentin Lorentz
5be287b536 Misc: Fix encoding issue with translations using non-ascii characters in @version string. 2012-05-21 17:21:43 +00:00
James McCoy
66ac089a53 Channel: Perform proper capability checks in devoice.
Closes: Sf#3524393
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-05-20 20:57:13 -04:00
Valentin Lorentz
dea0070ac4 PluginDownloader: Remove debug output. 2012-05-17 16:22:37 +00:00
Valentin Lorentz
949df233d0 PluginDownloader: Enable threading. 2012-05-17 14:45:58 +00:00
Valentin Lorentz
0a4e99b6f2 Misc: Use the GitHub API in @version.
* Works with the new automatic version.py
* Prevents us from loading and parsing a raw file.
2012-05-11 19:00:40 +02:00
Valentin Lorentz
86f541e6db Revert "Web: Fix unicode problems for titleSnarfer."
This reverts commit 3579701d2d.
2012-05-11 18:10:23 +02:00
Valentin Lorentz
4692f831d4 Google: Fix HTML escaping. 2012-05-11 18:07:50 +02:00
Valentin Lorentz
5edd174e38 Google: Remove @translate from tests. 2012-05-11 18:07:39 +02:00
Valentin Lorentz
1f60a9487c Math: Allow 'factorial()' in icalc. 2012-05-07 17:52:02 +02:00
Valentin Lorentz
695078edeb Math: Block factorial() in calc functions. 2012-05-07 15:16:20 +00:00
nyuszika7h
d23757e8fa Google: Remove translate command. Closes GH-337. 2012-05-05 20:45:01 +02:00
Valentin Lorentz
14cad125af Merge pull request #350 from Hoaas/testing
Fix issue #347.
2012-05-04 10:01:07 -07:00
skizzhg
901a03407d PluginDownloader: update l10n-it. 2012-05-04 18:56:13 +02:00
Terje Hoås
3579701d2d Web: Fix unicode problems for titleSnarfer. 2012-05-04 12:11:53 +02:00
Valentin Lorentz
207f6ec2da Google: Fix bad json format. 2012-05-02 15:36:34 +00:00
Valentin Lorentz
bb2c8d472e Merge pull request #345 from Mkaysi/plugindownloader-l10n-fi
Plugindownloader: update and fix l10n-fi
2012-04-29 11:07:49 -07:00
Valentin Lorentz
9cba1e4d08 PluginDownloader: Add @info command. 2012-04-29 17:55:41 +00:00
Mika Suomalainen
f8a3de4632 PluginDownloader: fix l10n-fi.
check_trans.py doesn't like GTranslator, it seems.
2012-04-29 20:49:11 +03:00
Mika Suomalainen
9dcb976346 PluginDownloader: fix l10n-fi.
"pakettivarasto" --> "ohjelmistolähde"
2012-04-29 20:42:25 +03:00
Mika Suomalainen
5f5a9f79e1 PluginDownloader: update l10n-fi. 2012-04-29 20:32:20 +03:00
Mika Suomalainen
7fadad0e3d PluginDownloader: add @plugin help PluginDownloader. 2012-04-29 19:25:44 +03:00
Valentin Lorentz
124ca33f4e AutoMode & Unix: Update l10n-fr. 2012-04-27 18:14:29 +02:00
Valentin Lorentz
d71b1a815a Merge pull request #341 from Mkaysi/l10n-de
Update l10n-de.
2012-04-27 08:56:40 -07:00
Mika Suomalainen
5e1cb6e0ff User: update l10n-hu. 2012-04-27 17:55:51 +02:00
Mika Suomalainen
04f0660a31 Misc: update l10n-hu. 2012-04-27 17:55:51 +02:00
Mika Suomalainen
b865e80955 Owner: update l10n-hu. 2012-04-27 17:55:51 +02:00
Mika Suomalainen
93215d0d9d Alias: update l10n-hu. 2012-04-27 17:55:51 +02:00
Mika Suomalainen
71ccf21d25 Time: update l10n-hu. 2012-04-27 17:55:51 +02:00
Mika Suomalainen
f15312b927 Channel: update l10n-hu. 2012-04-27 17:55:50 +02:00
Mika Suomalainen
3f75168871 User: update l10n-de. 2012-04-27 15:48:28 +03:00
Mika Suomalainen
b688eabd17 Web: update l10n-de. 2012-04-27 15:47:28 +03:00
Mika Suomalainen
a5074c4c4f Status: update l10n-de. 2012-04-27 15:46:21 +03:00
Mika Suomalainen
a9db7f02ea Misc: update l10n-de. 2012-04-27 15:40:28 +03:00
Mika Suomalainen
7ad332874e PluginDownloader: update l10n-de. 2012-04-27 15:39:51 +03:00
Mika Suomalainen
dcf80de3d3 Owner: update l10n-de. 2012-04-27 15:39:03 +03:00
Mika Suomalainen
0f8ba0fb2b AutoMode: update l10n-de. 2012-04-27 15:38:23 +03:00
Mika Suomalainen
7babbbcbf8 Alias: update l10n-de. 2012-04-27 15:36:49 +03:00
Mika Suomalainen
9598a9f03e Time: update l10n-de. 2012-04-27 15:35:57 +03:00
Mika Suomalainen
9428e9a335 Seen: update l10n-de. 2012-04-27 15:35:09 +03:00
Mika Suomalainen
cc82aa4f97 Channel: update l10n-de. 2012-04-27 15:34:40 +03:00
Mika Suomalainen
f74c6bf8b9 Factoids: update l10n-fi.
check_trans.py gave errrors, but now it doesn't seem to be giving them anymore.
2012-04-27 14:45:37 +03:00
Mika Suomalainen
83cd0dfc77 Factoids: fix l10n-fi. 2012-04-25 20:07:03 +03:00
skizzhg
418d1b921f AutoMode & Channel & Time & Unix: Update l10n-it. 2012-04-23 21:52:02 +02:00
Mika Suomalainen
548ab6ffe0 AutoMode: fix & update l10n-fi. 2012-04-20 11:35:04 +03:00
Valentin Lorentz
87607667ec PluginDownloader: Add l10n-fr. 2012-04-19 21:45:49 +02:00
Valentin Lorentz
fe9197ee7c AutoMode: update messages.pot. 2012-04-19 21:39:10 +02:00
Valentin Lorentz
bd6ff971c9 Factoids & Format & Praise: fix l10n-fi and l10n-it. 2012-04-19 21:31:21 +02:00
Valentin Lorentz
f51fbd0033 PluginDownloader: Add a bunch of new plugins: Antibody's, doorbot's, boombot's, mailed-notifier, pingdom, scrum. 2012-04-16 20:09:55 +00:00
Valentin Lorentz
06832d6e3a Channel: Add capability checks in @voice 2012-04-16 07:56:20 +00:00
Valentin Lorentz
945b34d519 BadWords: Add support for +h. 2012-04-15 21:02:42 +00:00
Mika Suomalainen
fe61332f06 Unix: update l10n-fi. 2012-04-15 18:54:48 +03:00
Mika Suomalainen
5cafbc50ae Unix: update messages.pot 2012-04-15 18:47:30 +03:00
Valentin Lorentz
70a1aced78 Add tests for Unix.sysuptime and Unix.sysuname. 2012-04-15 14:02:44 +02:00
robbe
7de277d052 Add commands Unix.sysuptime and Unix.sysuname. 2012-04-15 14:02:39 +02:00
Valentin Lorentz
a40cf1c82f Time: Fix redundant error when pytz is not installed 2012-04-05 04:28:57 +00:00
Valentin Lorentz
e6032c68bc AutoMode: Add configurable delay. Closes GH-188. 2012-04-04 15:55:42 +02:00
Valentin Lorentz
113ddf8c69 Internet: Remove special handling for Verisign in @dns. 2012-04-04 15:13:39 +02:00
Valentin Lorentz
e92b8a62f5 Merge supybot's master (will make future merges easier)
Conflicts:
	plugins/Misc/plugin.py
	plugins/String/plugin.py
	src/drivers/Socket.py
	src/irclib.py
	src/ircutils.py
2012-04-03 16:55:29 +02:00
skizzhg
aedfc07762 Update l10n-it. 2012-03-16 18:28:05 +01:00
Mika Suomalainen
63bc155750 Google: update l10n-fi. 2012-03-15 20:48:51 +08:00
Mika Suomalainen
837b7e89b1 Web: update l10n-fi. 2012-03-15 20:48:51 +08:00
Mika Suomalainen
89191b81ac Status: update l10n-fi. 2012-03-15 20:48:51 +08:00
Mika Suomalainen
b3d9a475ea Misc: update l10n-fi. 2012-03-15 20:48:51 +08:00
Mika Suomalainen
e2d04ae52e PluginDownloader: update l10n-fi. 2012-03-15 20:48:51 +08:00
Mika Suomalainen
7c2f77ddf1 Owner: "update" l10n-fi.
This plugin is completetly untranslated, because it cannot be translated. For reason, see the header of this file.
2012-03-15 20:48:50 +08:00
Mika Suomalainen
efa90de186 Alias: update l10n-fi. 2012-03-15 20:48:50 +08:00
Mika Suomalainen
5108a60449 Time: update l10n-fi. 2012-03-15 20:48:50 +08:00
Mika Suomalainen
540c943e12 Seen: update l10n-fi. 2012-03-15 20:48:50 +08:00
Mika Suomalainen
e6fe302de5 Channel: update l10n-fi. 2012-03-15 20:48:49 +08:00
Valentin Lorentz
808ed5cd9b Update l10n-fr. 2012-03-15 13:44:43 +01:00
Valentin Lorentz
46a890417a Update all plugin .pot files. 2012-03-11 21:06:19 +00:00
Valentin Lorentz
4e7cec2b8e Merge branch 'master' into testing 2012-03-08 18:53:37 +00:00
Terje Hoås
a1ab4b7ba0 Google: Fix UnicodeEncodeError in Calc. 2012-03-08 14:24:58 +01:00
nyuszika7h
5b0faad2f9 Misc: Handle KeyError in 'completenick'. Closes GH-315. 2012-02-25 21:04:08 +08:00
Valentin Lorentz
99ad2d193e BadWords: Fix commit 123c176637. 2012-02-25 14:02:02 +01:00
Valentin Lorentz
e2c1adda7f Misc: Fix search of unloaded plugins if Misc is not in supybot install dir. 2012-02-20 07:26:49 +00:00
Valentin Lorentz
68bcffb57b Merge branch 'master' into testing 2012-02-18 13:01:06 +01:00
nyuszika7h
8e4090ff96 Status: Add network command
This command is same as server, except that it will return the
network, not the server the bot is on.
2012-02-18 19:37:55 +08:00
nyuszika7h
123c176637 BadWords: Make configuration variable requireWordBoundaries channel-specific 2012-02-18 19:37:55 +08:00
Valentin Lorentz
44c10a0b49 Web: Update message.pot. 2012-02-16 17:17:23 +01:00
skizzhg
56afad786c Alias: Fix the help for @alias add. 2012-02-16 17:17:00 +01:00
Valentin Lorentz
816ae143bc Success: Fix load in private query. Closes GH-313. 2012-02-16 12:46:33 +01:00
Valentin Lorentz
7bb72c72be Channel: Fix docstring. Closes GH-128. 2012-02-11 15:19:50 +01:00
Valentin Lorentz
1606e2d1e0 Owner: Fix docstring. Closes GH-133. 2012-02-11 15:19:14 +01:00
Valentin Lorentz
5c9a62e69a Channel: Fix docstring. Closes GH-129. 2012-02-11 15:18:32 +01:00
Valentin Lorentz
f18850e5f8 Misc: Add @completenick. Closes GH-154. 2012-02-11 15:17:12 +01:00
Valentin Lorentz
d8ecc7db5f Ctcp: Add configuration variable supybot.plugins.Ctcp.userinfo. Closes GH-204. 2012-02-11 13:44:19 +01:00
Valentin Lorentz
8add4911f5 Anonymous: Use channel-specific variables. Closes GH-232. 2012-02-11 13:41:29 +01:00
Valentin Lorentz
3a59601d29 Web: Fix supybot.plugins.Web.nonSnarfingRegexp and update l10n-fr and l10n-it. 2012-01-28 20:40:45 +01:00
Valentin Lorentz
ccc9185684 Admin: Update l10n-it. 2012-01-28 20:37:58 +01:00
Valentin Lorentz
41e5c26e52 Status: @cpu was giving a wrong value for the memory use (1024 times lower). 2012-01-22 11:33:23 +01:00
Valentin Lorentz
5fb96ffd15 Merge branch 'testing' 2012-01-17 20:55:26 +00:00
Mika Suomalainen
2e9dcfa3a6 User: add l10n-fi.
Conflicts:

	src/version.py
2012-01-06 18:12:50 +01:00
Mika Suomalainen
0bc57c9465 User: fix fuzzy l10n-fi.
User l10n-fi is not finished yet.

Conflicts:

	src/version.py
2012-01-06 18:12:30 +01:00
Mika Suomalainen
c2dec57bac User: continue l10n-fi.
Conflicts:

	src/version.py
2012-01-06 18:11:11 +01:00
Valentin Lorentz
b7b3235ff4 Admin: Edit all l10n files to the string. 2012-01-04 22:37:57 +01:00
Valentin Lorentz
2a8f814a16 Revert "Fix commit ce552d56"
This reverts commit efb6dc139f.
2012-01-04 22:34:22 +01:00
Valentin Lorentz
efb6dc139f Fix commit ce552d56 2012-01-04 21:25:47 +01:00
Valentin Lorentz
38072df6da Merge pull request #305 from michealh/testing
Testing
2012-01-04 12:24:03 -08:00
Micheal Harker
ce552d56da Fixed a issued with +r channels on freenode? Maybe all ircd-seven or charybdis servers, now displays messages. Also fixed a small grammer mistake 2012-01-04 20:11:34 +00:00
Valentin Lorentz
6e32d10d0d Fix commit 6e699816 (bot always joined on invite) 2012-01-04 21:11:02 +01:00
Mika Suomalainen
1fd0657da8 User: continue partial l10n-fi and unmark fuzzy with correct string. 2012-01-04 02:44:00 +08:00
Mika Suomalainen
34f6b6d191 Channel: fix l10n-fi.
Same fix as with Admin plugin. Change ignore to
more explaining word.
2012-01-04 02:42:33 +08:00
Mika Suomalainen
0784ba5e85 Admin: fix l10n-fi.
Fix some typos and change "ignore" to "huomiotta jättämiseksi".
Both are correct, but the first is like "ignoring fact" and second
is the ignoring what Limnoria uses. Both are correct, but this
explains more.
2012-01-04 02:42:33 +08:00
Mika Suomalainen
1432790250 User: update l10n-fi.
Note that it's still partial.

See commit two commits ago.

See my answer to it in previous commit.
2012-01-04 02:42:32 +08:00
skizzhg
74c8c14849 Unix & User: update l10n-it. 2012-01-03 18:39:21 +01:00
nyuszika7h
6e699816d0 Channel: Make supybot.alwaysJoinOnInvite channel-specific. Closes GH-159. 2012-01-02 14:15:01 +01:00
Valentin Lorentz
fc3d3e6c01 Prevent the 'hostmask' converter from returning '*!*@*' while 'foo!*@*' was given. 2011-12-27 11:55:50 +01:00
Valentin Lorentz
95a9ffac17 User: Fix Mkaysi's mess with the messages.pot. 2011-12-23 14:02:39 +01:00
Mika Suomalainen
45da6a2f60 Ctcp: fix l10n-de & fix l10n-fr & update l10n-fi. 2011-12-23 13:44:03 +02:00
Mika Suomalainen
b7b1e15efa Unix: update l10n-fi. 2011-12-23 11:51:49 +02:00
Valentin Lorentz
c510bae4b4 Merge pull request #293 from nyuszika7h/testing
Testing
2011-12-23 01:45:41 -08:00
nyuszika7h
dd8685e7d0 Alias: Fix l10n-hu 2011-12-23 10:37:40 +01:00
nyuszika7h
277080a247 Unix: Made plugin.py:190 localizable and regenerated messages.pot 2011-12-22 22:28:46 +01:00
nyuszika7h
1c01dc2a3c Unix: Add configuration variable spell.language 2011-12-22 22:21:20 +01:00
Mika Suomalainen
66ea215bed Topic: update l10n-fi. 2011-12-22 21:02:16 +02:00
nyuszika7h
3ec2b166a6 User: Fix copyright in l10n-hu 2011-12-22 15:18:16 +01:00
Mika Suomalainen
edf3851691 Web: add l10n-fi. 2011-12-22 15:24:20 +02:00
Mika Suomalainen
c07a267e51 Utilities: add l10n-fi. 2011-12-22 14:07:08 +02:00
nyuszika7h
77597d2cc9 User: Add l10n-hu 2011-12-21 20:40:10 +01:00
Mika Suomalainen
990801aa84 Utilities: start l10n-fi. 2011-12-21 21:09:44 +02:00
Mika Suomalainen
00d9a38830 User: add l10n-fi. 2011-12-21 20:45:08 +02:00
Mika Suomalainen
b5feac3e28 User: fix one string (add she) & update messages.pot & update l10n-fi & continue l10n-fi. 2011-12-21 18:25:33 +02:00
Mika Suomalainen
ad9b0aa3a5 User: continue l10n-fi. 2011-12-21 18:12:47 +02:00
Mika Suomalainen
e77aeb805b User: continue l10n-fi. 2011-12-21 13:13:10 +02:00
Mika Suomalainen
3a57cda34a User: add partial l10n-fi. 2011-12-20 19:09:36 +02:00
Mika Suomalainen
4e38be73ba URL: add l10n-fi. 2011-12-20 17:18:47 +02:00
Valentin Lorentz
aef609f61f Merge branch 'testing' 2011-12-19 01:32:25 +01:00
James McCoy
ff96b898f9 RSS._getConverter: Encode strings before handing them off to other functions
When the feed has a specified encoding, we'll be dealing with unicode objects
in the response from feedparser.parse().  To avoid possible UnicodeErrors, we
need to encode() before handing the string off to other functions, so the
other functions are always dealing with bytestrings instead of bytestrings and
unicode objects.  Mixing unicode and bytestrings will cause implicit
conversions of the unicode objects, which will most likely use the wrong
encoding.

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>

Conflicts:

	plugins/RSS/plugin.py
2011-12-19 01:32:05 +01:00
nyuszika7h
8af27f4f64 Unix: Make configuration variable fortune.offensive channel-specific 2011-12-18 14:24:35 +01:00
nyuszika7h
751a3ef921 Unix: Make configuration variable fortune.short channel-specific 2011-12-18 14:21:46 +01:00
Mika Suomalainen
7dba155038 Unix: add l10n-fi. 2011-12-18 18:53:59 +08:00
Mika Suomalainen
c10f62b57b Unix: add partial l10n-fi. 2011-12-14 01:31:39 +08:00
Valentin Lorentz
72077c8c97 Google: fix previous cherry-pick. 2011-12-13 18:10:20 +01:00
Daniel Folkinshteyn
b991c8679b Google: use web scraping as fallback to ig api
ig api doesn't have everything (for one, timezones),
and also, in case the IG api ever dies.

Conflicts:

	plugins/Google/plugin.py
2011-12-13 18:10:15 +01:00
Daniel Folkinshteyn
e1ffe0f4e3 Google: use google ig api for the calc. no more web scraping. let's hope this stays alive.
Conflicts:

	plugins/Google/plugin.py
2011-12-13 18:10:09 +01:00
James McCoy
d1bc7922ee Simplify handling of per-network waitingJoins
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-13 18:08:00 +01:00
Daniel Folkinshteyn
761435ba1a Services: catch occasional error when removing waiting joins from list
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-13 18:07:56 +01:00
Daniel Folkinshteyn
8c3304c520 Services: fix problem with some channels being mixed up between networks on startup, when noJoinsUntilIdentified is true.
When noJoinsUntilIdentified config is true, the bot holds join messages in a 'waitingJoins' list, and processes them
once nickserv identification comes through. The problem was that when the bot is configured to join multiple networks,
join messages from different networks would get appended to the same list, without any differentiation by which message
belongs to which network. Thus, if there are messages waiting for multiple networks, it would often be the case that
whichever network got identification done first, would 'pick up' other network's join messages.

This fix stores the network name along with the join messages in the list, and has each network pick out only its own
join messages.

Conflicts:

	src/version.py

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>

Conflicts:

	plugins/Services/plugin.py
2011-12-13 18:07:22 +01:00
James McCoy
f0233c370f Prevent nesting of Misc.tell
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-13 18:05:21 +01:00
James McCoy
ca23cbb774 Merge branch 'maint/0.83.4' 2011-12-06 01:18:18 -05:00
James McCoy
c90fafebe7 Simplify handling of per-network waitingJoins
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-06 00:55:29 -05:00
Daniel Folkinshteyn
1e1b39783b Services: catch occasional error when removing waiting joins from list
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-06 00:53:19 -05:00
Daniel Folkinshteyn
d5648ab534 Services: fix problem with some channels being mixed up between networks on startup, when noJoinsUntilIdentified is true.
When noJoinsUntilIdentified config is true, the bot holds join messages in a 'waitingJoins' list, and processes them
once nickserv identification comes through. The problem was that when the bot is configured to join multiple networks,
join messages from different networks would get appended to the same list, without any differentiation by which message
belongs to which network. Thus, if there are messages waiting for multiple networks, it would often be the case that
whichever network got identification done first, would 'pick up' other network's join messages.

This fix stores the network name along with the join messages in the list, and has each network pick out only its own
join messages.

Conflicts:

	src/version.py

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-06 00:53:07 -05:00
Daniel Folkinshteyn
71bcc2bc7c Services: add some more strings indicating identification success.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-06 00:38:29 -05:00
James McCoy
5b4c150d03 Prevent nesting of Misc.tell
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-05 23:13:09 -05:00
Valentin Lorentz
78accda006 Since: Fix traceback. 2011-12-03 20:55:25 +01:00