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
693e827340
Alias & ChannelLogger & MessageParser & MoobotFactoids & User & Web: Update l10n-fr.
2013-03-02 19:15:12 +01: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
Valentin Lorentz
6cbc6a14dd
Rename all 'locale' directories to 'locales'.
...
Firstly, these directories contains more than one locale. Secondly, it conflicts with the 'locale' python module.
2012-12-26 15:43:35 +01:00
Mika Suomalainen
e9923dbf38
ChannelLogger: update l10n-fi.
2012-10-07 18:39:45 +03:00
Mika Suomalainen
8e0100ac47
ChannelLogger: update messages.pot
2012-10-07 18:37:47 +03: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
Mika Suomalainen
55dd7810d2
ChannelLogger: improved readme
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-09-04 22:38:18 -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
skizzhg
aedfc07762
Update l10n-it.
2012-03-16 18:28:05 +01:00
nyuszika7h
4d4fa62bb1
ChannelLogger: Fix l10n-hu.
2011-08-19 16:24:25 +02:00
Mika Suomalainen
9d885b054d
ChannelLogger: update l10n-fi.
...
Also fixed one typo and added header.
2011-08-10 14:30:58 +03:00
Valentin Lorentz
bc36debe2f
ChannelLogger & Format & Karma & Later & Misc & Owner & Reply & Seen & Status & Todo & URL & Unix: Update messages.pot and l10n-fr.
2011-08-10 11:44:57 +02:00
skizzhg
6e5350def6
ChannelLogger & Format & Karma & Owner & Reply & Status & URL & Unix: Fix typoes.
2011-08-10 11:26:47 +02:00
Mika Suomalainen
aa2004d7d2
ChannelLogger: fixed l10n-fi.
2011-08-05 18:25:43 +03:00
nyuszika7h
cb8728630e
ChannelLogger: Add l10n-hu.
2011-08-02 21:20:22 +02:00
Mika Suomalainen
339aa11f23
ChannelLogger: improved readme
2011-07-08 00:34:08 +03:00
skizzhg
9d5365248e
Admin & ChannelLogger & Dict & Maths & News & Seen & Status & Time & Todo & URL: Add Italian translation
2011-06-21 19:40:01 +02:00
Mika Suomalainen
26c2e56905
Admin & Alias & Anonymous & AutoMode & BadWord & Channel & ChannelLogger: update/create Finnish translation
2011-02-28 16:45:53 +01:00
Valentin Lorentz
0d7e3d3759
(Re)generate all plugin's .pot file
2011-02-26 10:40:50 +01:00
Daniel Folkinshteyn
6ccd1ce3d6
ChannelLogger: include in logs the reasons for parts and quits
2011-02-25 19:29:24 +01:00
Valentin Lorentz
0dbb72dbd3
Internationalize ChannelLogger and Config
2010-10-26 19:23:26 +02: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
856f372303
ChannelLogger: Use a sane timestamp for filenameTimestamp
...
Closes #2591305
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-08 00:08:59 -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
f470c94e59
plugins/ChannelLogger: Register the config var that the code is expecting to use.
2005-09-09 17:21:04 +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