Commit Graph

10867 Commits

Author SHA1 Message Date
James Lu
fea1ae1c20 ircutils: expand $version to Limnoria instead of Supybot 2016-08-01 20:57:21 -07:00
Valentin Lorentz
de8d4fbe52 PluginDownloader: Fix decoding issue (caught in stepnem/Freenode). 2016-08-01 16:09:11 +02:00
Valentin Lorentz
9c76750ff9 PluginDownloader: Add test case.
Someone reported it to crash, but it does no. Hmm…
2016-08-01 16:08:31 +02:00
Valentin Lorentz
035c38a4f1 ChannelStats: Forbid large numbers for factorial(). 2016-07-30 20:25:52 +02:00
Valentin Lorentz
66782d47d8 GPG: Improve error messages. 2016-07-29 10:26:59 +02:00
Valentin Lorentz
0d820477c2 GPG: Improve error messages. 2016-07-29 01:28:12 +02:00
Valentin Lorentz
94ec830061 Exclude redundant Travis build. 2016-07-28 09:50:08 +02:00
Valentin Lorentz
ccc6b53a9a Fix version returned by 'supybot --version' (Limnoria, not Supybot). 2016-07-28 09:27:21 +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
Valentin Lorentz
aa1c971ac0 Merge pull request #1251 from mapreri/trevis-update
trevis: also test for 3.5 stable move to 3.6-dev
2016-07-23 16:03:15 +02:00
Mattia Rizzolo
fefd69b947
trevis: also test for 3.5 stable move to 3.6-dev 2016-07-23 13:51:25 +00: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
9c29652697 Merge pull request #1249 from GLolol/patch-1
Google: mention the format of language codes
2016-07-15 20:51:11 +02:00
James Lu
30ba4bbe22 Google: mention the format of language codes
This might reduce confusion when people do things like "!google translate english to french hello", which produces no result.
2016-07-15 11:48:26 -07:00
Valentin Lorentz
b16ec65cb2 Merge pull request #1248 from nirik/abuse-owner-to-trusted
change abuse command flood to except trusted users instead of just owners
2016-07-07 08:24:02 +02:00
Kevin Fenzi
932f49648b change abuse command flood to except trusted users instead of just owners 2016-07-06 16:50:14 -06:00
Valentin Lorentz
6ec60479b7 supybot-wizard: Fix typo. 2016-06-29 09:17:15 +02:00
Valentin Lorentz
ea89e4b784 Fix supybot-wizard for disabling SSL.
Answering 'no' kept the default value for SSL, which is
True since c3dd5f8b64.
2016-06-27 20:14:17 +02:00
Valentin Lorentz
7b658e714b Factoids: Fix Python 3 support. 2016-06-04 18:57:31 +02:00
Valentin Lorentz
59df2ff038 Factoids: Fix names of utils.web.url(un)quote. 2016-06-04 18:53:55 +02:00
Valentin Lorentz
cc0eaaef0c Merge pull request #1244 from GLolol/patch-2
Google: remove unused & duplicated imports
2016-05-12 17:50:58 +02:00
James Lu
88a8bbb4d8 Google: remove unused & duplicated imports
"import json" was being done twice. cgi, time, and socket all appear to be unused.
2016-05-11 18:24:36 -07:00
Valentin Lorentz
8b68261625 Merge pull request #1242 from GLolol/shrinkurl/x0+https
ShrinkUrl: Update API URL, now serving HTTPS links
2016-05-08 08:58:12 +02:00
James Lu
7f13b939f7 ShrinkUrl: Update API URL, now serving HTTPS links
Source: https://x0.no/api/
For reference, http://api.x0.no/ now redirects to https://x0.no/api/
2016-05-07 21:02:38 -07:00
Valentin Lorentz
cd06cc833c Merge pull request #1241 from GLolol/patch-2
Google: add DDG plugin with py2/py3 support
2016-05-06 16:16:45 +02:00
James Lu
218ba764cc Google: self-promot-- add DDG plugin with py2/py3 support 2016-05-06 07:14:25 -07:00
Valentin Lorentz
b6695172c8 Google: Add warning about deprecation. 2016-05-06 09:02:54 +02:00
Valentin Lorentz
de290d12f3 Google: Fix @lucky. 2016-05-05 09:01:51 +02:00
Valentin Lorentz
8321d8a547 Google: Fix URL formatting.
For some reason, it worked on Python 3…
2016-05-05 08:31:04 +02:00
Valentin Lorentz
6f1045ed20 Google: Fixes. 2016-05-05 08:03:10 +02:00
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