gatus/.github/assets
Bo-Yi Wu 7de5a1fe48
feat(alerting): implement Gitea alerting provider (#842)
* feat: implement Gitea alerting provider integration

- Add TypeGitea for the gitea alerting provider
- Introduce a new file for the gitea alerting provider implementation
- Implement the AlertProvider struct with necessary fields for gitea integration
- Add validation logic for the AlertProvider configuration
- Create tests for the AlertProvider's validation and sending functionality
- Update go.mod to include the gitea SDK as a dependency
- Modify the alerting configuration validation to recognize TypeGitea

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* chore: integrate Gitea alerting provider configuration

- Add Gitea alerting provider import to the configuration file
- Update the comment for the RepositoryURL field to reflect Gitea instead of GitHub

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* feat: add Assignees support to AlertProvider functionality

- Add a field for Assignees to the AlertProvider struct
- Update the Send function to include Assignees in the alert payload

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* feat: implement Gitea alerting configuration and documentation

- Add a new image asset for Gitea alerts
- Update the README to include configuration details for Gitea alerts
- Introduce parameters for Gitea alerting, including repository URL and personal access token
- Document the behavior of the Gitea alerting provider regarding issue creation and resolution
- Include an example YAML configuration for Gitea alerts

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* Update README.md

Co-authored-by: TwiN <twin@linux.com>

* Update README.md

Co-authored-by: TwiN <twin@linux.com>

* Update README.md

Co-authored-by: TwiN <twin@linux.com>

* feat: refactor AlertProvider for improved client configuration

- Add import for the Gatus client library
- Remove the SkipVerify field from the AlertProvider struct
- Introduce ClientConfig field in the AlertProvider struct for client configuration
- Update validation logic to check for ClientConfig instead of SkipVerify

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* Update README.md

Co-authored-by: TwiN <twin@linux.com>

* chore: update configuration for Gitea integration

- Change references from GitHub to Gitea in the configuration section
- Update alerting provider descriptions to reflect the correct platform
- Swap the order of GitHub and Gitea configurations
- Replace Gitea alert image with GitHub alert image
- Adjust the type field from gitea to github in the relevant sections

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix: ensure ClientConfig is validated and defaults set

- Add a check for nil ClientConfig in the IsValid function
- Set ClientConfig to a default configuration if it is nil

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-authored-by: TwiN <twin@linux.com>
2024-08-21 17:51:45 -04:00
..
dashboard-conditions.png Add more images to README.md 2021-11-17 21:47:38 -05:00
dashboard-dark.png branding: Update logo 2022-01-02 21:14:01 -05:00
endpoint-groups.png Rename Service to Endpoint (#192) 2021-10-23 16:47:12 -04:00
example.png Add more images to README.md 2021-11-17 21:47:38 -05:00
gatus-diagram.drawio docs: Update Gatus diagram 2022-12-06 23:03:27 -05:00
gatus-diagram.jpg docs: Update Gatus diagram 2022-12-06 23:03:27 -05:00
gitea-alerts.png feat(alerting): implement Gitea alerting provider (#842) 2024-08-21 17:51:45 -04:00
github-alerts.png feat(alerting): Implement GitHub alerting provider 2022-12-15 23:38:44 -05:00
gitlab-alerts.png feat(alerting): Add GitLab alerting provider (#485) 2023-05-30 21:57:15 -04:00
gotify-alerts.png feat(alerting): Add gotify provider (#605) 2023-11-03 18:21:52 -04:00
grafana-dashboard.png docs(metrics): Update Grafana/Prometheus example 2022-06-18 12:42:41 -04:00
jetbrains-space-alerts.png feat(alerting): add alerting support for jetbrains space (#713) 2024-03-28 18:36:22 -04:00
logo-with-dark-text.png branding: Update logo 2022-01-02 21:14:01 -05:00
logo.png branding: Update logo 2022-01-02 21:14:01 -05:00
mattermost-alerts.png docs: Update screenshot of Mattermost alerts 2022-10-20 20:23:10 -04:00
pagerduty-integration-key.png Add PagerDuty integration guide 2020-09-17 23:13:00 -04:00
slack-alerts.png Support sending notifications when alert is resolved 2020-09-04 21:31:28 -04:00
teams-alerts.png Add teams alerting provider 2021-07-28 14:20:53 +02:00
telegram-alerts.png Add Telegram Alerting (#102) 2021-03-30 19:38:34 -04:00