Commit Graph

10736 Commits

Author SHA1 Message Date
Valentin Lorentz f8aaddd5b5 Google: Fix google URL. 2016-05-04 19:29:53 +02:00
Valentin Lorentz b5268d63a3 Google: AJAX API was closed today, using HTML scraping instead. 2016-05-04 19:05:31 +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 c9e5486806 Ctcp: Don't strip CTCP character in output. (bug added in previous commit) 2016-04-24 21:26:25 +02:00
Valentin Lorentz 6ec0af2da3 Strip CTCP characters from irc.reply by default. 2016-04-24 21:11:34 +02:00
Valentin Lorentz 52517c8ca6 Open CSV files in binary mode on Python 2. Closes GH-1230. 2016-04-13 17:56:03 +02:00
Valentin Lorentz 2d1816e8f4 Ctcp: s/Supybot/Limnoria/ in version reply. 2016-04-10 19:31:59 +02:00
Valentin Lorentz 443999df25 Misc: s/Supybot/Limnoria/ in @version. 2016-04-02 18:57:10 +02:00
Valentin Lorentz eba2be7e87 https:// for the builds URL. 2016-03-24 23:18:42 +01: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
James Lu 3879f30d47 User: allow owners to change their own password
I don't understand why this restriction exists. If someone gains access to someone else's owner account, they can do a lot worse damage than just changing the owner password.
People logging in via NickAuth or hostmasks should be able to change their passwords at will, even if the owner doesn't know his previous password.
2016-03-21 20:57:13 +01:00
James Lu d4a71497c4 Misc.last: add a timeout in --regexp search to prevent various ReDoS attacks 2016-03-21 20:57:04 +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
Valentin Lorentz 51c354bcfb Conditional: disable threading. 2016-03-16 16:49:07 +01:00
Valentin Lorentz e91b3e70f8 Merge pull request #1228 from GLolol/ircutils-1
ircutils: add $network to standard substitutions
2016-03-15 17:14:08 +01:00
James Lu 22408ce413 Fix tests from last commit 2016-03-15 08:35:46 -07:00
James Lu 1b0c2ab95a ircutils: add $network to standard substitutions 2016-03-14 20:30:11 -07:00
Valentin Lorentz 1d62a0a7c5 Fix version-clash error message to show the path to python instead of supybot. 2016-03-12 22:30:15 +01:00
Valentin Lorentz 71c67f8773 Merge pull request #1227 from GLolol/network/fix-getopts
Network: fix getopts key for --nossl
2016-03-12 07:40:00 +01:00
James Lu 9ace3004aa Network: fix getopts key for --nossl 2016-03-11 20:05:41 -08:00
Valentin Lorentz 5db3faca7a Unix: Add support for -4 and -6 in @ping. Closes GH-1224. 2016-03-11 21:12:04 +01:00
Valentin Lorentz 6936e3d634 Aka: make @list --keys reply on a single line, even if supybot.reply.oneToOne is False. Closes GH-1225. 2016-03-11 21:00:01 +01:00
Valentin Lorentz fc3c9eec7c Time: Explicitely handle the 'now' case.
dateutil never handled it, and just returned the current day.
https://github.com/dateutil/dateutil/issues/212
2016-03-08 22:40:41 +01: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 25a913a82b Unix: Make fortune.equal and fortune.file channel-specific. 2016-03-01 19:21:17 +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 a702a95357 Update recommended version in the README.
[SKIP CI]
2016-02-23 21:59:18 +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
Valentin Lorentz 0b66abaf5b Channel: Fix 'ignore remove' converter to work like 'ignore add'. 2016-02-23 19:12:22 +00:00
Valentin Lorentz b34ee949cb Remove debug expression I shouldn't have committed. 2016-02-23 19:11:47 +00: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