summaryrefslogtreecommitdiff
path: root/app/controllers/projects/variables_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Resolve "Make a Rubocop that forbids returning from a block"🙈 jacopo beschi 🙉2018-04-181-1/+1
|
* Make Variable key not secret43316-controller-parameters-handling-sensitive-information-should-use-a-more-specific-nameMatija Čupić2018-03-221-1/+1
|
* Alias secret_key and secret_value to key and valueMatija Čupić2018-03-171-6/+1
|
* Use secret_key and secret_value in Variables controllerMatija Čupić2018-03-161-2/+7
|
* Fix static_analysis failurece-39118-dynamic-pipeline-variables-feMatija Čupić2018-02-061-2/+10
|
* Switch emphasis from controller format to updateMatija Čupić2018-02-051-7/+7
|
* Remove usage of VariablePresenter in controllerMatija Čupić2018-02-051-8/+2
|
* Add VariableSerializer for Ci::VariableMatija Čupić2018-02-051-2/+2
|
* Return all variables after UPDATEMatija Čupić2018-02-051-1/+6
|
* Use `resource` in Project Variables routing schemeMatija Čupić2018-02-051-1/+12
|
* Format validation errors as human readable messagesMatija Čupić2018-02-051-1/+1
|
* Pass validation errors in JSON endpointMatija Čupić2018-02-051-1/+1
|
* Remove redundant routes in VariablesControllerMatija Čupić2018-02-051-51/+0
|
* Use nested attributes for updating multiple variablesMatija Čupić2018-02-051-21/+3
|
* Add destroy functionality to save_multipleMatija Čupić2018-02-051-2/+9
|
* Move variable loading into before_actionMatija Čupić2018-02-051-12/+12
|
* Refactor VariablesController#save_multipleMatija Čupić2018-02-051-9/+13
|
* Implement multiple variable handling actionMatija Čupić2018-02-051-1/+18
|
* Stub multiple variable controller methodMatija Čupić2018-02-051-0/+4
|
* Use variable_params && variable_params_attributes in project ↵Shinya Maeda2017-07-071-4/+8
| | | | variables_controller.rb
* Use new project_variables_path in this MRShinya Maeda2017-07-071-3/+3
|
* gb nice catchesShinya Maeda2017-07-071-5/+5
|
* Adopt project_variable_path instead of namespace_project_variable_path. ↵Shinya Maeda2017-07-071-2/+2
| | | | (Resolve confilct from master)
* ayufan nice catchesShinya Maeda2017-07-071-7/+11
|
* Fix variables_controller.rb and formatShinya Maeda2017-07-071-6/+8
|
* Basic BE changeShinya Maeda2017-07-071-18/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix static-snalysis Move the precedence of group secure variable before project secure variable. Allow project_id to be null. Separate Ci::VariableProject and Ci::VariableGroup Add the forgotton files Add migration file to update type of ci_variables Fix form_for fpr VariableProject Fix test Change the table structure according to the yorik advice Add necessary migration files. Remove unnecessary migration spec. Revert safe_model_attributes.yml Fix models Fix spec Avoid self.variable. Use becomes for correct routing. Use unique index on group_id and key Add null: false for t.timestamps Fix schema version Rename VariableProject and VariableGroup to ProjectVariable and GroupVariable Rename the rest of them Add the rest of files Basic BE change Fix static-snalysis Move the precedence of group secure variable before project secure variable. Allow project_id to be null. Separate Ci::VariableProject and Ci::VariableGroup Add the forgotton files Add migration file to update type of ci_variables Fix form_for fpr VariableProject Fix test Change the table structure according to the yorik advice Add necessary migration files. Remove unnecessary migration spec. Revert safe_model_attributes.yml Fix models Fix spec Avoid self.variable. Use becomes for correct routing. Use unique index on group_id and key Add null: false for t.timestamps Fix schema version Rename VariableProject and VariableGroup to ProjectVariable and GroupVariable Rename the rest of them Add the rest of files Implement CURD Rename codes related to VariableGroup and VariableProject FE part Remove unneccesary changes Make Fe code up-to-date Add protected flag to migration file Protected group variables essential package Update schema Improve doc Fix logic and spec for models Fix logic and spec for controllers Fix logic and spec for views(pre feature) Add feature spec Fixed bugs. placeholder. reveal button. doc. Add changelog Remove unnecessary comment godfat nice catches Improve secret_variables_for arctecture Fix spec Fix StaticAnlysys & path_regex spec Revert "Improve secret_variables_for arctecture" This reverts commit c3216ca212322ecf6ca534cb12ce75811a4e77f1. Use ayufan suggestion for secret_variables_for Use find instead of find_by Fix spec message for variable is invalid Fix spec remove variable.group_id = group.id godffat spec nitpicks Use include Gitlab::Routing.url_helpers for presenter spec
* Backports for ee-2112Lin Jen-Shin2017-07-061-6/+9
| | | | https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2112
* Create and use project path helpers that only need a project, no namespaceDouwe Maan2017-07-051-4/+4
|
* Add a rubocop rule to check if a method 'redirect_to' is used without ↵31840-add-a-rubocop-that-forbids-redirect_to-inside-a-controller-destroy-action-without-an-explicit-statusblackst0ne2017-06-071-1/+3
| | | | explicitly set 'status' in 'destroy' actions of controllers
* Frontend implementation, tests, and changelogLin Jen-Shin2017-05-251-1/+2
|
* Updated the #create action to render the show view in case of a form errorJose Ivan Vargas2017-02-061-2/+2
|
* Improved code styling on the variables_controller_specJose Ivan Vargas2017-02-061-3/+2
| | | | | Also updated the #update action inside the variables controller as to render the show and not redirect back to the settings route
* Added tests for the variables controller #update actionJose Ivan Vargas2017-02-061-2/+3
|
* Modified redirection logic in the variables cont.Jose Ivan Vargas2017-02-061-2/+3
| | | | Redirections now show a flash message wether the variable was created correctly or not using a flash message
* Added redirections to the index actions for the variables and triggers ↵Jose Ivan Vargas2017-02-061-0/+4
| | | | controllers
* Changed the controller/route name to 'ci/cd' and renamed the corresponding filesJose Ivan Vargas2017-02-061-7/+3
| | | | Added tests to verify the access policy to the new controller
* changed pipelines controller name to ci_cd_pipelinesJose Ivan Vargas2017-02-061-4/+4
|
* Converted the views to partials that compose the menu item "pipelines"Jose Ivan Vargas2017-02-061-4/+4
|
* Project variables UIPhil Hughes2016-05-161-3/+27
| | | | Closes #14091
* Make the CI permission model simplerKamil Trzcinski2016-02-021-1/+1
| | | | | | | | | | | | | This MR simplifies CI permission model: - read_build: allows to read a list of builds, artifacts and trace - update_build: allows to cancel and retry builds - create_build: allows to create builds from gitlab-ci.yml (not yet implemented) - admin_build: allows to manage triggers, runners and variables - read_commit_status: allows to read a list of commit statuses (including the overall of builds) - create_commit_status: allows to create a new commit status using API Remove all extra methods to manage permission. Made all controllers to use explicitly the new permissions.
* Remove ci_ prefix from all ci related thingsKamil Trzcinski2015-12-111-1/+1
|
* Migrate CI::Project to ProjectKamil Trzcinski2015-12-111-5/+2
|
* Move CI variables page to project settingsmove-variables-pageDmitriy Zaporozhets2015-09-281-0/+25
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>