Remove token field from runners edit form

Add changelog entry

Remove unnecessary test checking for form value

Translations updated for gitlab.pot

Use proper format on changelog entry
This commit is contained in:
Payton Burdette 2019-08-28 08:39:47 +00:00 committed by Filipa Lacerda
parent 4576d55f44
commit 748b89ee94
4 changed files with 5 additions and 12 deletions

View File

@ -25,11 +25,6 @@
.form-check
= f.check_box :locked, { class: 'form-check-input' }
%label.light{ for: :runner_locked }= _('When a runner is locked, it cannot be assigned to other projects')
.form-group.row
= label_tag :token, class: 'col-form-label col-sm-2' do
= _('Token')
.col-sm-10
= f.text_field :token, class: 'form-control', readonly: true
.form-group.row
= label_tag :ip_address, class: 'col-form-label col-sm-2' do
= _('IP Address')

View File

@ -0,0 +1,5 @@
---
title: Remove token field from runners edit form
merge_request: 32231
author:
type: fixed

View File

@ -12115,9 +12115,6 @@ msgstr ""
msgid "Toggles :%{name}: emoji award."
msgstr ""
msgid "Token"
msgstr ""
msgid "Tomorrow"
msgstr ""

View File

@ -282,10 +282,6 @@ describe "Admin Runners" do
visit admin_runner_path(runner)
end
describe 'runner info' do
it { expect(find_field('runner_token').value).to eq runner.token }
end
describe 'projects' do
it 'contains project names' do
expect(page).to have_content(@project1.full_name)