Commit Graph

26 Commits

Author SHA1 Message Date
GitLab Bot 93c6764dac Add latest changes from gitlab-org/gitlab@master 2019-12-09 12:07:58 +00:00
GitLab Bot d8c06be498 Add latest changes from gitlab-org/gitlab@master 2019-11-14 12:06:30 +00:00
Matija Čupić 8e639cc687
Allow masking @ and : characters 2019-07-23 21:22:25 +02:00
mfluharty 6a90249b6a
Add masked toggle click to frontend spec
Need to set masked to true before testing now that the default is false
2019-06-06 17:00:25 +01:00
mfluharty 964b1f65d0
Add frontend specs
Test that a regex is provided
Test that it is the expected regex
Test length of variable
Test special character set
2019-06-06 15:46:46 +01:00
Filipa Lacerda 31861b0f05 Adds header column to variables list
For the variables list in CI/CD settings
this commits adds an header row with titles
2019-05-07 15:23:47 +01:00
mfluharty 0481d69907
Add control for variable value masking
Show masked switch for each variable
When toggled on, the variable value will be masked in runner logs
Show warning message if the switch is on but the value is not maskable
2019-03-29 12:49:59 -06:00
Kamil Trzciński 89fdf64c8a Revert "Merge branch '13784-validate-variables-for-masking' into 'master'"
This reverts merge request !25476
2019-03-27 21:42:23 +00:00
Miranda Fluharty fc8f4b62f8 Scaffold UI elements for minimal version
Add a masked switch to variable rows
Copy some behavior from the protected switch
2019-03-27 19:13:55 +00:00
Winnie Hellmann ad985a7a28 Merge branch 'winh-remove-sushi' into 'master'
Remove .raw from JavaScript fixture file names

Closes #59201

See merge request gitlab-org/gitlab-ce!26430

(cherry picked from commit 79a45f7f02)
2019-03-26 16:03:28 +00:00
Filipa Lacerda 022968764c Revert "Merge branch 'winh-remove-sushi' into 'master'"
This reverts merge request !26430
2019-03-22 11:03:15 +00:00
Winnie Hellmann 3e9bb4ad31 Remove .raw from JavaScript fixture file names
There is nothing more to say but

"Commits that change 30 or more lines across at least three files
must describe these changes in the commit body"
2019-03-21 17:16:53 +01:00
Alexis Reigel 943827b39a
option to make variables protected by default 2018-11-29 15:04:59 +01:00
Marcel Amirault 14fc739c94 Renaming Secret Variables in the codebase 2018-10-30 08:49:26 +00:00
Mike Greiling 7a3e605350
Resolve eslint violations 2018-10-17 11:18:17 -05:00
Mike Greiling f666026d71
Prettify all spec files 2018-10-17 11:18:17 -05:00
Johann Hubert Sonntagbauer 6f5723a169 enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
Matija Čupić 05103f080c
Make Variable key not secret 2018-03-22 12:08:16 +01:00
Matija Čupić 67fc0a2b92
Check for secret_key and secret_value in CI Variable native list js spec 2018-03-17 18:33:53 +01:00
Mike Greiling f248be7257
require jQuery to be explicitly imported 2018-03-09 15:18:09 -06:00
Rémy Coutable d434c62a83 Move EE-specific JavaScript files to ee/app/assets/javascripts 2018-02-26 19:43:34 +00:00
Clement Ho 975dc69ec6 Merge branch '42929-hide-new-variable-values' into 'master'
Hide CI secret variable values on save

Closes #42929

See merge request gitlab-org/gitlab-ce!17044
2018-02-15 22:16:37 +00:00
Eric Eastwood c6b2ff8a21 Hide CI secret variable values on save
See https://gitlab.com/gitlab-org/gitlab-ce/issues/42928
2018-02-14 14:48:26 -06:00
Eric Eastwood b60a39f260 Default CI variables to unprotected
See https://gitlab.com/gitlab-org/gitlab-ce/issues/42928
2018-02-09 12:18:43 -06:00
Eric Eastwood 3be32027b6 Use dynamic variable list in scheduled pipelines and group/project CI secret variables
See https://gitlab.com/gitlab-org/gitlab-ce/issues/39118

Conflicts:
	app/views/ci/variables/_form.html.haml
	app/views/ci/variables/_table.html.haml
	ee/app/views/ci/variables/_environment_scope.html.haml
	spec/javascripts/ci_variable_list/ci_variable_list_ee_spec.js
	spec/javascripts/fixtures/projects.rb
2018-02-05 13:09:29 -06:00
Eric Eastwood 332aa756d2 Refactor CI variable list code for usage with CI/CD settings page secret variables
Part of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4110
2018-01-31 13:18:32 -06:00