Jose Ivan Vargas
b5df3bffd7
Updated the #create action to render the show view in case of a form error
2017-02-06 14:51:19 -06:00
Jose Ivan Vargas
44bb70c8c9
Improved code styling on the variables_controller_spec
...
Also updated the #update action inside the variables controller as
to render the show and not redirect back to the settings route
2017-02-06 14:51:19 -06:00
Jose Ivan Vargas
f3aaf906d4
Added tests for the variables controller #update action
2017-02-06 14:51:19 -06:00
Jose Ivan Vargas
9739f2c945
Modified redirection logic in the variables cont.
...
Redirections now show a flash message wether the variable was created correctly or not using a flash message
2017-02-06 14:51:19 -06:00
Jose Ivan Vargas
c500e958fb
Added redirections to the index actions for the variables and triggers controllers
2017-02-06 14:51:19 -06:00
Jose Ivan Vargas
8ffe586b77
Changed the controller/route name to 'ci/cd' and renamed the corresponding files
...
Added tests to verify the access policy to the new controller
2017-02-06 14:51:18 -06:00
Jose Ivan Vargas
08ecab6013
changed pipelines controller name to ci_cd_pipelines
2017-02-06 14:51:18 -06:00
Jose Ivan Vargas
58110293d4
Converted the views to partials that compose the menu item "pipelines"
2017-02-06 14:51:18 -06:00
Phil Hughes
bda2c44a0b
Project variables UI
...
Closes #14091
2016-05-16 10:21:51 +01:00
Kamil Trzcinski
055afab5c7
Make the CI permission model simpler
...
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.
2016-02-02 09:18:08 +01:00
Kamil Trzcinski
64bfd9d71a
Remove ci_ prefix from all ci related things
2015-12-11 18:02:09 +01:00
Kamil Trzcinski
e80e3f5372
Migrate CI::Project to Project
2015-12-11 18:02:09 +01:00
Dmitriy Zaporozhets
037defc7de
Move CI variables page to project settings
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-28 17:19:20 +02:00