Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add MatterMost remote #508

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JamesMConroy
Copy link

@JamesMConroy JamesMConroy commented May 3, 2024

Proposed change

Adds a basic mattermost remote to handle receiving webhook events and posting messages with the API.

Should resolve #97

Types of changes

What types of changes is this pull request introducing to flottbot? Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

You can fill this out after creating your PR. Put an x in the boxes that apply

  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Testing

To test I used the docker image and add user script from the MM bot example repo https://github.com/mattermost-community/mattermost-bot-sample-golang

Adds a basic mattermost remote to handle recieving webhook events and
posting messages with the API.
@wass3rw3rk
Copy link
Member

thanks for the PR and apologies for the delay, i will give it a look in the coming days. also, looking to test it on a real or fake mattermost instance

@JamesMConroy
Copy link
Author

No worries @wass3rw3rk stuff happens and I've had PRs sit idle for longer.

This did work with that local mattermost development container, but it didn't work with my company's MatterMost.

We use the version packaged with Gitlab Omnibus and it's a pain to test against because it is in a sandbox environment.

I don't know if it is our configuration or an issue with how I'm using the websocket library, but I would get a panic when trying to connect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Mattermost as a remote?
2 participants