Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add scripting (tengo) support for every outgoing message (#806) | Wim | 2019-04-19 | 7 | -7/+383 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | Bump version | Wim | 2019-04-19 | 1 | -1/+1 |
| | |||||
* | Update changelog | Wim | 2019-04-19 | 1 | -0/+5 |
| | |||||
* | Remove deprecated TengoModifyMessage | Wim | 2019-04-19 | 1 | -23/+0 |
| | | | | This has become InMessage under [tengo] | ||||
* | Add verbose IRC joins/parts (ident@host) (#805) | chotaire | 2019-04-18 | 3 | -2/+13 |
| | | | New configuration setting: VerboseJoinPart (default is false) | ||||
* | Fix deadlock on reconnect (irc). Closes #757 | Wim | 2019-04-15 | 2 | -2/+5 |
| | |||||
* | Remove hipchat | Wim | 2019-04-14 | 2 | -93/+2 |
| | |||||
* | Update README | Wim | 2019-04-14 | 1 | -3/+7 |
| | |||||
* | Add remotenickformat-zerowidth.tengo to contrib (#799) | Qais Patankar | 2019-04-14 | 1 | -0/+16 |
| | |||||
* | Send channel_created and deleted event through message channel (mattermost) | Wim | 2019-04-13 | 1 | -1/+4 |
| | |||||
* | Add useraction support (rocketchat). Closes #772 (#794) | Wim | 2019-04-08 | 1 | -0/+5 |
| | |||||
* | Add tengo support to RemoteNickFormat (#793) | Wim | 2019-04-08 | 4 | -0/+98 |
| | | | | | | | | | | | | | | | | | | | 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" | ||||
* | Build on every branch (travis) | Wim | 2019-04-07 | 1 | -0/+1 |
| | |||||
* | Add xmpp room to README. Closes #758 | Wim | 2019-04-07 | 1 | -1/+1 |
| | |||||
* | Bump version | Wim | 2019-04-07 | 1 | -1/+1 |
| | |||||
* | Release v1.14.2v1.14.2 | Wim | 2019-04-06 | 3 | -2/+17 |
| | |||||
* | Revert fix for #722. Closes #781 | Wim | 2019-04-06 | 2 | -21/+0 |
| | | | | | | | | | | | | | | Revert "Fix typo" This reverts commit dffd67eb311580aa2b14e7f5a069cfefdbf3aacc. Revert "Handle quit message relay better on gateways with one channel on the irc bridge #722" This reverts commit 240559581a225ff632c00a52e029b3728c61309e. Revert "Support quits from irc correctly. Fixes #722 (#724)" This reverts commit d76a04bd0a96772cec5b279aaa1ee45235adc707. | ||||
* | Return when not connected and drop a message (irc). Fixes #786 | Wim | 2019-04-06 | 1 | -0/+1 |
| | |||||
* | Update tengo vendor and load the stdlib. Fixes #789 (#792) | Wim | 2019-04-06 | 63 | -1292/+7008 |
| | |||||
* | Use default nick if none specified (irc). Fixes #785 | Wim | 2019-04-05 | 1 | -1/+1 |
| | |||||
* | Handle nil message (telegram). Fixes #777 | Wim | 2019-04-05 | 1 | -0/+5 |
| | |||||
* | Revert "Bail if any vars are nil, not if all (telegram) (#778)" | Wim | 2019-04-05 | 1 | -2/+2 |
| | | | | This reverts commit efd2c9986270a8a1dd35f896a80d6465fc52054b. | ||||
* | Fix travis before_deploy | Wim | 2019-04-04 | 1 | -4/+4 |
| | |||||
* | Fix travis deploy condition and update to golangci-lint v1.16 | Wim | 2019-04-04 | 1 | -2/+2 |
| | |||||
* | Add CI fixes and improvements (#780) | Duco van Amstel | 2019-04-04 | 5 | -61/+74 |
| | | | | | | | | | | | | | | | | * 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@e6a6d1c51b6f03ac1a9d120f1ea07bc3a3f0e0b9 * Fix and improve bintray CI script * Further CI setup improvements * Split-out CI steps into stand-alone scripts | ||||
* | Send user_added and removed event through message channel (mattermost) | Wim | 2019-04-02 | 2 | -5/+8 |
| | |||||
* | Return channelId for other channeltypes too (mattermost) | Wim | 2019-04-01 | 1 | -1/+4 |
| | |||||
* | Bump travis to go 1.12.x | Wim | 2019-03-27 | 1 | -1/+1 |
| | |||||
* | Ignore message_replied and hidden messages (slack). Fixes #709 (#779) | Wim | 2019-03-27 | 1 | -6/+12 |
| | |||||
* | Bail if any vars are nil, not if all (telegram) (#778) | David Hill | 2019-03-27 | 1 | -2/+2 |
| | |||||
* | Thank DigitalOcean (https://digitalocean.com) for another year of sponsorship | Wim | 2019-03-25 | 1 | -1/+13 |
| | |||||
* | Look up #channel too (rocketchat). Fix #773 (#775) | Wim | 2019-03-24 | 1 | -1/+1 |
| | |||||
* | Bump version | Wim | 2019-03-24 | 1 | -1/+1 |
| | |||||
* | Release v1.14.1v1.14.1 | Wim | 2019-03-21 | 3 | -2/+6 |
| | |||||
* | Update doc wrt rocketchat api issue | Wim | 2019-03-21 | 1 | -0/+2 |
| | |||||
* | Fix double unlock (slack) (#771) | David Hill | 2019-03-21 | 1 | -1/+0 |
| | |||||
* | Release v1.14.0v1.14.0 | Wim | 2019-03-20 | 3 | -4/+6 |
| | |||||
* | Allow the # in rocketchat channels (backward compatible) (#769) | Wim | 2019-03-20 | 1 | -2/+7 |
| | |||||
* | Update rocketchat documentation | Wim | 2019-03-20 | 1 | -1/+2 |
| | |||||
* | Fix race-condition in populateUser() (#767) | Duco van Amstel | 2019-03-20 | 1 | -12/+38 |
| | | | | Fix the root-cause of #759 by introducing synchronisation points for individual user fetches. | ||||
* | Fix regression for legacy slack by #766 (#768) | Wim | 2019-03-20 | 1 | -2/+6 |
| | |||||
* | Refactor channel and user management (slack) (#766) | Duco van Amstel | 2019-03-15 | 4 | -94/+138 |
| | |||||
* | Force Slack link unfurling (#763) | Duco van Amstel | 2019-03-12 | 1 | -1/+5 |
| | |||||
* | Split-out Slack user and channel management (#762) | Duco van Amstel | 2019-03-12 | 4 | -230/+239 |
| | |||||
* | Check module files in CI run (#761) | Duco van Amstel | 2019-03-12 | 2 | -2/+8 |
| | |||||
* | Update vendor d5/tengo | Wim | 2019-03-05 | 38 | -4355/+623 |
| | |||||
* | Trim <p> and </p> tags (matrix). Closes #686 (#753) | Wim | 2019-03-03 | 1 | -1/+4 |
| | |||||
* | Only build travis on master branch | Wim | 2019-03-03 | 1 | -0/+4 |
| | |||||
* | Bump version | Wim | 2019-03-02 | 1 | -1/+1 |
| | |||||
* | Add related projects to README | Wim | 2019-03-02 | 1 | -0/+4 |
| |