-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Mattermost: Add sending of attachments #3946
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! Can you please add a changelog fragment? I added some first review comments below.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
- text was still default -> changed to required_one_of text or attachments - Add version_added - Add changelog fragment for mattermost attachments Co-Authored-By: Felix Fontein <felix@fontein.de>
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. If nobody complains in, say, a week, I'll merge this.
Closing and re-opening to re-trigger CI. |
Backport to stable-4: 💚 backport PR created✅ Backport PR branch: Backported as #3972 🤖 @patchback |
@xobtoor thanks for your contribution! |
* Add sending of attachments * Change required arguments and add changelog - text was still default -> changed to required_one_of text or attachments - Add version_added - Add changelog fragment for mattermost attachments Co-Authored-By: Felix Fontein <felix@fontein.de> * Fix wrong indentation * Add trailing comma Co-authored-by: Felix Fontein <felix@fontein.de> * Remove default=None Co-authored-by: Felix Fontein <felix@fontein.de> * Fix sentence Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 87ae203)
* Add sending of attachments * Change required arguments and add changelog - text was still default -> changed to required_one_of text or attachments - Add version_added - Add changelog fragment for mattermost attachments Co-Authored-By: Felix Fontein <felix@fontein.de> * Fix wrong indentation * Add trailing comma Co-authored-by: Felix Fontein <felix@fontein.de> * Remove default=None Co-authored-by: Felix Fontein <felix@fontein.de> * Fix sentence Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 87ae203) Co-authored-by: xobtoor <313188+xobtoor@users.noreply.github.com>
SUMMARY
Add the functionality to send attachments in Mattermost.
Closes: #3944
ISSUE TYPE
COMPONENT NAME
mattermost
ADDITIONAL INFORMATION
I needed to remove the
required=True
at thetext
element and added additional documentation.