urlwatch.git
9 years agoRemove stray ' character in initial messagemaster
Thomas Perl [Thu, 28 Mar 2013 17:23:59 +0000 (28 18:23 +0100)]
Remove stray ' character in initial message

9 years agoFallback to using pwd if os.getlogin() fails (fixes #2)
Thomas Perl [Fri, 26 Sep 2014 20:46:13 +0000 (26 22:46 +0200)]
Fallback to using pwd if os.getlogin() fails (fixes #2)

9 years agourlwatch 1.17 released1.17
Thomas Perl [Fri, 1 Aug 2014 19:48:56 +0000 (1 21:48 +0200)]
urlwatch 1.17 released

9 years agoFix resolving of relative URL filenames (fixes Debian bug 748905)
Thomas Perl [Fri, 1 Aug 2014 19:45:21 +0000 (1 21:45 +0200)]
Fix resolving of relative URL filenames (fixes Debian bug 748905)

urlwatch fails with exception if the URL filename doesn't include the /
character. So this works:

$ urlwatch --urls=./urls

But this, which should be equivalent, doesn't:

$ urlwatch --urls=urls
Traceback (most recent call last):
 File "/usr/bin/urlwatch", line 244, in <module>
   jobs = handler.parse_urls_txt(urls_txt)
 File "/usr/share/urlwatch/urlwatch/handler.py", line 155, in parse_urls_txt
   dir_st = os.stat(dirname)
OSError: [Errno 2] No such file or directory: ''

Thanks to Jakub Wilk for reporting this issue here:
https://bugs.debian.org/748905

10 years agoFix lynx handing for relative URLs (fixes Debian bug 732112)
Thomas Perl [Wed, 29 Jan 2014 19:19:46 +0000 (29 20:19 +0100)]
Fix lynx handing for relative URLs (fixes Debian bug 732112)

10 years agoHandle invalid encoding sent by server (fixes Debian bug 731931)
Thomas Perl [Wed, 29 Jan 2014 19:09:30 +0000 (29 20:09 +0100)]
Handle invalid encoding sent by server (fixes Debian bug 731931)

10 years agourlwatch 1.16 released1.16
Thomas Perl [Wed, 29 Jan 2014 18:41:00 +0000 (29 19:41 +0100)]
urlwatch 1.16 released

10 years agoFix a bug with parsing content-encoding headers
Thomas Perl [Sat, 23 Nov 2013 03:12:54 +0000 (23 04:12 +0100)]
Fix a bug with parsing content-encoding headers

11 years agoFix website URL printing
Thomas Perl [Thu, 14 Mar 2013 18:59:41 +0000 (14 19:59 +0100)]
Fix website URL printing

11 years agoFix examples_dir location when not yet installed
Thomas Perl [Mon, 11 Mar 2013 12:39:34 +0000 (11 13:39 +0100)]
Fix examples_dir location when not yet installed

11 years agoNew, minimalistic setup.py script and restructuring
Thomas Perl [Mon, 11 Mar 2013 12:08:01 +0000 (11 13:08 +0100)]
New, minimalistic setup.py script and restructuring

11 years agoSupport for sending reports via SMTP
Xavier Izard [Wed, 19 Sep 2012 07:34:25 +0000 (19 09:34 +0200)]
Support for sending reports via SMTP

11 years agourlwatch 1.15 released1.15
Thomas Perl [Thu, 30 Aug 2012 08:50:29 +0000 (30 10:50 +0200)]
urlwatch 1.15 released

11 years agohtml2txt: Support for UTF-8
Thomas Perl [Thu, 30 Aug 2012 08:48:47 +0000 (30 10:48 +0200)]
html2txt: Support for UTF-8

Based on an initial patch by Slavko <slavino@slavino.sk>

12 years agourlwatch 1.14 released1.14
Thomas Perl [Tue, 15 Nov 2011 13:15:05 +0000 (15 14:15 +0100)]
urlwatch 1.14 released

12 years agoUnicode-related fixes
Thomas Perl [Tue, 15 Nov 2011 13:12:20 +0000 (15 14:12 +0100)]
Unicode-related fixes

Again, it's time for Python 3 to come around soon!

12 years agourlwatch 1.13 released1.13
Thomas Perl [Mon, 22 Aug 2011 19:42:39 +0000 (22 21:42 +0200)]
urlwatch 1.13 released

12 years agoAdd script to convert to Python 3 format
Thomas Perl [Mon, 22 Aug 2011 12:37:01 +0000 (22 14:37 +0200)]
Add script to convert to Python 3 format

12 years agoCompatibility updates for Python 3
Thomas Perl [Mon, 22 Aug 2011 12:20:36 +0000 (22 14:20 +0200)]
Compatibility updates for Python 3

12 years agoUse concurrent.futures for quicker job completion
Thomas Perl [Mon, 22 Aug 2011 12:01:35 +0000 (22 14:01 +0200)]
Use concurrent.futures for quicker job completion

12 years agoSupport for POST requests
Thomas Perl [Sat, 20 Aug 2011 10:43:12 +0000 (20 12:43 +0200)]
Support for POST requests

This feature and the format in urls.txt has been
proposed by Sébastien Fricker.

13 years agourlwatch 1.12 released1.12
Thomas Perl [Thu, 10 Feb 2011 10:19:32 +0000 (10 11:19 +0100)]
urlwatch 1.12 released

13 years agoUpdate website URL and contact info
Thomas Perl [Sun, 28 Nov 2010 22:14:07 +0000 (28 23:14 +0100)]
Update website URL and contact info

13 years agoAllow None as return value for filters
Thomas Perl [Mon, 16 Aug 2010 20:27:58 +0000 (16 22:27 +0200)]
Allow None as return value for filters

In order to make the filtering mechanism more
robust against user error, urlwatch now accepts
the None value as return value from the filter
function, and interprets it as "don't filter".

13 years agourlwatch 1.11 released1.11
Thomas Perl [Fri, 30 Jul 2010 15:45:37 +0000 (30 17:45 +0200)]
urlwatch 1.11 released

13 years agoDetect non-zero command exit codes
Thomas Perl [Tue, 29 Jun 2010 23:53:22 +0000 (30 01:53 +0200)]
Detect non-zero command exit codes

If a shell commands exists with a non-zero
status, urlwatch considers this as an error
and will optionally report the error to the
user (not overwriting the last output data).

13 years agoUpdate Copyright year for 2010
Thomas Perl [Mon, 10 May 2010 20:26:45 +0000 (10 22:26 +0200)]
Update Copyright year for 2010

13 years agourlwatch 1.10 released1.10
Thomas Perl [Mon, 10 May 2010 10:20:50 +0000 (10 12:20 +0200)]
urlwatch 1.10 released

13 years agoGet encoding from headers and convert to UTF-8
Thomas Perl [Tue, 4 May 2010 13:41:11 +0000 (4 15:41 +0200)]
Get encoding from headers and convert to UTF-8

14 years agoUpdate version + month in manpage
Thomas Perl [Fri, 2 Oct 2009 22:40:07 +0000 (3 00:40 +0200)]
Update version + month in manpage

14 years agourlwatch 1.9 (shell pipe and if-modified-since)1.9
Thomas Perl [Tue, 29 Sep 2009 15:05:27 +0000 (29 17:05 +0200)]
urlwatch 1.9 (shell pipe and if-modified-since)

14 years agourlwatch 1.8 released1.8
Thomas Perl [Mon, 10 Aug 2009 14:28:29 +0000 (10 16:28 +0200)]
urlwatch 1.8 released

14 years agoHandle httplib errors (Debian bug 529740)
Thomas Perl [Mon, 10 Aug 2009 14:22:50 +0000 (10 16:22 +0200)]
Handle httplib errors (Debian bug 529740)

Even though the usage of urllib2 should not throw
any httplib errors, this works around the bug and
lets urlwatch work with servers that send a bad
status line.

Thanks to Bastian Kleineidam for reporting.

14 years agoAdd error handling for socket timeouts
Thomas Perl [Sat, 1 Aug 2009 17:25:26 +0000 (1 19:25 +0200)]
Add error handling for socket timeouts

14 years agoDetect IOErrors from FTP timeouts
Thomas Perl [Mon, 27 Jul 2009 08:27:14 +0000 (27 10:27 +0200)]
Detect IOErrors from FTP timeouts

In case an FTP request times out, an IOError
is raised that should be captured and handled.

15 years agoSet the socket timeout to one minute to avoid hangs
Thomas Perl [Tue, 20 Jan 2009 21:50:44 +0000 (20 22:50 +0100)]
Set the socket timeout to one minute to avoid hangs

Theoretically, when a server is slow responding, this
could cause urlwatch to hang. We now set the timeout
for requests to 60 seconds (might increase this in the
future) to avoid hanging for broken/busy servers.

15 years agoAdd TODO list
Thomas Perl [Thu, 15 Jan 2009 08:49:51 +0000 (15 09:49 +0100)]
Add TODO list

15 years agoadd examples for ical2txt and html2txt to manpage
Thomas Perl [Mon, 12 Jan 2009 18:06:23 +0000 (12 19:06 +0100)]
add examples for ical2txt and html2txt to manpage

15 years agoEven more output sanitizing for Lynx html2text mode
Thomas Perl [Wed, 7 Jan 2009 18:27:39 +0000 (7 19:27 +0100)]
Even more output sanitizing for Lynx html2text mode

15 years agoFix a problem with relative links in Lynx' dump mode
Thomas Perl [Mon, 5 Jan 2009 10:29:47 +0000 (5 11:29 +0100)]
Fix a problem with relative links in Lynx' dump mode

When using "-stdin -dump" and Lynx encounters relative
links, it converts them to some obscure temporary folder
and file name. This patch removed the temporary folder
from the output, so relative links appear as they are.

Bug reported by Evert Meulie

15 years agoRelease 1.7 with support for html2txt1.7
Thomas Perl [Sat, 3 Jan 2009 13:27:32 +0000 (3 14:27 +0100)]
Release 1.7 with support for html2txt

15 years agoAdd coding declaration to urlwatch (utf-8)
Thomas Perl [Sat, 3 Jan 2009 13:17:34 +0000 (3 14:17 +0100)]
Add coding declaration to urlwatch (utf-8)

15 years agourlwatch 1.6 released1.6
Thomas Perl [Tue, 23 Dec 2008 10:52:00 +0000 (23 11:52 +0100)]
urlwatch 1.6 released

Updated ChangeLog, version number, etc...

15 years agoSupport hashlib for Python 2.5 and above
Thomas Perl [Tue, 23 Dec 2008 10:45:19 +0000 (23 11:45 +0100)]
Support hashlib for Python 2.5 and above

Python 2.6 issues a "Warning:" when we use the sha module that
has been deprecated since Python 2.5. The "hashlib" module that
should be used instead is only available in Python 2.5 and above,
so check for the existence and use whichever method we have available
(but prefer hashlib over the older sha module if available).

15 years agourlwatch 1.5 (+add manpage to MANIFEST.in)1.5
Thomas Perl [Tue, 18 Nov 2008 22:34:11 +0000 (18 23:34 +0100)]
urlwatch 1.5 (+add manpage to MANIFEST.in)

15 years agoadd manpage
Thomas Perl [Tue, 18 Nov 2008 22:31:03 +0000 (18 23:31 +0100)]
add manpage

15 years agoupdate ChangeLog and README for version 1.5
Thomas Perl [Tue, 18 Nov 2008 22:15:38 +0000 (18 23:15 +0100)]
update ChangeLog and README for version 1.5

15 years agoadd option parsing and verbose logging mode
Thomas Perl [Tue, 18 Nov 2008 22:05:15 +0000 (18 23:05 +0100)]
add option parsing and verbose logging mode

15 years agoversion has to be a string :)
Thomas Perl [Tue, 18 Nov 2008 21:18:09 +0000 (18 22:18 +0100)]
version has to be a string :)

