-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Add option to change mail from user display name #31528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
6543
merged 38 commits into
go-gitea:main
from
6543-forks:mke-from-user-mail-format-changable
Jul 14, 2024
Merged
Changes from 34 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
d09faec
Use FullName in Emails to address the recipient if possible
6543 6111bb6
not worth it
6543 484894d
jaja
6543 d8bf307
more copy-by-ref
6543 afc8257
fix
6543 1ddcf84
start
6543 8bac255
only docu missing
6543 dc9ce7c
isLatin
6543 c6fc582
Merge branch 'main' into emails-use-fullname
6543 72cb96b
regex
6543 728025a
Merge branch 'main' into emails-use-fullname
6543 4a47d32
Update models/user/user.go
6543 50a8578
Merge branch 'main' into emails-use-fullname
6543 872d8da
use mime-encode
6543 d048dfb
Merge branch 'emails-use-fullname' into mke-from-user-mail-format-cha…
6543 60d2807
clean
6543 1569bcd
use mime encoding for from too
6543 f2a8575
document option
6543 a8aec29
harden func
6543 964aa7d
dont drop err silent
6543 8563b9d
tests
6543 a93361a
Merge branch 'main' into mke-from-user-mail-format-changable
6543 506b0d7
encode ad the end
6543 efbee4d
cover more via tests
6543 46e5fdd
fix
6543 dcc3014
Merge branch 'main' into mke-from-user-mail-format-changable
6543 8c2576b
Update docs/content/administration/config-cheat-sheet.en-us.md
6543 aa3f53a
Merge branch 'main' into mke-from-user-mail-format-changable
6543 b35f6f3
Merge branch 'main' into mke-from-user-mail-format-changable
6543 ba06cbb
moved to https://gitea.com/gitea/docs/pulls/23
6543 279d1d8
Merge branch 'main' into mke-from-user-mail-format-changable
6543 3dc6514
sync
6543 4056f5f
Merge branch 'main' into mke-from-user-mail-format-changable
6543 f00ad43
Merge branch 'main' into mke-from-user-mail-format-changable
6543 a3eb15f
make default work right
6543 f437876
Merge branch 'main' into mke-from-user-mail-format-changable
6543 febb12f
Merge branch 'main' into mke-from-user-mail-format-changable
6543 9ecc748
Merge branch 'main' into mke-from-user-mail-format-changable
6543 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1676,6 +1676,10 @@ LEVEL = Info | |
;; Sometimes it is helpful to use a different address on the envelope. Set this to use ENVELOPE_FROM as the from on the envelope. Set to `<>` to send an empty address. | ||
;ENVELOPE_FROM = | ||
;; | ||
;; If gitea sends mails on behave of users, it will just use the name also displayed in the WebUI. If you want e.g. `Mister X (by CodeIt) <[email protected]>`, | ||
;; set it to `{{ .DisplayName }} (by {{ .AppName }})`. Available Variables: `.DisplayName`, `.AppName` and `.Domain`. | ||
;FROM_DISPLAY_NAME_FORMAT = {{ .DisplayName }} | ||
;; | ||
;; Mailer user name and password, if required by provider. | ||
;USER = | ||
;; | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.