gitea/docs/content/doc/usage
KN4CK3R fc037b4b82
Add support for incoming emails (#22056)
closes #13585
fixes #9067
fixes #2386
ref #6226
ref #6219
fixes #745

This PR adds support to process incoming emails to perform actions.
Currently I added handling of replies and unsubscribing from
issues/pulls. In contrast to #13585 the IMAP IDLE command is used
instead of polling which results (in my opinion 😉) in cleaner code.

Procedure:
- When sending an issue/pull reply email, a token is generated which is
present in the Reply-To and References header.
- IMAP IDLE waits until a new email arrives
- The token tells which action should be performed

A possible signature and/or reply gets stripped from the content.

I added a new service to the drone pipeline to test the receiving of
incoming mails. If we keep this in, we may test our outgoing emails too
in future.

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-01-14 23:57:10 +08:00
..
agit-support.en-us.md Added docs for agit-setup (#21027) 2022-09-03 19:52:19 +02:00
backup-and-restore.en-us.md Fix typo in backup documentation (pgdump->pg_dump) (#20913) 2022-08-22 19:39:59 +01:00
backup-and-restore.zh-cn.md Update back-up restore example for 1.13 changes (#14374) 2021-01-18 21:05:11 -05:00
backup-and-restore.zh-tw.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
command-line.en-us.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
email-setup.en-us.md Update Gmail mailer configuration (#22291) 2023-01-02 10:52:36 +08:00
fail2ban-setup.en-us.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
fail2ban-setup.zh-cn.md docs: zh-cn translations for fail2ban setup (#20588) 2022-08-01 17:36:50 +02:00
git-lfs-support.en-us.md Refactor docs (#21627) 2022-10-31 23:16:19 +00:00
https-support.en-us.md Refactor docs (#21627) 2022-10-31 23:16:19 +00:00
incoming-email.en-us.md Add support for incoming emails (#22056) 2023-01-14 23:57:10 +08:00
issue-pull-request-templates.en-us.md Fix typo of issue template name (#21117) 2022-09-09 11:22:33 +08:00
issue-pull-request-templates.zh-cn.md Fix typo of issue template name (#21117) 2022-09-09 11:22:33 +08:00
linked-references.en-us.md
merge-message-templates.en-us.md Support Issue forms and PR forms (#20987) 2022-09-02 15:58:49 +08:00
permissions.en-us.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
pull-request.en-us.md
pull-request.zh-cn.md
pull-request.zh-tw.md [docs] Add zh-tw Translations (#14507) 2021-01-29 01:57:58 +01:00
push-options.en-us.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
push-options.zh-tw.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
reverse-proxies.en-us.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
reverse-proxies.zh-cn.md Update reverse-proxies.zh-cn.md (#21484) 2022-10-17 17:30:30 -04:00
template-repositories.en-us.md Refactor docs (#21627) 2022-10-31 23:16:19 +00:00