15 years agoupdate copyright e-mail, finish off setup.py
Thomas Perl [Tue, 18 Nov 2008 21:17:19 +0000 (18 22:17 +0100)]
update copyright e-mail, finish off setup.py

15 years agoupdated changelog
Thomas Perl [Tue, 18 Nov 2008 21:09:13 +0000 (18 22:09 +0100)]
updated changelog

15 years agoAdd examples, setup.py and remove makefile
Thomas Perl [Tue, 18 Nov 2008 21:07:28 +0000 (18 22:07 +0100)]
Add examples, setup.py and remove makefile

15 years agoRename files, update copyright, add examples
Thomas Perl [Tue, 18 Nov 2008 20:36:11 +0000 (18 21:36 +0100)]
Rename files, update copyright, add examples

15 years agoUpdate watch.py for new system-wide install version
Thomas Perl [Tue, 18 Nov 2008 20:34:58 +0000 (18 21:34 +0100)]
Update watch.py for new system-wide install version

15 years agoonly change the version in one location (watch.py)
Thomas Perl [Mon, 17 Nov 2008 12:38:10 +0000 (17 13:38 +0100)]
only change the version in one location (watch.py)

15 years agourlwatch 1.5 (ical2txt, utidylib, documentation)1.4
Thomas Perl [Fri, 14 Nov 2008 11:44:51 +0000 (14 12:44 +0100)]
urlwatch 1.5 (ical2txt, utidylib, documentation)

