summaryrefslogtreecommitdiff
path: root/lib/api/project_hooks.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2023-05-161-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2022-11-031-7/+36
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2022-11-031-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2022-06-231-30/+23
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-11-071-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-10-301-0/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-10-151-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-10-071-1/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-08-111-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-06-291-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-281-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-271-1/+1
|
* Fix API::Namespaces to accept namepaces with dotsif-52811-fix_namespaces_api_routingImre Farkas2018-11-281-1/+1
| | | | | It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to API::NAMESPACE_OR_PROJECT_REQUIREMENTS
* Enable frozen string in lib/api and lib/backupgfyoung2018-09-291-0/+2
| | | | | | | | | | 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
* Filter project hooks by branchDuana Saskia2018-08-131-0/+3
| | | | | | Allow specificying a branch filter for a project hook and only trigger a project hook if either the branch filter is blank or the branch matches. Only supported for push_events for now.
* Updates from `rubocop -a`Lin Jen-Shin2018-07-091-1/+1
|
* Merge branch 'jej/mattermost-notification-confidentiality-10-6' into ↵Douwe Maan2018-04-051-0/+1
| | | | | | | | | | 'security-10-6' [10.6] Prevent notes on confidential issues from being sent to chat See merge request gitlab/gitlabhq!2366 # Conflicts: # app/helpers/services_helper.rb
* align "confidential issues events" implementation with "issues events" oneJean-Baptiste Guerraz2018-03-011-0/+1
|
* API: Use defined project requirementsrs-api-use-project-requirementsRobert Schilling2017-08-311-1/+1
|
* Conditionally destroy a ressourceRobert Schilling2017-08-281-4/+1
|
* API: Respect the 'If-Unmodified-Since' for delete endpointsRobert Schilling2017-08-281-0/+2
|
* Update grape gemdz-update-grapeDmitriy Zaporozhets2017-07-201-0/+1
| | | | | | | | 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>
* 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