1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-23 08:47:42 -05:00
forgejo/routers/api/v1
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
..
activitypub Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
admin Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
misc Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
notify Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
org refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
packages Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repo Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2022-12-27 15:21:14 -06:00
settings Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
swagger Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
user refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
utils Use complete SHA to create and query commit status (#22244) 2022-12-27 21:12:49 +08:00
api.go Remove ReverseProxy authentication from the API (#22219) 2022-12-27 08:34:05 +08:00
auth.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00