Commit Graph

11375 Commits

Author SHA1 Message Date
Valentin Lorentz
f1fae13b4a core: Fix IrcChannel.preserve. Closes GH-1106. 2015-05-16 03:59:36 +02:00
James Lu
5190db39a4 formatWhois: Fix channel names having the # cut off 2015-05-15 18:46:28 -07:00
James Lu
c651bc5482 formatWhois: fix error and restore formatting changes lost in supybot merge
This reapplies content from commits 2b324203e7, 2628dc03c4, ef9fbc4a07,
41effcea13, and 5f23855d27.
2015-05-15 18:40:55 -07:00
Valentin Lorentz
82b8bf801a core: Fix merge of upstream's factorization of whois formatting. 2015-05-16 03:21:17 +02:00
James Lu
24c1caac43 Praise: make tests channel specific
This should fix build errors in Travis CI.
(cherry picked from commit 8dc2996e3597e6a641be089188816b44505366c5)
2015-05-15 17:04:03 -07:00
Valentin Lorentz
eca7a036aa Socket: Move line decoding to utils.str. 2015-05-16 00:30:20 +02:00
Valentin Lorentz
39d40ec617 Merge branch 'ircv3.2' into testing 2015-05-16 00:22:42 +02:00
Valentin Lorentz
33004696c0 core: Add dictionary of numerics. 2015-05-16 00:20:31 +02:00
Valentin Lorentz
b405f998a5 NickAuth: Add support for account-tag (not tested). 2015-05-15 20:46:18 +02:00
Valentin Lorentz
259457ae2f core: Request capability metadata-notify so plugins can use it if they want. 2015-05-15 19:35:51 +02:00
Valentin Lorentz
59d542bb70 NickCapture & core: Add support for MONITOR. Closes GH-842. 2015-05-15 19:24:24 +02:00
Valentin Lorentz
ba495f5719 Add support for message tags. 2015-05-15 18:08:50 +02:00
Valentin Lorentz
ed37fb6646 String & core: Add support for G flag in matchers. Closes GH-1072. 2015-05-15 16:48:00 +02:00
Valentin Lorentz
7031e47ebd Fix merge. 2015-05-15 14:43:57 +02:00
Valentin Lorentz
487f8c8af5 Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	.mailmap
	README
	docs/FAQ.rst
	plugins/Ctcp/plugin.py
	plugins/Misc/plugin.py
	plugins/Network/plugin.py
	plugins/QuoteGrabs/plugin.py
	plugins/RSS/README.txt
	plugins/Relay/plugin.py
	plugins/ShrinkUrl/config.py
	plugins/ShrinkUrl/plugin.py
	plugins/ShrinkUrl/test.py
	setup.py
	src/callbacks.py
	src/commands.py
	src/conf.py
	test/test_commands.py
2015-05-15 14:41:08 +02:00
Valentin Lorentz
6efea561a5 Channel & core: Add support for ban descriptions. Closes GH-1092. 2015-05-15 13:43:26 +02:00
Valentin Lorentz
39e0073b8f Revert "setup.py: Run refactoring in parallel."
This reverts commit 3bc8758cf1.
2015-05-15 13:31:36 +02:00
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
James Lu
704d5a6fc2 copyright year updates
From: ee62782603
2015-04-25 23:22:58 -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