forgejo/services/mailer
Wiktor Kwapisiewicz 34450f7d35
[gitea] Fix missing link on outgoing new release notifications (#29079)
Outgoing new release e-mail notifications were missing links to the
actual release. An example from Codeberg.org e-mail:

    <a href=3D"">View it on Codeberg.org</a>.<br/>

This PR adds `"Link"` context property pointing to the release on the
web interface.

The change was tested using `[mailer] PROTOCOL=dummy`.

Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
(cherry picked from commit 37191dcfbdbd007266a4d15a3c85cdf94cec1a7a)
2024-02-10 10:53:43 +01:00
..
incoming Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
token [GITEA] Drop sha256-simd in favor of stdlib 2024-02-05 16:09:40 +01:00
mail.go [BRANDING] add X-Forgejo-* headers 2024-02-05 16:02:14 +01:00
mail_admin_new_user.go [GITEA] notifies admins on new user registration 2024-02-05 16:09:28 +01:00
mail_admin_new_user_test.go [GITEA] notifies admins on new user registration 2024-02-05 16:09:28 +01:00
mail_comment.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
mail_issue.go Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
mail_release.go [gitea] Fix missing link on outgoing new release notifications (#29079) 2024-02-10 10:53:43 +01:00
mail_repo.go Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
mail_team_invite.go Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
mail_test.go Include username in email headers (#28981) 2024-02-03 00:41:27 +00:00
mailer.go Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
mailer_test.go Prevent multiple To recipients (#22566) 2023-01-22 08:23:52 -06:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notify.go [GITEA] notifies admins on new user registration 2024-02-05 16:09:28 +01:00