Commit Graph

43 Commits

Author SHA1 Message Date
Valentin Lorentz
08f4c781cb ChannelLogger: Make relayed message rewriting optional. 2020-05-17 21:05:59 +02:00
Valentin Lorentz
656222e341 ChannelLogger: Fix filename escaping. 2019-09-14 14:35:43 +02:00
Valentin Lorentz
573921c00f Merge branch 'netconf-and-ircmsgs-channel' into testing 2019-09-14 12:10:47 +02:00
Valentin Lorentz
de9cea89cf ChannelLogger: Fix NameError on 'irc'. 2019-09-08 19:22:30 +02:00
Valentin Lorentz
88524beada ChannelLogger + Karka + all DB plugins: Sanitize channel names when used in filenames. 2019-09-06 20:42:13 +02:00
Valentin Lorentz
c1ae3f5c81 all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Marc Chevalier
b93b5a237e ChannelLogger: Normalize channel name in getLogDir 2017-05-09 12:50:21 +02: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
69358681f7 ChannelLogger: Fix 'dictionary changed size during iteration'. 2015-08-31 08:40:30 +00:00
Valentin Lorentz
33e8966e4b ChannelLogger & core: Use IRCv3.2 extension invite-notify if available. 2015-08-22 18:24:32 +02:00
Valentin Lorentz
c3a2c800f1 Remove need for 2to3. 2015-08-11 16:50:23 +02:00
Valentin Lorentz
c0ac84bb53 Remove need for fix_import, fix_types, and fix_urllib. 2015-08-10 17:55:25 +02:00
Valentin Lorentz
216c5d213f Replace sys.version_info[0] usages with minisix.PY{2,3}. 2015-08-09 00:23:03 +02:00
Valentin Lorentz
be118c3338 Remove use of fix_dict fixer. 2015-08-08 23:08:49 +02:00
James Lu
74655e4203 Add help for the following plugins (ref #903):
- Admin
- Alias
- AutoMode
- Channel
- ChannelLogger
- ChannelStats
- Conditional
- Config
- Ctcp
- Dict

- Also, proofread Aka's help from #904 for grammar.
2014-11-29 23:18:44 -08:00
Valentin Lorentz
7d9845c7e9 ChannelLogger: Fix KeyError on some quits. (Why?) 2014-04-08 20:00:07 +00:00
Valentin Lorentz
427033d8e8 ChannelLogger: Fix Python 2 compatibility (again). 2014-02-17 21:30:15 +00:00
Valentin Lorentz
0c58ab2e98 ChannelLogger: Fix Python 2 compatibility (again). 2014-02-17 19:24:41 +00:00
Valentin Lorentz
98076482b6 ChannelLogger: Fix Python 2 compatibility. 2014-02-17 16:01:51 +00:00
Valentin Lorentz
29944234e4 ChannelLogger: Fix Python 2 compatibility. 2014-02-03 23:40:54 +00:00
Valentin Lorentz
5d301b653f Merge remote-tracking branch 'origin/speed-up-2to3' into testing
Conflicts:
	locales/fr.po
	plugins/Misc/plugin.py
	sandbox/check_trans.py
	src/i18n.py
2014-02-02 22:28:19 +01:00
Valentin Lorentz
bb7db3ab21 Continue accelerating the 2to3 step (remove fix_except). 2014-01-20 15:49:15 +01:00
Richard Esplin
5ecb154186 Ensure log files are UTF-8 encoded
The default encoding is platform specific, so problems can arise if we do not
make it explicit. Especially on Windows. Freenode appears to be all UTF-8, and
irclib is giving us UTF-8 strings, so let's standardize on UTF-8.
2014-01-15 23:15:09 -07:00
Richard Esplin
ba0ba71bf4 Eliminate unnecessary closing of the log file.
Name returns a string that is the log file name: the channel plus the timestamp.
But on my system log.name returns the fully qualified path to the currently open file. This is because log is a file handle, so if you declare it with a path, it will be included in the name.
On systems were logging is not in the current directory, the two will never match, and the file is closed and then reopened.
Only taking the basename solves this problem.
2014-01-15 16:15:11 -07:00
Valentin Lorentz
d14f5df76f ChannelLogger: Rewrite relayed nicks. Closes GH-507. 2013-08-19 17:22:56 +02:00
Valentin Lorentz
fe540b3620 ChannelLogger: check for logChannelMessages before logging. 2013-04-26 17:52:18 +02:00
Valentin Lorentz
3dba9088b0 Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	INSTALL
	plugins/ChannelLogger/README.txt
	plugins/ChannelStats/README.txt
	plugins/Google/plugin.py
	plugins/Google/test.py
	plugins/Plugin/test.py
	plugins/Web/test.py
	setup.py
	src/callbacks.py
	src/ircdb.py
	src/irclib.py
	src/utils/str.py
	test/test_irclib.py
2013-01-01 21:11:24 +01:00
resistivecorpse
6d7b6a7d31 chaged msg.arg[0] to channel in if statements for joins and parts 2012-09-26 12:27:33 -04:00
resistivecorpse
82ed771b9e minor fixes to ChannelLogger 2012-09-25 01:11:09 -04:00
resistivecorpse
54a6425e55 adds an on off config option for logging of joins parts and quits in ChannelLogger plugin 2012-09-22 16:01:29 -04:00
James McCoy
82ecf36fcd Update my name/contact information
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-09-01 10:16:48 -04:00
Valentin Lorentz
1e794d88d7 ChannelLogger: Use open() instead of file(). 2012-08-07 20:53:06 +00:00
Daniel Folkinshteyn
6ccd1ce3d6 ChannelLogger: include in logs the reasons for parts and quits 2011-02-25 19:29:24 +01:00
Valentin Lorentz
d14bb0cc16 Internationalize ChannelLogger, Ctcp, Dict, Dunno, Factoids 2010-10-17 11:22:07 +02:00
James Vega
4a9596608a Include hostmasks in JOIN, PART, QUIT logs.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-02-28 21:17:35 -05:00
James Vega
ce469b0851 ChannelLogger: Allow logging to be disabled on specific channels 2009-03-11 13:37:27 -04:00
Jeremy Fincher
78f03078d8 Handle flusher correctly. 2006-10-13 05:59:39 +00:00
James Vega
a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
James Vega
9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
Jeremy Fincher
9ec4493201 Have to handle the fact that we might have a proxy. 2005-03-14 03:51:56 +00:00
Jeremy Fincher
b0cb616709 Changed callbacks.Privmsg to be callbacks.Plugin, and callbacks.PrivmsgCommandAndRegexp to be callbacks.Plugin. 2005-02-09 07:04:04 +00:00
Jeremy Fincher
a056b12959 Changed to use an __parent instead of a super call. 2005-02-02 12:45:03 +00:00
Jeremy Fincher
f2ae3fd7ab Added ChannelLogger in the new plugin format. 2005-02-02 12:37:16 +00:00