summaryrefslogtreecommitdiff
path: root/lib/gitlab/push_data_builder.rb
Commit message (Collapse)AuthorAgeFilesLines
* Move those builders to their own namespace, feedback:Lin Jen-Shin2016-08-041-93/+0
| | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13540099
* API support for the 'since' and 'until' operators on commit requestsPaco Guzman2016-04-291-1/+1
| | | - Parameter validation as ISO8601 format
* Using single builder for push and tag eventsGabriel Mazetto2016-04-191-20/+1
|
* Added System Hooks for push and tag_pushGabriel Mazetto2016-04-191-1/+21
| | | | | Code is based on Project Webhooks, removing deprecations and without commits listing.
* web hooks to webhooksashleys2016-03-101-1/+1
|
* Merge branch 'rs-issue-13469' into 'master' Douwe Maan2016-02-171-0/+2
|\ | | | | | | | | | | | | Handle nil commits in Gitlab::PushDataBuilder.build Closes #13469 See merge request !2825
| * Handle nil commits in Gitlab::PushDataBuilder.buildrs-issue-13469Robert Speicher2016-02-151-0/+2
| | | | | | | | Closes #13469
* | Add new data to project in push, issue, merge-request and note webhooks databugagazavr/gitlab-ce-extend-hooksKirill Zaitsev2016-02-111-10/+6
|/ | | | | | | | | | | - Add `avatar_url`, `description`, `git_ssh_url`, `git_http_url`, `path_with_namespace` and `default_branch` in `project` in push, issue, merge-request and note webhooks data - Deprecate the `ssh_url` in favor of `git_ssh_url` and `http_url` in favor of `git_http_url` in `project` for push, issue, merge-request and note webhooks data - Deprecate the `repository` key in push, issue, merge-request and note webhooks data, use `project` instead
* fixes after reviewwebhook_payload_with_changesValery Sizov2015-12-071-1/+1
|
* fox specsValery Sizov2015-12-071-1/+3
|
* Add added, modified and removed properties to commit object in webhookValery Sizov2015-12-041-30/+2
|
* Add added, modified and removed properties to commit object in webhookweb_hook_repo_changesValery Sizov2015-11-031-2/+31
|
* Dont set checkout sha for removed branch/tagDmitriy Zaporozhets2015-06-151-2/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix errors.Douwe Maan2015-04-241-1/+0
|
* No longer needed to pass project argument to commit methods.Douwe Maan2015-04-241-2/+1
|
* Extend push_tag event to include tag message and last commitKamil Trzcinski2015-03-211-1/+2
|
* Fewer constants, more helpers.Douwe Maan2015-03-191-1/+2
|
* List new commits for newly pushed branch in activity view.Douwe Maan2015-03-181-8/+7
|
* Set push data object kind in PushDataBuilder.Douwe Maan2015-03-131-1/+2
|
* Merge branch 'generate-valid-json' into 'master'Hannes Rosenögger2015-03-111-0/+1
|\ | | | | | | | | | | | | | | Generate valid json This patch helps to be compatible to other programing languages as it improves the validation of hook data. It seems only ruby can handle 'nil' as value while other json decode function will fatal. See merge request !182
| * Generate valid json for hooksNicole Cordes2015-03-101-0/+1
| | | | | | | | | | It seems that ruby can handle 'nil' value but other json processors (like PHP) throw an error. This is always generated for empty arrays.
* | Use Gitlab::Git helper methods and constants as much as possible.Douwe Maan2015-03-101-3/+4
|/
* Merge branch 'add-more-slack-notifications' into 'master'Dmitriy Zaporozhets2015-03-041-0/+1
|\ | | | | | | | | | | | | | | Add more Slack notifications for issue and merge request events From https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/237 by Stan Hu. See merge request !1556
| * Issue #595: Support Slack notifications upon issue and merge request eventsStan Hu2015-03-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | 1) Adds a DB migration for all services to toggle on push, issue, and merge events. 2) Upon an issue or merge request event, fire service hooks. 3) Slack service supports custom messages for each of these events. Other services not supported at the moment. 4) Label merge request hooks with their corresponding actions.
* | Web Hook sends email of pusherValery Sizov2015-03-041-0/+2
|/
* Extend project web hooks with more dataDmitriy Zaporozhets2015-02-201-0/+3
| | | | | | * add git_http_url and git_ssh_url to project web hook * add visibility_level to project web hook * add documentation about project visibility_level in API
* Test git builder over annotated tagDmitriy Zaporozhets2015-01-151-2/+5
|
* Send checkout sha for web hooks and servicesDmitriy Zaporozhets2015-01-151-52/+66
|
* Refactor push data builder. Moved it to separate classDmitriy Zaporozhets2015-01-111-0/+63
Also execute GitLab CI on creating tag via UI