gitea/models
Lunny Xiao cf2d332443
Refactor find forks and fix possible bugs that weak permissions check (#32528) (#32547)
Backport #32528

- Move models/GetForks to services/FindForks
- Add doer as a parameter of FindForks to check permissions
- Slight performance optimization for get forks API with batch loading
of repository units
- Add tests for forking repository to organizations

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-11-19 04:08:32 +00:00
..
actions Trim title before insert/update to database to match the size requirements of database (#32498) (#32507) 2024-11-14 18:06:31 -08:00
activities Fix nil panic if repo doesn't exist (#32501) (#32502) 2024-11-14 04:47:04 +00:00
admin Fix javascript error when an anonymous user visiting migration page (#32144) (#32179) 2024-10-04 17:58:04 +00:00
asymkey Remove "dsa-1024" testcases from Test_SSHParsePublicKey and Test_calcFingerprint (#31905) (#31914) 2024-08-25 20:39:00 +08:00
auth Fix nuget/conan/container packages upload bugs (#31967) (#31982) 2024-09-05 07:34:41 +00:00
avatars
db Refactor push mirror find and add check for updating push mirror (#32539) (#32549) 2024-11-18 23:55:27 +08:00
dbfs
fixtures Fix the logic of finding the latest pull review commit ID (#32139) (#32165) 2024-10-01 13:10:03 +09:00
git Show lock owner instead of repo owner on LFS setting page (#31788) (#31817) 2024-08-11 15:17:34 +00:00
issues Trim title before insert/update to database to match the size requirements of database (#32498) (#32507) 2024-11-14 18:06:31 -08:00
migrations Refactor internal routers (partial backport, auth token const time comparing) (#32473) (#32479) 2024-11-13 10:26:37 +08:00
organization Fix wrong display of recently pushed notification (#25812) (#31043) 2024-05-23 04:14:26 +00:00
packages
perm
project Trim title before insert/update to database to match the size requirements of database (#32498) (#32507) 2024-11-14 18:06:31 -08:00
pull
repo Refactor find forks and fix possible bugs that weak permissions check (#32528) (#32547) 2024-11-19 04:08:32 +00:00
secret
shared/types
system
unit Fix data-race during testing (#30999) (#31024) 2024-05-20 13:49:24 +08:00
unittest Add some tests to clarify the "must-change-password" behavior (#30693) 2024-04-27 12:23:37 +00:00
user Fix bug when a token is given public only (#32204) (#32218) 2024-10-09 02:16:37 +00:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go