Valentin Lorentz
3bc8758cf1
setup.py: Run refactoring in parallel.
2015-05-15 13:16:51 +02:00
Valentin Lorentz
7448c04760
Store the list of server capabilities in IrcState.
2015-05-15 13:01:26 +02:00
Valentin Lorentz
a81d3ddae6
Web: add option for having titlesnarfer immune to defaultignore. Closes GH-1101
2015-05-15 12:39:30 +02:00
Valentin Lorentz
86d9f49aa5
callbacks: Allow Plugin.noIgnore to be a function instead of a boolean.
2015-05-15 12:39:30 +02:00
Valentin Lorentz
a39a6d247d
Fix previous commit
2015-05-14 07:46:18 +00:00
Valentin Lorentz
ded7dc8e6f
Fix Python 2.6 compatibility of previous commit.
2015-05-14 07:33:26 +00:00
Valentin Lorentz
3f9118a1a6
utils.str.format: Add support for sets for %L + add test case. Closes GH-1104
2015-05-14 07:14:29 +00:00
Valentin Lorentz
2008956968
RSS: Reove broken (and probably irrelevant) link in the README.
2015-05-10 09:57:11 +00:00
Valentin Lorentz
b720978a33
Recommend chardet instead of charade.
2015-04-29 10:07:49 +02:00
Valentin Lorentz
bce47a8a8a
Revert "Recommend chardet instead of charade. Closes GH-1096."
...
This reverts commit 36a646661d
.
2015-04-29 10:07:13 +02:00
Valentin Lorentz
36a646661d
Recommend chardet instead of charade. Closes GH-1096.
2015-04-29 10:01:10 +02:00
Valentin Lorentz
758dc6d57f
Merge pull request #1098 from GLolol/tests/use-internal-mock
...
tests: Use internal mock from Python 3.3+ if available
2015-04-28 00:23:04 +02:00
Valentin Lorentz
47d2ee215c
Paragraph about adding mandatory dependencies.
2015-04-27 23:36:54 +02:00
James Lu
6d20183abf
tests: Use internal mock from Python 3.3+ if available
...
Closes ProgVal/Limnoria#1088 .
2015-04-26 22:49:02 -07:00
Valentin Lorentz
fee531b5c2
Merge pull request #1097 from GLolol/aka/search
...
Aka: add a 'search' command.
2015-04-27 07:37:21 +02:00
James Lu
308eea922e
Aka: add a 'search' command.
...
Closes ProgVal/Limnoria#1081 .
2015-04-26 22:20:24 -07:00
Valentin Lorentz
a7b1e65bd9
AutoMode: Set supybot.plugins.AutoMode.alternativeCapabilities to True by default.
2015-04-22 09:25:38 +02:00
Valentin Lorentz
f293cfaeda
ShrinkUrl: Remove goo.gl (buggy) and fix tests.
2015-04-19 12:56:39 +02:00
James Lu
562fa14706
ChannelIdDatabasePlugin: allow unregistered users to use commands
...
This adds a new configuration variable, supybot.databases.plugins.requireRegistration, which defaults to True for maximum security.
2015-04-15 18:01:06 -07:00
Valentin Lorentz
d8aa4f3181
PluginDownloader: Add @waratte's repo.
2015-04-16 00:25:39 +02:00
Valentin Lorentz
faac1b0f2b
Google: Remove translate command, as Google broke it.
2015-04-15 01:38:38 +02:00
Valentin Lorentz
e937128c69
Merge pull request #1090 from GLolol/scripts/round-cpu-time
...
scripts/supybot: round total CPU time to 2 decimal places
2015-04-11 22:35:53 +02:00
James Lu
6fa96df607
scripts/supybot: use %.2f for rounding
2015-04-11 13:33:34 -07:00
Valentin Lorentz
59891f9b86
Merge pull request #1091 from GLolol/better-logging
...
callbacks.py: log plugin name in registryValue='text' errors
2015-04-05 22:56:20 +02:00
James Lu
fc418d35b0
scripts/supybot: round total CPU time to 2 decimal places
...
This prevents rather silly things such as 0.9400000000001 from showing up.
(cherry picked from commit GLolol/Limnoria@2d5e936f0d )
2015-04-05 13:47:41 -07:00
James Lu
6add519765
callbacks.py: log plugin name in registryValue='text' errors
...
This can help with debugging to find what plugins are passing invalid things to registryValue().
2015-04-05 13:44:30 -07:00
James Lu
159c1e7cd8
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...
Signed-off-by: James McCoy <vega.james@gmail.com>
2015-03-26 02:52:54 -04:00
Mikaela Suomalainen
01e776edc2
ShrinkUrl: use x0 by default. Fixes #617 .
...
x0 has the smallest working output. ur1 had the second smallest.
Their difference is one character.
Signed-off-by: James McCoy <vega.james@gmail.com>
2015-03-26 02:49:02 -04:00
nyuszika7h
8266870d9f
ShrinkUrl: Remove xrl.us
...
> Please note: Adding new links has been disabled since September 2014
> after 14 months notice.
Source: http://metamark.net/
Signed-off-by: James McCoy <vega.james@gmail.com>
2015-03-26 02:40:59 -04:00
Valentin Lorentz
6a134eb302
Update string comparison to a newer string.
...
Signed-off-by: James McCoy <vega.james@gmail.com>
2015-03-26 02:04:06 -04:00
Valentin Lorentz
b0846f914e
Fix crash for commands with ambiguous getopts shortcuts and no docstring.
...
Signed-off-by: James McCoy <vega.james@gmail.com>
2015-03-26 02:00:43 -04:00
James McCoy
cffbd959e8
Add handling of 437 (nick temporarily unavailable) errors
...
Servers bind a nick to a connection for a short window after it
disappears to try and avoid contention over nicks. This may cause a 437
during connection to a server (c.f. ProgVal/Limnoria#1033 ) or even
during normal nick changes, if the timing is lucky.
Add handling for this error to the startup code and the Admin plugin.
Signed-off-by: James McCoy <vega.james@gmail.com>
2015-03-26 01:33:04 -04:00
James McCoy
c3695c9419
ircutils: Add formatWhois function
...
Parsing through the various WHOIS replies to build a formatted string
isn't a trivial task, especially since there is some privacy related
information. Consolidate this handling into a single function so
there's one place to fix bugs.
Also fix an issue with people putting (unterminated) formatted text into
the "realname" field of their IRC client (c.f., ProgVal/Limnoria#1083 ).
Signed-off-by: James McCoy <vega.james@gmail.com>
2015-03-26 00:11:36 -04:00
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