mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 02:14:14 +00:00
51d578ff33
- Add site-wide option DEFAULT_KEEP_EMAIL_PRIVATE. - Add the new option to the install and admin/config pages. - Add the new option to app.ini in the service section. - Add the new option to the settings struct. - Add English text strings to i18n. - Add field KeepEmailPrivate to user struct. - Add field KeepEmailPrivate to user form. - Add option to UI. - Add using noreply email address if user has "Keep Email Private". An email address <LowerName>@<NO_REPLY_ADDRESS> is now used in commit messages (and hopefully all other git log relevant places). The change relies on the fact that git commands should use user.NetGitSig(). - Add hiding of email address in UI, if user has set "Keep Email Private". - Add condition to show email address only on explore/users and user pages, if user has not set "Keep Email Private". - Add noreply email in API if set "Keep Email Private". - Add a new service setting NO_REPLY_ADDRESS. The value of this setting is used as the domain part for the user's email address in git log, iff he decides to keep his email address private. If the user decides to keep his email address private and this option is not set 'noreply.example.org' is used, which no MTA should send email to. Add NO_REPLY_ADDRESS to conf/app.ini. |
||
---|---|---|
.. | ||
fixtures | ||
migrations | ||
access.go | ||
access_test.go | ||
action.go | ||
admin.go | ||
error.go | ||
git_diff.go | ||
git_diff_test.go | ||
graph.go | ||
graph_test.go | ||
issue.go | ||
issue_comment.go | ||
issue_label.go | ||
issue_mail.go | ||
lfs.go | ||
login_source.go | ||
mail.go | ||
models.go | ||
models_sqlite.go | ||
models_test.go | ||
models_tidb.go | ||
notification.go | ||
org.go | ||
org_team.go | ||
pull.go | ||
pull_test.go | ||
release.go | ||
repo.go | ||
repo_branch.go | ||
repo_collaboration.go | ||
repo_editor.go | ||
repo_mirror.go | ||
repo_test.go | ||
setup_for_test.go | ||
ssh_key.go | ||
ssh_key_test.go | ||
star.go | ||
token.go | ||
token_test.go | ||
update.go | ||
update_test.go | ||
user.go | ||
user_mail.go | ||
webhook.go | ||
webhook_slack.go | ||
wiki.go |