forgejo/models/repo
Gusted a88e3e6ac0
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:32:38 +01:00
..
TestSearchRepositoryIDsByCondition fix: anomynous users code search for private/limited user's repository 2024-11-15 11:32:38 +01:00
archive_download_count.go Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
archive_download_count_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
archiver.go
attachment.go Implement external assets 2024-07-29 20:35:55 +02:00
attachment_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
avatar.go
collaboration.go
collaboration_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
following_repo.go ui for adding following repos 2024-05-24 13:28:15 +02:00
following_repo_test.go ui for adding following repos 2024-05-24 13:28:15 +02:00
fork.go fix: don't show private forks in forks list 2024-11-15 11:32:09 +01:00
fork_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
git.go
issue.go Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00
language_stats.go
main_test.go
mirror.go
pushmirror.go [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
pushmirror_test.go [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
redirect.go
redirect_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
release.go Remove unused code from models/repos/release.go (#31756) 2024-08-04 18:24:10 +02:00
release_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
repo.go Make GetRepositoryByName more safer (#31712) 2024-08-04 10:14:34 +02:00
repo_flags.go
repo_flags_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
repo_indexer.go
repo_list.go fix: anomynous users code search for private/limited user's repository 2024-11-15 11:32:38 +01:00
repo_list_test.go fix: anomynous users code search for private/limited user's repository 2024-11-15 11:32:38 +01:00
repo_repository.go ui for adding following repos 2024-05-24 13:28:15 +02:00
repo_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
repo_unit.go style: reenable switch check 2024-08-18 15:19:01 +02:00
repo_unit_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
search.go fix: Add recentupdated as recognized sort option 2024-10-20 10:58:07 +00:00
star.go
star_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
topic.go
topic_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
update.go
upload.go
user_repo.go Get repo assignees and reviewers should ignore deactivated users (#30770) (#30782) 2024-05-05 08:53:27 +01:00
user_repo_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
watch.go
watch_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
wiki.go
wiki_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00