Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 09:54:24 +01:00
forgejo/models/repo
Gusted c2284d871f
fix: anomynous users code search for private/limited user's repository
- Consider private/limited users in the `AccessibleRepositoryCondition`
query, previously this only considered private/limited organization.
This limits the ability for anomynous users to do code search on
private/limited user's repository
- Unit test added.

(cherry picked from commit b70196653f)
2024-11-15 11:59:22 +01:00
..
TestSearchRepositoryIDsByCondition fix: anomynous users code search for private/limited user's repository 2024-11-15 11:59:22 +01:00
archiver.go Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
attachment.go [FEAT] allow setting the update date on issues and comments 2024-02-05 14:44:33 +01:00
attachment_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
avatar.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
collaboration.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
collaboration_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
fork.go fix: don't show private forks in forks list 2024-11-15 11:58:58 +01:00
fork_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
git.go Add merge style fast-forward-only (#28954) 2024-02-14 17:19:19 +01:00
issue.go Clean up log messages (#30313) 2024-04-15 16:11:14 +02:00
language_stats.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
mirror.go More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
pushmirror.go test(mock): DeletePushMirrors & AddPushMirrorRemote 2024-06-02 15:45:31 +00:00
pushmirror_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
redirect.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
redirect_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
release.go Refactor some Str2html code (#29397) 2024-03-06 12:10:44 +08:00
release_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
repo.go fix: hook post-receive for sha256 repos 2024-05-15 21:08:15 +00:00
repo_flags.go [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
repo_flags_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
repo_indexer.go Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
repo_list.go fix: anomynous users code search for private/limited user's repository 2024-11-15 11:59:22 +01:00
repo_list_test.go fix: anomynous users code search for private/limited user's repository 2024-11-15 11:59:22 +01:00
repo_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
repo_unit.go Fix schedule tasks bugs (#28691) 2024-03-25 16:25:02 +01:00
repo_unit_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
search.go Get repo list with OrderBy alpha should respect owner too (#30784) (#30875) 2024-05-14 15:27:25 +02:00
star.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
star_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
topic.go [GITEA] Fix the topic search paging 2024-02-05 16:09:43 +01:00
topic_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
update.go Move some repository transfer functions to service layer (#28855) 2024-02-05 06:17:23 +00:00
upload.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
user_repo.go Get repo assignees and reviewers should ignore deactivated users (#30770) (#30782) 2024-05-01 08:31:47 +02:00
user_repo_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
watch.go [MODERATION] Refactor excluding watchers mechanism (squash) 2024-02-05 15:56:58 +01:00
watch_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
wiki.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
wiki_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00