Commit Graph

1257 Commits (0df253964123537b91e5a7364c83cc52f0e88df4)
 

Author SHA1 Message Date
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) 6 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"
6 years ago
Wim 99d9ea283a Build on every branch (travis) 6 years ago
Wim dac92a0e0a Add xmpp room to README. Closes #758 6 years ago
Wim a25efb16f3 Bump version 6 years ago
Wim e4d73b29a1 Release v1.14.2 6 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.
6 years ago
Wim 60a85621ea Return when not connected and drop a message (irc). Fixes #786 6 years ago
Wim 115d20373c
Update tengo vendor and load the stdlib. Fixes #789 (#792) 6 years ago
Wim cdf33e5748 Use default nick if none specified (irc). Fixes #785 6 years ago
Wim 01d0a9f412 Handle nil message (telegram). Fixes #777 6 years ago
Wim 8cc2d3b4fe Revert "Bail if any vars are nil, not if all (telegram) (#778)"
This reverts commit efd2c99862.
6 years ago
Wim aba9e4f3be Fix travis before_deploy 6 years ago
Wim 4d575ba13a Fix travis deploy condition and update to golangci-lint v1.16 6 years ago
Duco van Amstel 7f0e4ad448 Add CI fixes and improvements (#780)
* Update GolangCI-lint and lint config

The `algo` parameter for the `unparam` linter has been removed and we
should thus no longer specify it. Also, bumping the GolangCI-lint
version to the latest available minor release.

See: mvdan/unparam@e6a6d1c51b

* Fix and improve bintray CI script

* Further CI setup improvements

* Split-out CI steps into stand-alone scripts
6 years ago
Wim 17cc14a9d2 Send user_added and removed event through message channel (mattermost) 6 years ago
Wim 1f8016182c Return channelId for other channeltypes too (mattermost) 6 years ago
Wim caf9ef2c4b Bump travis to go 1.12.x 6 years ago
Wim 64b57f2da3
Ignore message_replied and hidden messages (slack). Fixes #709 (#779) 6 years ago
David Hill efd2c99862 Bail if any vars are nil, not if all (telegram) (#778) 6 years ago
Wim cc05ba8907 Thank DigitalOcean (https://digitalocean.com) for another year of sponsorship 6 years ago
Wim 16763b715a
Look up #channel too (rocketchat). Fix #773 (#775) 6 years ago
Wim ffaa598796 Bump version 6 years ago
Wim 858e16d34f Release v1.14.1 6 years ago
Wim a60e62efb1 Update doc wrt rocketchat api issue 6 years ago
David Hill 97f9d4be67 Fix double unlock (slack) (#771) 6 years ago
Wim fa4eec41f7 Release v1.14.0 6 years ago
Wim 77516c97db
Allow the # in rocketchat channels (backward compatible) (#769) 6 years ago
Wim cba01f0865 Update rocketchat documentation 6 years ago
Duco van Amstel 8b754017ca Fix race-condition in populateUser() (#767)
Fix the root-cause of #759 by introducing synchronisation points for
individual user fetches.
6 years ago
Wim a27600046e
Fix regression for legacy slack by #766 (#768) 6 years ago
Duco van Amstel fb2667631d Refactor channel and user management (slack) (#766) 6 years ago