Valentin Lorentz
a2004b7150
Improve order of connect messages.
2015-05-17 12:31:14 +02:00
Valentin Lorentz
9cb967023e
gpg: Don't crash if python-gnupg cannot find the gnupg binary.
...
Reported traceback:
File D:python27libsite-packagessupybotgpg.py, line 45, in <module>
gnupg.GPG(gnupghome=None)
File D:python27libsite-packagesgnupg.py, line 680, in __init__
p = self._open_subprocess([--version])
File D:python27libsite-packagesgnupg.py, line 726, in _open_subprocess
return Popen(cmd, shell=False, stdin=PIPE, stdout=PIPE, stderr=PIPE)
File D:python27libsubprocess.py, line 710, in __init__
errread, errwrite)
File D:python27libsubprocess.py, line 958, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
2015-05-17 12:10:11 +02:00
Valentin Lorentz
5bd0001d02
irclib: Faster connection. (At least 5 seconds less.)
2015-05-17 12:02:31 +02:00
Valentin Lorentz
7cc7ad886f
Merge pull request #1107 from GLolol/format-whois
...
formatWhois: fix errors and restore formatting changes lost in supybot merge
2015-05-16 12:44:49 +02:00
Valentin Lorentz
f1fae13b4a
core: Fix IrcChannel.preserve. Closes GH-1106.
2015-05-16 03:59:36 +02:00
James Lu
5190db39a4
formatWhois: Fix channel names having the # cut off
2015-05-15 18:46:28 -07:00
James Lu
c651bc5482
formatWhois: fix error and restore formatting changes lost in supybot merge
...
This reapplies content from commits 2b324203e7
, 2628dc03c4
, ef9fbc4a07
,
41effcea13
, and 5f23855d27
.
2015-05-15 18:40:55 -07:00
Valentin Lorentz
82b8bf801a
core: Fix merge of upstream's factorization of whois formatting.
2015-05-16 03:21:17 +02:00
Valentin Lorentz
eca7a036aa
Socket: Move line decoding to utils.str.
2015-05-16 00:30:20 +02:00
Valentin Lorentz
39d40ec617
Merge branch 'ircv3.2' into testing
2015-05-16 00:22:42 +02:00
Valentin Lorentz
33004696c0
core: Add dictionary of numerics.
2015-05-16 00:20:31 +02:00
Valentin Lorentz
b405f998a5
NickAuth: Add support for account-tag (not tested).
2015-05-15 20:46:18 +02:00
Valentin Lorentz
259457ae2f
core: Request capability metadata-notify so plugins can use it if they want.
2015-05-15 19:35:51 +02:00
Valentin Lorentz
59d542bb70
NickCapture & core: Add support for MONITOR. Closes GH-842.
2015-05-15 19:24:24 +02:00
Valentin Lorentz
ba495f5719
Add support for message tags.
2015-05-15 18:08:50 +02:00
Valentin Lorentz
ed37fb6646
String & core: Add support for G flag in matchers. Closes GH-1072.
2015-05-15 16:48:00 +02:00
Valentin Lorentz
487f8c8af5
Merge remote-tracking branch 'supybot/master' into testing
...
Conflicts:
.mailmap
README
docs/FAQ.rst
plugins/Ctcp/plugin.py
plugins/Misc/plugin.py
plugins/Network/plugin.py
plugins/QuoteGrabs/plugin.py
plugins/RSS/README.txt
plugins/Relay/plugin.py
plugins/ShrinkUrl/config.py
plugins/ShrinkUrl/plugin.py
plugins/ShrinkUrl/test.py
setup.py
src/callbacks.py
src/commands.py
src/conf.py
test/test_commands.py
2015-05-15 14:41:08 +02:00
Valentin Lorentz
6efea561a5
Channel & core: Add support for ban descriptions. Closes GH-1092.
2015-05-15 13:43:26 +02:00
Valentin Lorentz
7448c04760
Store the list of server capabilities in IrcState.
2015-05-15 13:01:26 +02:00
Valentin Lorentz
86d9f49aa5
callbacks: Allow Plugin.noIgnore to be a function instead of a boolean.
2015-05-15 12:39:30 +02:00
Valentin Lorentz
3f9118a1a6
utils.str.format: Add support for sets for %L + add test case. Closes GH-1104
2015-05-14 07:14:29 +00:00
Valentin Lorentz
bce47a8a8a
Revert "Recommend chardet instead of charade. Closes GH-1096."
...
This reverts commit 36a646661d
.
2015-04-29 10:07:13 +02:00
Valentin Lorentz
36a646661d
Recommend chardet instead of charade. Closes GH-1096.
2015-04-29 10:01:10 +02:00
James Lu
6add519765
callbacks.py: log plugin name in registryValue='text' errors
...
This can help with debugging to find what plugins are passing invalid things to registryValue().
2015-04-05 13:44:30 -07:00
Valentin Lorentz
6a134eb302
Update string comparison to a newer string.
...
Signed-off-by: James McCoy <vega.james@gmail.com>
2015-03-26 02:04:06 -04:00
Valentin Lorentz
b0846f914e
Fix crash for commands with ambiguous getopts shortcuts and no docstring.
...
Signed-off-by: James McCoy <vega.james@gmail.com>
2015-03-26 02:00:43 -04:00
James McCoy
cffbd959e8
Add handling of 437 (nick temporarily unavailable) errors
...
Servers bind a nick to a connection for a short window after it
disappears to try and avoid contention over nicks. This may cause a 437
during connection to a server (c.f. ProgVal/Limnoria#1033 ) or even
during normal nick changes, if the timing is lucky.
Add handling for this error to the startup code and the Admin plugin.
Signed-off-by: James McCoy <vega.james@gmail.com>
2015-03-26 01:33:04 -04:00
James McCoy
c3695c9419
ircutils: Add formatWhois function
...
Parsing through the various WHOIS replies to build a formatted string
isn't a trivial task, especially since there is some privacy related
information. Consolidate this handling into a single function so
there's one place to fix bugs.
Also fix an issue with people putting (unterminated) formatted text into
the "realname" field of their IRC client (c.f., ProgVal/Limnoria#1083 ).
Signed-off-by: James McCoy <vega.james@gmail.com>
2015-03-26 00:11:36 -04:00
Valentin Lorentz
4470805b5f
core: Remove useless imports.
2015-03-03 09:02:29 +01:00
Valentin Lorentz
72e71edb89
Update string comparison to a newer string.
2015-03-03 08:55:29 +01:00
Valentin Lorentz
6f9960d7a4
Fix crash for commands with ambiguous getopts shortcuts and no docstring.
2015-03-03 08:55:29 +01:00
James Lu
aba37ff951
conf.py: Remove reference to non-existent? "user configuration variable"
...
Closes #654 .
2015-02-28 00:13:06 -08:00
Valentin Lorentz
9076194009
Merge pull request #1041 from GLolol/admin/configurable-partmsg
...
Admin/Owner: substitute $version in quit and part messages (also make part messages configurable)
2015-02-27 13:15:25 +01:00
James McCoy
a8cd99f121
commands._getRe: Restore original args for any failure
...
String.re uses first('regexpMatcher', 'regexpReplacer'). If the args
provided to String.re are not a matcher and are longer than a single IRC
message (e.g., from a nested command), then regexpReplacer would never
be tried. A too long error should be handled the same as running out of
args while trying to find a valid regexp.
Signed-off-by: James McCoy <vega.james@gmail.com>
2015-02-18 22:09:38 -05:00
Valentin Lorentz
b99ff28e33
utils.web.getUrl: add the 'timeout' argument (and fix the doc of getUrlFd).
...
Signed-off-by: James McCoy <vega.james@gmail.com>
2015-02-18 19:53:42 -05:00
c675654b82
src/i18n.py: have languages in alphabetical order
...
It's probably not so important, but I don't like them being in any
strange random order. Of course having English first would make sense as
it's the default, but I still prefer alphabetical order.
2015-02-08 09:44:13 +02:00
James Lu
32de4e8270
Merge branch 'testing' into admin/configurable-partmsg
2015-02-07 10:00:48 -08:00
Valentin Lorentz
cb6669015e
Make ircutils.standardSubstitute accept None as irc and msg. (Preliminary for GH-1041.)
2015-02-07 08:15:42 +01:00
James Lu
5e4501d7d2
i18n.py: mention 'en' as supported lang & quote the language codes for less ambiguity.
...
Ref #1046 .
2015-02-06 15:40:44 -08:00
544befd2d0
src/i18n.py: mention supported languages
...
Closes #1046
I used Admin for sources of what languages are supported as it's usually
recommended to start translating from there (first plugins, then core).
2015-02-06 11:58:24 +02:00
James Lu
b243c83e41
Admin/Owner: Use standard substitution for part/quit messages
2015-02-05 20:26:14 -08:00
Valentin Lorentz
681bd5d85d
Count number of bytes instead of number of characters for truncating messages. Closes GH-1038.
2015-02-04 17:31:42 +01:00
James Lu
561085cbd1
irclib.py: fix an encoding error with Python 3 and SASL ECDSA-NIST256P-CHALLENGE
...
Closes ProgVal#1028.
2015-01-24 13:32:13 -05:00
nyuszika7h
5653e0c727
Fix commit 30a026a
...
Requesting multiple capabilities in one message will result in a NAK for
all of them if at least one is not supported by the server.
2015-01-19 18:12:39 +01:00
Valentin Lorentz
30a026a92a
Request multi-prefix capability. (GH-1017)
2015-01-19 17:15:25 +01:00
nyuszika7h
bf418756a9
Fix registration timeout when SASL is refused
...
https://github.com/ProgVal/Limnoria/issues/854#issuecomment-70414650
2015-01-18 21:31:03 +01:00
Valentin Lorentz
b0db845604
Merge pull request #1009 from ddan39/master
...
add usesendMsg=False to irc.reply() to use sendMsg() instead of queueMsg...
2015-01-17 09:58:26 +01:00
Dan
bd2d17a1c2
update irc.reply() change new arg name
2015-01-17 03:49:32 -05:00
ddan39
2fe84a3474
add usesendMsg=False to irc.reply() to use sendMsg() instead of queueMsg()
2015-01-17 07:13:30 +01:00
Mikaela Suomalainen
048b00b4a3
src/conf.py: update reply.time.format
...
I am not fully sure on this change, but T is the official separator
between date and time and `date -Is` uses it.
2015-01-05 20:56:41 +02:00