Commit Graph

37 Commits

Author SHA1 Message Date
GitLab Bot cb7f283a39 Add latest changes from gitlab-org/gitlab@master 2024-05-14 03:18:10 +00:00
GitLab Bot adeba64772 Add latest changes from gitlab-org/gitlab@master 2024-05-13 06:18:16 +00:00
GitLab Bot 771999968c Add latest changes from gitlab-org/gitlab@master 2024-04-26 15:11:03 +00:00
GitLab Bot b6b701cf9d Add latest changes from gitlab-org/gitlab@master 2023-05-16 18:09:09 +00:00
GitLab Bot bc9a474793 Add latest changes from gitlab-org/gitlab@master 2022-11-07 09:08:11 +00:00
GitLab Bot f46d20e508 Add latest changes from gitlab-org/gitlab@master 2022-06-23 12:09:30 +00:00
GitLab Bot e804afddbf Add latest changes from gitlab-org/gitlab@master 2022-02-28 18:14:03 +00:00
GitLab Bot c81279ca90 Add latest changes from gitlab-org/gitlab@master 2021-06-24 06:07:09 +00:00
GitLab Bot 676109e1b3 Add latest changes from gitlab-org/gitlab@master 2021-03-31 18:09:19 +00:00
GitLab Bot 98d7cc758f Add latest changes from gitlab-org/gitlab@master 2020-10-30 18:08:56 +00:00
GitLab Bot 6a0085290e Add latest changes from gitlab-org/gitlab@master 2020-10-15 00:08:42 +00:00
GitLab Bot 419f9c0ac3 Add latest changes from gitlab-org/gitlab@master 2020-10-07 09:09:13 +00:00
GitLab Bot 777f6da99a Add latest changes from gitlab-org/gitlab@master 2020-06-29 21:09:07 +00:00
GitLab Bot 2e4d8b3449 Add latest changes from gitlab-org/gitlab@master 2020-04-28 03:09:53 +00:00
GitLab Bot f569792df8 Add latest changes from gitlab-org/gitlab@master 2020-04-27 18:09:41 +00:00
gfyoung 3836d69119 Enable frozen string in lib/api and lib/backup
Partially addresses #47424.

Had to make changes to spec files because
stubbing methods on frozen objects is a mess
in RSpec and leads to failures:

https://github.com/rspec/rspec-mocks/issues/1190
2018-09-29 21:04:50 -07:00
Yorick Peterse 2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Alexis Reigel 2a0a7b426e api support for merge_requests_events system hook 2018-01-04 09:33:41 +01:00
Robert Schilling e80313f9ee Conditionally destroy a ressource 2017-08-28 16:40:25 +02:00
Robert Schilling 998afa5f74 API: Respect the 'If-Unmodified-Since' for delete endpoints 2017-08-28 16:40:25 +02:00
Dmitriy Zaporozhets 6b8ad689da
Update grape gem
New version of the gem returns 200 status code on delete with content
instead of 204 so we explicitly set status code to keep existing
behavior

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-07-20 16:33:18 +03:00
Robert Schilling 86c58687b2 Return 204 for delete endpoints 2017-02-28 08:32:38 +01:00
Robert Schilling 01ea65e0e9 Paginate all endpoints that return an array 2017-02-16 15:32:01 +01:00
Robert Schilling 76bd09326f Use declared_params helper in API 2016-11-14 15:22:06 +01:00
Robert Schilling 659ef54605 API: Return 400 when creating a systemhook fails 2016-11-08 10:05:19 +01:00
Zeger-Jan van de Weg 57fd233a55 Update docs and unexpose token 2016-11-02 13:14:12 +01:00
Z.J. van de Weg a4827ee2b9 Be able to POST subscriptions for system hooks 2016-10-31 13:42:29 +01:00
Robert Schilling 0459358103 API: Fix Sytem hooks delete behavior 2016-10-14 14:16:27 +02:00
Robert Schilling e836b904b7 Grapify system hooks API 2016-10-13 19:22:34 +02:00
bugagazavr acac788902 Added X-GitLab-Event header for web hooks 2015-05-08 16:49:03 +03:00
Valery Sizov bc9ba5237c Revert "Added X-GitLab-Event header for web hooks"
This reverts commit 548f182814.
2015-04-27 16:29:31 +03:00
bugagazavr 548f182814 Added X-GitLab-Event header for web hooks 2015-04-25 21:31:52 +03:00
Dmitriy Zaporozhets da884aabc7 Avoid using {...} for multi-line blocks 2015-02-02 21:22:57 -08:00
Dmitriy Zaporozhets 634cbd7138 Refactor API classes. So api classes like Gitlab::Issues become API::Issues 2013-05-14 15:33:31 +03:00
Andrey Kumanyaev b1b354b0f8 remove trailing spaces 2013-05-05 18:02:02 +04:00
Sebastian Ziebell 32f1eaaf0f API: system hooks API functions and documentation updated
* updated system hooks documentation and code comments
* fixed access to system hooks if no user given resulting in a `500 Server Error`
* added tests
2013-03-07 17:56:11 +01:00
Matt Humphrey 1dd712ddc2 System hooks API. 2013-03-06 15:15:26 +00:00