forgejo/services
Beowulf 2810b9ae0a Replace reply with a forked version to fix the cut-off of the incoming mail text (#3747)
replace reply with forgejos forked version

If plain text is selected as the message format in e.g. Apple Mail, the inline attachments are no longer at the end of the mail, but instead directly where they are in the mail. When parsing the mail, these inline attachments are replaced by "--". The new reply version no longer cuts the text at the first "--".

Tests for this are present in reply (7dc5750c6d).

Fixes https://codeberg.org/forgejo/forgejo/issues/3496#issuecomment-1798416

---

Additionally, I reduced the allocations for the inline attachments.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3747
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Beowulf <beowulf@beocode.eu>
Co-committed-by: Beowulf <beowulf@beocode.eu>
2024-05-13 21:24:58 +00:00
..
actions
agit
asymkey Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
attachment
auth
automerge
context Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
contexttest
convert Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
cron
doctor Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
externalaccount
federation
feed
forgejo
forms
gitdiff
indexer
issue Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
lfs
mailer Replace reply with a forked version to fix the cut-off of the incoming mail text (#3747) 2024-05-13 21:24:58 +00:00
markup
migrations Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
mirror
notify
org
packages
pull Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
release
remote Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
repository Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
secrets
task
uinotification
user
webhook
wiki