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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
3b8994d1
Commit
3b8994d1
authored
Sep 06, 2018
by
Martin Wortschack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add 'redirect_path' parameter to forms
parent
e3d48eb1
Changes
30
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
60 additions
and
0 deletions
+60
-0
app/views/admin/application_settings/_abuse.html.haml
app/views/admin/application_settings/_abuse.html.haml
+2
-0
app/views/admin/application_settings/_account_and_limit.html.haml
...s/admin/application_settings/_account_and_limit.html.haml
+2
-0
app/views/admin/application_settings/_background_jobs.html.haml
...ews/admin/application_settings/_background_jobs.html.haml
+2
-0
app/views/admin/application_settings/_ci_cd.html.haml
app/views/admin/application_settings/_ci_cd.html.haml
+2
-0
app/views/admin/application_settings/_email.html.haml
app/views/admin/application_settings/_email.html.haml
+2
-0
app/views/admin/application_settings/_gitaly.html.haml
app/views/admin/application_settings/_gitaly.html.haml
+2
-0
app/views/admin/application_settings/_help_page.html.haml
app/views/admin/application_settings/_help_page.html.haml
+2
-0
app/views/admin/application_settings/_influx.html.haml
app/views/admin/application_settings/_influx.html.haml
+2
-0
app/views/admin/application_settings/_ip_limits.html.haml
app/views/admin/application_settings/_ip_limits.html.haml
+2
-0
app/views/admin/application_settings/_koding.html.haml
app/views/admin/application_settings/_koding.html.haml
+2
-0
app/views/admin/application_settings/_logging.html.haml
app/views/admin/application_settings/_logging.html.haml
+2
-0
app/views/admin/application_settings/_outbound.html.haml
app/views/admin/application_settings/_outbound.html.haml
+2
-0
app/views/admin/application_settings/_pages.html.haml
app/views/admin/application_settings/_pages.html.haml
+2
-0
app/views/admin/application_settings/_performance.html.haml
app/views/admin/application_settings/_performance.html.haml
+2
-0
app/views/admin/application_settings/_performance_bar.html.haml
...ews/admin/application_settings/_performance_bar.html.haml
+2
-0
app/views/admin/application_settings/_plantuml.html.haml
app/views/admin/application_settings/_plantuml.html.haml
+2
-0
app/views/admin/application_settings/_prometheus.html.haml
app/views/admin/application_settings/_prometheus.html.haml
+2
-0
app/views/admin/application_settings/_realtime.html.haml
app/views/admin/application_settings/_realtime.html.haml
+2
-0
app/views/admin/application_settings/_registry.html.haml
app/views/admin/application_settings/_registry.html.haml
+2
-0
app/views/admin/application_settings/_repository_check.html.haml
...ws/admin/application_settings/_repository_check.html.haml
+2
-0
app/views/admin/application_settings/_repository_mirrors_form.html.haml
...n/application_settings/_repository_mirrors_form.html.haml
+2
-0
app/views/admin/application_settings/_repository_storage.html.haml
.../admin/application_settings/_repository_storage.html.haml
+2
-0
app/views/admin/application_settings/_signin.html.haml
app/views/admin/application_settings/_signin.html.haml
+2
-0
app/views/admin/application_settings/_signup.html.haml
app/views/admin/application_settings/_signup.html.haml
+2
-0
app/views/admin/application_settings/_spam.html.haml
app/views/admin/application_settings/_spam.html.haml
+2
-0
app/views/admin/application_settings/_terminal.html.haml
app/views/admin/application_settings/_terminal.html.haml
+2
-0
app/views/admin/application_settings/_terms.html.haml
app/views/admin/application_settings/_terms.html.haml
+2
-0
app/views/admin/application_settings/_third_party_offers.html.haml
.../admin/application_settings/_third_party_offers.html.haml
+2
-0
app/views/admin/application_settings/_usage.html.haml
app/views/admin/application_settings/_usage.html.haml
+2
-0
app/views/admin/application_settings/_visibility_and_access.html.haml
...min/application_settings/_visibility_and_access.html.haml
+2
-0
No files found.
app/views/admin/application_settings/_abuse.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-abuse-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
reporting_admin_application_settings_path
)
%fieldset
.form-group
=
f
.
label
:admin_notification_email
,
'Abuse reports notification email'
,
class:
'label-bold'
...
...
app/views/admin/application_settings/_account_and_limit.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-account-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
admin_application_settings_path
)
%fieldset
.form-group
.form-check
...
...
app/views/admin/application_settings/_background_jobs.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-background-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
preferences_admin_application_settings_path
)
%fieldset
%p
These settings require a
...
...
app/views/admin/application_settings/_ci_cd.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-ci-cd-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
ci_cd_admin_application_settings_path
)
%fieldset
.form-group
.card.auto-devops-card
...
...
app/views/admin/application_settings/_email.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-email-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
preferences_admin_application_settings_path
)
%fieldset
.form-group
.form-check
...
...
app/views/admin/application_settings/_gitaly.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-gitaly-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
preferences_admin_application_settings_path
)
%fieldset
.form-group
=
f
.
label
:gitaly_timeout_default
,
'Default Timeout Period'
,
class:
'label-bold'
...
...
app/views/admin/application_settings/_help_page.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-help-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
preferences_admin_application_settings_path
)
%fieldset
.form-group
=
f
.
label
:help_page_text
,
class:
'label-bold'
...
...
app/views/admin/application_settings/_influx.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-influx-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
metrics_and_profiling_admin_application_settings_path
)
%fieldset
%p
Setup InfluxDB to measure a wide variety of statistics like the time spent
...
...
app/views/admin/application_settings/_ip_limits.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-ip-limits-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
network_admin_application_settings_path
)
%fieldset
.form-group
.form-check
...
...
app/views/admin/application_settings/_koding.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-koding-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
admin_application_settings_path
)
%fieldset
.form-group
.form-check
...
...
app/views/admin/application_settings/_logging.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-logging-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
reporting_admin_application_settings_path
)
%fieldset
.form-group
.form-check
...
...
app/views/admin/application_settings/_outbound.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-outbound-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
outbound_admin_application_settings_path
)
%fieldset
.form-group
.form-check
...
...
app/views/admin/application_settings/_pages.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-pages-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
preferences_admin_application_settings_path
)
%fieldset
.form-group
=
f
.
label
:max_pages_size
,
'Maximum size of pages (MB)'
,
class:
'label-bold'
...
...
app/views/admin/application_settings/_performance.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-performance-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
network_admin_application_settings_path
)
%fieldset
.form-group
.form-check
...
...
app/views/admin/application_settings/_performance_bar.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-performance-bar-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
metrics_and_profiling_admin_application_settings_path
)
%fieldset
.form-group
.form-check
...
...
app/views/admin/application_settings/_plantuml.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-plantuml-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
integrations_admin_application_settings_path
)
%fieldset
.form-group
.form-check
...
...
app/views/admin/application_settings/_prometheus.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-prometheus-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
metrics_and_profiling_admin_application_settings_path
)
%fieldset
%p
Enable a Prometheus metrics endpoint at
...
...
app/views/admin/application_settings/_realtime.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-realtime-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
preferences_admin_application_settings_path
)
%fieldset
.form-group
=
f
.
label
:polling_interval_multiplier
,
'Polling interval multiplier'
,
class:
'label-bold'
...
...
app/views/admin/application_settings/_registry.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-registry-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
ci_cd_admin_application_settings_path
)
%fieldset
.form-group
=
f
.
label
:container_registry_token_expire_delay
,
'Authorization token duration (minutes)'
,
class:
'label-bold'
...
...
app/views/admin/application_settings/_repository_check.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-repository-check-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
repository_admin_application_settings_path
)
%fieldset
.sub-section
%h4
Repository checks
...
...
app/views/admin/application_settings/_repository_mirrors_form.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-mirror-settings'
)
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
repository_admin_application_settings_path
)
%fieldset
.form-group
=
f
.
label
:mirror_available
,
'Enable mirror configuration'
,
class:
'label-bold'
...
...
app/views/admin/application_settings/_repository_storage.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-repository-storage-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
repository_admin_application_settings_path
)
%fieldset
.sub-section
.form-group
...
...
app/views/admin/application_settings/_signin.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-signin-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
admin_application_settings_path
)
%fieldset
.form-group
.form-check
...
...
app/views/admin/application_settings/_signup.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-signup-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
admin_application_settings_path
)
%fieldset
.form-group
.form-check
...
...
app/views/admin/application_settings/_spam.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-spam-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
reporting_admin_application_settings_path
)
%fieldset
.form-group
.form-check
...
...
app/views/admin/application_settings/_terminal.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-terminal-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
admin_application_settings_path
)
%fieldset
.form-group
=
f
.
label
:terminal_max_session_time
,
'Max session time'
,
class:
'label-bold'
...
...
app/views/admin/application_settings/_terms.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-terms-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
admin_application_settings_path
)
%fieldset
.form-group
.form-check
...
...
app/views/admin/application_settings/_third_party_offers.html.haml
View file @
3b8994d1
...
...
@@ -3,6 +3,8 @@
=
form_for
application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-third-party-offers-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
application_setting
)
=
hidden_field
(
:redirect_path
,
integrations_admin_application_settings_path
)
%fieldset
.form-group
.form-check
...
...
app/views/admin/application_settings/_usage.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-usage-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
metrics_and_profiling_admin_application_settings_path
)
%fieldset
.form-group
.form-check
...
...
app/views/admin/application_settings/_visibility_and_access.html.haml
View file @
3b8994d1
=
form_for
@application_setting
,
url:
admin_application_settings_path
(
anchor:
'js-visibility-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
hidden_field
(
:redirect_path
,
admin_application_settings_path
)
%fieldset
.form-group
=
f
.
label
:default_branch_protection
,
class:
'label-bold'
...
...
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