0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 21:06:08 +01:00
gitea/tests
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
..
e2e Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
fuzz Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
gitea-lfs-meta
gitea-repositories-meta Fix agit automerge (#31207) (#31881) 2024-08-20 16:20:58 +00:00
integration Refactor find forks and fix possible bugs that weak permissions check (#32528) (#32547) 2024-11-19 04:08:32 +00:00
testdata/data/attachments/a/0
mssql.ini.tmpl
mysql.ini.tmpl
pgsql.ini.tmpl
sqlite.ini.tmpl
test_utils.go Prevent update pull refs manually and will not affect other refs update (#31931) (#31955) 2024-09-02 18:28:00 +08:00