mirror of
1
Fork 0
forgejo/models/repo
Gusted 313e6174d8
[MODERATION] Remove blocked user collaborations with doer
- When the doer blocks an user, who is also an collaborator on an
repository that the doer owns, remove that collaboration.
- Added unit tests.
- Refactor the unit test to be more organized.

(cherry picked from commit ec87016178)
2023-08-07 10:58:58 +02:00
..
archiver.go Display when a repo was archived (#22664) 2023-04-26 10:46:26 -04:00
attachment.go For API attachments, use API URL (#25639) 2023-07-10 09:31:19 +00:00
attachment_test.go
avatar.go
collaboration.go [MODERATION] Remove blocked user collaborations with doer 2023-08-07 10:58:58 +02:00
collaboration_test.go [MODERATION] Remove blocked user collaborations with doer 2023-08-07 10:58:58 +02:00
fork.go
fork_test.go
git.go Avoid amending the Rebase and Fast-forward merge if there is no message template (#25779) 2023-07-10 10:12:50 +02:00
issue.go
language_stats.go
main_test.go
mirror.go Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
pushmirror.go Allow editing push mirrors after creation (#26151) 2023-08-01 16:00:59 +00:00
pushmirror_test.go Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
redirect.go
redirect_test.go
release.go Release attachments duplicated check (#26176) 2023-07-27 09:24:22 +00:00
repo.go Newly pushed branches hints on repository home page (#25715) 2023-07-08 05:19:00 +02:00
repo_indexer.go
repo_list.go Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
repo_list_test.go Add commits dropdown in PR files view and allow commit by commit review (#25528) 2023-07-28 21:18:12 +02:00
repo_test.go Set repository link based on the url in package.json for npm packages (#20379) 2023-03-28 13:55:03 -04:00
repo_unit.go
search.go Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
star.go Remove stars when repo goes private (#19904) 2023-06-05 13:25:43 +00:00
star_test.go Remove stars when repo goes private (#19904) 2023-06-05 13:25:43 +00:00
topic.go Fix the topic validation rule and suport dots (#26286) 2023-08-03 09:18:06 +00:00
topic_test.go Fix the topic validation rule and suport dots (#26286) 2023-08-03 09:18:06 +00:00
update.go Split lfs size from repository size (#22900) 2023-06-28 22:41:02 +00:00
upload.go
user_repo.go [MODERATION] user blocking 2023-08-07 10:58:33 +02:00
user_repo_test.go [MODERATION] user blocking 2023-08-07 10:58:33 +02:00
watch.go [MODERATION] user blocking 2023-08-07 10:58:33 +02:00
watch_test.go [MODERATION] user blocking 2023-08-07 10:58:33 +02:00
wiki.go
wiki_test.go