Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
bc70493b
Commit
bc70493b
authored
Mar 07, 2017
by
Regis Freyd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change project count limit from 10 to 100000
parent
fb4a4866
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
changelogs/unreleased/rfr-20170307-change-default-project-number-limit.yml
...ased/rfr-20170307-change-default-project-number-limit.yml
+4
-0
config/initializers/1_settings.rb
config/initializers/1_settings.rb
+1
-1
doc/api/settings.md
doc/api/settings.md
+3
-3
No files found.
changelogs/unreleased/rfr-20170307-change-default-project-number-limit.yml
0 → 100644
View file @
bc70493b
---
title
:
Change project count limit from 10 to
100000
merge_request
:
author
:
config/initializers/1_settings.rb
View file @
bc70493b
...
@@ -186,7 +186,7 @@ Settings['issues_tracker'] ||= {}
...
@@ -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'
]
||=
10
0000
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'
...
...
doc/api/settings.md
View file @
bc70493b
...
@@ -20,7 +20,7 @@ Example response:
...
@@ -20,7 +20,7 @@ Example response:
```
json
```
json
{
{
"default_projects_limit"
:
10
,
"default_projects_limit"
:
10
0000
,
"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
...
@@ -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
`10
0000
`
|
|
`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:
...
@@ -98,7 +98,7 @@ Example response:
```
json
```
json
{
{
"id"
:
1
,
"id"
:
1
,
"default_projects_limit"
:
10
,
"default_projects_limit"
:
10
0000
,
"signup_enabled"
:
true
,
"signup_enabled"
:
true
,
"signin_enabled"
:
true
,
"signin_enabled"
:
true
,
"gravatar_enabled"
:
true
,
"gravatar_enabled"
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment