You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/routers
wxiaoguang 6706ac2a0f
Fix profile page email display, respect settings (#23747)
Always respect the `setting.UI.ShowUserEmail` and `KeepEmailPrivate`
setting.

* It doesn't make sense to show user's own E-mail to themself.
* Always hide the E-mail if KeepEmailPrivate=true, then the user could
know how their profile page looks like for others.
* Revert the `setting.UI.ShowUserEmail` change from #4981 . This setting
is used to control the E-mail display, not only for the user list page.

ps: the incorrect `<div .../>` tag on the profile page has been fixed by
#23748 together, so this PR becomes simpler.
1 year ago
..
api Editor preview support for external renderers (#23333) 1 year ago
common Editor preview support for external renderers (#23333) 1 year ago
install Set `X-Gitea-Debug` header once (#23361) 1 year ago
private Use context parameter in services/repository (#23186) 1 year ago
utils Implement FSFE REUSE for golang files (#21840) 2 years ago
web Fix profile page email display, respect settings (#23747) 1 year ago
init.go Refactor `setting.Database.UseXXX` to methods (#23354) 1 year ago