Change project count limit from 10 to 100000
This commit is contained in:
parent
fb4a486605
commit
bc70493b05
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: Change project count limit from 10 to 100000
|
||||||
|
merge_request:
|
||||||
|
author:
|
|
@ -186,7 +186,7 @@ Settings['issues_tracker'] ||= {}
|
||||||
# GitLab
|
# GitLab
|
||||||
#
|
#
|
||||||
Settings['gitlab'] ||= Settingslogic.new({})
|
Settings['gitlab'] ||= Settingslogic.new({})
|
||||||
Settings.gitlab['default_projects_limit'] ||= 10
|
Settings.gitlab['default_projects_limit'] ||= 100000
|
||||||
Settings.gitlab['default_branch_protection'] ||= 2
|
Settings.gitlab['default_branch_protection'] ||= 2
|
||||||
Settings.gitlab['default_can_create_group'] = true if Settings.gitlab['default_can_create_group'].nil?
|
Settings.gitlab['default_can_create_group'] = true if Settings.gitlab['default_can_create_group'].nil?
|
||||||
Settings.gitlab['host'] ||= ENV['GITLAB_HOST'] || 'localhost'
|
Settings.gitlab['host'] ||= ENV['GITLAB_HOST'] || 'localhost'
|
||||||
|
|
|
@ -20,7 +20,7 @@ Example response:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"default_projects_limit" : 10,
|
"default_projects_limit" : 100000,
|
||||||
"signup_enabled" : true,
|
"signup_enabled" : true,
|
||||||
"id" : 1,
|
"id" : 1,
|
||||||
"default_branch_protection" : 2,
|
"default_branch_protection" : 2,
|
||||||
|
@ -60,7 +60,7 @@ PUT /application/settings
|
||||||
|
|
||||||
| Attribute | Type | Required | Description |
|
| Attribute | Type | Required | Description |
|
||||||
| --------- | ---- | :------: | ----------- |
|
| --------- | ---- | :------: | ----------- |
|
||||||
| `default_projects_limit` | integer | no | Project limit per user. Default is `10` |
|
| `default_projects_limit` | integer | no | Project limit per user. Default is `100000` |
|
||||||
| `signup_enabled` | boolean | no | Enable registration. Default is `true`. |
|
| `signup_enabled` | boolean | no | Enable registration. Default is `true`. |
|
||||||
| `signin_enabled` | boolean | no | Enable login via a GitLab account. Default is `true`. |
|
| `signin_enabled` | boolean | no | Enable login via a GitLab account. Default is `true`. |
|
||||||
| `gravatar_enabled` | boolean | no | Enable Gravatar |
|
| `gravatar_enabled` | boolean | no | Enable Gravatar |
|
||||||
|
@ -98,7 +98,7 @@ Example response:
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"default_projects_limit": 10,
|
"default_projects_limit": 100000,
|
||||||
"signup_enabled": true,
|
"signup_enabled": true,
|
||||||
"signin_enabled": true,
|
"signin_enabled": true,
|
||||||
"gravatar_enabled": true,
|
"gravatar_enabled": true,
|
||||||
|
|
Loading…
Reference in New Issue