mirror of
1
Fork 0
forgejo/tests
Gusted e2f1b73752
[MODERATION] user blocking
- Add the ability to block a user via their profile page.
- This will unstar their repositories and visa versa.
- Blocked users cannot create issues or pull requests on your the doer's repositories (mind that this is not the case for organizations).
- Blocked users cannot comment on the doer's opened issues or pull requests.
- Blocked users cannot add reactions to doer's comments.
- Blocked users cannot cause a notification trough mentioning the doer.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/540
(cherry picked from commit 687d852480)
(cherry picked from commit 0c32a4fde5)
(cherry picked from commit 1791130e3c)
(cherry picked from commit 37858b7e8f)
(cherry picked from commit a3e2bfd7e9)
(cherry picked from commit 7009b9fe87)

Conflicts: https://codeberg.org/forgejo/forgejo/pulls/1014
	routers/web/user/profile.go
	templates/user/profile.tmpl
(cherry picked from commit b2aec34791)
2023-07-17 00:21:29 +02:00
..
e2e Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02: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 Fix bug of branches API with tests (#25578) 2023-07-01 10:52:52 +08:00
integration [MODERATION] user blocking 2023-07-17 00:21:29 +02:00
mssql.ini.tmpl [CI] set PASSWORD_HASH_ALGO = argon2 for integration tests 2023-07-16 23:15:13 +02:00
mysql.ini.tmpl [CI] set PASSWORD_HASH_ALGO = argon2 for integration tests 2023-07-16 23:15:13 +02:00
mysql8.ini.tmpl [CI] set PASSWORD_HASH_ALGO = argon2 for integration tests 2023-07-16 23:15:13 +02:00
pgsql.ini.tmpl [CI] tests/pgsql.ini.tmpl: do not use minio 2023-07-16 23:15:13 +02:00
sqlite.ini.tmpl [CI] set PASSWORD_HASH_ALGO = argon2 for integration tests 2023-07-16 23:15:13 +02:00
test_utils.go Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00