Commit Graph

21 Commits (0.20.0)

Author SHA1 Message Date
Benjamin Moermans e44b27a563 Fix slack bot to use the new socket API.
The bot can now send interactive message for approval requests as well
as react to bot mention event.
The bot will try to update the interactive message when possible.
2024-07-31 21:22:05 +02:00
Blake Barnett e57f78d0dc Update to slack-go/slack v0.12.2
- Uses events rather than a select loop
- Removes the HTTP API usage
- Makes approvals work
- Still requires a legacy bot token
2023-06-27 16:25:32 -07:00
Neil Toledo e7a130d589 ran through gofmt; removed uneccessary comments; cleaned prometheus test 2020-06-12 16:14:11 -07:00
Dawson Mortenson 3d344c7ba5 clean up 2019-10-10 21:14:23 -07:00
Dawson Mortenson c378dd1121 enable the bot to post a message in slack with its profile image 2019-10-10 07:40:04 -07:00
Karolis 3739109082 update test utils 2019-07-07 15:27:47 +01:00
Karolis Rusenas 595e9637a9 cleanup 2019-06-02 11:13:33 +01:00
Karolis Rusenas e4f08c525c #381 upload longer messages as files 2019-04-27 10:54:58 +01:00
Karolis Rusenas 9558a08b61 fixed tests 2019-04-27 00:33:20 +01:00
Karolis Rusenas fc81c9afb9 fixing implementation 2019-04-26 23:48:12 +01:00
Karolis Rusenas cf6f442106 trim prefix if supplied 2019-04-16 22:51:27 +01:00
efiguti df80196e54
reduce Getenv calls 2019-03-01 00:05:22 +02:00
Karolis Rusenas b6175ddb00 no need to show debug messages 2018-08-29 23:40:03 +01:00
Karolis Rusenas 2c80a7422b showing version on messages 2018-06-20 00:06:38 +01:00
Karolis Rusenas 6ac124dc93 checking private channels (groups) for approval channel 2018-06-03 12:20:52 +01:00
Karolis Rusenas 43f75f9fec migrating to godep, updating logrus 2018-03-03 11:32:00 +00:00
Igor Komlew 0e4762b3e5 approval bot refactoring 2018-01-02 15:41:30 +01:00
Igor Komlew cadfdf2bbc move some duplicated approvals code to the base bot package 2017-12-21 18:17:04 +01:00
Igor Komlew 798c3dcc84 list approvals, deployments, show help message for hipchat 2017-12-21 14:20:50 +01:00
Igor Komlew 96b6ed9393 refactoring for approval bot 2017-12-20 11:54:15 +01:00
Igor Komlew 5c9558bbaf move slack related bot code to a sub module 2017-12-15 17:41:21 +01:00