Commit Graph

43 Commits

Author SHA1 Message Date
GitLab Bot 9248363e3e Add latest changes from gitlab-org/gitlab@master 2021-01-04 21:10:19 +00:00
GitLab Bot 2ac4833015 Add latest changes from gitlab-org/gitlab@master 2020-10-08 18:08:32 +00:00
GitLab Bot 8957ace315 Add latest changes from gitlab-org/gitlab@master 2020-03-14 00:09:30 +00:00
GitLab Bot 866ca4e49f Add latest changes from gitlab-org/gitlab@master 2020-02-14 21:09:08 +00:00
GitLab Bot 134fe18200 Add latest changes from gitlab-org/gitlab@master 2019-12-05 21:07:40 +00:00
Krasimir Angelov 85609c117e Implement support for CI variables of type file
Add env_var and file as supported types for CI variables. Variables of
type file expose to users existing gitlab-runner behaviour - save
variable value into a temp file and set the path to this file in an ENV
var named after the variable key.

Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/46806.
2019-05-06 13:11:42 +00:00
Martin Wortschack 8c7f7236a4 (CE Port) "Follow-up from "(EE port) Externalize strings in projects controllers"" 2019-04-02 09:08:23 +00:00
Martin Wortschack 5660690787 Externalize strings in projects controllers
- concerns
- dashboard
- groups
- import
2019-03-27 16:52:52 +00:00
gfyoung 12ee2753c1 Enable even more frozen string in app/controllers
Enables frozen string for some vestigial files as
well as the following:

* app/controllers/projects/**/*.rb
* app/controllers/sherlock/**/*.rb
* app/controllers/snippets/**/*.rb
* app/controllers/users/**/*.rb

Partially addresses #47424.
2018-09-25 22:43:49 -07:00
Yorick Peterse 2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Lin Jen-Shin 4ee08b77bc Updates from `rubocop -a` 2018-07-09 21:13:08 +08:00
Matija Čupić 05103f080c
Make Variable key not secret 2018-03-22 12:08:16 +01:00
Matija Čupić 68c6e410bd
Use secret_key and secret_value in Pipeline Schedule variables 2018-03-17 18:29:42 +01:00
Stan Hu 4b0465f20d Address review comments with playing pipeline scheduler 2017-12-12 17:12:45 -08:00
Stan Hu 02e7e499d4 Fix Rubocop offense and use a symbol instead of a string 2017-12-12 15:07:25 -08:00
Stan Hu ef78f67f4a Add a spec for rate limiting pipeline schedules 2017-12-12 15:07:25 -08:00
Stan Hu 54f13b1ec8 Add rate limiting to guard against excessive scheduling of pipelines 2017-12-12 15:07:25 -08:00
Stan Hu 0ea70802e1 Fix Sidekiq worker and make flash message return a link to the pipelines page 2017-12-12 15:07:24 -08:00
Stan Hu bc2d32aca0 Create a play_pipeline_schedule policy and use it 2017-12-12 15:07:24 -08:00
Stan Hu f6966cfa63 Address some comments with running a pipeline schedule 2017-12-12 15:07:23 -08:00
Stan Hu 8e7f19c60b Add button to run scheduled pipeline immediately
Closes #38741
2017-12-12 15:07:23 -08:00
Kamil Trzcinski f108153cef Remove update|admin_pipeline_schedule from Project, and grant it in PipelineSchedule 2017-07-07 12:11:48 +02:00
Shinya Maeda 08fba1327f merge from master 2017-07-07 16:12:13 +09:00
Douwe Maan fe13f11041 Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
Shinya Maeda dafc341794 Revert "Implement Ci::NestedUniquenessValidator"
This reverts commit 8f0a2b6d78.
2017-07-06 00:23:28 +09:00
Shinya Maeda 8f0a2b6d78 Implement Ci::NestedUniquenessValidator 2017-07-05 18:38:37 +09:00
Shinya Maeda 1bfa818a1f zj nice catchies 3 2017-07-05 18:38:35 +09:00
Shinya Maeda 5c91e10b9e zh nich catches 2 2017-07-05 18:38:28 +09:00
Shinya Maeda f433fee057 Revert extra validation for duplication between same keys on a submit 2017-07-05 18:38:27 +09:00
Shinya Maeda c5e16d524a Define authorize_update_pipeline_schedule and apply to :edit, :take_ownership, :update 2017-07-05 18:38:25 +09:00
Shinya Maeda 6e8ea52be6 Add functionality and security. 2017-07-05 18:38:25 +09:00
Shinya Maeda e364c118a0 Implement variables_attributes create/update cases 2017-07-05 18:38:10 +09:00
Shinya Maeda 507fedf3c3 Controller logic. Delete before modification. Halfway. 2017-07-05 18:37:50 +09:00
Shinya Maeda e1ba005811 zh nich catches 2 2017-07-05 18:36:19 +09:00
Shinya Maeda a91f581e6d Revert extra validation for duplication between same keys on a submit 2017-07-05 18:36:19 +09:00
Shinya Maeda ba63dcbfc6 Define authorize_update_pipeline_schedule and apply to :edit, :take_ownership, :update 2017-07-05 18:36:18 +09:00
Shinya Maeda 1247ae0de9 Add functionality and security. 2017-07-05 18:36:18 +09:00
Shinya Maeda 3ea04616c3 Implement variables_attributes create/update cases 2017-07-05 18:36:18 +09:00
Shinya Maeda 58d8b9ae62 Controller logic. Delete before modification. Halfway. 2017-07-05 18:36:18 +09:00
Shinya Maeda d67b5c099e Use authorize_update_pipeline_schedule in PipelineSchedulesController 2017-06-28 21:58:31 +09:00
Z.J. van de Weg 68f58e1b44 Allow translation of Pipeline Schedules 2017-06-08 09:38:55 +02:00
blackst0ne a544e46bb0 Add a rubocop rule to check if a method 'redirect_to' is used without explicitly set 'status' in 'destroy' actions of controllers 2017-06-07 09:45:16 +11:00
Zeger-Jan van de Weg 8df3997a92 Add Pipeline Schedules that supersedes experimental Trigger Schedule 2017-05-07 22:35:56 +00:00