Commit Graph

1240 Commits

Author SHA1 Message Date
Wim b9354de8fd Clean up go.mod and vendor 2020-01-09 18:21:10 +01:00
Guillaume Lazzara c9d5f4c898 Add support for WhatsApp media (jpeg/png/gif) bridging (#974)
* Whatsapp image bridging

* Prevent double message in telegram when media with caption received

Co-authored-by: imShara <shara@protonmail.com>
2020-01-09 18:14:01 +01:00
c0ncord2 810c150781 move stripCustomoji logic to default Tengo script (#973)
*  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>
2020-01-09 18:02:53 +01:00
Wim 31dd538c0b Add extra mimetypes to docker image. Fixes #969 2020-01-07 23:34:11 +01:00
Justin W. Flory 62e38e7c45 Add link to Ansible role for Matterbridge (#968)
This commit replaces the FOSSRIT/infrastructure link to the Matterbridge
role to a properly-defined Ansible role published in Ansible Galaxy. I
am the maintainer of the FOSSRIT/infrastructure repo and I decided to
split the Ansible role there into its own dedicated role. I figure this
might make it more accessible to others and also gives other folks a
chance to contribute. 😄

Signed-off-by: Justin W. Flory <git@jwf.io>
2020-01-01 21:38:26 +01:00
Wim b9da28a29b Bump version 2019-12-16 00:01:00 +01:00
Wim 84bfa8a6b1 Release v1.16.3 2019-12-15 23:54:21 +01:00
Wim 1f830963f6
Return when we have only WebhookURL (mattermost). Fixes #954 (#960) 2019-12-15 23:49:17 +01:00
Wim 12d2c6fe89
Update slack vendor to fix regression (#959) 2019-12-08 21:05:02 +01:00
Wim f43faf15f8
Update slack vendor to master (#958) 2019-12-07 22:54:36 +01:00
Wim 173a38a374 Bump version 2019-11-26 00:18:00 +01:00
Qais Patankar 1604ff15b5 Re-add binary to .gitignore (#951)
* Fix binary path and include windows
2019-11-26 00:16:40 +01:00
Wim 214fe502cd Release v1.16.2 2019-11-17 23:25:08 +01:00
Wim aae45a8179
Upgrade linter and travis to go1.13 (#949) 2019-11-17 23:16:06 +01:00
Wim 075ca9ca47
Switch to new emoji library kyokomi/emoji (#948) 2019-11-17 23:01:03 +01:00
Wim d4253d7a55
Update shazow/ssh-chat dependency (#947) 2019-11-17 21:42:41 +01:00
Benjamin 0917dc8766 Update markdown parsing library to github.com/gomarkdown/markdown (#944) 2019-11-17 21:18:01 +01:00
Wim aba86855b5
Use own slack fork to fix #937 (#943) 2019-11-14 00:04:39 +01:00
Wim ed5386c213 Add MatterAMXX link 2019-11-04 23:20:44 +01:00
Wim 455e75e92f Bump version 2019-11-01 22:32:39 +01:00
Gonçalo Ribeiro c394de0c88 Add support for receiving attachments (keybase) (#923) 2019-11-01 22:29:52 +01:00
Wim bad1990173 Release v1.16.1 2019-10-27 01:49:41 +02:00
Wim 0bc159341d
Update vendor (#932)
* Update vendor

* Fix godiscord api change
2019-10-27 01:45:57 +02:00
Wim 45bf1fd63a
Convert slack bold/strike to correct markdown (slack). Fixes #918 (#930) 2019-10-27 01:10:59 +02:00
Wim ff0de85817
Remove obsolete file upload links (discord). Fixes #908 (#931)
Since v1.16.0 we now can upload files via webhook.
Old way of showing files with webhook only setup can be removed.
2019-10-27 01:10:43 +02:00
Wim 727fa9f929
Add support for uploading application/x and audio/x (matrix). Fixes #925 (#929) 2019-10-27 00:06:44 +02:00
Wim 0b9bc18236
Update vendor matterbridge/gomatrix fork (#928) 2019-10-26 23:31:44 +02:00
Wim bad3b83d33
Update golang-commonmark/linkify vendor and use upstream again. Fixes #924 (#926) 2019-10-26 22:08:02 +02:00
Wim 00967a98ac
Fix panic on WebhookURL only setting (mattermost). Closes #916 (#917) 2019-10-04 01:01:24 +02:00
Qais Patankar 1d708ab351 Suppress unhandled HelloEvent message (slack) (#913) 2019-10-04 00:19:50 +02:00
Qais Patankar ba6759010b Add UserTypingSupport (discord) (#914)
* Add Discord to UserTypingSupport

* discord: start typing in a channel on EventUserTyping receive

* discord: emit EventUserTyping to gateway
2019-10-04 00:18:56 +02:00
Wim da3868c104 Try to fix blackfriday go modules mess 2019-09-22 00:34:37 +02:00
Wim 0abf4d5d5d
Specify correct GuildID on unknown user query (discord). Fixes #879 (#894) 2019-09-15 20:25:42 +02:00
Michal Suchánek 9b320cd43f Add token support (RocketChat) (#892)
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
2019-09-13 23:41:02 +02:00
Wim 28783a4146
Do configuration validation on start-up. Fixes #888 (#889)
Fail if:
* we don't have any gateways configured
* we have gateways configured but with non-existing bridge configuration
* we have gateways configured without any configuration
2019-09-09 23:48:00 +02:00
Wim f92927eae5 Fix deprecation in goreleaser 2019-09-07 23:37:49 +02:00
Wim 294139ce7a Bump version and fix changelog 2019-09-07 23:30:17 +02:00
Wim 45becd2573 Release v1.16.0 2019-09-07 23:17:55 +02:00
Wim a3bee01e0a
Update dependencies (#886) 2019-09-07 22:46:58 +02:00
David Buckley 1dc93ec4f0 Make getChannelIdTeam behave like GetChannelId for groups (mattermost) (#873)
GetChannelId will support names generated from query groups when a team is not set,
but not when a team is set since it falls through to getChannelIdTeam which has a different inner loop. i
This pull makes the two implementations do the same thing.
2019-09-07 21:39:44 +02:00
Wim 3562d4220c
Bail if incorrect Jid (xmpp). Fixes #869 (#883) 2019-09-07 21:36:25 +02:00
Wim 1532f6e427
Update lrstanley/girc vendor (#884) 2019-09-07 21:35:45 +02:00
Wim 9327810bbf Add tengo example for nick color filter. See #881 2019-09-07 20:01:54 +02:00
Wim f66d5f1e58 Add extra debug info (discord) 2019-09-05 22:39:43 +02:00
MOZGIII cec086994e Add support for sending files via webhook (discord) (#872) 2019-08-29 00:13:10 +02:00
Wim 942d8f1ced
Create .fixmie.yml 2019-08-26 23:49:06 +02:00
Wim 1552dcb143
Replace bwmarrin/discordgo with matterbridge/discordgo (#878)
Needed for #872
2019-08-26 23:47:50 +02:00
Wim d525f1c9e4
Update Rhymen/go-whatsapp vendor (#876) 2019-08-26 23:22:34 +02:00
cori hudson 921f2dfcdf Add initial Keybase Chat support (#877)
* initial work on native keybase bridging

* Hopefully make a functional keybase bridge

* add keybase to bridgemap

* send to right channel, try to figure out received msgs

* add account and userid

* i am a Dam Fool

* Fix formatting for messages, handle /me

* update vendors, ran golint and goimports

* move handlers to handlers.go, clean up unused config options

* add sample config, fix inconsistent remote nick handling

* Update readme with keybase links

* Resolve fixmie errors

* Error -> Errorf

* fix linting errors in go.mod and go.sum

* explicitly join channels, ignore messages from non-specified channels

* check that team names match before bridging message
2019-08-26 21:00:31 +02:00
Wim 79a006c8de
Fix regression (discord). Closes #864 (#866) 2019-07-29 23:37:38 +02:00