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/tests
n0toose 5e1bd8af5f
Show visibility status of email in own profile (#23900)
I've heard many reports of users getting scared when they see their own
email address for their own profile, as they believe that the email
field is also visible to other users. Currently, using Incognito mode
or going over the Settings is the only "reasonable" way to verify this
from the perspective of the user.

A locked padlock should be enough to indicate that the email is not
visible to anyone apart from the user and the admins. An unlocked
padlock is used if the email address is only shown to authenticated
users.

Some additional string-related changes in the Settings were introduced
as well to ensure consistency, and the comments in the relevant tests
were improved so as to allow for easier modifications in the future.

---

#### Screenshot (EDIT: Scroll down for more up-to-date screenshots)

***Please remove this section before merging.***


![image](https://user-images.githubusercontent.com/30193966/229572425-909894aa-a7d5-4bf3-92d3-23b1921dcc90.png)

This lock should only appear if the email address is explicitly hidden
using the `Hide Email Address` setting. The change was originally tested
on top of and designed for the Forgejo fork, but I don't expect any
problems to arise from this and I don't think that a
documentation-related change is strictly necessary.

---------

Co-authored-by: silverwind <me@silverwind.io>
1 year ago
..
e2e Use data-tooltip-content for tippy tooltip (#23649) 1 year ago
fuzz Move fuzz tests into tests/fuzz (#22376) 2 years ago
gitea-lfs-meta Test views of LFS files (#22196) 2 years ago
gitea-repositories-meta Replace `repo.namedBlob` by `git.TreeEntry`. (#22898) 1 year ago
integration Show visibility status of email in own profile (#23900) 1 year ago
mssql.ini.tmpl Kd/ci playwright go test (#20123) 2 years ago
mysql.ini.tmpl Split CI pipelines (#23385) 1 year ago
mysql8.ini.tmpl Kd/ci playwright go test (#20123) 2 years ago
pgsql.ini.tmpl Make minio package support legacy MD5 checksum (#23768) 1 year ago
sqlite.ini.tmpl Clean some legacy files and move some build files (#23699) 1 year ago
test_utils.go add path prefix to ObjectStorage.Iterator (#23332) 1 year ago
testlogger.go Implement FSFE REUSE for golang files (#21840) 2 years ago