Commit Graph

1129 Commits (f4ae61044888f591830e6c1be9a2bdb14f88943e)
 

Author SHA1 Message Date
Qais Patankar f4ae610448 Add .gitignore (#850) 5 years ago
Wim 601b8bc98d Update documentation and changelog 5 years ago
Joona Hoikkala 80b4cec87a Add an option to skip the Mattermost server version check (#849)
Adds SkipVersionCheck bool option for mattermost
5 years ago
Qais Patankar 76c7b69e4e Support bulk deletions (discord) 5 years ago
Wim a5bd3c4dda Bump version 5 years ago
Wim f06e9b5605 Release v1.15.0 5 years ago
Nick 7a3bb0e55c Verify TLS against JID domain, not the host. (xmpp) (#834)
Partially fixes #820.

A full fix requires patching https://github.com/matterbridge/go-xmpp to use DNS SRV records.
5 years ago
Wim 6e8f535e8b Fix logic (xmpp) 5 years ago
Wim 5619a75b05
Fix regression in autojoining with legacy tokens (slack). Fixes #651 (#848) 5 years ago
Wim 53dfb78215
Allow messages with timestamp (xmpp). Fixes #835 (#847) 5 years ago
Wim 8e97cbab1e Fix noisy whatsapp error logging 5 years ago
Wim ce7b749fd5 Update github.com/Rhymen/go-whatsapp vendor. Fixes #843 5 years ago
Wim 6617bd6609 Revert xmpp to orig behaviour. Closes #844 5 years ago
Wim e610fb3201 Make config parse errors readable 5 years ago
Wim 40f1d35415 Fix go mod issue by removing whatsapp-ext 5 years ago
Duco van Amstel b79bf7d414 Forward only user-typing messages if supported by protocol (#832)
Fixes issue #814.

This is a somewhat hacky way of achieving the required goal but it seems
like this is the least problematic way of getting there.

We might want to redesign some bridge information later such that we
have a standardised way of specifying what is and what isn't supported
by each chat protocol / bridge.
5 years ago
Duco van Amstel 3724cc3a15 Clean-up XMPP handling code (#831) 5 years ago
Wim 3418e8c9af
Use upstream whatsapp again (#809) 5 years ago
Duco van Amstel 9619dff334
Linter fixes 5 years ago
Wim 1b2feb19e5 Update channels of all teams (mattermost) 5 years ago
Wim 1829dc3d9f Allow messages from other bots (discord). Fixes #816 5 years ago
Wim bd0e81f5a0 Add msg event to tengo 5 years ago
Wim f04d360ee2 Update README with v1.14.4 5 years ago
Wim 92f27281fa Update changelog 5 years ago
Wim 65781b9316
Disable user lookups on delete messages (slack) (#812) 5 years ago
Duco van Amstel 9be0be0316 Add lacking clean-up in Slack synchronisation (#811) 5 years ago
Wim 9f5f004725 Use paging in initUser and UpdateUsers (mattermost) 5 years ago
Wim fed77cccf3 Handle unthreaded messages (mattermost). Fixes #803 5 years ago
Wim 9b520dfb78 Fix panic on nil message.Post (mattermost). Fixes #804 5 years ago
Wim 8ad2be10b2 Add Id to EditMessage (mattermost). Fixes #802 5 years ago
Wim 2d277a15f5
Add scripting (tengo) support for every outgoing message (#806)
Adds a new key OutMessage under [tengo] table, which specifies the location of the script that
will be invoked on each message being sent to a bridge and can be used to modify the Username
and the Text of that message.

The script will have the following global variables:
read-only:
inAccount, inProtocol, inChannel, inGateway
outAccount, outProtocol, outChannel, outGateway

read-write:
msgText, msgUsername

The script is reloaded on every message, so you can modify the script on the fly.

The default script in https://github.com/42wim/matterbridge/tree/master/internal/tengo/outmessage.tengo
is compiled in and will be executed if no script is specified.
5 years ago
Wim d60468bb05 Bump version 5 years ago
Wim 82d6210464 Update changelog 5 years ago
Wim ff198042d2 Remove deprecated TengoModifyMessage
This has become InMessage under [tengo]
5 years ago
chotaire 6b47e29583 Add verbose IRC joins/parts (ident@host) (#805)
New configuration setting: VerboseJoinPart (default is false)
5 years ago
Wim 380c38674c Fix deadlock on reconnect (irc). Closes #757 5 years ago
Wim 3c14a0891e Remove hipchat 5 years ago
Wim 8513a07416 Update README 5 years ago
Qais Patankar 220485a849 Add remotenickformat-zerowidth.tengo to contrib (#799) 5 years ago
Wim 4db34b0506 Send channel_created and deleted event through message channel (mattermost) 5 years ago
Wim 5677c912a8
Add useraction support (rocketchat). Closes #772 (#794) 5 years ago
Wim 7a24de15e4
Add tengo support to RemoteNickFormat (#793)
This commit add support for using the result of a tengo script in RemoteNickFormat using {TENGO}
Also adds a new toml table [tengo] with key RemoteNickFormat and value location of the script.
This also moves the TengoModifyMessage from [general] to Message in [tengo]

Documentation:

RemoteNickFormat allows you to specify the location of a tengo (https://github.com/d5/tengo/) script.
The script will have the following global variables:
to modify: result
to read: channel, bridge, gateway, protocol, nick

The result will be set in {TENGO} in the RemoteNickFormat key of every bridge where {TENGO} is specified
The script is reloaded on every message, so you can modify the script on the fly.
Example script can be found in https://github.com/42wim/matterbridge/tree/master/contrib/remotenickformat.tengo

[tengo]
RemoteNickFormat="remotenickformat.tengo"
5 years ago
Wim 99d9ea283a Build on every branch (travis) 5 years ago
Wim dac92a0e0a Add xmpp room to README. Closes #758 5 years ago
Wim a25efb16f3 Bump version 5 years ago
Wim e4d73b29a1 Release v1.14.2 5 years ago
Wim 8a875f292e Revert fix for #722. Closes #781
Revert "Fix typo"

This reverts commit dffd67eb31.

Revert "Handle quit message relay better on gateways with one channel on the irc bridge #722"

This reverts commit 240559581a.

Revert "Support quits from irc correctly. Fixes #722 (#724)"

This reverts commit d76a04bd0a.
5 years ago
Wim 60a85621ea Return when not connected and drop a message (irc). Fixes #786 5 years ago
Wim 115d20373c
Update tengo vendor and load the stdlib. Fixes #789 (#792) 5 years ago
Wim cdf33e5748 Use default nick if none specified (irc). Fixes #785 5 years ago