Valentin Lorentz
5b29c8c0dd
utils.iter: Allow None argument to filterfalse and all.
...
Fixes bug in the Debian plugin.
2016-10-27 20:51:36 +02:00
Valentin Lorentz
337094a1f4
Document argument 'heap_size' of commands.process.
2016-10-26 18:11:01 +02:00
Valentin Lorentz
97d29d7913
Bring back VersionIsEmpty for supybot.user
...
Was removed by e5729bc86d
, but
the removal breaks compatibility with popular IRCds.
2016-10-01 23:47:42 +02:00
Valentin Lorentz
c6e29031d1
Make replies() behave consistently with reply() regarding the 'to' parameter.
...
Side-effect: Fixes channel-specificity of supybot.reply.onetoone for the Reply.replies command.
Closes GH-1266.
2016-10-01 13:37:03 +02:00
Valentin Lorentz
79bcc04d0a
Fix Python 3.6 support of utils.python.glob2re.
2016-09-14 20:09:00 +02:00
Valentin Lorentz
e5729bc86d
Remove VersionIfEmpty config type, useless since 278a111f5f
.
2016-08-16 11:03:58 +02:00
James Lu
278a111f5f
irclib: expand standard substitutions in realname
2016-08-16 11:00:58 +02:00
Valentin Lorentz
40a06d6527
Deprecate IrcMsg.__getattr__ and fix compatibility with Python ≥ 3.6.
2016-08-02 10:32:01 +02:00
James Lu
fea1ae1c20
ircutils: expand $version to Limnoria instead of Supybot
2016-08-01 20:57:21 -07:00
Valentin Lorentz
0d820477c2
GPG: Improve error messages.
2016-07-29 01:28:12 +02:00
Valentin Lorentz
e41b75d636
Merge remote-tracking branch 'mapreri/stable-output' into testing. Closes GH-1250.
2016-07-23 16:23:09 +02:00
Mattia Rizzolo
a69117a203
always sort the produced config files
2016-07-23 13:36:00 +00:00
Valentin Lorentz
dc4afb45a0
Try to provide Server Name Indication even if Python does not have SSLContext.
2016-07-20 20:42:40 +02:00
Valentin Lorentz
fa5552ee5f
Merge pull request #1235 from JunaidLoonat/master
...
Use HTTP proxy for HTTPS requests as well
2016-04-29 22:09:17 +02:00
Junaid Loonat
3a2b603f2f
Improved HttpProxy validation routine
...
Validation routine for HttpProxy updated to use the newly introduced isSocketAddress() function
2016-04-26 23:32:48 +02:00
Junaid Loonat
3e72aa5da5
New isSocketAddress() method
...
Introduction of the isSocketAddress() method which will use the existing getSocket() method in order to validate whether the provided string is a valid socket address.
2016-04-26 23:12:26 +02:00
Junaid Loonat
7be7b98e68
Update conf.py
2016-04-25 23:21:46 +02:00
Junaid Loonat
c211c60e52
Removed HTTP(S) proxy code
...
The HTTP(S) proxy is now set globally from the configuration logic.
2016-04-25 22:12:52 +02:00
Junaid Loonat
14e5c490e6
Update conf.py
2016-04-25 22:03:00 +02:00
Junaid Loonat
8d2da9aa3a
Immediate HTTP(S) proxy (de)activation
...
Introduction of HttpProxy class which is based off of the SocksProxy class.
Allows for immediate HTTP(S) proxy activation and deactivation, as the configuration is changed.
2016-04-25 21:50:52 +02:00
Junaid Loonat
654d98c125
Use proxy for HTTPS requests as well
...
Use proxy handler/opener classes, instead of request.set_proxy, to avoid any potential bugs in older Python versions.
Use the HTTP proxy (if configured) for HTTPS requests as well.
2016-04-25 10:14:49 +02:00
Valentin Lorentz
6ec0af2da3
Strip CTCP characters from irc.reply by default.
2016-04-24 21:11:34 +02:00
Valentin Lorentz
92ed5d484d
Open log files with UTF-8 encoding.
...
It seems to work better that way, at least on Python 3.
2016-03-24 22:04:35 +01:00
Valentin Lorentz
b64926814b
Add another fallback to log emitting in case of unicode-related error.
2016-03-20 12:56:33 +01:00
Valentin Lorentz
93feb71b66
Normalize fingerprints to allow more formats.
...
https://github.com/Limnoria/Limnoria-doc/issues/76#issuecomment-198794341
2016-03-20 10:28:33 +01:00
Valentin Lorentz
9cd2170a14
Add supported server fingerprint algorithms to the help of supybot.networks.*.ssl.serverFingerprints. Closes GH-1221.
2016-03-17 19:18:41 +01:00
James Lu
1b0c2ab95a
ircutils: add $network to standard substitutions
2016-03-14 20:30:11 -07:00
Valentin Lorentz
7f38076e59
Use HTMLParser.unescape instead of chr to decode HTML entities.
...
This adds support for entities encoded in hexadecimal notation.
2016-03-08 22:00:44 +01:00
Valentin Lorentz
bf02f79847
Merge pull request #1220 from GLolol/drivers/logging
...
Socket: lower SSL related log level, and reword text to flow better
2016-02-24 19:31:13 +01:00
Valentin Lorentz
2c1de2328b
Merge pull request #1219 from GLolol/patch-1
...
conf: fix help for verifyCertificates
2016-02-24 17:27:22 +01:00
Valentin Lorentz
f1390b1aec
Improve SSL-related version warnings.
2016-02-24 17:25:51 +01:00
James Lu
afc8d828b2
Merge remote-tracking branch 'origin/patch-1' into drivers/logging
...
Conflicts:
src/drivers/Socket.py
2016-02-24 07:07:29 -08:00
James Lu
7c9b92bee5
conf: fix help for verifyCertificates
...
Closes #1216 .
2016-02-24 07:02:10 -08:00
Valentin Lorentz
e1a86665ae
Remove unsupported option verify_mode to ssl.wrap_socket.
2016-02-24 07:43:21 +01:00
Valentin Lorentz
90c565c0c5
Fix name.
...
I thought I fixed that d922af1043
, but I
messed up with Git so hard I had to re-do that commit multiple times,
forgetting a new thing each time; and apparently that one passed through.
2016-02-23 21:56:52 +01:00
Valentin Lorentz
d163d1a1a3
Add support for authority certificates.
2016-02-23 20:52:36 +01:00
Valentin Lorentz
81a9d1fa39
Remove “Supybot” by “Limnoria” in the default version (following 661a32d1a9
).
2016-02-23 20:52:07 +01:00
James Lu
b344126318
Socket: update logging text to flow better
2016-02-23 07:29:16 -08:00
Valentin Lorentz
78cf550674
Socket: fix crash on Python versions that do no support certificate validation.
2016-02-23 16:25:37 +01:00
Valentin Lorentz
880addf256
Add link to FAQ items on how to upgrade to Python 3.
2016-02-22 20:18:37 +01:00
Valentin Lorentz
8c3946d31c
Actually, 3.2 and 3.3 don't have SSLContext either. Let's recommend only ≥ 3.4.
2016-02-22 18:36:53 +01:00
James Lu
aee7ac3583
Socket: drop SSL-related logging from critical to warning / error, and fix spacing
2016-02-22 07:09:56 -08:00
Valentin Lorentz
a7096f8b3e
Disable SSL cert verification by default.
...
Having it enabled by default would break existing bots just by
doing the update.
Let's just show a warning and give owners some time to update
their config, for the moment.
2016-02-21 14:47:44 +01:00
Valentin Lorentz
ae560dbd2a
Add supybot.protocols.ssl.verifyCertificates.
...
And remove unused variable supybot.protocols.ssl.verifyMode.
2016-02-21 14:42:41 +01:00
Valentin Lorentz
e77e78e79e
Add support for using server certificate fingerprint instead of CA signature.
2016-02-21 14:18:14 +01:00
Valentin Lorentz
d922af1043
Verify server certificate, and deprecate Python < 2.7.9. Closes GH-1031.
2016-02-21 13:20:09 +01:00
Valentin Lorentz
c3dd5f8b64
Make SSL the default for connecting to a new network.
2016-02-21 13:04:26 +01:00
Valentin Lorentz
b33dadea9e
Make INFO a bit less verbose when connecting.
2016-02-21 11:01:31 +01:00
Valentin Lorentz
c260a76e06
Add fallback for interpreters which do not support __slots__ for str subclasses.
...
Affects CPython 2.x, but neither CPython 3.x or Pypy.
Incompatibility introduced in 38e7589ff3
.
2016-02-20 13:35:40 +01:00
Valentin Lorentz
15e387ea46
Make irc.replies return all results in a single line by default (instead of following the conf), if used in a nested command. Closes GH-219.
2016-02-20 12:57:04 +01:00