about summary refs log tree commit homepage
DateCommit message (Collapse)
2014-04-27feeds use XHTML to avoid tag soup
This should work in most browsers, lets find out!
2014-04-27Feed: <id> element must be a URI, oops :x
For each feed element, we'll just use the link since there's currently no suitable URN.
2014-04-27view: uri_escape subject
This hopefully improves compatibility with mailers
2014-04-26feed: comment about the %deleted hash
It's strictly not necessary anymore since commit fa6168c56bdd1cece178b6b852a9b2cba6ce6ffb ("feed: message must exist in current HEAD to show up") However it can still save us some unnecessary syscalls and round-trips to the "git cat-file --batch" process, so it's probably worth th cost of stuffing it in a hash.
2014-04-26cgi: style: return undef => return
2014-04-26feed: message must exist in current HEAD to show up
We do not want recently-deleted spam showing up when looking in old histories.
2014-04-26spamassassin rule and config updates
While we're at it, add a script for easy editing of user prefs. We need some human-maintained rules based on the spam we get. It's an imperfect world, but I'd _much_ rather deal with the occassional spam than require signup/registration to post.
2014-04-26view: show References: header, too
Some mail user agents use this header, and Mail::Thread uses it, too, so show it if possible, but only if it's not redundant to In-Reply-To.
2014-04-26view: add per-message HTML footer to encourage replies
This may not work with most mail user agents, however.
2014-04-26huge refactor of encoding handling
Hopefully this simplifies and corrects our usage of Perl encoding APIs.
2014-04-25cgi: eliminate dead/redundant HTML escaping code
2014-04-24html: refactor header value handling to be OO
This helps us keep track of escaping which needs to be done for various levels.
2014-04-23t/feed: cleanup test and add test for /f/ link
We already depend on IPC::Run, so just use it our tests.
2014-04-23feed: add tests for <id> element setting
We need to ensure this works This follows commit bd8fd095067b79a0d2a40bbca2b27b923d02b3f8 ("feed: fix address when multiple addresses exist")
2014-04-23t/feed: notify user of missing XML::Feed
One of my dev machines did not have XML::Feed so things were not tested sufficiently.
2014-04-22view: fix link to raw message from /f/ endpoint
Ugh, at least this has a test...
2014-04-22fix quoted URL generation in feeds
While we're at it, make sure strange characters are escaped properly in Message-IDs. We'll need tests for all this behavior.
2014-04-22view: do not decode Message-ID
This is ridiculous, nobody (including ssoma) ever does this.
2014-04-21feed: fix address when multiple addresses exist
This needs to be cleaned up
2014-04-21README: add links to try and HTML archives
2014-04-21config: use description file for gitweb
Do not repeat ourselves, just use the same description file gitweb uses to avoid surprising users.
2014-04-21html/index: fix broken prev/next pagination on short histories
We do not have much history in public-inbox meta, so do not mislead users with strange navigation elements which lead nowhere.
2014-04-21feed: there is only one atom feed, with all messages
This is not a blog. All posts, whether replies or not, carry equal weight.
2014-04-21html/index: do not waste space with non-existent thread roots
Screen real-estate is valuable, and missing roots tend to be false-positive matches (using Subject, not In-Reply-To or References).
2014-04-21doc: update design_www and add HACKING file
Document some of the stranger choices I've made.
2014-04-21new scripts for importing slrn spools and maildirs
The old import_gmane_spool script was inflexible, since we may import from maildir archives as well, so get everything into maildir, first.
2014-04-21README: fix URL for source code clone
This is an 80x24.org project (more on that at another date).
2014-04-21scripts/dc-dlvr: allow exiting from ~/.dc-dlvr.pre
The ~/.dc-dlvr.pre script for my public-inbox user does this.
2014-04-20use ORIGINAL_RECIPIENT once again
It should be common for a single users to be subscribed to multiple addresses/lists, so we must use the address before alias expansion. This partially reverts commit b949afc9edf89dd494cac6255c78b124d58e11a5
2014-04-20scripts/import_gmane_spool: set git committer date
We normally want committer date to be different so we may track delivery latencies (which do not differ much). However, the rules for importing are much different and tend to screw things up when using time ranges with git-rev-list.
2014-04-20various documentation cleanups
2014-04-20feed: close string ref before returning
Just in case there is an error, this should be more explicit.
2014-04-20cgi: delay some requires
This shaves off nearly 100ms when my Core2Duo is clocked to 800Mhz when rendering a full HTML index.
2014-04-20feed: speed up blob checks if Git.pm is usable
Git::cat_blob is a handy interface to read multiple emails without incurring fork + exec overhead. Git.pm is GPLv2+, not GPLv2-only, so we may link to it.
2014-04-19mda: share commit setup code with -learn
We need -learn to do many of the same things as -mda when we have a false-positive. We also need -learn to do HTML filtering in case the training user screws up.
2014-04-19move precheck to MDA namespace
We will be combining common code between -learn and -mda
2014-04-19various documentation updates
We have an HTML homepage, OMG!
2014-04-19mda: rename PI_FAILBOX to PI_EMERGENCY
The emergency destination may be Maildir. A Maildir emergency destination is better for volatile data which is written to and deleted-from frequently.
2014-04-19cgi: index pages allow iterating some pagination
This allows WWW readers to slowly page through the entire history of the mailing list.
2014-04-18view: fix regression in standalone /^&gt;$/ lines
The lack of trailing whitespace in quote prefixes threw us off and cause t/view to fail. This failure was caused by commit fefea3d7d2484ffbf433aec0dd80026aa7120e07 ("ensure per-message short quotes do not get too long") and not caught before pushing because I failed to run "make", only "prove" (and not even "prove -l" :x).
2014-04-17ensure per-message short quotes do not get too long
Sometimes a single long word or URL can lengthen the line too much.
2014-04-17cgi: sort HTML index by most recent date
This is hopefully the most user-friendly method.
2014-04-17view: remove pointless self-linkage
It is pointless to link to ourselves.
2014-04-17view: fix title of HTML views
We need to take care to escape everything properly to avoid HTML/JS injections.
2014-04-17add example for CGI with Ruby WEBrick
Some people like old-fashioned Ruby and WEBrick is in the Ruby standard library, so widely available.
2014-04-17view: inline shorter quotes
Breaking up short quote messages at 1 line is too disconcerting, try 5 lines as proper quotes shouldn't be too long.
2014-04-17cgi: implement suffix-less Message-ID redirects
This may be easier in some cases for copy+paste, but not 100% reliable in case the .txt and .html suffixes are in the Message-ID itself.
2014-04-17cgi: include HTTP status in error message body
This makes it slightly easier for out-of-the-box curl users since curl does not report or show the error by default.
2014-04-17HTML: various encoding fixups
2014-04-17Feed: add bug note on memory cycle
This affects users of long-lived processes (FastCGI/Plack)