gitea/models/user
Xinyu Zhou 7cc7db73b9
Add option to prohibit fork if user reached maximum limit of repositories (#21848)
If user has reached the maximum limit of repositories:

- Before
  - disallow create
  - allow fork without limit
- This patch:
  - disallow create
  - disallow fork
- Add option `ALLOW_FORK_WITHOUT_MAXIMUM_LIMIT` (Default **true**) :
enable this allow user fork repositories without maximum number limit

fixed https://github.com/go-gitea/gitea/issues/21847

Signed-off-by: Xinyu Zhou <i@sourcehut.net>
2022-12-27 15:21:14 -06:00
..
avatar.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
badge.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
email_address_test.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
email_address.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
error.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
external_login_user.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
follow_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
follow.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
list.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
openid_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
openid.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
redirect_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
redirect.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
search.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
setting_keys.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
setting_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
setting.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
user_test.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
user_update.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
user.go Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2022-12-27 15:21:14 -06:00