Commit Graph

37 Commits

Author SHA1 Message Date
Markus Helbig
2bd5742b17 powerautomate sends 202 when accepting content; MS doesn't support 1.5 via powerautomate (yet) 2024-10-13 15:14:16 +02:00
shaxiao
8335649a81 feat: Add dingtalk webhook notification medium 2024-09-26 14:28:51 +08:00
Denis Gukov
576344aa04
Merge pull request #1929 from tboerger/remove-lib-package
Get rid of lib package, use non-generic package names
2024-04-15 12:35:13 +05:00
Prakyath Raj
9a14ff6628 Fix author & version return values in alert 2024-04-13 15:36:11 +05:30
Thomas Boerger
d9d149fbc3
feat: move task logger into dedicated package 2024-04-12 12:32:54 +02:00
fiftin
cbccad0de0
fix(alerts): use dash instead of user name of it is cron task 2024-04-03 00:28:36 +02:00
fiftin
7f15af22b5 fix(slack): log messege for unsuccess sent 2024-04-02 14:16:34 +02:00
fiftin
a369bd772f feat: add emoji for all messengers 2024-03-23 20:55:33 +01:00
fiftin
8964689383 feat(notifications): add emoji to messages 2024-03-23 20:33:48 +01:00
Oussama Jarrousse
631da95ea9 Adding rocket.chat alerts support (similar to slack) 2024-03-15 18:30:15 +01:00
Oussama Jarrousse
a43c94f6e7 Revert "Adding rocket.chat alerts support (similar to slack)"
This reverts commit 2bb8114464.
2024-03-15 18:23:11 +01:00
Oussama Jarrousse
2bb8114464 Adding rocket.chat alerts support (similar to slack) 2024-03-15 18:20:54 +01:00
Thomas Boerger
dba0b8e35e
feat: add more logs to alerts and use same structure for teams alerts 2024-03-03 22:29:37 +01:00
Thomas Boerger
5c8b87620e
feat: refactoring of alerts and send correct email alerts
Previously the sent email alerts have been missing mandatory headers
like `Date` and it was also missing content type, content transfer
encoding and mime version. I have taken proper examples form the
unmaintained gomail library to build right emails.

Besides that I have refactored the calls for alerts, they git the same
structure now and it should be prepared to inject custom templates for
all altering methods at some later point. Generally it is prepared for a
more flexible alert handling.
2024-03-03 20:12:28 +01:00
Denis Gukov
ebb0c2c286
Merge pull request #1584 from robinmalik/develop
Add: Support for Microsoft Team Channel Alerts (via Adaptive Card webhook)
2024-03-02 18:35:11 +01:00
Thibault Ayanides
b932b96088
fix: slack color for failure 2024-02-19 21:55:18 +01:00
Robin Malik
dd15b7feae Remove localhost debugging line 2023-10-21 16:33:33 +01:00
Robin Malik
2c36d7e603 Update to use red image for indicating failure 2023-10-21 16:03:30 +01:00
Robin Malik
f9011986a0 Add empty final line in keeping with project code 2023-10-21 10:53:35 +01:00
Robin Malik
2abf648d9a Remove some debug logging 2023-10-21 10:51:30 +01:00
Robin Malik
da51613236 Add Adaptive Card template (not compressed) 2023-10-21 10:50:08 +01:00
Denis Gukov
b7c1eea8e6 fix: merge conflict 2023-09-23 17:54:46 +02:00
Denis Gukov
58850e9129 refactor: create package db_lib 2023-09-23 17:12:35 +02:00
Denis Gukov
c8a00ba1e4 fix(alerts): version instaed of build id 2023-09-19 23:34:51 +02:00
Denis Gukov
47f9c851e6 chore(alerts): use ERR instead of WARN 2023-09-19 23:14:21 +02:00
Denis Gukov
80cb157e52 fix(alerts): do not panic on error 2023-09-19 23:11:51 +02:00
Denis Gukov
d1b7ad021e
Runners (#1444)
* feat(runners): add register endpoint

* feat(runners): add remote runner

* refactor(runners): move functionality TaskRunner -> AnsibleJobRunner

* fix(runners): init job

* chore(runners): remote unused field

* feat(runners): use external logger from AnsibleJobRunner

* refactor(runners): remove status field

* refactor(runners): remove mutation from job

* feat(runners): pass username and verison to task

* test(runners): fix tests

* fix(runners): params for Run

* feat(runners): implement runner selection

* feat(runners): fill required fields

* fix(runners): session block

* feat(runners): kill process

* refactor(runners): rename fields to public

* feat(runners): remote runner functionallity

* refactor(runners): remove unused class

* fix(runners): send json

* feat(runners): runner registration

* feat(runners): logging

* feat(runners): server <-> running communication works

* feat(runners): pass creds to runenr
2023-08-29 00:51:04 +02:00
Daniel Torlop
ad30f8252c
fix: email alert 2023-06-21 22:16:26 +02:00
Denis Gukov
0dd190dbcf fix(be): email sending 2022-10-02 22:10:56 +05:00
Loïc Tosser
d86fb48b97 Improve slack messages 2022-04-19 16:32:03 +04:00
Loïc Tosser
d957c81789 Slack alerts 2022-04-19 10:51:13 +04:00
Loïc Tosser
e72a5a6ee6 Slack alerts 2022-04-11 12:29:48 +04:00
Denis Gukov
b127e054d8 feat(be): add max parallel tasks to project settings and ability to suppress success alerts for tasks 2022-02-14 16:52:28 +05:00
Denis Gukov
95e891cdd8 fix(be): bug with alert chat id https://github.com/ansible-semaphore/semaphore/issues/853 2022-02-03 23:35:32 +05:00
Denis Gukov
05dd7c5653 feat: remove soft delete functionality 2022-02-03 12:06:24 +05:00
Denis Gukov
88f4603028 refactor(be): extract git functionality to separate class 2022-01-30 16:22:18 +05:00
Denis Gukov
fa4e13a0f1 refactor(be): remove global vars of task pool and schedule pool 2022-01-29 23:14:36 +05:00