Valentin Lorentz
5feb1fba59
2to3: Fix fix_import to work on Windows and not confuse 'socket' (from the Python lib) and 'supybot.drivers.Socket'.
2013-07-15 13:34:47 +02:00
Valentin Lorentz
21144f7c9c
Don't send JOIN on connection if there is no channels to join.
2013-07-14 09:44:34 +02:00
Valentin Lorentz
8496cc2e6a
Fix previous commit ( 38bab185a9
).
2013-07-13 20:39:38 +02:00
Valentin Lorentz
38bab185a9
Remove Python2.4-specific code.
2013-07-13 17:28:21 +02:00
Valentin Lorentz
9bfec720f5
Fix traceback if bot is kicked immediately after joining a channel.
2013-07-13 12:01:53 +02:00
Valentin Lorentz
3bfa4ae35a
Misc: Fix previous commit.
2013-07-13 11:54:44 +02:00
Valentin Lorentz
98f807c230
Misc: Fix typo in @more.
2013-07-13 11:41:00 +02:00
Valentin Lorentz
4a265a6ce9
Enhance representation of InsensitivePreservingDict objects.
2013-07-13 11:20:02 +02:00
Valentin Lorentz
20ff06f3dd
Network: Fix @whois for Python 3.
2013-07-12 17:21:35 +00:00
Valentin Lorentz
baa4430291
NickAuth: Fix traceback if user calling @list is not identified.
2013-07-11 18:53:19 +02:00
Valentin Lorentz
f22f0bb4b6
Make log.firewall display the callback name in any case.
2013-07-11 10:07:11 +02:00
Valentin Lorentz
4647ed81fd
Factoids: Fix help of @random.
2013-07-11 06:58:46 +00:00
Valentin Lorentz
771b739af7
utils.web.getEncoding: use <meta charset /> if available.
2013-07-09 12:40:42 +00:00
Valentin Lorentz
b4402b28ed
utils.web: Rename get_encoding to getEncoding for consistency.
2013-07-09 12:05:51 +00:00
Valentin Lorentz
820113344c
Web: Use utils.web.get_encoding for guessing charset.
2013-07-09 12:02:43 +00:00
Valentin Lorentz
d4df5de91d
utils.web: Add function get_encoding.
2013-07-09 12:02:25 +00:00
Valentin Lorentz
dbedcbb6c9
Web: Disable testWhitelist if --no-network is given.
2013-07-09 09:18:33 +02:00
Valentin Lorentz
290717fd46
.travis.yml: Fix path to Scheduler.
2013-07-08 23:04:12 +02:00
Valentin Lorentz
addb754c68
registry.py: Use %r instead of %s in for formating __nonExistentEntry errors.
2013-07-08 22:51:16 +02:00
Valentin Lorentz
73d585c0eb
travis.yml: Don't run Scheduler's tests (they randomly fail).
2013-07-07 12:04:04 +02:00
Valentin Lorentz
4fffdbccd2
httpserver: Firewall do* methods.
2013-07-07 13:26:13 +02:00
Valentin Lorentz
eff7d5e671
Fix httpserver for Python 3.
2013-07-07 13:24:26 +02:00
Valentin Lorentz
5f1535447c
Web: Use @title's utf8 decoding in the snarfer.
2013-07-02 13:42:53 +02:00
Valentin Lorentz
0514a64209
Fix use of rsplit for IPv6 addresses.
2013-07-02 13:18:57 +02:00
Valentin Lorentz
b3009085aa
Fix @version in Python 3.
2013-07-01 08:34:58 +00:00
Valentin Lorentz
ed193e7cc7
io.StringIO has no attribute 'reset'.
2013-06-29 23:19:38 +02:00
Valentin Lorentz
46b89cfc0e
Fix crash when --daemon is given (Python 3).
2013-06-29 13:58:41 +02:00
Valentin Lorentz
dce3c97fe4
Socket: Only catch select.error if it is an interupted system call.
2013-06-29 13:44:42 +02:00
Valentin Lorentz
75654a4544
Socket: Prevent crash caused when a signal is received while using select. Closes GH-477.
2013-06-29 12:40:45 +02:00
Valentin Lorentz
d0476c9eb2
Factoids: Make sure _http_running is assigned before being used.
2013-06-29 12:24:52 +02:00
Valentin Lorentz
c39cc4a6b5
Merge pull request #476 from carstene1ns/master
...
Switch from chardet to charade
2013-06-27 11:16:09 -07:00
Carsten Teibes
7129dc2697
Switch to charade, which is better maintained and works under 2 and 3
2013-06-27 19:36:44 +02:00
Valentin Lorentz
4b9992537b
Merge branch 'testing' of github.com:ProgVal/Limnoria into testing
2013-06-27 07:14:25 +02:00
Daniel Folkinshteyn
944f9c3e3f
Web: create a cofigurable url whitelist
...
Prevent various forms of abuse that result via the Web plugin, such as fetching or titling
malicious content, or revealing bot IP.
Conflicts:
plugins/Web/plugin.py
plugins/Web/test.py
2013-06-27 07:09:22 +02:00
Daniel Folkinshteyn
c27070895b
RSS: add option display headline timestamp.
...
Conflicts:
plugins/RSS/config.py
plugins/RSS/plugin.py
2013-06-27 07:06:23 +02:00
Daniel Folkinshteyn
e4ddda4aeb
RSS: add option to strip url redirects from headlines
...
Conflicts:
plugins/RSS/config.py
2013-06-27 07:03:57 +02:00
Valentin Lorentz
20bef2dcd0
RSS: keep track of headlines over multiple feed fetches, with configurable expiration.
...
This is better at avoiding repeats than just keeping the last fetch, since some feeds
shuffle items around (like google news search).
Conflicts:
plugins/RSS/config.py
2013-06-27 07:03:20 +02:00
Valentin Lorentz
fd2bced766
README.md: Fix link
2013-06-23 21:17:02 +02:00
Valentin Lorentz
76025f89bb
Merge pull request #475 from Digital-Lemon/testing
...
@network uptime reset & ChanServ notice handling
2013-06-17 15:20:54 -07:00
Valentin Lorentz
e5a2bb18b4
Alias: Fix encoding of test.py.
2013-06-17 22:12:25 +00:00
Milos Petkovic
0f3f6da843
Multiple channel types should be supported
2013-06-17 23:54:59 +02:00
Valentin Lorentz
34b8e53c38
travis.yml: Fix tests runner for Python 2.
2013-06-17 11:03:50 +00:00
Valentin Lorentz
9e4c804d24
supybot-botchk: Fix Python 3 compatibility.
2013-06-17 10:38:06 +00:00
Milos Petkovic
b4a63fa89e
Prevent entrymsgs from spamming warnings
2013-06-17 08:53:44 +02:00
Milos Petkovic
be6116f958
Reset network uptime on reconnection as well
2013-06-17 08:09:16 +02:00
Valentin Lorentz
774158f2ec
utils/web.py: Fix compatibility with Python 3.
2013-06-17 04:10:29 +00:00
Valentin Lorentz
cca1e6dba5
utils/web.py: Add some 'try' statements to make decoding as error-permissive as possible.
2013-06-13 17:22:33 +00:00
Valentin Lorentz
2eec980c8e
utils/web.py: Python 3 should use decode() only if it is a bytes object.
2013-06-13 04:22:20 +00:00
Valentin Lorentz
a82ad9cb1a
utils/web.py: Properly import chardet.
2013-06-12 17:38:50 +00:00
Valentin Lorentz
8095f34250
Topic: @save can now be called even if the bot is not opped.
2013-06-09 13:03:35 +00:00