summaryrefslogtreecommitdiff
path: root/lib/api/project_hooks.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'bvl-rename-build-events-to-job-events' into 'master' cherry-pick-0663458cDouwe Maan2017-05-161-2/+0
| | | | | | | Rename `build_events` to `job_events` Closes #31620 See merge request !11287
* Revert "Merge branch 'bvl-rename-build-events-to-job-events' into 'master'"Douwe Maan2017-05-151-0/+2
| | | This reverts merge request !11287
* Rename `build_events` to `job_events` in codeBob Van Landuyt2017-05-151-2/+0
|
* Fix API not accepting job_events for webhookszj-api-fix-build-eventsZ.J. van de Weg2017-04-121-3/+9
| | | | | | | | | | When renaming, the argument on the projects hook API was forgotten. Now one could successfully set it again. The fix is a little ugly stylewise, but needed as the underlying model still refers to it as build_events. This commit is to fix it, later we should migrate the data to a new column. The edit on the spec file makes sure it passes now, and will fail when we migrate the column.
* Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced ↵Rémy Coutable2017-03-161-1/+1
| | | | | | API routes Signed-off-by: Rémy Coutable <remy@rymai.me>
* Return 204 for delete endpointsRobert Schilling2017-02-281-6/+3
|
* Paginate all endpoints that return an arrayRobert Schilling2017-02-161-3/+1
|
* Fix project hooks paramsfix-api-project-hooks-paramsRobert Schilling2017-01-031-1/+1
|
* Use the pagination helper in the APIuse-pagination-helperRobert Schilling2016-12-041-4/+8
|
* Use declared_params helper in APIgrapify-declared-paramsRobert Schilling2016-11-141-7/+3
|
* Move shared params to a helperzj-grapify-project-hooksZ.J. van de Weg2016-11-041-39/+19
|
* GrapeDSL for project hooksZ.J. van de Weg2016-11-041-69/+74
|
* Add support for token attr in project hooks APIGauvain Pocentek2016-11-011-2/+4
| | | | | The UI allows to define a token to validate payload on the target URL, this patch adds the feature to the API.
* api: expose wiki_page_events project hook field in the APIBen Boeckel2016-08-241-0/+2
|
* Implement pipeline hooks, extracted from !5525Lin Jen-Shin2016-08-021-0/+2
| | | | Closes #20115
* Enable Style/EmptyLines cop, remove redundant onesrubocop/enable-cops-for-empty-linesGrzegorz Bizon2016-07-011-1/+0
|
* Prevent users from deleting Webhooks via API they do not ownStan Hu2016-04-241-2/+2
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15576
* Migrate CI::Services and CI::WebHooks to Services and WebHooksKamil Trzcinski2015-12-101-0/+2
|
* api: add enable_ssl_verification to PUT/POST hooksBen Boeckel2015-09-241-2/+4
|
* Add support for Webhook note eventsStan Hu2015-05-211-2/+4
| | | | Closes https://github.com/gitlabhq/gitlabhq/issues/6745
* Forward the messages in api response.Marin Jankovski2014-12-301-2/+2
|
* Add tag_push_events to project hook apiKirill Zaitsev2014-10-031-2/+14
|
* Move project members api to separate fileDmitriy Zaporozhets2014-03-171-9/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* ProjectHook API supports new event fieldsDmitriy Zaporozhets2013-12-041-2/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Expose ProjectHook attributes via APIDmitriy Zaporozhets2013-12-041-4/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor API: project hooksDmitriy Zaporozhets2013-09-301-5/+1
|
* Split Project api on several parts: deploy_keys, hooks, snippets etcDmitriy Zaporozhets2013-06-061-0/+108