Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-25 | sfeed_mbox: use simpler djb2 hash, fix message-id as intended | Hiltjo Posthuma | |
The message-id has not been working as intended for a while. It only hashed the timestamp field because parseline() modifies the buffer in-place. | |||
2019-04-21 | sfeed_mbox: show enclosure url when it is non-empty | Hiltjo Posthuma | |
2018-11-04 | whitespace and comment fix | Hiltjo Posthuma | |
2018-10-08 | sfeed_mbox: remove an unneeded strlcpy call | Hiltjo Posthuma | |
2018-10-08 | sfeed_mbox: add seconds to Date header | Hiltjo Posthuma | |
2018-08-23 | sfeed_mbox: improvements | Hiltjo Posthuma | |
- don't output content and HTML mail anymore: this is very insecure for most mail clients. - improve Content-Type utf-8 encoding header (use the more common form). - improve line-endings at the end of the data. | |||
2017-12-24 | sfeed_mbox: make murmur3_32 static | Hiltjo Posthuma | |
2017-12-24 | format programs: ignore fields with an invalid time | Hiltjo Posthuma | |
this makes sure tail -f with multiple files ignores the ==> file <== lines too. | |||
2017-12-09 | sfeed_mbox: move murmur to this file, cleanup | Hiltjo Posthuma | |
2017-04-27 | simplify pledge stub | Hiltjo Posthuma | |
2017-04-27 | sfeed_mbox: remove redundant condition | Hiltjo Posthuma | |
2016-08-06 | add USE_PLEDGE, remove pledge dummy function | Hiltjo Posthuma | |
2016-04-10 | remove basename, just use last part of the path... | Hiltjo Posthuma | |
... as a bonus it also saves an allocation. | |||
2016-02-28 | use prime as seed for murmur3 seed (doesnt matter much) | Hiltjo Posthuma | |
2016-02-28 | null-terminate line at newline from getline() | Hiltjo Posthuma | |
2016-02-27 | various improvements | Hiltjo Posthuma | |
- pledge tools and add define to enable it on platforms that support it, currently only OpenBSD 5.9+ - separate getline and parseline functionality. - use murmur3 hash instead of jenkins1: faster and less collisions. - make some error messages a bit more clear, for example with path truncation. - some small cleanups, move printutf8pad to util. | |||
2015-10-05 | sfeed_mbox: do host lookup and current time once at startup, not per feed | Hiltjo Posthuma | |
2015-10-04 | sfeed_mbox: small cleanup, move label so check for NUL isnt needed | Hiltjo Posthuma | |
2015-10-04 | portability: dont use HOST_NAME_MAX, just use 256 as maximum | Hiltjo Posthuma | |
2015-08-23 | sfeed_mbox: clarify format time error (strftime) | Hiltjo Posthuma | |
2015-08-16 | code-style + no need to zero static variables | Hiltjo Posthuma | |
2015-08-16 | code-style, wrap some lines, etc | Hiltjo Posthuma | |
2015-08-08 | sfeed_mbox: use feedname in message-id | Hiltjo Posthuma | |
2015-08-07 | util: strtotime: stricter time parsing | Hiltjo Posthuma | |
as input: an empty string or non-digit characters are digits are considered an error now. Still, for the format tools output the formatted time string as time_t 0 on a parse error. | |||
2015-08-07 | sfeed_mbox: use simple hash for Message-Id | Hiltjo Posthuma | |
2015-08-05 | sfeed_mbox: combine date check condition | Hiltjo Posthuma | |
2015-08-02 | util: simplify parseline() and check t for strtotime(). | Hiltjo Posthuma | |
2015-08-02 | sfeed_mbox: improvements | Hiltjo Posthuma | |
- don't xmlencode HTML, show as is. - mangle "From " mboxrd-style. Content-Length would be cleaner but would require extra buffering. | |||
2015-08-01 | sfeed_mbox: xmlencode link for HTML mail, simplify a bit | Hiltjo Posthuma | |
2015-07-31 | sfeed_mbox: dont decodefield anymore | Hiltjo Posthuma | |
2015-07-31 | Various improvements | Hiltjo Posthuma | |
- Only escape characters in "content" field, these can contain newlines. - Trim newlines and tabs, etc from the title, id and author fields. - Make decodefield, xmlencode functions easier to "chain" without allocatting new buffers. - Move printutf8pad from util (only used by sfeed_plain) to sfeed_plain. - Update README, still need to update the man-page and improve the documentation in general. - Code cleanup. | |||
2015-07-31 | sfeed_mbox: improvements | Hiltjo Posthuma | |
- Date parsing: if invalid UNIX timestamp skip message. - Message-Id to Message-ID. - Print HTML link in HTML mail content, else plain-text link. - Fix year in Date header (%y to %Y). - Use author name in item post if available. - Add newline to message. - Code-style improvements. - ... still needs more work though... | |||
2015-07-30 | sfeed_mbox: initial version, needs more work | Hiltjo Posthuma | |