| Commit | Message | Author | Date (UTC) |
|---|
| 83e1f24
|
Fix noisy whatsapp error logging
|
Wim
|
21:30, Jun 13 2019 |
| c0db118
|
Update github.com/Rhymen/go-whatsapp vendor. Fixes #843
|
Wim
|
20:37, Jun 13 2019 |
| e7e3373
|
Revert xmpp to orig behaviour. Closes #844
|
Wim
|
21:22, Jun 13 2019 |
| 9e843af
|
Make config parse errors readable
|
Wim
|
20:42, Jun 1 2019 |
| 3db03c5
|
Fix go mod issue by removing whatsapp-ext
|
Wim
|
22:53, May 31 2019 |
| d95e825
|
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. |
Duco van Amstel
|
13:00, May 30 2019 |
| 3b6ecf1
|
Clean-up XMPP handling code (#831)
|
Duco van Amstel
|
10:31, May 30 2019 |
| ef3ddbe
|
Use upstream whatsapp again (#809)
|
Wim
|
10:20, May 30 2019 |
| a18791c
|
Linter fixes
|
Duco van Amstel
|
16:38, May 27 2019 |
| ace93fa
|
Update channels of all teams (mattermost)
|
Wim
|
22:46, May 1 2019 |
| fdf64ed
|
Allow messages from other bots (discord). Fixes #816
|
Wim
|
16:10, May 1 2019 |
| 89e6cc6
|
Add msg event to tengo
|
Wim
|
20:47, Apr 24 2019 |
| 6222dba
|
Update README with v1.14.4
|
Wim
|
21:36, Apr 23 2019 |
| 13dd256
|
Update changelog
|
Wim
|
21:31, Apr 23 2019 |
| cf7f54f
|
Disable user lookups on delete messages (slack) (#812)
|
Wim
|
21:29, Apr 23 2019 |
| d822391
|
Add lacking clean-up in Slack synchronisation (#811)
|
Duco van Amstel
|
21:08, Apr 23 2019 |
| 93fd261
|
Use paging in initUser and UpdateUsers (mattermost)
|
Wim
|
21:06, Apr 20 2019 |
| 9a44bb3
|
Handle unthreaded messages (mattermost). Fixes #803
|
Wim
|
21:31, Apr 19 2019 |
| d11fdcb
|
Fix panic on nil message.Post (mattermost). Fixes #804
|
Wim
|
21:08, Apr 19 2019 |
| 4c93d31
|
Add Id to EditMessage (mattermost). Fixes #802
|
Wim
|
20:59, Apr 19 2019 |
| 4a2619e
|
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. |
Wim
|
16:27, Apr 19 2019 |
| befd567
|
Bump version
|
Wim
|
16:24, Apr 19 2019 |
| 113160f
|
Update changelog
|
Wim
|
16:15, Apr 19 2019 |
| e026e3c
|
Remove deprecated TengoModifyMessage
This has become InMessage under [tengo]
|
Wim
|
22:13, Apr 18 2019 |
| 97434f2
|
Add verbose IRC joins/parts (ident@host) (#805)
New configuration setting: VerboseJoinPart (default is false) |
chotaire
|
21:56, Apr 18 2019 |
| 69720a5
|
Fix deadlock on reconnect (irc). Closes #757
|
Wim
|
21:28, Apr 15 2019 |
| 6ccb4d9
|
Remove hipchat
|
Wim
|
21:54, Apr 14 2019 |
| 029f980
|
Update README
|
Wim
|
21:48, Apr 14 2019 |
| 426a52c
|
Add remotenickformat-zerowidth.tengo to contrib (#799)
|
Qais Patankar
|
21:42, Apr 14 2019 |
| 56bad91
|
Send channel_created and deleted event through message channel (mattermost)
|
Wim
|
19:52, Apr 13 2019 |
| 12e514a
|
Add useraction support (rocketchat). Closes #772 (#794)
|
Wim
|
21:30, Apr 8 2019 |
| 95ed665
|
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" |
Wim
|
18:58, Apr 8 2019 |
| 3d0a1ef
|
Build on every branch (travis)
|
Wim
|
21:57, Apr 7 2019 |
| e2575b6
|
Add xmpp room to README. Closes #758
|
Wim
|
13:48, Apr 7 2019 |
| 7c647f3
|
Bump version
|
Wim
|
13:41, Apr 7 2019 |
| 6b672b3
|
Release v1.14.2
|
Wim
|
21:29, Apr 6 2019 |
| 694630c
|
Revert fix for #722. Closes #781
Revert "Fix typo"
This reverts commit 73253577e064dd7f466db4f57fc444b464005849.
Revert "Handle quit message relay better on gateways with one channel on the irc bridge #722"
This reverts commit fa660f050000454189095a5ad22c78df9be157f5.
Revert "Support quits from irc correctly. Fixes #722 (#724)"
This reverts commit 27512cc794adb28be3275b0a017ca7c5560c375b.
|
Wim
|
20:55, Apr 6 2019 |
| a957495
|
Return when not connected and drop a message (irc). Fixes #786
|
Wim
|
20:34, Apr 6 2019 |
| 82fbaa7
|
Update tengo vendor and load the stdlib. Fixes #789 (#792)
|
Wim
|
20:18, Apr 6 2019 |
| 8e7433c
|
Use default nick if none specified (irc). Fixes #785
|
Wim
|
22:17, Apr 4 2019 |
| d8db073
|
Handle nil message (telegram). Fixes #777
|
Wim
|
22:04, Apr 4 2019 |
| 168892e
|
Revert "Bail if any vars are nil, not if all (telegram) (#778)"
This reverts commit 533e483684a57c956238301ffed99d9926fa6d8d.
|
Wim
|
22:02, Apr 4 2019 |
| ef84058
|
Fix travis before_deploy
|
Wim
|
21:22, Apr 4 2019 |
| c2fc868
|
Fix travis deploy condition and update to golangci-lint v1.16
|
Wim
|
21:05, Apr 4 2019 |
| 20eccfc
|
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@e6a6d1c51b6f03ac1a9d120f1ea07bc3a3f0e0b9
* Fix and improve bintray CI script
* Further CI setup improvements
* Split-out CI steps into stand-alone scripts
|
Duco van Amstel
|
20:54, Apr 4 2019 |
| 47f8ffc
|
Send user_added and removed event through message channel (mattermost)
|
Wim
|
22:15, Apr 1 2019 |
| 6e57d81
|
Return channelId for other channeltypes too (mattermost)
|
Wim
|
20:50, Apr 1 2019 |
| d32a215
|
Bump travis to go 1.12.x
|
Wim
|
22:22, Mar 27 2019 |
| b745562
|
Ignore message_replied and hidden messages (slack). Fixes #709 (#779)
|
Wim
|
21:54, Mar 27 2019 |
| 533e483
|
Bail if any vars are nil, not if all (telegram) (#778)
|
David Hill
|
20:00, Mar 27 2019 |
| bb3883a
|
Thank DigitalOcean (https://digitalocean.com) for another year of sponsorship
|
Wim
|
19:45, Mar 25 2019 |
| aa5eaf2
|
Look up #channel too (rocketchat). Fix #773 (#775)
|
Wim
|
19:15, Mar 24 2019 |
| 8de7748
|
Bump version
|
Wim
|
18:52, Mar 24 2019 |
| 53fc69b
|
Release v1.14.1
|
Wim
|
20:07, Mar 21 2019 |
| c84a1f3
|
Update doc wrt rocketchat api issue
|
Wim
|
20:05, Mar 21 2019 |
| 9eb495b
|
Fix double unlock (slack) (#771)
|
David Hill
|
16:30, Mar 21 2019 |
| 146bb13
|
Release v1.14.0
|
Wim
|
22:30, Mar 20 2019 |
| 982122b
|
Allow the # in rocketchat channels (backward compatible) (#769)
|
Wim
|
22:19, Mar 20 2019 |
| 9ecfe56
|
Update rocketchat documentation
|
Wim
|
22:18, Mar 20 2019 |
| d9668c2
|
Fix race-condition in populateUser() (#767)
Fix the root-cause of #759 by introducing synchronisation points for
individual user fetches. |
Duco van Amstel
|
21:54, Mar 20 2019 |
| 9a9b0b2
|
Fix regression for legacy slack by #766 (#768)
|
Wim
|
21:52, Mar 20 2019 |
| c03e9f5
|
Refactor channel and user management (slack) (#766)
|
Duco van Amstel
|
20:23, Mar 15 2019 |
| 8106f08
|
Force Slack link unfurling (#763)
|
Duco van Amstel
|
21:56, Mar 12 2019 |
| 05eaa24
|
Split-out Slack user and channel management (#762)
|
Duco van Amstel
|
21:52, Mar 12 2019 |
| 9704cf0
|
Check module files in CI run (#761)
|
Duco van Amstel
|
21:47, Mar 12 2019 |
| cdb22db
|
Update vendor d5/tengo
|
Wim
|
22:08, Mar 5 2019 |
| 6d82119
|
Trim <p> and </p> tags (matrix). Closes #686 (#753)
|
Wim
|
23:29, Mar 2 2019 |
| 56e38b7
|
Only build travis on master branch
|
Wim
|
23:22, Mar 2 2019 |
| ac5408d
|
Bump version
|
Wim
|
22:48, Mar 2 2019 |
| 9821b82
|
Add related projects to README
|
Wim
|
22:48, Mar 2 2019 |
| 6035893
|
Release v1.14.0-rc2
|
Wim
|
22:23, Mar 2 2019 |
| 6593326
|
Do not send duplicate messages (rocketchat). Fixes #745 (#752)
For an unknown reason we get duplicate messages (from the same channel)
using the realtime API when we have > 1 channel subscribed on.
Solution for now is caching the message ID in a LRU cache and ignoring
the duplicates.
This should be reviewed when we have actual editing support from the
realtime API |
Wim
|
21:58, Mar 2 2019 |
| bf9d612
|
Add support for URL in messageEntities (telegram). Fixes #735 (#736)
|
Wim
|
21:38, Mar 2 2019 |
| 87a3574
|
Need to specify /topic:mytopic for channel configuration (zulip). (#751)
Breaking change for zulip channel configuration.
For zulip the channel configuration will now need to specify also
the topic with /topic:yourtopic.
Example:
[[gateway.inout]]
account="zulip.streamchat"
channel="general/topic:mytopic"
This fixes the incorrect PR #701 which didn't work with multiple
gateways. |
Wim
|
19:31, Mar 2 2019 |
| 16e34dc
|
Use whatsapp forks (#750)
|
Wim
|
12:04, Mar 2 2019 |
| 0faf2ea
|
Do not relay any bot messages (discord) (#743)
|
Wim
|
11:59, Feb 28 2019 |
| ec351f7
|
Handle file upload/download only once for each message (#742)
|
Wim
|
19:52, Feb 27 2019 |
| 3112786
|
Add MediaConvertWebPToPNG option (telegram). (#741)
* Add MediaConvertWebPToPNG option (telegram).
When enabled matterbridge will convert .webp files to .png files
before uploading them to the mediaserver of the other bridges.
Fixes #398 |
Wim
|
23:41, Feb 26 2019 |
| 98c0621
|
Build on all branches
|
Wim
|
19:47, Feb 26 2019 |
| 21bc579
|
Fail gracefully on incorrect human input. Fixes #739 (#740)
|
Wim
|
17:03, Feb 26 2019 |
| 895e340
|
Update changelog
|
Wim
|
16:44, Feb 26 2019 |
| dce27cf
|
Print errors as string instead of %#v (#738)
|
Wim
|
16:21, Feb 26 2019 |
| f5fd5fd
|
Keep reconnecting until succeed (zulip) (#737)
|
Wim
|
16:08, Feb 26 2019 |
| 2930157
|
Fix regression in HTML handling (telegram). Closes #734
* Revert back to blackfriday v1
* Add testing
|
Wim
|
14:13, Feb 24 2019 |
| 0d5bb29
|
Add goreleaser.yml
|
Wim
|
00:09, Feb 24 2019 |
| eec34f3
|
Release v1.14.0-rc1
|
Wim
|
22:20, Feb 23 2019 |
| 703636a
|
Do not send topic changes on connect (xmpp). Fixes #732 (#733)
This checks if we get a topic change < 5 seconds after connection.
If that's the case, ignore it.
Also this PR makes the topic change an actual EventTopicChange. |
Wim
|
22:03, Feb 23 2019 |
| f37dbed
|
Make all loggers derive from non-default instance (#728)
|
Wim
|
21:51, Feb 23 2019 |
| b8a7753
|
Add scripting (tengo) support for every incoming message (#731)
TengoModifyMessage allows you to specify the location of a tengo (https://github.com/d5/tengo/) script.
This script will receive every incoming message and can be used to modify the Username and the Text of that message.
The script will have the following global variables:
to modify: msgUsername and msgText
to read: msgChannel and msgAccount
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/gateway/bench.tengo
and https://github.com/42wim/matterbridge/tree/master/contrib/example.tengo
The example below will check if the text contains blah and if so, it'll replace the text and the username of that message.
text := import("text")
if text.re_match("blah",msgText) {
msgText="replaced by this"
msgUsername="fakeuser"
}
More information about tengo on: https://github.com/d5/tengo/blob/master/docs/tutorial.md and
https://github.com/d5/tengo/blob/master/docs/stdlib.md |
Wim
|
15:39, Feb 23 2019 |
| 99c1f05
|
Support rewriting messages from relaybots using ExtractNicks. Fixes #466 (#730)
some examples:
this replaces a message like "Relaybot: <relayeduser> something interesting" to "relayeduser: something interesting"
ExtractNicks=[ [ "Relaybot", "<(.*?)>\\s+" ] ]
you can use multiple entries for multiplebots
this also replaces a message like "otherbot: (relayeduser) something else" to "relayeduser: something else"
ExtractNicks=[ [ "Relaybot", "<(.*?)>\\s+" ],[ "otherbot","\\((.*?)\\)\\s+" ]
OPTIONAL (default empty)
ExtractNicks=[ ["otherbot","<(.*?)>\\s+" ] ] |
Wim
|
15:35, Feb 23 2019 |
| 6d323d4
|
Update vendor
|
Wim
|
13:14, Feb 23 2019 |
| 54510f3
|
Add extra debug option (slack)
|
Wim
|
18:36, Feb 22 2019 |
| 89f78e0
|
Allow sending discriminator with Discord username (#726)
|
Declan Hoare
|
13:28, Feb 22 2019 |
| 5552e26
|
Add telegram support to matterbridge chat channel
|
Wim
|
20:35, Feb 21 2019 |
| 8c557c8
|
Disable updateChannelMembers for now
|
Wim
|
20:26, Feb 21 2019 |
| 7325357
|
Fix typo
|
Wim
|
19:33, Feb 21 2019 |
| 2f81274
|
Add initial WhatsApp support (#711)
|
Krzysiek Madejski
|
19:28, Feb 21 2019 |
| 8e34537
|
Update documentation wrt ShowJoinPart from discord
|
Wim
|
17:15, Feb 21 2019 |
| fa660f0
|
Handle quit message relay better on gateways with one channel on the irc bridge #722
|
Wim
|
16:52, Feb 21 2019 |
| 3968fef
|
Bump to 1.14.0-dev
|
Wim
|
21:46, Feb 17 2019 |