summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix dependency on ruby-feedparserAntonio Terceiro2014-02-131-1/+1
|
* Release 1.2.2Antonio Terceiro2014-02-052-2/+2
|
* config: fix regression with arrays as targetAntonio Terceiro2014-02-052-1/+17
|
* Fix teardown method nameAntonio Terceiro2013-08-281-1/+1
|
* Add program for manual testsAntonio Terceiro2013-08-271-0/+40
|
* Fix version number managementAntonio Terceiro2013-08-272-2/+2
| | | | | | Made the Rakefile read the version number from lib/feed2imap/feed2imap.rb instead of having it duplicated in both places.
* Pass feed URL to ruby-feedparserAntonio Terceiro2013-08-272-3/+3
| | | | | | | 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.
* Remove embedded copy of Net::IMAPAntonio Terceiro2013-08-252-3602/+1
| | | | This was actually causing problems to read IMAP data back.
* Only remove leading slash from IMAP mailboxesAntonio Terceiro2013-08-251-1/+2
| | | | Otherwise this breaks maildir support
* Revert "Keep the maildir path instact"Antonio Terceiro2013-08-251-0/+1
| | | | This reverts commit 2f0e3542adcf7242f8a3401363752aab4cfa1961.
* New releaseAntonio Terceiro2013-08-241-1/+2
| | | | authors attribute is now mandatory for gemspec
* Run tests as default rake testAntonio Terceiro2013-08-131-1/+1
|
* Temporaily disable test that depends on networkAntonio Terceiro2013-08-131-1/+1
|
* Fix MaildirAccount class; add testsAntonio Terceiro2013-08-136-5/+156
|
* Force encoding of data to UTF-8Antonio Terceiro2013-08-131-1/+1
|
* Keep the maildir path instactAntonio Terceiro2013-08-131-1/+0
| | | | So maildir:///path/to/maildir points to /path/to/maildir
* Add an initial .gitignore file; ignore tags fileAntonio Terceiro2013-08-131-0/+1
|
* Modernize hancling of encodingsAntonio Terceiro2013-08-132-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.
* Remove pointless unit testAntonio Terceiro2013-08-131-14/+0
|
* Make `rake` work under Ruby 1.9Antonio Terceiro2013-08-131-4/+4
|
* Merge remote-tracking branch 'chimrod/master'Lucas Nussbaum2012-04-266-24/+31
|\
| * Merge branch 'maildir'Chimrod2011-08-312-2/+0
| |\
| | * Remove dev logChimrod2011-08-311-1/+0
| | |
| | * Cleanup dev logChimrod2011-08-311-1/+0
| | |
| * | Merge branch 'maildir'Chimrod2011-08-312-17/+13
| |\|
| | * Corrected maildir_file_info methodChimrod2011-08-311-1/+2
| | |
| | * Merged loopChimrod2011-08-311-16/+11
| | |
| * | Updated docChimrod2011-08-311-0/+1
| |/
| * Set timeout for feed fetchingChimrod2011-08-303-7/+19
| |
* | Use global sequence numberLucas Nussbaum2012-04-261-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.
* gem: include executable wrappers in bin/*Eric Wong2011-02-181-0/+3
| | | | | The RubyGems installation of feed2imap did not install the RubyGems bin/* wrappers in the user's normal $PATH
* httpfetcher: accept gzip encoding from serversEric Wong2011-02-181-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.
* add "parts" config optionEric Wong2011-02-183-10/+40
| | | | | This allows disabling either HTML or text parts to save bandwidth/disk space on the IMAP server.
* fix typo breaking debug-updated optionLucas Nussbaum2011-01-081-2/+2
|
* Add a vim-modeline for the config example.René 'Necoro' Neumann2010-12-011-0/+2
| | | | | | | | | | This sets the correct modes for vim when editing the configfile. This is especially needed, as YAML uses indentation for structures. Options set: - filetype to YAML (else 'conf' is infered) - set the number of spaces a tab is to 2 - expandtab -- do not insert \t but spaces
* Encode the folder in UTF7Lucas Nussbaum2010-12-011-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.
* robustify config parsingLucas Nussbaum2010-12-011-11/+22
|
* Also add reupload_if_updated for MaildirsLucas Nussbaum2010-11-301-1/+4
|
* Add a reupload_if_updated option (default: true)Lucas Nussbaum2010-11-304-8/+20
| | | | | | | | | | 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...
* Patch to use feed item pubDate in Maildir file namesBernie Maier2010-07-051-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
* update websiteLucas Nussbaum2010-04-182-2/+15
|
* prepare releaseLucas Nussbaum2010-04-184-5/+5
|
* provide a way to disable SSL certificate verificationLucas Nussbaum2010-04-184-1/+12
|
* update changelogLucas Nussbaum2010-04-181-0/+4
|
* Update rubyimap.rbLucas Nussbaum2010-04-181-5/+38
| | | | Update rubyimap.rb to upstream revision 27336
* Document the maildir targetSandra Snan2010-03-173-5/+5
| | | | | | | | I looked for a good feed to maildir program, and I couldn’t find one. Turns out, by looking at feed2imaps source code, that it has that function. So here’s a documentation patch so it’s easier to find. This patch shouldn’t touch any code. Generated by git. Sandra Signed-off-by: Sandra Snan <sandra.snan@handgranat.org>
* Avoid using "acme.com"Lucas Nussbaum2009-12-264-10/+19
| | | | | | | | | | | | | | | | 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,
* fix to use Message-Id instead of X-CacheIndexLucas Nussbaum2009-09-041-5/+2
|
* added the forth arg to ConfigFeed::new for maildirLucas Nussbaum2009-09-031-1/+1
|
* Add lib/feed2imap/maildir.rbLucas Nussbaum2009-09-031-0/+173
| | | | Apparently git am forgot to add it.