]>
Sergey Matveev's repositories - public-inbox.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Eric Wong [Mon, 7 Apr 2014 22:59:10 +0000 (22:59 +0000)]
cgi: make internal interface more Plack-like
This should make it easier to support non-CGI uses,
as well as making it easier to generate static sites.
Eric Wong [Mon, 7 Apr 2014 20:26:42 +0000 (20:26 +0000)]
feed: generate takes a hashref for args
Passing a giant argument list is to error prone and
hard-to-document.
Eric Wong [Sun, 6 Apr 2014 07:06:15 +0000 (07:06 +0000)]
doc: design_www note /full/ namespace for messages
We serve the short, abridge-quote version by default since
it is (unfortunately) common practice to over-quote on mailing lists.
Eric Wong [Sun, 6 Apr 2014 07:03:49 +0000 (07:03 +0000)]
view: use "original" rather than "raw"
This wording is probably clearer to everyone, and also used by at
least one other mailing list WWW interface.
Eric Wong [Sun, 6 Apr 2014 06:59:43 +0000 (06:59 +0000)]
view: minor cleanups
Avoid adding extraneous whitespace in HTML content, as it
increases bandwidth usage of network, disk and memory.
Eric Wong [Sun, 6 Apr 2014 06:52:18 +0000 (06:52 +0000)]
feed: reuse view class to display message
This reduces duplicated/similar code and hopefully makes things more
consistent.
Eric Wong [Sun, 6 Apr 2014 06:50:08 +0000 (06:50 +0000)]
view: all content is assumed to be displayable text
Our Filter class now passes through application/octet-stream
if it looks like text (because some mailers suck); so we
cannot trust the specified Content-Type of a message.
Eric Wong [Sat, 5 Apr 2014 10:55:44 +0000 (10:55 +0000)]
Makefile.PL: update dependencies
This is lightly tested.
Eric Wong [Sat, 5 Apr 2014 10:54:24 +0000 (10:54 +0000)]
view: use URI::Escape to escape URIs
CGI::escape is not a documented subroutine, so the chances of
it going away are higher.
Eric Wong [Sat, 5 Apr 2014 10:51:52 +0000 (10:51 +0000)]
feed: remove unnecessary use
We no longer use DateTime::Format::Mail.
Eric Wong [Sat, 5 Apr 2014 07:02:19 +0000 (07:02 +0000)]
feed: use Date::Parse to parse dates
This is a smaller module dependency-wise and should be easier-to-install
for folks with limited packaging systems or network/disk capacity.
We do not need very powerful date parsing, as bad date formats are
likely the work of spammers.
Eric Wong [Sat, 5 Apr 2014 06:53:19 +0000 (06:53 +0000)]
get a basic CGI feed sender running
We should be able to wire up the rest, soon.
Eric Wong [Sat, 5 Apr 2014 03:17:35 +0000 (03:17 +0000)]
remove failrepo config
We will just use the fallback in Email::Filter to
reduce configuration knobs. Failed messages are failed
messages, do not classify them beyond that.
Eric Wong [Sat, 5 Apr 2014 01:33:46 +0000 (01:33 +0000)]
public-inbox-mda: preliminary manpage documentation
This still needs to be fleshed out.
Eric Wong [Sat, 5 Apr 2014 01:11:08 +0000 (01:11 +0000)]
view: implement quote folding and flesh out tests
Unfortunately, quoting is often excessive, so hide multi-line quotes
by default and provide anchored links to full messages instead.
Eric Wong [Fri, 4 Apr 2014 23:31:46 +0000 (23:31 +0000)]
config: add shortcut for retrieving elements
Hopefully this makes for less ad-hoc hash access in case
our config format changes.
Eric Wong [Fri, 4 Apr 2014 23:28:53 +0000 (23:28 +0000)]
doc: add design documentation for WWW interface
Mainly, start with URL routes since that's what users usually
see, first.
Eric Wong [Fri, 4 Apr 2014 01:42:41 +0000 (01:42 +0000)]
view: update IRP and MID links
We'll go with .html and .txt suffixes on MIDs to benefit
static hosting setups.
Eric Wong [Tue, 1 Apr 2014 23:07:38 +0000 (23:07 +0000)]
flesh out MDA and simplify config setup
We will be reusing the config parsing code for the CGI
script, too.
Eric Wong [Mon, 31 Mar 2014 20:16:19 +0000 (20:16 +0000)]
precheck uses recipient argument
We will also be using the RECIPIENT env in the future, since
that takes aliases into account.
Reducing the possible callsites to check ENV means we can more
easily update the code in the future.
Eric Wong [Mon, 31 Mar 2014 20:15:27 +0000 (20:15 +0000)]
README: various updates
Eric Wong [Fri, 4 Apr 2014 00:39:41 +0000 (00:39 +0000)]
filter: use regexp to check multipart bodies
This should be safer than running file(1), which has had its share
of vulnerabilities this year (early 2014) We really only care about
diffs and maybe short log files, here.
Eric Wong [Thu, 3 Apr 2014 20:28:30 +0000 (20:28 +0000)]
filter: possibly keep PGP sigs only (not other types)
We may keep PGP signatures for messages we do not modify.
However, we have no way of verifying them on the server-side.
Eric Wong [Mon, 31 Mar 2014 19:58:24 +0000 (19:58 +0000)]
design_notes: with philosophy
Eric Wong [Fri, 28 Mar 2014 08:22:45 +0000 (08:22 +0000)]
filter: use file(1) to detect mime type if octet-stream
Some mailers do not correctly detect/set the Content-Type header; so
attempt to keep messages based on our server-detected MIME type if
application/octet-stream was specified.
Eric Wong [Thu, 27 Mar 2014 19:38:06 +0000 (19:38 +0000)]
config: revamp API and implement lookup
Eric Wong [Mon, 24 Mar 2014 20:17:11 +0000 (20:17 +0000)]
initial cut at Atom feed generation
This should make it easier for non-ssoma users to follow.
Eric Wong [Tue, 25 Feb 2014 22:26:35 +0000 (22:26 +0000)]
precheck: require Message-ID to be set
Valid emails should not arrive without a Message-ID.
Eric Wong [Tue, 25 Feb 2014 03:01:04 +0000 (03:01 +0000)]
view: add view module to be used for rendering HTML
This is to keep content accessible to search engines.
Eric Wong [Tue, 11 Feb 2014 00:36:06 +0000 (00:36 +0000)]
move pre-spamc checks to PublicInbox->precheck
We may add more checks before we go to spamc.
Eric Wong [Tue, 11 Feb 2014 00:29:13 +0000 (00:29 +0000)]
public-inbox-mda: reject messages without From header
Eric Wong [Thu, 6 Feb 2014 22:19:20 +0000 (22:19 +0000)]
trivial config module for dumping config
We'll be using git config files after all...
Eric Wong [Tue, 14 Jan 2014 23:35:21 +0000 (23:35 +0000)]
drop Mail-Followup-To, Mail-Reply-To, and Reply-To
Due to the higher latency of a pull-based email, we want to
encourage the use of reply-to-all for public-inbox.
Eric Wong [Fri, 10 Jan 2014 23:50:16 +0000 (23:50 +0000)]
reject messages if ORIGINAL_RECIPIENT is not specified
SpamAssassin doesn't seem to have this heuristic, but the lack of
the intended email address in To:/Cc: headers cannot be a good
sign (especially when this is a _public_ inbox).
Eric Wong [Fri, 10 Jan 2014 21:55:50 +0000 (21:55 +0000)]
scripts: add a link to GPLv3 license
Eric Wong [Fri, 10 Jan 2014 21:03:37 +0000 (21:03 +0000)]
public-inbox-mda: limit message size before spamc
Unfortunately we slurp, but expect our MTA to provide its own
limit on message sizes.
Eric Wong [Fri, 10 Jan 2014 21:06:40 +0000 (21:06 +0000)]
scripts/import_gmane_spool: fix name in usage
Just use $0 for now, since I suck at naming things.
Eric Wong [Thu, 9 Jan 2014 23:24:07 +0000 (23:24 +0000)]
ignore all *.gz files
We generate them when publishing.
Eric Wong [Thu, 9 Jan 2014 22:46:39 +0000 (22:46 +0000)]
add preliminary INSTALL documentation
Eric Wong [Thu, 9 Jan 2014 22:41:09 +0000 (22:41 +0000)]
add MANIFEST for distribution
Eric Wong [Thu, 9 Jan 2014 23:13:37 +0000 (23:13 +0000)]
initial commit