Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 01:44:24 +01:00
forgejo/tests
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.
2023-03-27 17:27:32 -04:00
..
e2e Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
fuzz Move fuzz tests into tests/fuzz (#22376) 2023-01-09 15:30:14 +08:00
gitea-lfs-meta Test views of LFS files (#22196) 2022-12-23 07:41:56 +08:00
gitea-repositories-meta Replace repo.namedBlob by git.TreeEntry. (#22898) 2023-03-15 16:51:39 -05:00
integration Fix profile page email display, respect settings (#23747) 2023-03-27 17:27:32 -04:00
mssql.ini.tmpl Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
mysql.ini.tmpl Split CI pipelines (#23385) 2023-03-10 01:13:17 -05:00
mysql8.ini.tmpl Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
pgsql.ini.tmpl Split CI pipelines (#23385) 2023-03-10 01:13:17 -05:00
sqlite.ini.tmpl Clean some legacy files and move some build files (#23699) 2023-03-25 16:22:51 -04:00
test_utils.go add path prefix to ObjectStorage.Iterator (#23332) 2023-03-13 18:23:51 +08:00
testlogger.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00