gitea/models/organization
DrMaxNix fd7c364ca6
Check user/org repo limit instead of doer (#34147)
This PR tries to finally fix the bug mentioned in #30011 and #15504,
where the user repo limit is checked when creating a repo in an
organization.

Fix #30011

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
2025-04-07 23:45:31 -07:00
..
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
org_list_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
org_list.go Fix some user name usages (#33689) 2025-02-23 12:33:43 +00:00
org_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
org_user_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
org_user.go Fix team permission (#34128) 2025-04-08 04:15:15 +00:00
org_worktime.go Worktime tracking for the organization level (#19808) 2025-02-03 01:51:12 +08:00
org.go Check user/org repo limit instead of doer (#34147) 2025-04-07 23:45:31 -07:00
team_invite_test.go Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 2023-09-14 02:59:53 +00:00
team_invite.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
team_list_test.go Use batch database operations instead of one by one to optimze api pulls (#32680) 2024-12-11 05:15:06 +08:00
team_list.go Small refactor to reduce unnecessary database queries and remove duplicated functions (#33779) 2025-03-04 18:25:20 +00:00
team_repo_test.go Fix get reviewers' bug (#32415) 2024-11-22 10:44:48 -05:00
team_repo.go Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
team_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
team_unit.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
team_user.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
team.go Fix team permission (#34128) 2025-04-08 04:15:15 +00:00