Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix webhook EventUserAction messages being skipped (discord) (#1133) | Qais Patankar | 2020-05-11 | 1 | -1/+1 |
| | | | Fixes #1132 | ||||
* | Fix #1049: missing space before embeds (discord) (#1124) | Qais Patankar | 2020-05-07 | 2 | -6/+6 |
| | |||||
* | Fix #1120: replaceAction "_" crash (discord) (#1121) | Qais Patankar | 2020-04-25 | 1 | -2/+3 |
| | |||||
* | Add an ID cache (discord). Fixes #1106 (#1111) | Wim | 2020-04-21 | 2 | -0/+43 |
| | | | | | | | | When a webhook "edits" a message, it does this by deleting the message and creating a new one with the new content. On creation of this new message, we'll get another ID then already is know by the gateway in its id cache. So we add it in our own cache and replace it whenever we want to edit/delete it again. | ||||
* | Don't transmit typing events from ourselves (slack/discord) (#1056) | Qais Patankar | 2020-03-22 | 2 | -0/+7 |
| | |||||
* | Strip extra info from emotes (discord) (#1052) | Qais Patankar | 2020-03-22 | 2 | -0/+8 |
| | |||||
* | Fix duplicate separator on empty description/url (discord). Fixes #1008 (#1035) | Wim | 2020-03-21 | 2 | -1/+89 |
| | | | | Make this work for all possible cases. Add tests | ||||
* | Fix #1027: warning when handling inbound webhooks (discord) (#1044) | Qais Patankar | 2020-03-18 | 1 | -3/+3 |
| | |||||
* | Refactor webhook permission checks | Qais Patankar | 2020-03-18 | 1 | -8/+10 |
| | |||||
* | Fix #1040: spotty webhook permission verification | Qais Patankar | 2020-03-18 | 1 | -3/+7 |
| | |||||
* | Remove replace directives and use own fork to make go get work again (#1028) | Wim | 2020-03-08 | 3 | -3/+3 |
| | | | | See https://github.com/golang/go/issues/30354 go get doesn't honor the go.mod replace options. | ||||
* | Add ability to procure avatars from the destination bridge (#1000) | Qais Patankar | 2020-02-09 | 1 | -0/+21 |
| | | | | | | | | | | | | * remote_avatar: add UseLocalAvatar * remote_avatar: make sure msg.Protocol is always set correctly * remote_avatars: support msg.Account * remote_avatar: add to matterbridge.toml.sample * remote_avatar: clarify something | ||||
* | Check only bridged channels for PermManageWebhooks (discord) (#1001) | Qais Patankar | 2020-02-08 | 1 | -4/+5 |
| | | | | | | * Check only bridged channels for PermManageWebhooks * add note | ||||
* | Show file comment in webhook if normal message is empty (discord). Fixes ↵ | Wim | 2020-02-02 | 1 | -0/+5 |
| | | | | #962 (#995) | ||||
* | Fix channel ID problem with multiple gateways (discord). Fixes #953 (#977) | Wim | 2020-01-09 | 3 | -19/+9 |
| | |||||
* | move stripCustomoji logic to default Tengo script (#973) | c0ncord2 | 2020-01-09 | 2 | -6/+0 |
| | | | | | | | | | | | | * move stripCustomoji logic to default Tengo script Removing the image ID from the message (without any possibility of recovering it later) is a loss of valuable data that prevents users from giving support to custom emoji via Tengo scripts. * bugfix - do send colors to other irc bridges "if we're not sending to an irc bridge we strip the IRC colors" Co-authored-by: c0ncord <59654954+c0ncord@users.noreply.github.com> | ||||
* | Update vendor (#932) | Wim | 2019-10-27 | 1 | -1/+4 |
| | | | | | | * Update vendor * Fix godiscord api change | ||||
* | Remove obsolete file upload links (discord). Fixes #908 (#931) | Wim | 2019-10-27 | 1 | -12/+0 |
| | | | | Since v1.16.0 we now can upload files via webhook. Old way of showing files with webhook only setup can be removed. | ||||
* | Add UserTypingSupport (discord) (#914) | Qais Patankar | 2019-10-04 | 2 | -0/+22 |
| | | | | | | | | * Add Discord to UserTypingSupport * discord: start typing in a channel on EventUserTyping receive * discord: emit EventUserTyping to gateway | ||||
* | Specify correct GuildID on unknown user query (discord). Fixes #879 (#894) | Wim | 2019-09-15 | 2 | -4/+4 |
| | |||||
* | Add extra debug info (discord) | Wim | 2019-09-05 | 1 | -1/+1 |
| | |||||
* | Add support for sending files via webhook (discord) (#872) | MOZGIII | 2019-08-29 | 2 | -36/+68 |
| | |||||
* | Fix regression (discord). Closes #864 (#866) | Wim | 2019-07-29 | 1 | -1/+1 |
| | |||||
* | Add support for discord category channels (discord) (#863) | Wim | 2019-07-15 | 2 | -23/+53 |
| | | | | | | | | | | | | | | This adds support for the discord category option that can be used to group channels in. This means we can have multiple channels with the same name. We add the option to specify a category in the channel option of a discord account under [[gateway]] Besides channel="channel" or channel="ID:channelID", now also channel="category/channel" can be specified. This change remains backwards compatible with people that haven't specified the category and incorporates the fix in #861 | ||||
* | Fix discord channel & category name clash. #860 (#861) | Qais Patankar | 2019-07-14 | 2 | -6/+24 |
| | |||||
* | Support webhook message deletions (discord) (#853) | Qais Patankar | 2019-07-08 | 2 | -3/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support webhook message deletions (discord) Messages sent via webhook can now be deleted. It seems it can do this without any special permissions. This copies discordgo.WebhookExecute and makes it support the returning of discordgo.Message. A pull request has been sent upstream, so we should use that if @bwmariin accepts the pull request: https://github.com/bwmarrin/discordgo/pull/663 Changes in behaviour (webhook mode only): - Previously messages *edited* on other platforms would just be retransmitted as a brand new message to Discord. - Message *edits* will now be ignored. - Debug: message edits will now print out a "permission error". In the future it may be good to send an "message edited" react to those webhook messages, so at least people know that the message was edited on other platforms. (Even though it can't actually show the new message.) Alternatively, message edits could just send a brand new message with a link back to the old one. This is a little ugly but it would ensure that Discord users are able to see the edited message. These "message edit notifications" would be sent from the bot user (not from a webhook), so we could edit the "edit notification" if subsequent edits to the original message are made. | ||||
* | Support bulk deletions (discord) | Qais Patankar | 2019-06-16 | 2 | -0/+22 |
| | |||||
* | Allow messages from other bots (discord). Fixes #816 | Wim | 2019-05-01 | 1 | -1/+1 |
| | |||||
* | Do not relay any bot messages (discord) (#743) | Wim | 2019-02-28 | 1 | -1/+1 |
| | |||||
* | Print errors as string instead of %#v (#738) | Wim | 2019-02-26 | 2 | -4/+4 |
| | |||||
* | Allow sending discriminator with Discord username (#726) | Declan Hoare | 2019-02-22 | 1 | -0/+3 |
| | |||||
* | Support join/leaves from discord. Closes #654 (#721) | Wim | 2019-02-17 | 2 | -0/+44 |
| | |||||
* | Make discord user token work correctly (discord) #689 | Wim | 2019-01-19 | 1 | -2/+2 |
| | |||||
* | Run go fmt | Wim | 2019-01-14 | 1 | -3/+3 |
| | |||||
* | Allow to bridge non-bot Discord users (discord) (#689) | Zomboy Alfrir | 2019-01-14 | 1 | -0/+5 |
| | | | | | | If you prefix a token with `User ` it'll treat is as a user token. Co-Authored-By: zomboy-alfrir <zomboy@dancodes.com.ar> | ||||
* | Use only one webhook if possible (discord) (#681) | James Nylen | 2019-01-09 | 1 | -8/+42 |
| | |||||
* | Add file comment to webhook messages (discord). Fixes #358 | Wim | 2019-01-07 | 1 | -1/+7 |
| | |||||
* | Improve error reporting on failure to join Discord. Fixes #672 (#680) | James Nylen | 2019-01-07 | 1 | -1/+15 |
| | |||||
* | Disable some unparam checks (discord) | Wim | 2018-12-07 | 1 | -3/+3 |
| | |||||
* | Split Discord bridge in multiple files (#632) | Duco van Amstel | 2018-12-07 | 4 | -257/+412 |
| | |||||
* | Fix regression on using server ID (discord). #619 #617 | Wim | 2018-11-28 | 1 | -1/+2 |
| | |||||
* | Limit discord username via webhook to 32 chars | Wim | 2018-11-23 | 1 | -0/+4 |
| | |||||
* | Fix golint linter issues and enable it in CI (#593) | Duco van Amstel | 2018-11-15 | 1 | -5/+5 |
| | |||||
* | Switch back go upstream bwmarrin/discordgo | Wim | 2018-11-13 | 1 | -1/+1 |
| | | | | Commit https://github.com/bwmarrin/discordgo/commit/ffa9956c9b41e8e2a10c26a254389854e016b006 got merged in. | ||||
* | Make gocritic linter happy | Wim | 2018-11-08 | 1 | -1/+1 |
| | |||||
* | Clean up various stuff (#508) | David Hill | 2018-11-07 | 1 | -4/+11 |
| | | | * various cleanups | ||||
* | Fix mentions cuttíng off all text after the mention (discord) (#506) | NikkyAI | 2018-09-29 | 1 | -1/+1 |
| | |||||
* | Let webhook also replace mentions (discord). Closes #502 | Wim | 2018-09-22 | 1 | -0/+1 |
| | |||||
* | Fix Discord mentions by populating the nickMemberMap at connect (#498) | NikkyAI | 2018-09-17 | 1 | -1/+19 |
| | |||||
* | Replace @... string with user mention if match found (discord) (#492). ↵ | Jerry Heiselman | 2018-09-12 | 1 | -0/+46 |
| | | | | | | Closes #460 * Added check for @-mention pattern and replacing it with a user with a matching Nick on incoming messages |