~sircmpwn/lists.sr.ht

Updates for single-sign-on support
Don't let lists.sr.ht email itself
listssrht-lmtp: more logging
Filter "normal" access from settings-access.html
Print envelope of rejected messages
Set server_default access to normal
Implement ListAccess.moderate
filters.py: Fix issue with patch detection
filters.py: format_body: parse patch
Fix 500 on incorrectly labelled patch threads

This often happens with hg patchsets which are not yet understood by
libgit2.
Change placeholder text for patches view

If no patches have been posted to a list, the patches view confusingly
claims "No one has posted to this list yet", even if non-patch posts
have been made. This commit changes the placeholder text for the patches
view, to "No patches have been posted to this list yet".

Signed-off-by: Benjamin Lowry <ben@ben.gmbh>
Fix patchset UI links
Add contrib/reclassify-patches
process: don't forward emails from other lists
Rearrange thread template
37babb1d — Philippe Pepiot 4 months ago
Allow to serve lmtp on tcp and smtp on unix socket

We previously used "sock" parameter to determine if protocol should be
lmtp (unix socket) or smtp (tcp).
Since it make sense to serve both protocols on tcp or unix socket, introduce a
new "protocol" parameter to switch between lmtp and smtp.
Keep backward compat when protocol is not set by using lmtp over unix
socket and smtp over tcp socket.

Also evaluate "sock-group" option only when using unix socket, so the
option is no longer mandatory for tcp where it's unused.
Add a trailing "\n" to email body before parsing diff

Emails from Mercurial apparently do not have a line ending; this is
problematic when trying to parse them with pygit2.Diff.parse_diff()
because there is no "signature" ("-- \n<git version>") and the body ends
with the last hunk which hence fails to parse with "invalid patch
instruction at line NN" error:

  https://github.com/libgit2/libgit2/blob/v0.28.3/src/patch_parse.c#L550
Add is:thread & is:reply filters

Also, fix bug where 'in_reply_to' never gets set.

Closes https://todo.sr.ht/~sircmpwn/lists.sr.ht/82.
Add Archived-At header to list copies

Closes https://todo.sr.ht/~sircmpwn/lists.sr.ht/122
Remove unidiff in favor of pygit2

Closes https://todo.sr.ht/~sircmpwn/lists.sr.ht/101
Next