24a28054565b40770250abe55d1771721ed4da56
* PLT-2058 Debugging incoming web hook content This change debugs contents of incoming webhooks using l4g. The problem is that in order to debug the request body, it neads to be read. And a Reader can only be read once. Hence, the body is only read for Debugging if it is actually enabled. Furthermore, a new reader is created from the content of the old reader in order for the rest of the method to work as usual (with or without debugging). The debug statement is wrapped in a closure, so that the content is only copied if Debug is actually enabled. It is not possible to return `(string, string)` from the closure to `l4g.Debug()`. That is the reason the debugging is not done with `=%v`, but the translations strings end with a space. I tested the change with a `application/json` HTTP header as well as `payload=` The debug method is extracted into util/log.go in order to be re-usable for debugging `io.Reader` * Added a config flag to turn off incoming webhook debugging Setting `EnableWebhookDebugging` to false in the `config.json` will disable the printing of the content of incoming webhooks to the console * Defaulting webhook debugging to true * Added the setting of debugging incoming webhooks to the system console
PLT-2559 Always return successful when trying to join a channel that the user is already a member of (#3265)
Mattermost
Mattermost Team Edition is an open source, self-hosted Slack-alternative.
It's written in Golang and React and runs as a single Linux binary with either MySQL or Postgres. Every month on the 16th a new compiled version is released under an MIT license.
- See product documentation for full details.
- Learn more about the project at https://mattermost.org.
- Download now from https://mattermost.org/download.
Get Started:
- Preview Mattermost - If you use Docker, try a single-line install.
- Developer Machine Set Up - See http://docs.mattermost.com/developer/developer-setup.html
- View All Install Guides - See http://www.mattermost.org/installation/
Get Involved:
- Contribute Code - View our Code Contribution Guidelines and find open tickets accepting pull requests
- Discuss Contributions - Join our Developer Discussion for contributors on the nightly builds server
- File Bugs - Search for existing bugs and file a GitHub issue if your bug is new
- Share Feature Ideas - Add a feature idea to be discussed or upvoted
- Get Troubleshooting Help - Search articles and add a topic if the issue is new
Learn More:
- API Options - Understand API options via webhooks, slash commands, drivers and RESTful Web Service.
- Localization Guide - Learn how Mattermost supports different languages.
Get the Latest News:
- Twitter - Follow MattermostHQ on Twitter for the latest updates.
- Email - Subscribe to our newsletter for announcements (1 or 2 per month).
- IRC - Connect with us on IRC Freenode at #matterbridge (thanks to the matterircd project).
Any other questions, mail us at info@mattermost.com. We’d love to meet you!
Описание
Languages
TypeScript
47%
Go
40.2%
JavaScript
8.6%
SCSS
2.8%
HTML
1.1%
Разное
0.2%