rss2email.git
12 years agorss2email: fix pausing -> unpausing typo in unpause help string.
W. Trevor King [Thu, 18 Oct 2012 12:45:52 +0000 (08:45 -0400)]
rss2email: fix pausing -> unpausing typo in unpause help string.

12 years agorss2email: change -c/--config option from nargs to append.
W. Trevor King [Thu, 18 Oct 2012 12:43:36 +0000 (08:43 -0400)]
rss2email: change -c/--config option from nargs to append.

Now you should use

  $ rss2email.py -c path1 -c path2 ... comand

Instead of

  $ rss2email.py -c path1 path2 ... comand

The latter made

  $ rss2email.py -c path1 comand

look like a command-less call (`command' being interpreted as another
config path).

12 years agorss2email: don't create directories for files in the current directory.
W. Trevor King [Thu, 18 Oct 2012 12:41:09 +0000 (08:41 -0400)]
rss2email: don't create directories for files in the current directory.

This avoids:

  $ ./rss2email.py -d feeds.dat new
  ...
  OSError: [Errno 2] No such file or directory: ''

12 years agoreadme: add feed name in `r2e add` example.
W. Trevor King [Thu, 18 Oct 2012 12:40:48 +0000 (08:40 -0400)]
readme: add feed name in `r2e add` example.

12 years agor2e.1: update man page for configparser-based rss2email.
W. Trevor King [Thu, 18 Oct 2012 12:40:14 +0000 (08:40 -0400)]
r2e.1: update man page for configparser-based rss2email.

12 years agor2e.1: add man page from Debian package.
W. Trevor King [Thu, 18 Oct 2012 11:12:11 +0000 (07:12 -0400)]
r2e.1: add man page from Debian package.

This man page was extracted from rss2email_2.65-1.diff.gz.

12 years agotest: add a test suite and simple testing script.
W. Trevor King [Fri, 5 Oct 2012 11:13:54 +0000 (07:13 -0400)]
test: add a test suite and simple testing script.

It would probably be a good idea to use the unittest framework, but
this works as a first pass.

12 years agoConvert message string to bytes for sendmail.
W. Trevor King [Fri, 5 Oct 2012 01:45:52 +0000 (21:45 -0400)]
Convert message string to bytes for sendmail.

12 years agoIf we don't have a feed-specific section, use DEFAULT in Feed._send().
W. Trevor King [Fri, 5 Oct 2012 01:41:26 +0000 (21:41 -0400)]
If we don't have a feed-specific section, use DEFAULT in Feed._send().

12 years agoFix configSMTP_SEND -> config.getboolean(section, 'use-smtp') typo.
W. Trevor King [Fri, 5 Oct 2012 01:40:55 +0000 (21:40 -0400)]
Fix configSMTP_SEND -> config.getboolean(section, 'use-smtp') typo.

12 years agoSet default status to 200 (e.g. when loaded from a local file).
W. Trevor King [Fri, 5 Oct 2012 01:08:50 +0000 (21:08 -0400)]
Set default status to 200 (e.g. when loaded from a local file).

12 years agoFix CONFIG -> config typo in Feed.load_from_config().
W. Trevor King [Fri, 5 Oct 2012 00:11:55 +0000 (20:11 -0400)]
Fix CONFIG -> config typo in Feed.load_from_config().

12 years agoChange default logging level back to ERROR.
W. Trevor King [Thu, 4 Oct 2012 23:58:45 +0000 (19:58 -0400)]
Change default logging level back to ERROR.

12 years agoUse kwargs consistently in s for diamond inheritance.
W. Trevor King [Thu, 4 Oct 2012 23:44:57 +0000 (19:44 -0400)]
Use kwargs consistently in s for diamond inheritance.

12 years agoreadme: convert configuration examples to the new format.
W. Trevor King [Thu, 4 Oct 2012 23:05:55 +0000 (19:05 -0400)]
readme: convert configuration examples to the new format.

12 years agoUpdate the r2e scripts to use -c/-d for locating config files.
W. Trevor King [Thu, 4 Oct 2012 23:03:59 +0000 (19:03 -0400)]
Update the r2e scripts to use -c/-d for locating config files.

12 years agoAdd myself to __contributors__.
W. Trevor King [Thu, 4 Oct 2012 23:01:06 +0000 (19:01 -0400)]
Add myself to __contributors__.

12 years agoFix ___contributors__ -> __contributors__.
W. Trevor King [Thu, 4 Oct 2012 23:00:50 +0000 (19:00 -0400)]
Fix ___contributors__ -> __contributors__.

12 years agoSpread cmd_run() logic out into Feed methods (under Feed.run()).
W. Trevor King [Thu, 4 Oct 2012 22:46:44 +0000 (18:46 -0400)]
Spread cmd_run() logic out into Feed methods (under Feed.run()).

12 years agoRework commands to use argparse subparsers (cmd_run still needs work).
W. Trevor King [Thu, 4 Oct 2012 19:12:23 +0000 (15:12 -0400)]
Rework commands to use argparse subparsers (cmd_run still needs work).

12 years agoCleanups to Feed and Feeds.
W. Trevor King [Thu, 4 Oct 2012 19:08:18 +0000 (15:08 -0400)]
Cleanups to Feed and Feeds.

12 years agoFix ConfigParser option <-> Python conversion for Feed attributes.
W. Trevor King [Thu, 4 Oct 2012 18:29:53 +0000 (14:29 -0400)]
Fix ConfigParser option <-> Python conversion for Feed attributes.

12 years agoOnly load configfiles if we have filenames to work with.
W. Trevor King [Thu, 4 Oct 2012 16:54:34 +0000 (12:54 -0400)]
Only load configfiles if we have filenames to work with.

12 years agoMove parse() to Feed.fetch().
W. Trevor King [Thu, 4 Oct 2012 16:43:40 +0000 (12:43 -0400)]
Move parse() to Feed.fetch().

12 years agoAdd Feeds class for managing lists of feeds.
W. Trevor King [Thu, 4 Oct 2012 15:59:45 +0000 (11:59 -0400)]
Add Feeds class for managing lists of feeds.

12 years agoFlesh out Feed class with saving/loading methods.
W. Trevor King [Thu, 4 Oct 2012 15:37:19 +0000 (11:37 -0400)]
Flesh out Feed class with saving/loading methods.

12 years agoGet rid of some tiny helper functions.
W. Trevor King [Thu, 4 Oct 2012 14:15:26 +0000 (10:15 -0400)]
Get rid of some tiny helper functions.

12 years agoConvert timelimit() to a class TimeLimitedFunction.
W. Trevor King [Thu, 4 Oct 2012 13:51:46 +0000 (09:51 -0400)]
Convert timelimit() to a class TimeLimitedFunction.

12 years agoMore global constant and configuration cleanups.
W. Trevor King [Thu, 4 Oct 2012 13:42:24 +0000 (09:42 -0400)]
More global constant and configuration cleanups.

12 years agoAdd .gitignore ignoring __pycache__.
W. Trevor King [Thu, 4 Oct 2012 13:40:05 +0000 (09:40 -0400)]
Add .gitignore ignoring __pycache__.

12 years agoBreak send() into guess_encoding(), get_message(), and *_send().
W. Trevor King [Thu, 4 Oct 2012 13:39:34 +0000 (09:39 -0400)]
Break send() into guess_encoding(), get_message(), and *_send().

12 years agoAdd rss2email.LOG for standardized logging.
W. Trevor King [Thu, 4 Oct 2012 13:13:05 +0000 (09:13 -0400)]
Add rss2email.LOG for standardized logging.

12 years agoQP has been deprecated for years. Remove it entirely.
W. Trevor King [Thu, 4 Oct 2012 12:40:57 +0000 (08:40 -0400)]
QP has been deprecated for years.  Remove it entirely.

12 years agoSetup html2text in Config._setup().
W. Trevor King [Thu, 4 Oct 2012 12:40:02 +0000 (08:40 -0400)]
Setup html2text in Config._setup().

12 years agoCleanup global module configuration.
W. Trevor King [Thu, 4 Oct 2012 12:33:32 +0000 (08:33 -0400)]
Cleanup global module configuration.

12 years agoConvert configuration to a ConfigParser instance.
W. Trevor King [Thu, 4 Oct 2012 12:30:56 +0000 (08:30 -0400)]
Convert configuration to a ConfigParser instance.

12 years agoImport as _* to avoid namespace pollution.
W. Trevor King [Thu, 4 Oct 2012 12:00:16 +0000 (08:00 -0400)]
Import as _* to avoid namespace pollution.

Also update import locations for Python 3.2.

12 years agoCollect imports at the beginning of rss2email.py.
W. Trevor King [Thu, 4 Oct 2012 11:56:51 +0000 (07:56 -0400)]
Collect imports at the beginning of rss2email.py.

12 years agoCleanup metadata formatting.
W. Trevor King [Thu, 4 Oct 2012 11:52:38 +0000 (07:52 -0400)]
Cleanup metadata formatting.

12 years agoConvert tabs to spaces and strip trailing whitespace.
W. Trevor King [Thu, 4 Oct 2012 11:51:31 +0000 (07:51 -0400)]
Convert tabs to spaces and strip trailing whitespace.

12 years agoNominally convert to Python >=3.2.
W. Trevor King [Thu, 4 Oct 2012 11:50:01 +0000 (07:50 -0400)]
Nominally convert to Python >=3.2.

12 years agoreadme: cleanup formatting.
W. Trevor King [Thu, 4 Oct 2012 11:45:04 +0000 (07:45 -0400)]
readme: cleanup formatting.

12 years agoreadme: strip trailing whitespace.
W. Trevor King [Thu, 4 Oct 2012 11:19:53 +0000 (07:19 -0400)]
readme: strip trailing whitespace.

12 years agoI'm going to rework the configuration to use ConfigParser.
W. Trevor King [Thu, 4 Oct 2012 11:19:14 +0000 (07:19 -0400)]
I'm going to rework the configuration to use ConfigParser.

12 years agoDon't bundle feedparser or html2text.py.
W. Trevor King [Thu, 4 Oct 2012 11:18:38 +0000 (07:18 -0400)]
Don't bundle feedparser or html2text.py.

12 years agoBump rss2email.__version__ to 2.71.
W. Trevor King [Thu, 4 Oct 2012 11:18:11 +0000 (07:18 -0400)]
Bump rss2email.__version__ to 2.71.

12 years agoBump to version 2.71. v2.71
Lindsey Smith [Fri, 4 Mar 2011 12:00:00 +0000 (12:00 +0000)]
Bump to version 2.71.

12 years agoBump to version 2.70. v2.70
Lindsey Smith [Tue, 21 Dec 2010 12:00:00 +0000 (12:00 +0000)]
Bump to version 2.70.

12 years agoBump to version 2.69a. v2.69a
Lindsey Smith [Fri, 12 Nov 2010 12:00:01 +0000 (12:00 +0000)]
Bump to version 2.69a.

12 years agoBump to version 2.69. v2.69
Lindsey Smith [Fri, 12 Nov 2010 12:00:00 +0000 (12:00 +0000)]
Bump to version 2.69.

12 years agoBump to version 2.68. v2.68
Lindsey Smith [Fri, 1 Oct 2010 12:00:00 +0000 (12:00 +0000)]
Bump to version 2.68.

12 years agoBump to version 2.67. v2.67
Lindsey Smith [Tue, 21 Sep 2010 12:00:00 +0000 (12:00 +0000)]
Bump to version 2.67.

12 years agoBump to version 2.66. v2.66
Lindsey Smith [Mon, 21 Dec 2009 12:00:00 +0000 (12:00 +0000)]
Bump to version 2.66.

12 years agoBump to version 2.65. v2.65
Lindsey Smith [Mon, 5 Jan 2009 12:00:00 +0000 (12:00 +0000)]
Bump to version 2.65.