gitea/modules/setting
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
..
attachment.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
cache.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
cors.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
cron.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
cron_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
database.go Support disabling database auto migration (#22053) 2022-12-07 09:58:31 -06:00
database_sqlite.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
database_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
directory.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
federation.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
git.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
i18n.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
indexer.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
indexer_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
lfs.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
log.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
mailer.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
markup.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
migrations.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
mime_type_map.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
mirror.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
oauth2_client.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
packages.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
packages_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
picture.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
project.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
proxy.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
queue.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repository.go Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2022-12-27 15:21:14 -06:00
service.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
session.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
setting.go Add more test directory to exclude dir of air, remove watching templates from air include dir because gitea has internal mechanism (#22246) 2022-12-27 14:00:34 +08:00
setting_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
storage.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
storage_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
task.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
webhook.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00