Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
87e406e4
Commit
87e406e4
authored
Nov 09, 2019
by
Greg Messner
Browse files
Added undocumented settings discovered in GitLab 12.4.2
parent
facd6a53
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/Setting.java
View file @
87e406e4
...
...
@@ -87,7 +87,6 @@ public enum Setting {
* Your GitLab installation URL is automatically whitelisted. GitLab restart
* is required to apply changes.
*/
//TODO according to documentation : string or array of strings => How to do this?
ASSET_PROXY_WHITELIST
(
new
Class
<?>[]{
String
.
class
,
String
[].
class
}),
/**
...
...
@@ -1034,8 +1033,19 @@ public enum Setting {
* Client side evaluation (allow live previews of JavaScript projects in the Web IDE
* using CodeSandbox client side evaluation).
*/
WEB_IDE_CLIENTSIDE_PREVIEW_ENABLED
(
Boolean
.
class
);
WEB_IDE_CLIENTSIDE_PREVIEW_ENABLED
(
Boolean
.
class
),
/*
* Undocumented settings as of GitLab 12.4
* These are reported but not documented.
*/
CUSTOM_HTTP_CLONE_URL_ROOT
(
String
.
class
),
PROTECTED_PATHS_RAW
(
String
.
class
),
THROTTLE_PROTECTED_PATHS_ENABLED
(
Boolean
.
class
),
THROTTLE_PROTECTED_PATHS_PERIOD_IN_SECONDS
(
Integer
.
class
),
THROTTLE_PROTECTED_PATHS_REQUESTS_PER_PERIOD
(
Integer
.
class
);
private
static
JacksonJsonEnumHelper
<
Setting
>
enumHelper
=
new
JacksonJsonEnumHelper
<>(
Setting
.
class
);
private
Class
<?>
type
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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