You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services
zeripath 1514e13bb8
Add option to convert CRLF to LF line endings for sendmail (#18075)
It appears that several versions of sendmail require that the mail is sent to them with
LF line endings instead of CRLF endings - which of course they will then convert back
to CRLF line endings to comply with the SMTP standard.

This PR adds another setting SENDMAIL_CONVERT_CRLF which will pass the message writer
through a filter. This will filter out and convert CRLFs to LFs before writing them
out to sendmail.

Fix #18024

Signed-off-by: Andrew Thornton <art27@cantab.net>
3 years ago
..
agit Move user related model into models/user (#17781) 3 years ago
asymkey Refactor auth package (#17962) 3 years ago
attachment Simplify parameter types (#18006) 3 years ago
auth Increase Salt randomness (#18179) 3 years ago
comments Move repository model into models/repo (#17933) 3 years ago
cron Some repository refactors (#17950) 3 years ago
externalaccount Refactor auth package (#17962) 3 years ago
forms Team permission allow different unit has different permission (#17811) 3 years ago
gitdiff Simplify parameter types (#18006) 3 years ago
issue Simplify parameter types (#18006) 3 years ago
lfs Move repository model into models/repo (#17933) 3 years ago
mailer Add option to convert CRLF to LF line endings for sendmail (#18075) 3 years ago
migrations refactoring nits (#18188) 3 years ago
mirror Some repository refactors (#17950) 3 years ago
org Move repository model into models/repo (#17933) 3 years ago
pull Reset the conflicted files list in testpatch (#18139) 3 years ago
release Set HeadCommit when creating tags. (#18116) 3 years ago
repository services/repository: fix ListUnadoptedRepositories incorrect total count (#17865) 3 years ago
task Some repository refactors (#17950) 3 years ago
user Move keys to models/asymkey (#17917) 3 years ago
webhook Add replay of webhooks. (#18191) 3 years ago
wiki Some repository refactors (#17950) 3 years ago