Shinya Maeda
b038bcf710
Remove trigger_schedule_attributes and factory :ci_trigger_for_trigger_schedule
2017-07-13 21:17:47 +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
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
Kamil Trzcinski
0308855254
Fix ref reference
2017-04-07 16:17:29 +02:00
Shinya Maeda
fb8c49db8b
create_params and update_params into trigger_params
2017-04-07 16:17:28 +02:00
Shinya Maeda
2f5095c254
Add def trigger_schedule in Trigger. Use persisted? for checling existance
2017-04-07 16:17:28 +02:00
Shinya Maeda
76c0364ca5
Use allow_destroy. Remove condtion from form.haml.
2017-04-07 16:17:27 +02:00
Shinya Maeda
2548c155ee
Add form for scheduled trigger
2017-04-07 16:17:27 +02:00
Kamil Trzciński
32dee03b2f
Improve pipeline triggers UI
2017-03-07 13:02:56 +00: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
c500e958fb
Added redirections to the index actions for the variables and triggers controllers
2017-02-06 14:51:19 -06:00
Jose Ivan Vargas
2824c1d8d7
Added a flash message to the creation of triggers
2017-02-06 14:51:18 -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
8c1e9ecde3
Corrected tests and changed trigger controller redirects to the ci_cd_pipelines_settings controller
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
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
2a0d4e7200
Move CI triggers page to project settings area
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-29 10:37:31 +02:00