summaryrefslogtreecommitdiff
path: root/lib/feed2imap/maildir.rb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix cleanup of maildirsAntonio Terceiro2014-10-071-1/+1
| | | | Thanks to Sylvain L. Sauvage for the bug report
* Fix MaildirAccount class; add testsAntonio Terceiro2013-08-131-5/+19
|
* Merge remote-tracking branch 'chimrod/master'Lucas Nussbaum2012-04-261-1/+1
|\
| * Remove dev logChimrod2011-08-311-1/+0
| |
| * Corrected maildir_file_info methodChimrod2011-08-311-1/+2
| |
* | 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.
* Also add reupload_if_updated for MaildirsLucas Nussbaum2010-11-301-1/+4
|
* 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
* fix to use Message-Id instead of X-CacheIndexLucas Nussbaum2009-09-041-5/+2
|
* Add lib/feed2imap/maildir.rbLucas Nussbaum2009-09-031-0/+173
Apparently git am forgot to add it.
son A. Donenfeld2-3/+5 2014-04-18reencrypt: cleaner temp file declarationJason A. Donenfeld1-4/+4 2014-04-18Remove unneeded semicolon.Jason A. Donenfeld1-14/+14 2014-04-18Check sneaky paths.Jason A. Donenfeld1-0/+15 2014-04-18Pruning: turns out rmdir does it for us with -p.Jason A. Donenfeld1-9/+3 2014-04-18Abstract remove empty directories into function.Jason A. Donenfeld1-14/+11 2014-04-18Remember to prune empty folders.Jason A. Donenfeld1-0/+8 2014-04-18init: allow deinitializationJason A. Donenfeld2-2/+18 2014-04-18bash-completion: filter dot files from resultsJason A. Donenfeld1-3/+8 2014-04-18reencrypt: remove option, do automaticallyJason A. Donenfeld5-39/+25 2014-04-18reencryption: add to completion filesJason A. Donenfeld3-1/+5 2014-04-18Specify variable gpg.Jason A. Donenfeld1-1/+1 2014-04-18style: don't escape new line on &&Jason A. Donenfeld1-2/+2 2014-04-18reencryption: remove temporary file on failureJason A. Donenfeld1-1/+1 2014-04-18reencryption: only reencrypt files when requiredJason A. Donenfeld2-16/+37 2014-04-17cp: typo as cvJason A. Donenfeld1-1/+1 2014-04-17bash: gpg_id is localJason A. Donenfeld1-0/+1 2014-04-17move/copy: always reencrypt passwords at destinationJason A. Donenfeld5-25/+56 2014-04-17makefile: allow platform files with gnu sedJason A. Donenfeld1-7/+8 2014-04-17mv: Add pass mv/rename supportJason A. Donenfeld5-3/+78 2014-04-17revelation2pass: add plain XML importJavali1-11/+15 2014-04-17platform: add cygwin supportJason A. Donenfeld2-1/+17