Commit Graph

353 Commits

Author SHA1 Message Date
Prasad Ghangal
bcd48cd8ca
Fix notification timestsamp in Discord (#442)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Bug fix Pull Request

##### SUMMARY

Use correct timestamp in Discord event notification 

Fixes #441 

##### Test plan

![image](https://user-images.githubusercontent.com/7098659/103475090-43be1880-4dd0-11eb-9a5c-2406d2d4f954.png)
2021-01-03 09:44:18 +00:00
Kuntal Majumder
24bdc7e46a
Cluster name for commands (#438)
##### ISSUE TYPE
 - Bug fix Pull Request

##### SUMMARY
Checks for the cluster name for the `commands list` command if passed.

Fixes #420 

![2020-12-10-115425_1920x1080_scrot](https://user-images.githubusercontent.com/12135951/101729661-97de2180-3ade-11eb-986b-123398a89a2e.png)
2020-12-13 14:11:57 +00:00
Kartik Moolya
5ad31edb4b
[ES] indices to be created with daywise timestamp (#430)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Feature Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->
Elasticsearch Indices will be created with timestamp suffix
<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->
2020-11-09 13:21:36 +00:00
sgandon
cb8ed93ae0
feat(slack): clean up empty cmd handling (#424)
##### ISSUE TYPE
 - Bug fix Pull Request

##### SUMMARY
The empty command `@BotKube` is managed in the executor.go file for having a identic behaviour on all intergrations but the Slack bot is handling it differently.
So I proposed a cleanup in this  PR.
2020-11-09 13:08:00 +00:00
sgandon
0ad0536512
feat(slack): add thread support (#423)
##### ISSUE TYPE
 - Feature Pull Request

##### SUMMARY
adding support for botkube to interact in slack threads
I did update the test bash script that would not run on my zsh shell on my mac.

I Also wanted to add some unit tests but the Slack test server does not support thread messages.

Fixes #422
2020-11-03 08:42:01 +00:00
Zadkiel
f5dce1ff6b
fix(charts): correct indentation for rbac rules (#356)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Bug fix Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->

Correctly indent RBAC rules. It was previously throwing an error when enabling both psp and rbac at the value level. 

<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->



<!--- Please list dependencies added with your change also -->

Fixes #325
2020-11-02 05:21:55 +00:00
Divya Rani
d8d86604a4
Validate error events are skipped when error event is not configured in test_config (#418)
Fixes part of #340
2020-10-30 10:21:10 +00:00
Divya Rani
d5b3d6c2cd
Added test case to validate error event (#410)
- Validates error events are skipped when the error event is not configured for a resource in test config.
- Validate that error events are skipped when an event occurs for a namespace which is not added in resource_config
Fixes part of #340
2020-10-26 04:53:34 +00:00
michizhou
c4531a21b2
Fix spelling and change case in comments and docs (#411)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Docs Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->
Corrected spelling mistakes in documentation comments, changed cases for references to BotKube for consistency across docs, and added code markdown to kubectl reference for consistency
<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->
2020-10-16 10:33:19 +00:00
Akanksha kumari
c4604a6312
added test for skip delete event when resources are not added in test_config (#405)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Bug fix Pull Request


##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->

<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->
Added skip delete event test case that should be skipped if event occurred for a resource which is not added in test configuration.
Modified AllowedEventKindsMap to removed the v1/services resource
<!--- Please list dependencies added with your change also -->

Fixes test case - Validate that delete events are skipped when an event occurs for a resource which is not added in resource_config of issue #354
2020-10-14 12:14:54 +00:00
Akanksha kumari
d3c0db048e
added testcase for skipping update event notification on invalid updateSettings (#403)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Bug fix Pull Request
##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->
Added skip update event test case that should be skipped if invalid Fields are provided in UpdateSettings test config.
<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->
<!--- Please list dependencies added with your change also -->
Fixes test case - Validate that update events are skipped when invalid fields are passed in updateSetting (e.g status.invalid for Pod) #341
2020-10-07 16:56:30 +00:00
manula thejan
3ff3612e4b
Added hyperlinks to communication platforms (#401)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 
 - Docs Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->
I added proper hyperlinks to slack, mattermost and microsoft teams
<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->
2020-10-06 16:23:08 +00:00
Akanksha kumari
1c70be3e7e
added a testcase for skipping delete event for namespace not configured (#400)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Bug fix Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->
Added skip delete event test case that should be skipped for namespaces which are not configured for delete event in test config.
Modified the resource configuration map AllowedEventKindsMap and removed delete event for namespace test.
<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->

Fixes test case - Validate that delete events are skipped when an event occurs for a namespace which is not configured  of issue #354
2020-10-06 05:15:58 +00:00
Sumit Kharche
39fa7499b8
Added badges and fixed punctuation (#387)
##### ISSUE TYPE
 - Docs Pull Request

##### SUMMARY
- Added license, slack & release badges
- added period at end of sentence

Fixes
- changed in README.md file
2020-10-06 05:03:28 +00:00
Aananth K
d051509535
Track only valid requests and responses (#404)
This Commit, 
- Adds Debug logs to slack and matter most bot to log the valid request sent to the bot and the corresponding responses generated.
- removes the logging to all events, to avoid capture of sensitive data.

##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Feature Pull Request
 - Bug fix Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->
Created this as a separate PR, as it not connected with Discord Integration.
added these features there as well.

<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->
2020-10-06 04:50:55 +00:00
Aananth K
ad9a738cdd
Add Discord support (#268)
#### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Feature Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->

**Add support for Discord:**

This PR,
- adds discord bot
- adds discord notifier
- adds required discord configurations into comm_config.yaml
- adds discordgo module into go.mod
- adds discord configs into all yaml files

<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->

Fixes #97 


### Steps For Creation and Integration:

1. Reach https://discordapp.com/developers/applications 

2. Create New Application named Botkube and add a bot named **Botkube** into the Application

3. Copy the Application **CLIENT ID** and place it under _Dischord.botid_ in comm-config.yaml

4. Copy Bot **TOKEN** and place it under _Dischord.token_ in comm-config.yaml
 
5. Generate the URL with suitable permissions using the OAuth2 URL Generator available under OAuth2 section to the add bot to your Discord server
```
https://discordapp.com/oauth2/authorize?&client_id=<YOUR_CLIENT_ID>&scope=bot&permissions=<SET_OF_PERMISSIONS>
```
6. Paste the generated URL in a new tab, select the discord sever to which you want to add the bot and Authorise Bot addition.
7. Create a new channel and/or copy the  **CHANNEL ID** of an existing one that you want to use and place it under _Dischord.channel_

```yaml
  # Settings for Discord
  discord:
    enabled: true
    token: 'DISCORD_TOKEN'	    # BotKube Bot Token 
    botid: 'DISCORD_BOT_ID'         # BotKube Application Client ID 
    channel: 'DISCORD_CHANNEL_ID'   # Discord Channel id for receiving BotKube alerts 
    notiftype: short                # Change notification type short/long you want to receive. notiftype is optional and Default notification type is short (if not specified)
```

####  Note: Follow the first 4 mins of this [Video Tutorial](https://youtu.be/8o25pRbXdFw) to understand the process visually.

### Preview:

![ping](https://user-images.githubusercontent.com/30741615/80600577-3931cf00-8a4a-11ea-9215-a725a0b17256.png)
![pod-create-short](https://user-images.githubusercontent.com/30741615/80600638-55357080-8a4a-11ea-976f-b91e823c93bd.png)
![pod-error-long](https://user-images.githubusercontent.com/30741615/80600803-8dd54a00-8a4a-11ea-90e4-a205e93aba5f.png)
![file-attachment](https://user-images.githubusercontent.com/30741615/80600724-75fdc600-8a4a-11ea-9b10-1b5ac0e79548.png)
2020-10-06 04:37:49 +00:00
snehalbiju12
59070faaf4
Update CONTRIBUTING.md (#391)
Inserting 'the' before required in line 15.
Inserting 'the' before build in line 113

##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Feature Pull Request
 - Bug fix Pull Request
 - Docs Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->

<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->

Fixes #XXX
2020-10-05 07:09:23 +00:00
Sanket Sudake
5974581b13
Codespell action for BotKube (#394)
This commit adds GitHub action which checks for common misspellings across repository.
2020-10-05 12:26:10 +05:30
Divya Rani
b78d072f98
Added test case to validate delete event (#399)
Adds test case - Validate delete events are handled with only events: [delete] config for a resource.
Fixes part of #354
2020-10-05 06:38:08 +00:00
Abhishek Sharma
af6a000dca
adding option to create and destroy kind clusters (#365)
##### ISSUE TYPE
 - Feature Pull Request

##### SUMMARY
Created a script to create and destroy KIND clusters which can be used to execute test and CD jobs. Added make targets for those and default make help.

Fixes #320
2020-10-05 04:23:36 +00:00
Aananth K
b087f94804
Bug Fix e2e tests (#389)
This Commit, 
- Fixes build failure due to e2e tests

##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Bug fix Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->

<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->

Fixes #384
2020-10-05 04:11:09 +00:00
Jirka Kremser
86d2572e56
Add a support for ignoring the events from a namespace that matches regexp (#386)
Fixes issue #295

##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Feature Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->
This change allows to ignore whole sets of namespaces using the asterix expansion. It still does the exact match check for all the namespaces (separated by comma in config), but if it contains a `*`, it's actually replaced with `.*` and passed to `regexp.MatchString` to do the job.

PR also contains couple of very simple test cases.

<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->
deps:
`namespace_checker.go` now imports also `regexp`

Fixes #295

It's my very first golang code, so please let me know if it's not idiomatic go 🍪
2020-10-02 16:07:09 +00:00
John Bampton
741eca75ea
Fix spelling (#385)
##### ISSUE TYPE

 - Docs Pull Request
2020-10-01 16:52:57 +00:00
Anoop
d92ca25de1
Add tests for kubectl command on forbidden verbs and resources (#374)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Bug fix Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->
Added a e2e test kubectl command with forbidden verb and forbidden resource. Another one for kubctl command with allowed verb and forbidden resource
<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->

Fixes #350
2020-10-01 14:21:50 +00:00
atharwa_24
acf5d0768c
[Documentation]Add repo licence info and badge (#360)
ISSUE TYPE
- Docs Pull Request

SUMMARY

Add Licence reference badge in README
Add licence related info in README

##### ISSUE TYPE

 - Docs Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->
Add Licence reference badge in README for getting visible at first glance
Add licence related info in README

<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->
2020-10-01 13:58:42 +00:00
Binit Ghimire
76c8df335c
Update README.md! (#371)
Signed-off-by: Binit Ghimire <thebinitghimire@gmail.com>

##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Docs Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->
I resolved a grammatical mistake in **Line 15** of the documentation.
<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->

Fixes #353
2020-10-01 13:39:06 +00:00
Akanksha kumari
9a6bc5781b
added testcases for skip delete event for resources not configured (#377)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Bug fix Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->
Added skip delete event test case that should be skipped for resources which are not configured for delete event in test config.
Modified the resource configuration map AllowedEventKindsMap and removed delete event for pod.
<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->

Fixes test case - Validate delete events are skipped when delete event is not configured for a resources in test config. e.g events: [create, update, error] of issue #354
2020-10-01 13:16:16 +00:00
Akanksha kumari
bc983c3aac
e2e Test coverage for update event (#351)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Bug fix Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->
Added tests for Update Events, here added a pod and then updated its specifications to verify the updated message in the generated event. Also, the diff method is verified for the updated change

<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->
Modification : Changed resource_config.yaml for Integration Testing, Added update Event for POD
Fixes part of #341
2020-10-01 06:30:50 +00:00
Vishal Kichloo
98fbfe2177
Update README.md (#359)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Docs Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->

<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->

Fixes #353
2020-10-01 06:03:37 +00:00
NEERAJ ADITYANANTH POLAMPALLI
0cdf8758a7
Update mattermost-support.md (#361)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 
 - Typo fix Pull Request


##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->fixed a typo
2020-10-01 05:56:18 +00:00
Parikshit Hooda
3e04e7ed62
Update README.md - fix typo (#358)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->

 - Bug fix Pull Request


##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->
Fixed spelling of word 'communication'. Changed **commucation** to **communication**.

<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->

Fixes #357
2020-09-30 17:00:24 +00:00
prasadlingawar
c8355eb1de
Update README.md
Updating the ReadMe with Hacktoberfest announcement.
2020-09-30 12:38:46 +05:30
Prasad Ghangal
8e54ab1651 Release v0.11.0 2020-09-29 20:29:19 +05:30
Prasad Ghangal
e966d971a4
Add helm chart README (#347)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Docs Pull Request
2020-09-28 07:20:24 +00:00
Prasad Ghangal
4c2a19489f
Fix installation steps in CONTRIBUTING.md (#348)
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>

##### ISSUE TYPE

 - Docs Pull Request
2020-09-28 05:05:01 +00:00
Prasad Ghangal
bf6f4d5e9c
Update all-in-one deploy yamls for Teams support (#346)
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>

##### ISSUE TYPE

 - Docs Pull Request

##### SUMMARY

- Update all-in-one yamls for Teams support
- Add sample res config for custom resources
2020-09-26 14:19:40 +00:00
Prasad Ghangal
075e92d6a5
Fix for missing update diff for first update event (#345)
##### ISSUE TYPE

 - Bug fix Pull Request

##### SUMMARY

Jsonpath eval fails if fields are not set in old obj by the time event issued. Ignore error in that case and continue message construction
2020-09-26 14:07:52 +00:00
Prasad Ghangal
cf0e6a66f1
Update BotKube architecture diagram (#344)
##### ISSUE TYPE

 - Docs Pull Request

##### SUMMARY

Update BotKube architecture diagram to -
- differentiate comm medium types
- include MS Teams icon
2020-09-24 05:28:04 +00:00
Prasad Ghangal
f4994f1305
Fix update and error event skip issue (#343)
##### ISSUE TYPE
 - Feature Pull Request

##### SUMMARY

- Fix Allowed maps checks
- Update diff calculation logic

Fixes #339 #342
2020-09-21 05:47:18 +00:00
Rahul M Chheda
87b7480a5a
(fix) Validate Resource before enabling an Informer against it. (#335)
Signed-off-by: Rahul M Chheda <rchheda@infracloud.io>

##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Bug fix Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->

<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->

Fixes #333
2020-09-14 09:11:44 +00:00
Prasad Ghangal
8f95320ab8
Add e2e test for Custom Resource support (#338)
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>

##### ISSUE TYPE
 - Feature Pull Request

##### SUMMARY

- Add e2e test for Custom Resource support
- Refactor test package

Fixes #334
2020-09-13 05:21:59 +00:00
Akanksha kumari
a64b24d8b6
Initialized the DiscoveryClient Variable (#337)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Bug fix Pull Request

##### SUMMARY
Fixes #336
2020-09-10 11:00:07 +00:00
Prasad Ghangal
085bd73dbf
Update resource in deployment manifests with G/V/R format (#332)
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>

##### ISSUE TYPE

 - Bug fix Pull Request

##### SUMMARY

Update resource in deployment manifests with G/V/R format

Fixes #331
2020-09-07 17:28:55 +00:00
Rahul M Chheda
c326015ec0
(feat.) creation of SharedInformer from Dynamic ClientSet (#253)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Feature Pull Request
 - Bug fix Pull Request
 - Docs Pull Request

Feature Pull Request

##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->
    - Added creation of Dynamic ClientSet
    - Replaced the current k8s resources to DynamicInformer
    - Added logic to create metav1.ObjectMeta/ metav1.TypeMeta from obj interface{}
    - Added GKE auth pkg
    - Modified fns to get ObjectMeta, and ObjectTypeMeta
    - Added function to create *coreV1.Event from the obj interface{}
    - Improved switch case for event.New()
    - Added for loop to create informer
    - Changed Name for fn GetAnnotaion to GetAnnotationFromEvent
    - Changed Parsing Logic for GCR (using '/')
    - Added logic in FilterEngine, to get the appropriate data
    - Full deprecate kubeClient init
    - Added logic to fetch resources from DynamicKubeClient
    - Added a fn to transform a object form ibj interface{}
    - Added REST Mapper to map all resources present on the cluster
    - Declared this REST Mapper as global for further use
    - Removed logic to filter out the Kubernetes resources according to Involved Object kind
    - Removed constants from utils.go

In the latest commit:
    - To pass the e2e tests, just replaced all kubernetes resources informer, with dynamic informer.
    - Unable to pass the e2e test suite (will paste the error in the comments.)
<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
PR comment; and describe briefly what the change does.
-->

<!--- Please list dependencies added with your change also -->

Fixes https://github.com/infracloudio/botkube/issues/200
2020-09-07 03:42:32 +00:00
Anatoli Iariomenco
d33bd0cfa6
Add missing resources to the deployment.yaml (#330)
##### ISSUE TYPE
 - Bug fix Pull Request

##### SUMMARY
Adds missing `resources` section to the deployment manifest. 
Fixes #313
2020-09-04 17:07:51 +00:00
Girish Talekar
ae980c7f74
Added '@Botkube commands list' to show all the supported kubectl cmds (#328)
##### ISSUE TYPE
 - Feature Pull Request

##### SUMMARY
Added new botkube command to list all the supported commands, @botkube commands list

Below are the changes
made changes in executor.go to handle newly added command  
added common method in utils.go to format the allowed commands  

Fixes https://github.com/infracloudio/botkube/issues/312
2020-09-02 04:52:14 +00:00
Deniz Hornig
e94e9142b7
Fix crash on empty command in mattermost integration (#326)
##### ISSUE TYPE
 - Bug fix Pull Request

##### SUMMARY
This should fix panic on empty command. 
Bot will send the default message for the executor Platform (in my case its mattermost)

##### What did you do?
Sent empty command to botkube via mattermost (type @botkube)
##### What did you expect to see?

> Command not supported. Please run /botkubehelp to see supported commands.

or at least nothing 

##### What did you see? 
`panic: runtime error: index out of range [0] with length 0
goroutine 28 [running]:
github.com/infracloudio/botkube/pkg/execute.(*DefaultExecutor).Execute(0xc000a11020, 0x0, 0x0)
        go/src/github.com/gohumble/botkube/pkg/execute/executor.go:191 +0xe13
github.com/infracloudio/botkube/pkg/bot.(*mattermostMessage).handleMessage(0xc000b75de8, 0xc0003d1940, 0x1a, 0xc00046b7c0, 0x5, 0xc00046b7cc, 0x4, 0xc00046b120, 0xd, 0x1, ...)
        go/src/github.com/gohumble/botkube/pkg/bot/mattermost.go:154 +0x54e
github.com/infracloudio/botkube/pkg/bot.MMBot.listen(0xc0003d1940, 0x1a, 0xc00046b7c0, 0x5, 0xc00046b7cc, 0x4, 0xc00046b120, 0xd, 0x1, 0xc0003d1880, ...)
        go/src/github.com/gohumble/botkube/pkg/bot/mattermost.go:253 +0x4d1
github.com/infracloudio/botkube/pkg/bot.(*MMBot).Start.func1(0xc00058f4d0)
        go/src/github.com/gohumble/botkube/pkg/bot/mattermost.go:125 +0x2c7
created by github.com/infracloudio/botkube/pkg/bot.(*MMBot).Start
        src/github.com/gohumble/botkube/pkg/bot/mattermost.go:113 +0x712
Exiting.`
2020-08-19 10:47:50 +00:00
Prasad Ghangal
c6db9526a3
Add MS Teams support (#242)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Feature Pull Request


##### SUMMARY

- Add support for Microsoft Teams
- Multicluster support not available yet for Teams

Integration tests will be addressed with a separate issue. Blocked by https://github.com/infracloudio/msbotbuilder-go/issues/46

Fixes #60
2020-08-11 06:12:09 +00:00
Prasad Ghangal
5e3ffc865b
Add BotKube icons for reference (#316)
Add BotKube icon images for marketing, Bot creation reference
2020-07-27 12:38:50 +00:00
Prasad Ghangal
b887214b6c
Refactor notifier to use Bot interface to send notifications (#309)
##### ISSUE TYPE

 - Feature Pull Request

##### SUMMARY

In the notifier, we send events by creating a new connection to the communication medium on every new event. We can reduce the number of connections by sending messages via the Bot interface.

Fixes #270
2020-07-13 12:06:27 +00:00