15 years agomore fun with hooks and updated URL list
Thomas Perl [Tue, 11 Nov 2008 20:58:25 +0000 (11 21:58 +0100)]
more fun with hooks and updated URL list

15 years agoUser-Agent support and Version 1.31.3
Thomas Perl [Fri, 16 May 2008 09:33:12 +0000 (16 11:33 +0200)]
User-Agent support and Version 1.3

Add support for sending a better User-agent string to the
remote host, patch by Craig Hoffman.

15 years agoMerge branch 'master' of /home/thp/lib/urlwatch
Thomas Perl [Sat, 10 May 2008 14:59:39 +0000 (10 16:59 +0200)]
Merge branch 'master' of /home/thp/lib/urlwatch

15 years agoRelease 1.21.2
Thomas Perl [Sat, 10 May 2008 14:59:18 +0000 (10 16:59 +0200)]
Release 1.2

15 years agoVersion 1.2
Thomas Perl [Sat, 10 May 2008 14:56:15 +0000 (10 16:56 +0200)]
Version 1.2

15 years agoFix problems on Mac OS X; thanks to Lukas Upton
Thomas Perl [Sat, 10 May 2008 14:53:20 +0000 (10 16:53 +0200)]
Fix problems on Mac OS X; thanks to Lukas Upton
<hagakure1@gmail.com> for reporting this bug via mail

16 years agourlwatch 1.11.1
Thomas Perl [Sat, 22 Mar 2008 09:14:52 +0000 (22 10:14 +0100)]
urlwatch 1.1

16 years agoREADME, makefile, urlwatch 1.01.0
Thomas Perl [Mon, 17 Mar 2008 09:19:42 +0000 (17 10:19 +0100)]
README, makefile, urlwatch 1.0

16 years agoMake sure we land in the correct directory
Thomas Perl [Tue, 4 Mar 2008 09:50:38 +0000 (4 10:50 +0100)]
Make sure we land in the correct directory

16 years agoinitial commit
Thomas Perl [Tue, 4 Mar 2008 09:16:52 +0000 (4 10:16 +0100)]
initial commit