Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/appzer/gitlab-pushsafer
How to send push-notification out of GitLab with webhooks & Pushsafer
https://github.com/appzer/gitlab-pushsafer
android gitlab gitlab-webhook ios ipad iphone push push-notifications pushnotification pushnotifications pushsafer webhook win-10 win10 windows-10 windows10
Last synced: 2 months ago
JSON representation
How to send push-notification out of GitLab with webhooks & Pushsafer
- Host: GitHub
- URL: https://github.com/appzer/gitlab-pushsafer
- Owner: appzer
- Created: 2017-03-03T19:00:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-07-27T10:55:11.000Z (over 2 years ago)
- Last Synced: 2024-05-19T00:14:44.061Z (8 months ago)
- Topics: android, gitlab, gitlab-webhook, ios, ipad, iphone, push, push-notifications, pushnotification, pushnotifications, pushsafer, webhook, win-10, win10, windows-10, windows10
- Language: PHP
- Homepage: https://www.pushsafer.com
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Pushsafer](https://www.pushsafer.com/de/assets/logos/logo.png)
# gitlab-pushsafer
##How to send push-notification out of GitLab with webhooks & Pushsafer
Webhooks can be used for binding events when something is happening within the project.[Pushsafer.com](https://www.pushsafer.com) make it easy and safe to send & receive push-notifications to your
- Android devices
- iOS devices (iPhone, iPad, iPod Touch, Watch)
- Windows 10 Phone & Desktop
- Browser (Chrome & Firefox)## Download
https://github.com/appzer/gitlab-pushsafer/## Usage
1. open the desired project
2. open the settings dropdown
3. then go to integrations
4. enter the URL from Pushafer, with the required key and optional params
5. select the events which should trigger this webhook
6. add / save the webhook![Pushsafer](https://www.pushsafer.com/de/assets/examples/gitlab_add_webhook1.jpg)
![Pushsafer](https://www.pushsafer.com/de/assets/examples/gitlab_add_webhook2.jpg)
You can add various webhooks for each project.
## Example webhook URLs
### with private key (20 chars)https://www.pushsafer.com/gitlab?k=XXXXXXXXXXXXXXXXXXXX
### with alias key (15 chars)https://www.pushsafer.com/gitlab?k=XXXXXXXXXXXXXXX
### with private key (20 chars) and optional parametershttps://www.pushsafer.com/gitlab?k=XXXXXXXXXXXXXXXXXXXX?i=4&s=2&v=0&d=23
### Pushsafer API values
Any API parameters, as found on https://www.pushsafer.com/en/pushapi, can be appended to the URL.
## Modify Push-Notification Content (PHP example)
If you want to customize the message text of your push-notification, modify this file to your needs: [gitlab_webhooks.php](https://github.com/appzer/gitlab-pushsafer/blob/master/gitlab_webhooks.php). After that, upload the file to your server and change the payload URL to yours.
## Events that trigger a webhook
1. Push events
2. Tag events
3. Issues events
4. Comment events
5. Comment on merge request
6. Comment on issue
7. Comment on code snippet
8. Merge request events
9. Wiki Page events
10. Pipeline events
11. Build events