You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 years ago
..
admin refactor some functions to support ctx as first parameter (#21878) 2 years ago
auth refactor some functions to support ctx as first parameter (#21878) 2 years ago
events Implement FSFE REUSE for golang files (#21840) 2 years ago
explore Fix sorting admin user list by last login (#22081) 2 years ago
feed Add Feed for Releases and Tags (#21696) 2 years ago
healthcheck Implement FSFE REUSE for golang files (#21840) 2 years ago
misc Implement FSFE REUSE for golang files (#21840) 2 years ago
org Secrets storage with SecretKey encrypted (#22142) 2 years ago
repo Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2 years ago
shared/packages Update gitea-vet to check FSFE REUSE (#22004) 2 years ago
user Add a simple test for external renderer (#20033) 2 years ago
auth.go Implement FSFE REUSE for golang files (#21840) 2 years ago
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2 years ago
base.go Implement FSFE REUSE for golang files (#21840) 2 years ago
goget.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
home.go Implement FSFE REUSE for golang files (#21840) 2 years ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Implement FSFE REUSE for golang files (#21840) 2 years ago
swagger_json.go Implement FSFE REUSE for golang files (#21840) 2 years ago
web.go Add Feed for Releases and Tags (#21696) 2 years ago
webfinger.go Implement FSFE REUSE for golang files (#21840) 2 years ago