Merge branch 'rfr-20170307-change-default-project-number-limit' into 'master'
Change project count limit from 10 to 100000 See merge request !9767
This commit is contained in:
commit
ba3ce6bd39
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Change project count limit from 10 to 100000
|
||||
merge_request:
|
||||
author:
|
|
@ -186,7 +186,7 @@ Settings['issues_tracker'] ||= {}
|
|||
# GitLab
|
||||
#
|
||||
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_can_create_group'] = true if Settings.gitlab['default_can_create_group'].nil?
|
||||
Settings.gitlab['host'] ||= ENV['GITLAB_HOST'] || 'localhost'
|
||||
|
|
|
@ -20,7 +20,7 @@ Example response:
|
|||
|
||||
```json
|
||||
{
|
||||
"default_projects_limit" : 10,
|
||||
"default_projects_limit" : 100000,
|
||||
"signup_enabled" : true,
|
||||
"id" : 1,
|
||||
"default_branch_protection" : 2,
|
||||
|
@ -60,7 +60,7 @@ PUT /application/settings
|
|||
|
||||
| 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`. |
|
||||
| `signin_enabled` | boolean | no | Enable login via a GitLab account. Default is `true`. |
|
||||
| `gravatar_enabled` | boolean | no | Enable Gravatar |
|
||||
|
@ -98,7 +98,7 @@ Example response:
|
|||
```json
|
||||
{
|
||||
"id": 1,
|
||||
"default_projects_limit": 10,
|
||||
"default_projects_limit": 100000,
|
||||
"signup_enabled": true,
|
||||
"signin_enabled": true,
|
||||
"gravatar_enabled": true,
|
||||
|
|
Loading…
Reference in New Issue