Commit Graph

26 Commits

Author SHA1 Message Date
GitLab Bot 2ac4833015 Add latest changes from gitlab-org/gitlab@master 2020-10-08 18:08:32 +00:00
Fabio Pitino a7821dd910 Drop feature to take ownership of a trigger token
Removing API and frontend interactions that allowed
users to take ownership of a trigger token.

Removed mentions from the documentation.
2019-07-10 12:08:45 +02:00
Martin Wortschack 5660690787 Externalize strings in projects controllers
- concerns
- dashboard
- groups
- import
2019-03-27 16:52:52 +00:00
Grzegorz Bizon 084b7edb17
Do not expose trigger token when user should not see it 2019-01-31 16:51:17 +01: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
Mike Greiling 50908fbed8
keep pipeline triggers settings panel open after form submission 2018-08-07 16:16:04 -05:00
Lin Jen-Shin 4ee08b77bc Updates from `rubocop -a` 2018-07-09 21:13:08 +08:00
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