Commit Graph

5424 Commits

Author SHA1 Message Date
Johannes Löthberg
07f98d3619 Add timeout to web title command
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2016-12-08 10:11:15 +01:00
Valentin Lorentz
9fe4abec48 Web: Use a timeout to fetch pages. Closes GH-1275.
This is required because the sandbox is not used anymore,
since 9c57199838.
2016-12-08 00:48:11 +01:00
Valentin Lorentz
b9b36d4de5 Improve decorator. 2016-12-08 00:37:12 +01:00
Valentin Lorentz
4acb692f17 Web: Use new-style command wrap (as a decorator). 2016-12-08 00:36:30 +01:00
Valentin Lorentz
bbaf3cd47e User: Fix previous commit by @IotaSpencer. 2016-11-28 10:31:37 +01:00
Ken Spencer
0c4f9d74eb User: allow for custom whoami error 2016-11-28 10:28:48 +01:00
Fudster
0be4e2c953 Add Fudster's repo (#1274)
* Add Fudster's repo

* fixed missing owner var

* Fix padding

* Fix padding.....

* Remove tabs
2016-11-28 10:24:56 +01:00
Valentin Lorentz
ecf70a4de4 GPG: Limit number of headers fetched on old Python versions. 2016-11-22 22:15:43 +01:00
Valentin Lorentz
9c57199838 Web: Disable the fetch sandbox on Python versions with the _MAXHEADERS fix.
Partial fix to GH-1271.
2016-11-11 12:13:02 +01:00
Ken Spencer
f29ede567b Update Iota's link 2016-11-09 12:23:31 -05:00
Valentin Lorentz
14180a24ec Fix error when printing the 'NoSuitableDatabase' error. 2016-11-05 08:51:29 +01:00
Valentin Lorentz
f6419525ee Merge pull request #1269 from kyrias/fix-disable
disable: Actually disable command by plugin if specified
2016-11-03 18:53:19 +01:00
Johannes Löthberg
7c757cd52e disable: Actually disable command by plugin if specified
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2016-11-03 14:28:41 +01:00
Valentin Lorentz
95d4d40b22 Remove debug prints. 2016-11-01 21:30:39 +01:00
Valentin Lorentz
96c1ccc722 NickAuth: Fix error message. 2016-10-31 19:06:35 +01:00
Valentin Lorentz
167e66ed11 NickAuth: Use only the account name, not the current nick. 2016-10-31 17:02:14 +01:00
Valentin Lorentz
1fdbc24714 NickAuth: Improve error message. 2016-10-31 16:28:08 +01:00
Valentin Lorentz
f5db2338c5 Reply: Restore supybot.reply.oneToOne in tests because it breaks Factoids. 2016-10-02 13:55:26 +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
James Lu
cd853f3e31 Factoids: add missing Raise in requireVoice checks
Reported by braimee on IRC.
2016-09-25 17:11:14 -07:00
Valentin Lorentz
d7099794bc Fix Python 2 support of last commit. 2016-09-20 23:22:13 +02:00
Valentin Lorentz
2cfe0f679f Fix previous commit on some Python versions. 2016-09-20 23:09:29 +02:00
Valentin Lorentz
d39647142c RSS: Fix shadowing of any/all. 2016-09-20 22:54:11 +02:00
Valentin Lorentz
b3bed0d6f9 User: Fix error handling when hostmasks overlap. 2016-09-14 19:10:26 +02:00
Valentin Lorentz
4f280599e1 RSS: use the original FeedParserDict for substitution
instead of building a new keyword arguments dict by iteration.

'description' is a field in FeedParserDict, but is not present when iterating,
which made it unavailable as a substitution variable.
2016-09-08 21:42:31 +02:00
Valentin Lorentz
2d30b40a80 NickAuth: Fix indentation. 2016-08-21 23:47:45 +02:00
Valentin Lorentz
1e7c3007e0 Later: Strip duplicate nicks given to @tell to avoid spam.
Suggested by @cottongin but implemented differently.
Closes GH-1261.
2016-08-19 19:20:17 +02:00
jacksonmj
0f14c1c654 Filter: add more filters - vowelrot, caps, capwords 2016-08-16 11:16:51 +02:00
Valentin Lorentz
3776404628 RSS: Use HTTP(S) proxy. Closes GH-1234. 2016-08-16 10:56:29 +02:00
Valentin Lorentz
fa755c3a9c Google: Decode URLs. Closes GH-1260. 2016-08-10 22:52:00 +02:00
Valentin Lorentz
b4182753be Internet: Add support for TLDs and IP addresses in @whois. Closes GH-1253. 2016-08-09 21:08:18 +02:00
James Lu
66736b22d5 Web: optionally hide the domain in titleSnarfer
This adds a snarferShowDomain option to optionally hide the domain ("(at site.abc)" text) in titleSnarfer output. Closes #1236.
2016-08-09 11:22:00 -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
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
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
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
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
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
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