Commit Graph

35 Commits

Author SHA1 Message Date
blackst0ne 11aff97d88 Remove the User#is_admin? method 2017-04-09 13:20:57 +11:00
Tiago Botelho 1f404065ca adds relevant tests 2017-04-06 19:47:07 +01:00
Kamil Trzciński 7f8e0bce5a Added mock deployment and monitoring service with environments fixtures 2017-04-05 11:04:34 +00:00
Kamil Trzciński 12dd5ac221 All CI offline migrations 2017-03-17 23:06:11 +00:00
Rémy Coutable 63360adeae
Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-16 18:00:24 +01:00
Kamil Trzciński 55f2a5debc Added Prometheus Service and Prometheus graphs 2017-03-07 16:57:42 +00:00
Z.J. van de Weg 194223476b Rename build to job in the docs 2017-03-06 14:34:07 +01:00
Robert Schilling 86c58687b2 Return 204 for delete endpoints 2017-02-28 08:32:38 +01:00
Eric Eastwood 1c85d86d19 Add MockCiService integration
MR: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9250/

See https://gitlab.com/madlittlemods/gl-mock-ci-service
2017-02-24 20:01:36 -06:00
Z.J. van de Weg 9bd424a3fd Improve performance of triggered chat commands
When the trigger endpoint is called, it has to find the right service
for the given project. However, the old implementation did much more.

For example, it build a list of the missing services on this project.
This whole process took about 750ms _each time_. The current
implementation is expected to perform 10x better, as it only searches in
the current projects services. Given the service has to be configured
anyway, this can be done.
2017-01-30 13:38:36 +01:00
Tiago Botelho 4b6e583ce0 adds test suite 2017-01-22 00:02:29 +00:00
Tiago Botelho cd51af1a99 adds events to services api deserialization 2017-01-22 00:02:29 +00:00
Z.J. van de Weg dfca704d6a Add API route slack slash commands 2017-01-03 20:34:35 +01:00
Douglas Barbosa Alexandre d1bf557aac Rename MattermostNotificationService back to MattermostService 2016-12-20 19:42:13 -02:00
Douglas Barbosa Alexandre fed29117de Rename SlackNotificationService back to SlackService 2016-12-20 19:42:13 -02:00
Kamil Trzcinski 298d05a5c3
Improve after feedback 2016-12-19 15:40:06 +01:00
Felipe Artur a5ccaded65 Change SlackService to SlackNotificationsService 2016-12-15 15:32:49 -02:00
Nick Thomas b7b83fe0c9 Introduce deployment services, starting with a KubernetesService 2016-12-14 21:06:26 +00:00
Robert Schilling 593c912151 Grapify the service API 2016-12-09 17:20:12 +01:00
Rémy Coutable 304163becb
API: Use `#find_project` in API::Triggers and API::Services
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-24 13:22:38 +01:00
Z.J. van de Weg dd826a5f20 Return a consistent not found message
This prevents leakage of project names on an endpoint which is
unauthenticated and thus open to the world.
2016-11-18 12:30:32 +01:00
Z.J. van de Weg f749fb7fe0 Improve style, add more tests 2016-11-18 11:38:54 +01:00
Z.J. van de Weg 0d04724fa1 More coverage on service level 2016-11-18 10:00:40 +01:00
Z.J. van de Weg 166ee0965b More refactoring, push present to base command 2016-11-17 21:44:26 +01:00
Z.J. van de Weg d4def9cbcd Incorporate feedback, improve presenter class
[ci skip]
2016-11-17 21:34:24 +01:00
Kamil Trzcinski 53271b486d Make chat authorization to work [ci skip] 2016-11-17 21:34:23 +01:00
Grzegorz Bizon 9e211091a8 Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
Alex Lossent 024e34e94d Hide passwords to non-admin users in the services API
In order to be consistent with !1490 doing it for the web interface
2015-10-12 15:24:00 +02:00
Dmitriy Zaporozhets e3c30bf2e8
Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-g
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-11 16:32:11 +02:00
Dmitriy Zaporozhets 2ed2ef9210 Remove network from CI 2015-09-11 13:38:37 +02:00
Petheo Bence 9bda4b8d88 Added service API endpoint to retrieve service parameters 2015-09-10 18:22:57 +02:00
Kirilll Zaitsev 263abda3fd Drone CI service 2015-09-02 05:52:16 +03:00
Kevin Houdebert 62b322d7b5 Add Hipchat services API 2014-10-14 19:07:34 +02:00
Dmitriy Zaporozhets ee0e9830c1 gitlab-ci service api: clean values instead of destroy 2013-10-29 18:13:51 +02:00
Dmitriy Zaporozhets d636ad49bf API: set gitlab-ci service for project 2013-10-29 16:39:46 +02:00