| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
test/tc_httpfetcher.rb can't still be re-enabled because it hits the
network, and a hostname that is no longer valid.
|
| |
|
|
|
|
|
|
|
|
| |
- avoid accessing $? unless it is actually available
- when calling a filter, make sure to release the mutex even if there is
an exception during the filter handling.
The long term solution is to drastically reorganize concurrency code.
|
|
|
|
|
| |
Force feed names to be strings because they will be handled as strings
later.
|
| |
|
|
|
|
| |
Thanks to Sylvain L. Sauvage for the bug report
|
| |
|
| |
|
|
|
|
|
|
| |
Made the Rakefile read the version number from
lib/feed2imap/feed2imap.rb instead of having it duplicated in both
places.
|
|
|
|
|
|
|
| |
This will make ruby-feedparser automatically calculate the full URL of
feed items whose link is present in the feed with only a path and not
hostname. ruby-feedparser will add the hostname where the feed came
from.
|
|
|
|
| |
This was actually causing problems to read IMAP data back.
|
|
|
|
| |
Otherwise this breaks maildir support
|
|
|
|
| |
This reverts commit 2f0e3542adcf7242f8a3401363752aab4cfa1961.
|
| |
|
| |
|
|
|
|
| |
So maildir:///path/to/maildir points to /path/to/maildir
|
|
|
|
|
| |
Also, instead of converting from utf-8 to iso-8858-1, we do the other
way around since we now live in a utf-8 world.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
| |
Using a per feed sequence number made it possible to have duplicate
entries when several feeds were pointing to the same Maildir folder.
|
|
|
|
|
|
|
|
|
|
| |
On supported servers, gzip encoding saves bandwidth and should
be enabled on clients by default to avoid excessive bandwidth
bills.
"deflate" encoding could be enabled, too, but servers and
clients tend to handle zlib headers (or lack thereof)
inconsistently and it gets messy.
|
|
|
|
|
| |
This allows disabling either HTML or text parts to save bandwidth/disk
space on the IMAP server.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch from René 'Necoro' Neumann <lists@necoro.eu>, who writes:
> I wanted to wrap the folder name in a call to
> "Net::IMAP::encode_utf7"
> to allow special characters like umlauts in the folder name (see the
> attached patch).
>
> Problem is, that the encode_utf7 (and the decode_utf7 FWIW) uses the
> 'String::force_encoding' method, which some googling shows to be in
> Ruby1.9 but not 1.8.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Following a discussion on feed2imap-devel, add a reupload_if_updated
option. When set to false, if an item is updated, but was previously
removed from the IMAP server, it is no longer re-uploaded.
Also fix some config file parsing bugs for the disable-ssl-verification
and include-images options. I should really switch to another way to
describe F2I config...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hi!
I've just subscribed to the list, having downloaded feed2imap a few days
ago. Since I want to just write RSS feeds to a local Maildir, this
looked like just what I needed.
Unfortunately, the release 1.0 version seems to randomise the order of
the feed items when doing the first fetch for a new feed. Looking at
maildir.rb, there is a "TODO: handle `date'" comment and it looks like
the code is just generating maildir filenames using the timestamp at
the time the items are being written into the maildir. Since all
the initial items are written at the same time, and the maildir file
name has a random element, this loses the original ordering from the
mail feed.
The solution is to use the timestamp corresponding to the pubDate
in the feed item as the initial component of the maildir file name.
Also, instead of using a random integer to force uniqueness in the
second component of the file name, I think it is better to use a
sequence number for each feed item, which will still be unique for
the feed and also preserve item order.
My patch follows (it's the first piece of Ruby code I've ever
written / modified)...
Cheers,
Bernie
|
| |
|
| |
|
|
|
|
| |
Update rubyimap.rb to upstream revision 27336
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch from Guido Berhoerster <guido@berhoerster.name>:
Hello,
here is a small patch that avoids using the valid(!) domain
"acme.com" for generating message ids and email addresses. It
adds a new global configuration option "default-email" which will
be used in case a feed does provide one, currently feed2imap
resorts to "feed2imap@acme.com". If this configuration option is
not given it will basically default to <logname>@<hostname> as
returned by Etc.getlogin and Socket.gethostname.
Yours,
|
| |
|
| |
|
|
|
|
| |
Apparently git am forgot to add it.
|
|
|
|
|
|
|
|
|
| |
Allow delivering to local Maildir[0] boxes, with URLs specifying the
path, like:
maildir:/home/rotty/Maildir/.feeds.foobar
[0] http://en.wikipedia.org/wiki/Maildir
|