Skip to content
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

Add option to change mail from user display name #31528

Merged
merged 38 commits into from
Jul 14, 2024
Merged
Changes from 1 commit
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 Jun 29, 2024
6111bb6
not worth it
6543 Jun 29, 2024
484894d
jaja
6543 Jun 29, 2024
d8bf307
more copy-by-ref
6543 Jun 29, 2024
afc8257
fix
6543 Jun 29, 2024
1ddcf84
start
6543 Jun 29, 2024
8bac255
only docu missing
6543 Jun 29, 2024
dc9ce7c
isLatin
6543 Jun 30, 2024
c6fc582
Merge branch 'main' into emails-use-fullname
6543 Jun 30, 2024
72cb96b
regex
6543 Jun 30, 2024
728025a
Merge branch 'main' into emails-use-fullname
6543 Jul 1, 2024
4a47d32
Update models/user/user.go
6543 Jul 2, 2024
50a8578
Merge branch 'main' into emails-use-fullname
6543 Jul 4, 2024
872d8da
use mime-encode
6543 Jul 4, 2024
d048dfb
Merge branch 'emails-use-fullname' into mke-from-user-mail-format-cha…
6543 Jul 4, 2024
60d2807
clean
6543 Jul 4, 2024
1569bcd
use mime encoding for from too
6543 Jul 4, 2024
f2a8575
document option
6543 Jul 4, 2024
a8aec29
harden func
6543 Jul 4, 2024
964aa7d
dont drop err silent
6543 Jul 4, 2024
8563b9d
tests
6543 Jul 4, 2024
a93361a
Merge branch 'main' into mke-from-user-mail-format-changable
6543 Jul 4, 2024
506b0d7
encode ad the end
6543 Jul 5, 2024
efbee4d
cover more via tests
6543 Jul 5, 2024
46e5fdd
fix
6543 Jul 5, 2024
dcc3014
Merge branch 'main' into mke-from-user-mail-format-changable
6543 Jul 8, 2024
8c2576b
Update docs/content/administration/config-cheat-sheet.en-us.md
6543 Jul 10, 2024
aa3f53a
Merge branch 'main' into mke-from-user-mail-format-changable
6543 Jul 10, 2024
b35f6f3
Merge branch 'main' into mke-from-user-mail-format-changable
6543 Jul 10, 2024
ba06cbb
moved to https://gitea.com/gitea/docs/pulls/23
6543 Jul 10, 2024
279d1d8
Merge branch 'main' into mke-from-user-mail-format-changable
6543 Jul 10, 2024
3dc6514
sync
6543 Jul 10, 2024
4056f5f
Merge branch 'main' into mke-from-user-mail-format-changable
6543 Jul 11, 2024
f00ad43
Merge branch 'main' into mke-from-user-mail-format-changable
6543 Jul 11, 2024
a3eb15f
make default work right
6543 Jul 11, 2024
f437876
Merge branch 'main' into mke-from-user-mail-format-changable
6543 Jul 11, 2024
febb12f
Merge branch 'main' into mke-from-user-mail-format-changable
6543 Jul 12, 2024
9ecc748
Merge branch 'main' into mke-from-user-mail-format-changable
6543 Jul 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs/content/administration/config-cheat-sheet.en-us.md
Co-authored-by: silverwind <me@silverwind.io>
  • Loading branch information
6543 and silverwind committed Jul 10, 2024
commit 8c2576b73d5f28248602a0f5481413f5f25eb1c8
2 changes: 1 addition & 1 deletion docs/content/administration/config-cheat-sheet.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ and
- `HELO_HOSTNAME`: **(retrieved from system)**: HELO hostname.
- `FROM`: **_empty_**: Mail from address, RFC 5322. This can be just an email address, or the "Name" \<email@example.com\> format.
- `ENVELOPE_FROM`: **_empty_**: Address set as the From address on the SMTP mail envelope. Set to `<>` to send an empty address.
- `FROM_DISPLAY_NAME_FORMAT`: **{{ .DisplayName }}**: 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) <gitea@codeit.net>`, set it to `{{ .DisplayName }} (by {{ .AppName }})`. Beside **DisplayName** and **AppName** we have support for **Domain** too.
- `FROM_DISPLAY_NAME_FORMAT`: **{{ .DisplayName }}**: 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) <gitea@codeit.net>`, set it to `{{ .DisplayName }} (by {{ .AppName }})`. Available Variables: `.DisplayName`, `.AppName` and `.Domain`.
- `SUBJECT_PREFIX`: **_empty_**: Prefix to be placed before e-mail subject lines.
- `SENDMAIL_PATH`: **sendmail**: The location of sendmail on the operating system (can be command or full path).
- `SENDMAIL_ARGS`: **_empty_**: Specify any extra sendmail arguments. (NOTE: you should be aware that email addresses can look like options - if your `sendmail` command takes options you must set the option terminator `--`)
Expand Down
Loading