Commit Graph

11674 Commits

Author SHA1 Message Date
Valentin Lorentz
3275806740 Rename showWhichResponded to showDictName. 2015-03-17 07:58:50 +01:00
James Lu
183592dff0 Dict: add option to toggle showing which dictionaries responded to a query
Dict's output is very long and verbose; this can shorten it by a bit.

Conflicts:
	plugins/Dict/config.py
2015-03-17 07:58:49 +01:00
Valentin Lorentz
381e514b5c Merge pull request #1078 from GLolol/channel/allow-devoice-self
Channel: allow devoicing self
2015-03-16 23:19:20 +01:00
James Lu
d76b5049ac Channel: update tests 2015-03-13 23:37:29 -07:00
James Lu
172f7bdd63 Channel: allow devoicing self
Voice almost always requires halfop or above to set, and since having (half)op gives greater access than voice, I don't see the benefit in restricting this when it won't make a difference anyways.
2015-03-11 15:51:47 -07:00
Valentin Lorentz
530c24604d Merge pull request #1076 from GLolol/patch-1
PluginDownloader: update Iota's repository URL
2015-03-10 08:32:43 +01:00
James Lu
47722f4e6c PluginDownloader: update Iota's repository URL 2015-03-09 16:53:56 -07:00
Valentin Lorentz
a5e881b116 Merge pull request #1075 from GLolol/channel/allow-admin-part
Channel: allow both admins and #channel,ops to use 'part'
2015-03-06 20:45:13 +01:00
James Lu
7757f3a1b4 Channel: allow both admins and #channel,ops to use 'part' 2015-03-06 12:50:59 -05:00
Valentin Lorentz
585c8ad026 Merge pull request #1071 from NP-Hardass/patch-1
Remove test from .gitattributes
2015-03-04 07:26:20 +01:00
NP-Hardass
e8b4aeb190 Remove test from .gitattributes
Fixes an issue where tags/releases do not ship the core test suite, as used by the automated Travis testing.
2015-03-04 00:32:40 -05: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
Valentin Lorentz
18bafc725f Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2015-03-02 20:35:56 +00:00
Valentin Lorentz
d04af4a8cb Merge pull request #1067 from GLolol/shrinkurl/remove-ln-s
ShrinkUrl: Remove ln (Closes #618).
2015-02-28 23:44:42 +01:00
James Lu
dae81168d3 ShrinkUrl: Remove ln (Closes #618).
ln-s.net has been dead for over half a year now; both their website homepage
and any previous shortened links return an HTTP 503. Thus, it isn't very
useful to leave this broken command lingering around...
2015-02-28 09:52:42 -08:00
Valentin Lorentz
c473c8aa8e Merge pull request #1065 from GLolol/patch-1
conf.py: Remove reference to non-existent "user configuration variable"
2015-02-28 09:15:26 +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
f6c789b018 Merge pull request #1063 from GLolol/channel/autorejoin-delay
Channel: allow adding an auto-rejoin delay
2015-02-28 08:39:34 +01:00
James Lu
e3079f82b2 Merge remote-tracking branch 'upstream/testing' into channel/autorejoin-delay
Conflicts:
	plugins/Channel/config.py
2015-02-27 23:37:11 -08:00
Valentin Lorentz
cf7e4c6512 Merge pull request #1064 from GLolol/channel/part+cycle
Move 'part' command from Admin to Channel and use part messages in Channel.cycle
2015-02-28 07:48:05 +01:00
James Lu
f11d3162ae Merge remote-tracking branch 'upstream/testing' into channel/part+cycle
Conflicts:
	plugins/Admin/config.py
	plugins/Admin/plugin.py
2015-02-27 18:55:20 -08:00
James Lu
f3107a928f Channel: allow adding an auto-rejoin delay via supybot.plugins.Channel.rejoinDelay
Closes #1011.
2015-02-27 18:45:37 -08:00
James Lu
32988ee3a3 Channel.cycle: allow specifying part message + defaults to plugins.Channel.partMsg
Closes #1062.
2015-02-27 18:27:58 -08:00
James Lu
a67fb94875 Move 'part' command from Admin to Channel and require #channel,op instead of admin
Closes #79.
2015-02-27 18:12:52 -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
Valentin Lorentz
a59784a366 Merge pull request #1057 from kyrias/dictclient-utf8
Make dictclient.py unicode capable
2015-02-21 20:22:19 +01:00
Johannes Löthberg
d4aa4362e5 dictclient: Remove whitespace at end of lines 2015-02-21 20:08:13 +01:00
Johannes Löthberg
1654bfca0c dictclient: Encode as utf-8 instead of ASCII
dict.org has dictionaries with words containing non-ASCII characters.
2015-02-21 20:08:13 +01:00
Valentin Lorentz
0d7e0f73fb Merge pull request #1056 from GLolol/patch-1
Network.whois: simplify message when user isn't on any public channels
2015-02-21 08:57:43 +01:00
James Lu
5f23855d27 oops how do i english 2015-02-20 22:20:49 -08:00
James Lu
41effcea13 Network.whois: simplify message when user isn't on any public channels
The current message ("xyz isn't on any non-secret channels or is using a channel-list hiding umode.") is long and awkwardly worded. 

This also removes an extra period from showing up at the end of the output.
2015-02-20 16:50:40 -08: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
Valentin Lorentz
1264573b34 Merge remote-tracking branch 'kyrias/say-command' into testing 2015-02-14 13:38:56 +01:00
Johannes Löthberg
75288193ad QuoteGrabs: Add say command
The say command just returns the text of the grab, so you can get just
the quote from a specific qid.
2015-02-14 13:15:13 +01:00
Valentin Lorentz
981476d6d5 String: Return raw bytes when decode returns binary data. 2015-02-11 14:09:16 +00:00
Valentin Lorentz
bcd39743f0 String: Strip all newline characters in base64 output. 2015-02-11 14:08:25 +00:00
Valentin Lorentz
468d2762c1 Seen: Factorize code used for checks. 2015-02-10 09:12:26 +01:00
Valentin Lorentz
02b8c39138 Merge pull request #1051 from GLolol/seen/keyerror
Seen: prevent KeyError when calling commands on channels that the bot is not in
2015-02-10 08:54:08 +01:00
James Lu
a85fbead23 Seen: prevent KeyError when calling commands on channels that the bot is not in
This fixes a bug introdiced by 38ff1a1137.
2015-02-10 01:38:29 -05:00
James Lu
4a46c1b88b DDG: Initial addition of 'zeroclick' command (Closes #24)
From: 285948a47d
2015-02-08 22:15:46 -05:00
Valentin Lorentz
7bba16a55e Merge pull request #1050 from Mikaela/languages
src/i18n.py: have languages in alphabetical order
2015-02-08 08:49:56 +01: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
59b39ea45e scripts/supybot: use None as msg for standardSubstitute on Ctrl-C 2015-02-07 10:01:47 -08:00
James Lu
32de4e8270 Merge branch 'testing' into admin/configurable-partmsg 2015-02-07 10:00:48 -08:00
Valentin Lorentz
fa7ef570c0 Merge pull request #1004 from GLolol/karma/nicks-only
Karma: add an option to limit Karma to nicks
2015-02-07 08:41:02 +01:00
Valentin Lorentz
e26fdb9df8 Merge remote-tracking branch 'nyuszika7h/remove-xrl' into testing
Conflicts:
	plugins/ShrinkUrl/plugin.py
2015-02-07 08:39:17 +01: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