Valentin Lorentz
7765bf7307
Fix Python 2.6 support.
2015-12-30 18:31:05 +01:00
Valentin Lorentz
481ffbf797
supybot-test: Add option --fail-fast.
2015-12-30 18:17:21 +01:00
Valentin Lorentz
715f9cd52d
Merge pull request #1201 from GLolol/web/strip-newlines
...
Web: normalize whitespace in titles
2015-12-30 10:00:42 +01:00
James Lu
e2dedcc5a4
Web: normalize whitespace in titles
...
Sample link: http://googleblog.blogspot.com/2015/08/android-wear-now-works-with-iphones.html
Before: <bot> 'Title: \nOfficial Google Blog: Android Wear now works with iPhones\n (at googleblog.blogspot.com)'
After: <bot> Title: Official Google Blog: Android Wear now works with iPhones (at googleblog.blogspot.com)
2015-12-29 17:12:26 -08:00
Valentin Lorentz
f26716f2b8
Utilities: Add @let.
2015-12-29 18:00:05 +01:00
Valentin Lorentz
f7943a6697
Plugin: make @plugins take non-first words into account. Closes GH-68.
2015-12-28 20:09:48 +01:00
Valentin Lorentz
8e427838cd
Plugin: internationalize a string.
2015-12-28 20:04:31 +01:00
Valentin Lorentz
7ce385b6f8
Don't substitude in errorInvalid. Closes GH-49.
...
Why was it doing substitutions in the first place?
2015-12-28 20:01:40 +01:00
Valentin Lorentz
f4d36cd087
Admin: internationalize a string.
2015-12-28 20:01:40 +01:00
Valentin Lorentz
d9a01629cd
Fix bytes count in message splitting.
2015-12-27 19:58:14 +00:00
Valentin Lorentz
876af3dfd5
travis.yml: Remove allowed failures.
...
They don't fail anymore, and they cause notifications to #limnoria
to be duplicated.
2015-12-27 13:04:13 +01:00
Valentin Lorentz
857027a26f
Fix tests for Python 2.
2015-12-27 12:43:35 +01:00
Valentin Lorentz
b42437c711
Unix: Channel-specific list of files for @fortune.
...
Also forbid file names starting with a dash, because
arguments to the fortune argument could be used for
DoSing.
2015-12-27 12:32:09 +01:00
Valentin Lorentz
49ff291f61
Use utf-8 to encode files by default.
...
Should fix this bug in Seen:
Traceback (most recent call last):
File "C:\Program Files\Python34\lib\site-packages\supybot\world.py", line 121, in flush
f()
File "C:\Program Files\Python34\lib\site-packages\supybot\plugins\__init__.py", line 271, in flush
writer.writerow(L)
File "C:\Program Files\Python34\lib\site-packages\supybot\utils\file.py", line 172, in write
return self._fd.write(data)
File "C:\Program Files\Python34\lib\encodings\cp1250.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u25c4' in position 33: character maps to <undefined>
2015-12-23 15:22:19 +01:00
Valentin Lorentz
cf52fabe10
.travis.yml: Use irctest for CI in addition to unit tests.
2015-12-20 21:16:16 +01:00
Valentin Lorentz
2364cf176d
Status: Fix sort on Python3 (dict_items, not list). Closes GH-1199.
2015-12-20 10:09:39 +01:00
Valentin Lorentz
7dabd79e5c
Merge pull request #1198 from GLolol/patch-1
...
Channel: fix help text in "cycle" command
2015-12-19 18:06:29 +01:00
James Lu
45c5e29849
Channel: fix help text in "cycle" command
...
Closes #1197 .
2015-12-19 09:01:29 -08:00
Valentin Lorentz
65abedcca1
ChannelStats: Don't crash on messages with no argument, eg. AWAY.
2015-12-19 00:13:42 +01:00
Valentin Lorentz
10522857b1
Fix activation of SSL for connections using SOCKS.
2015-12-18 20:33:36 +01:00
Valentin Lorentz
4b1c766b42
Add support for STARTTLS (not tested).
2015-12-12 16:40:48 +01:00
Valentin Lorentz
30cb10e422
Add support for CAP NEW, including reauthentication.
2015-12-12 00:52:44 +01:00
Valentin Lorentz
834453eeff
Request capability.
...
We don't do anything with it, but plugins might use it.
2015-12-11 23:32:57 +01:00
Valentin Lorentz
8aff8170e4
Filter list of SASL mechanisms when provided (908 or IRCv3.2-style CAP LS).
2015-12-11 23:30:57 +01:00
Valentin Lorentz
932345fa48
Fix test cases if ecdsa is not available.
2015-12-11 11:10:48 +01:00
Valentin Lorentz
45c23a8f54
Try all possible SASL mechanisms instead of just one.
2015-12-11 10:56:05 +01:00
Valentin Lorentz
a72926ad11
Fix another issue with the help string.
2015-12-10 22:19:38 +01:00
Valentin Lorentz
9351f1fba2
Fix help string of supybot.reply.error.noCapability.
2015-12-10 21:56:01 +01:00
Valentin Lorentz
15d59d1153
Handle AUTHENTICATE line splitting.
2015-12-10 20:08:53 +01:00
Valentin Lorentz
6a669c1483
setup.py: Actually, don't recommend Python 2.7.
2015-12-10 18:39:36 +01:00
Valentin Lorentz
fc39b4024d
Remove outdated ACKS file.
2015-12-08 14:21:04 +01:00
Valentin Lorentz
856d275697
Status: Fix output of @cpu if the amount of memory is unknown.
2015-12-07 16:32:53 +01:00
Valentin Lorentz
b0ee589702
Seen: Fix handling of MODE and TOPIC.
2015-12-05 21:29:07 +00:00
Valentin Lorentz
4d3fa77018
Fix typo.
2015-12-04 13:39:28 +01:00
Valentin Lorentz
2937152dc1
ChannelLogger && ChannelStats && Limiter && Relay && Seen: Use new QUIT and NICK 'channels' tag instead of copying the state.
2015-12-04 13:30:07 +01:00
Valentin Lorentz
3b78fd2424
Tag NICK messages with the channel as for QUIT messages.
2015-12-04 13:27:11 +01:00
Valentin Lorentz
d2749ea4d6
Add support for BATCH.
2015-12-04 01:37:23 +01:00
Valentin Lorentz
f880229d78
Tag QUIT messages with the list of channels the user was on.
2015-12-04 01:14:42 +01:00
Valentin Lorentz
0e8bfecf37
utils.structures: Define __slots__ for more classes.
2015-12-02 12:22:24 +01:00
Valentin Lorentz
1493adc041
Merge pull request #1194 from GLolol/filter/rainbow-stripcolor
...
Strip colour before applying new colour in Filter.rainbow and colorize
2015-12-02 09:41:56 +01:00
Valentin Lorentz
56d4cbec08
Aka: Fix Python 2 compatibility.
2015-12-02 09:06:34 +01:00
Valentin Lorentz
3fde279e50
Aka: Fix database name.
2015-12-02 07:55:00 +00:00
jacksonmj
61f2df5cc3
Strip colour before applying new colour in Filter.rainbow and colorize
...
This makes them work much better when the input text already contains colour.
(cherry picked from commit jacksonmj/Limnoria@be83befabf )
2015-12-01 18:20:01 -08:00
Valentin Lorentz
bc19a9fc7f
Web: fix syntax.
2015-11-30 07:45:05 +00:00
Valentin Lorentz
eaf9e40dc2
Web: increase subprocess memory limit and catch MemoryError appropriately.
2015-11-29 18:34:54 +00:00
Valentin Lorentz
13c411b741
Improve README.
2015-11-29 18:04:06 +00:00
Valentin Lorentz
a070b658a0
Web: Fix title fetching.
2015-11-29 17:59:57 +00:00
Valentin Lorentz
7884ed5133
Merge pull request #1193 from GLolol/fix-disconnects
...
irclib: handle disconnections correctly for InspIRCd 2.0 networks
2015-11-19 08:01:27 +01:00
Valentin Lorentz
ad8883a724
Network: Perform susbstitution in quit message.
2015-11-18 12:18:46 +01:00
Valentin Lorentz
b69e6e22bb
Conditional: Rename @iferror to @cerror and simplify its logic to just return a boolean.
2015-11-14 19:28:05 +01:00