summaryrefslogtreecommitdiff
path: root/lib (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-03-25Fix pythonismgroupsRené 'Necoro' Neumann1-17/+15
2016-03-25Take the 'group' value if no target is givenRené 'Necoro' Neumann1-1/+1
2016-03-25Groups support for feedsRené 'Necoro' Neumann1-7/+31
2016-03-25images are now rendered inline, no need for the multipart handlingmailRené 'Necoro' Neumann1-22/+6
2016-03-25image uri's may contain spacesRené 'Necoro' Neumann1-1/+6
2016-03-25Only one instance of the fetcher neededRené 'Necoro' Neumann1-1/+1
2016-03-25Replace RMail by Mail. This also reduces the handling we have to do ourselves.René 'Necoro' Neumann2-62/+65
2015-06-09itemtomail: embed images using data: URLsHEADmasterAntonio Terceiro1-18/+2
2015-05-10Bump versionAntonio Terceiro1-1/+1
2015-05-10Fix regression in `include-images` optionAntonio Terceiro1-1/+2
test/tc_httpfetcher.rb can't still be re-enabled because it hits the network, and a hostname that is no longer valid.
2015-05-03Bump versionAntonio Terceiro1-1/+1
2015-05-03Fix usage of filtersAntonio Terceiro1-16/+19
- 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.
2015-01-13Handle being given numbers as feed nameAntonio Terceiro1-0/+1
Force feed names to be strings because they will be handled as strings later.
2014-10-071.2.3 releaseAntonio Terceiro1-1/+1
2014-10-07Fix cleanup of maildirsAntonio Terceiro1-1/+1
Thanks to Sylvain L. Sauvage for the bug report
2014-02-05Release 1.2.2Antonio Terceiro1-1/+1
2014-02-05config: fix regression with arrays as targetAntonio Terceiro1-1/+1
2013-08-27Fix version number managementAntonio Terceiro1-1/+1
Made the Rakefile read the version number from lib/feed2imap/feed2imap.rb instead of having it duplicated in both places.
2013-08-27Pass feed URL to ruby-feedparserAntonio Terceiro1-1/+1
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.
2013-08-25Remove embedded copy of Net::IMAPAntonio Terceiro2-3602/+1
This was actually causing problems to read IMAP data back.
2013-08-25Only remove leading slash from IMAP mailboxesAntonio Terceiro1-1/+2
Otherwise this breaks maildir support
2013-08-25Revert "Keep the maildir path instact"Antonio Terceiro1-0/+1
This reverts commit 2f0e3542adcf7242f8a3401363752aab4cfa1961.
2013-08-13Fix MaildirAccount class; add testsAntonio Terceiro1-5/+19
2013-08-13Force encoding of data to UTF-8Antonio Terceiro1-1/+1
2013-08-13Keep the maildir path instactAntonio Terceiro1-1/+0
So maildir:///path/to/maildir points to /path/to/maildir
2013-08-13Modernize hancling of encodingsAntonio Terceiro2-2/+4
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.
2012-04-26Use global sequence numberLucas Nussbaum1-6/+4
Using a per feed sequence number made it possible to have duplicate entries when several feeds were pointing to the same Maildir folder.
2011-08-31Remove dev logChimrod1-1/+0
2011-08-31Cleanup dev logChimrod1-1/+0
2011-08-31Corrected maildir_file_info methodChimrod1-1/+2
2011-08-31Merged loopChimrod1-16/+11
2011-08-30Set timeout for feed fetchingChimrod3-7/+19
2011-02-18httpfetcher: accept gzip encoding from serversEric Wong1-5/+14
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.
2011-02-18add "parts" config optionEric Wong2-10/+22
This allows disabling either HTML or text parts to save bandwidth/disk space on the IMAP server.
2011-01-08fix typo breaking debug-updated optionLucas Nussbaum1-2/+2
2010-12-01Encode the folder in UTF7Lucas Nussbaum1-1/+17
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.
2010-12-01robustify config parsingLucas Nussbaum1-11/+22
2010-11-30Also add reupload_if_updated for MaildirsLucas Nussbaum1-1/+4
2010-11-30Add a reupload_if_updated option (default: true)Lucas Nussbaum3-8/+16
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...
2010-07-05Patch to use feed item pubDate in Maildir file namesBernie Maier1-6/+10
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
2010-04-18prepare releaseLucas Nussbaum1-1/+1
2010-04-18provide a way to disable SSL certificate verificationLucas Nussbaum2-1/+8
2010-04-18Update rubyimap.rbLucas Nussbaum1-5/+38
Update rubyimap.rb to upstream revision 27336
2009-12-26Avoid using "acme.com"Lucas Nussbaum3-10/+18
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,
2009-09-04fix to use Message-Id instead of X-CacheIndexLucas Nussbaum1-5/+2
2009-09-03added the forth arg to ConfigFeed::new for maildirLucas Nussbaum1-1/+1
2009-09-03Add lib/feed2imap/maildir.rbLucas Nussbaum1-0/+173
Apparently git am forgot to add it.
2009-09-03Add support for MaildirAndreas Rottmann1-1/+7
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
2009-07-28removed patch from haeger ; no longer needed with newer rubyimap.rbLucas Nussbaum1-3/+1
2009-07-27Added a patch from Haegar to fix problem with dovecot 1.2.1Lucas Nussbaum1-11/+77