0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 04:35:00 +01:00
gitea/templates
derSuessmann 51d578ff33 Add Keep email private (see issue #571). (#571)
- 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.
2017-01-08 11:12:03 +08:00
..
admin Add Keep email private (see issue #571). (#571) 2017-01-08 11:12:03 +08:00
base Merge pull request #539 from andreynering/notifications-step-2 2017-01-05 11:53:01 -02:00
explore Add Keep email private (see issue #571). (#571) 2017-01-08 11:12:03 +08:00
mail Fixed project name on repo template mail 2016-12-02 07:46:31 +01:00
org Added rel="noopener" to target="_blank" hrefs (#327) 2016-12-02 09:12:16 +08:00
repo Fix unified diff view styling (#585) 2017-01-05 10:04:41 +08:00
status Change import reference to match gitea instead of gogs (#37) 2016-11-03 10:29:56 -02:00
user Add Keep email private (see issue #571). (#571) 2017-01-08 11:12:03 +08:00
home.tmpl Added Dutch translations to the landingpage 2016-12-26 23:03:16 +01:00
install.tmpl Add Keep email private (see issue #571). (#571) 2017-01-08 11:12:03 +08:00