Commit graph

110 commits

Author SHA1 Message Date
Bastian Kleineidam
6437f08277 Display downloaded bytes. 2014-03-14 21:06:10 +01:00
Bastian Kleineidam
7b34be590b Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
Bastian Kleineidam
c806be5c15 Updated copyright 2014-01-08 22:33:04 +01:00
Bastian Kleineidam
e0a2558b2b Updated copyright. 2013-12-24 07:13:16 +01:00
Bastian Kleineidam
5736987b60 Refactor output loggers. 2013-12-11 18:41:55 +01:00
Alper Kokmen
4b3e78cac0 Fix ISO formatting for modified datetime.
This change will make sure that format_modified returns datetime value
in ISO 8601 format. See W3C documentation at
http://www.w3.org/TR/NOTE-datetime.

Since ```modified``` is parsed and then converted to UTC after it's
extracted from HTTP response, it's safe to assume that format_modified
will always format UTC datetime values.

Instead of ```isoformat``` method which omits timezone information for
UTC values, ```strftime``` with a specific format (that ends with Z)
will be used.
2013-09-02 15:38:54 -07:00
Bastian Kleineidam
0c20ef5de4 Strip console characters only from line text. 2012-10-10 12:27:08 +02:00
Bastian Kleineidam
20be0f2519 Strip control chars from logger output. 2012-10-10 10:54:30 +02:00
Bastian Kleineidam
18a200d85f Fix tests. 2012-09-19 11:05:26 +02:00
Bastian Kleineidam
3a352631ba Add modified field to loggers. 2012-09-18 12:12:00 +02:00
Bastian Kleineidam
932a07a9cf Added XML sitemap logger. 2012-09-18 09:16:34 +02:00
Bastian Kleineidam
6e1841cf1f Print download and cache statistics. 2012-09-17 15:23:25 +02:00
Bastian Kleineidam
e98f15933f Stop checking of all output loggers have been deactivated. 2012-09-14 22:36:59 +02:00
Bastian Kleineidam
86f1c74006 Close loggers properly on I/O errors. 2012-09-14 22:09:18 +02:00
Bastian Kleineidam
1e13a4f8fc Add donation url to info blurb. 2012-06-20 00:37:39 +02:00
Bastian Kleineidam
2dfe9d4b4f Use abstract base class for loggers. 2012-06-19 23:27:26 +02:00
Bastian Kleineidam
3d831c1adb Updated copyright. 2012-04-11 22:23:43 +02:00
Bastian Kleineidam
21532a70ec Return with non-zero return value when internal program errors occurred. 2011-12-14 22:54:26 +01:00
Bastian Kleineidam
84f6d56a49 Print level in loggers xml, csv and sql. 2011-04-09 10:51:03 +02:00
Bastian Kleineidam
b9c9dda9b3 Correctly encode CSV output. 2011-04-06 12:54:58 +02:00
Bastian Kleineidam
847d740e37 Move get_stdout_writer() to i18n module and allow the make sys.stdout a function argument. 2011-03-21 13:11:32 +01:00
Bastian Kleineidam
8da37a32ee Refactor sys.stdout wrapping into a function. 2011-03-11 20:05:27 +01:00
Bastian Kleineidam
2c53507097 Improved logging documentation. 2011-03-09 12:08:03 +01:00
Bastian Kleineidam
c5884b8d87 Add function documentation. 2011-02-14 21:06:34 +01:00
Bastian Kleineidam
48e4bd8bfd Updated copyright 2011-02-06 09:50:48 +01:00
Bastian Kleineidam
eaf3ca0d89 Set codec error policy on StreamWriter for stdout. 2011-01-09 13:57:14 -06:00
Bastian Kleineidam
06ec8e6389 Reset GUI statistics before each check run. 2010-12-21 00:35:07 +01:00
Bastian Kleineidam
a9b6c10cd5 Fix unicode errors when writing to sys.stdout. 2010-12-20 23:43:37 +01:00
Bastian Kleineidam
b05ca0e345 Clear properties and statistics before check. 2010-12-17 20:25:06 +01:00
Bastian Kleineidam
a94269fd5b Remove unused ID part of loggers. 2010-12-15 13:24:31 +01:00
Bastian Kleineidam
f2b8c742fc Gather URL length statistics. 2010-12-15 07:55:00 +01:00
Bastian Kleineidam
2b2121b9ed Added content type and domain to URL logging info. 2010-12-14 20:30:53 +01:00
Bastian Kleineidam
431953a6d9 Fix typos. 2010-11-26 21:23:13 +01:00
Bastian Kleineidam
b2bdbed3c4 Move encode() method to base class. 2010-11-22 07:43:33 +01:00
Bastian Kleineidam
d97b7a4e4e Force UTF-8 for CSV logger. 2010-11-21 20:48:50 +01:00
Bastian Kleineidam
f0b911b608 Use codecs module for proper output encoding. 2010-11-21 20:19:27 +01:00
Bastian Kleineidam
350c952a1f Use new textwrap feature to not break on hyphens. 2010-11-21 10:48:40 +01:00
Bastian Kleineidam
3ecfb4a67b Updated support URL. 2010-11-06 17:00:09 +01:00
Bastian Kleineidam
885ce223a4 Modified logger output strings. 2010-11-05 12:53:57 +01:00
Bastian Kleineidam
ca395e7d82 Avoid error when intro or outro logging fields are configured. 2010-11-03 20:35:45 +01:00
Bastian Kleineidam
166969f3a4 Remove duplicate logger code. 2010-11-01 09:58:03 +01:00
Bastian Kleineidam
4e1b6d667e Set copyright. 2010-03-26 20:51:59 +01:00
Bastian Kleineidam
c4c098bd83 pep8-ify the source a little more 2010-03-13 08:47:12 +01:00
Bastian Kleineidam
86ca7d0dba Do not break long words when text wrapping. 2010-03-11 21:50:23 +01:00
Bastian Kleineidam
8533ade21f Add ID for each logged URL. 2009-07-26 22:31:51 +02:00
Bastian Kleineidam
5e06b6b8d4 Updated FSF address in GPL blurb 2009-07-24 23:58:20 +02:00
Bastian Kleineidam
561430f184 Minor code cleanups and documentation improvements in the logger output base class. 2009-06-18 19:51:18 +02:00
Bastian Kleineidam
ba160350dd Introduced transport object API for logging. 2009-03-06 19:30:58 +01:00
Bastian Kleineidam
59772e4837 Fixed log_filter_url documentation 2009-03-02 23:40:36 +01:00
Bastian Kleineidam
063a7f8310 Rename D/L size to size 2009-02-20 14:03:09 +01:00