Commit Graph

216 Commits (10f044c3dd971868523459b708a5bcbf81611df7)

Author SHA1 Message Date
Wim d8816280f0 Update changelog 6 years ago
Wim 1bb39eba87
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
6 years ago
Wim 95e78ffa05 Add telegram support to matterbridge chat channel 6 years ago
Krzysiek Madejski 55e79063d6 Add initial WhatsApp support (#711) 6 years ago
Wim 777af73e2b Add blogpost about matterbridge 6 years ago
Wim 127eb908f3 Add fbridge to README 6 years ago
Wim 8147815037 Update README. Add rocketchat 6 years ago
AJolly 2cfd880cdb Clarify dev chat info (#700) 6 years ago
Wim 430b38e770 Update README 6 years ago
Wim da6ce791bc Add link to API page on the wiki 6 years ago
Wim 85680935d4 Add swaggerhub link to README (api) 6 years ago
Neustradamus 048158ad6d Update README about xmpp. Fixes #676 (#677) 6 years ago
Wim bb27ef7939 Add link to matterbridge and k8s article 6 years ago
Wim b6d81f34ba Add repology link 6 years ago
Justin W. Flory ce73aa5a74 Add FOSSRIT/infrastructure, alphabetically sort related project list (#643) 6 years ago
Wim 64d63a25cc Bump version 6 years ago
Wim b51d0a9b05 Bump version 6 years ago
Wim 5ed7abdbeb Drop support for mattermost 3.x 6 years ago
Duco van Amstel 09875fe160 Update direct dependencies where possible 6 years ago
Wim 219c7659e1 Release v1.12.0 6 years ago
Wim cded603c27 Add note about matterbridge mattermost-plugin 6 years ago
Wim 5c50d86908 Add demo explanation 6 years ago
Patrick Connolly fea31753b0 Improve README formatting (incl codeclimate badges) (#578)
* Updated header, removed whitespace, added codeclimate badges, adjusted titles.

* TOML formatting in README.
6 years ago
Patrick Connolly a20b7895a9 Preserve threading between Slack instances (#529)
* Opportunistically preserve Slack threading when parent thread in cache. [#529]

* Removed slack-specific processing from gateway.

* Added docs.

* Add option to enable threading, with default to off.

* Did cleanup on @42wim's comments.

* Update gateway/gateway.go

Co-Authored-By: patcon <patrick.c.connolly@gmail.com>

* Suggestion from @42wim :)

* Suggestions from @42wim.

* More suggestions.
6 years ago
Wim 3b8837a16b Update README 6 years ago
Declan Hoare cc2bd03ec9 Add Mattereddit to README.md (#493) 6 years ago
Wim 0bd5a0d92d Release v1.11.3 6 years ago
Wim 1665c93d3b Release v1.11.2 6 years ago
Wim c4c6aff9a5 Release v1.11.1 6 years ago
Wim 6f131250f1 Release v1.11.0 6 years ago
ckartchner 9b25716136 Fix typo and add minor clarification. (#450) 6 years ago
Wim dba259e9f1 Release v1.10.1 6 years ago
Wim ab1670e2ce Update sponsor image 6 years ago
Wim 9142a33bbf Add sponsor and zulip to README 6 years ago
Wim 8c675b52bc Add zulipchat badge 6 years ago
Wim 86865c6da5 Release v1.10.0 6 years ago
Wim 45296100df Add initial zulip support 6 years ago
Wim d44df7b6e6 Fix alignment 7 years ago
Wim 9d1ac0c84b Add image to repo. Make more clear that mattermost is not required to run matterbridge 7 years ago
Wim 08f442dc7b Release v1.9.1 7 years ago
Wim 4b0bc6d0bf Release v1.9.0 7 years ago
Wim 222cccf388 Release v1.8.0 7 years ago
Wim dedb83c867 Add ssh-chat to README 7 years ago
Wim e8b3e9b22d Update readme 7 years ago
Wim 0f5274fdf6 Release v1.7.1 7 years ago
Wim e1a4d7f77e Update readme about REST api projects (matterlink,pycord) 7 years ago
Wim a7a4554a85 Release v1.7.0 7 years ago
Wim 7c6ce8bb90 Fix xmpp badge, add twitch badge 7 years ago
Wim dafbfe4021 Add twitch support (irc) to README 7 years ago
Wim 5de03b8921 Update xmpp 7 years ago
Wim ee87626a93 Update for 1.6.3 7 years ago
Wim a0aaf0057a Update for 1.6.2 7 years ago
Wim 57a503818d Release v1.6.1 7 years ago
Wim fac5f69ad2 Release v1.6.0 7 years ago
Wim 434393d1c3 Update README 7 years ago
Wim 59e55cfbd5 Release v1.5.0 7 years ago
Wim 788d3b32ac Update vendor lrstanley/girc and readme 7 years ago
Wim 962062fe44 Release v1.4.1 7 years ago
Wim daac3ebca2 Release v1.4.0 7 years ago
Wim d4d7fef313 Release v1.3.1 7 years ago
Wim ac3c65a0cc Release v1.3.0 7 years ago
Wim 603449e850 Update readme 7 years ago
Wim 248d88c849 Release v1.2.0 7 years ago
Wim d6ee55e35f Release v1.1.2 7 years ago
Wim d2caea70a2 Release v1.1.1 7 years ago
Wim dc2aed698d Release v1.1.0 7 years ago
Wim 85ff1995fd Use mattermost v4 api (drops support for mattermost < 3.8) 7 years ago
Wim a5259f56c5 Release v1.0.1 7 years ago
Wim ad4d461606 Release v1.0.0 7 years ago
Wim c28b87641e Release v1.0.0-rc1 7 years ago
Wim fafd0c68e9 Update readme 7 years ago
Wim ddc5b3268f Add screenshots 7 years ago
Wim 22307b1934 Release v0.16.3 7 years ago
Wim 52fc94c1fe Remove old files. Update readme 7 years ago
Wim 58779e0d65 Update readme 7 years ago
Wim 4ac361b5fd Add xmpp badge 7 years ago
Wim 1e2f27c061 Release v0.16.2 7 years ago
Wim caaf6f3012 Fix stable/dev shields 7 years ago
Wim c5de8fd1cc Fix readme 7 years ago
Wim c9f23869e3 Add stable/devel shields 7 years ago
Wim 61208c0e35 Update readme 7 years ago
Wim 4abaf2b236 Fix mattermost shield 7 years ago
Wim 183d212431 Add mattermost chat/badge 7 years ago
Wim e99532fb89 Release v0.16.1 7 years ago
Wim 845f7dc331 Update readme 7 years ago
Wim 2adeae37e1 Update readme 7 years ago
Wim e8acc49cbd Add slack badge / invitation 7 years ago
Wim 4bed073c65 Release v0.16.0 7 years ago
Wim 272735fb26 Add 4.0 support (mattermost) 7 years ago
Wim 1aaa992250 Update acknowledgements 7 years ago
Wim 480945cb09 Release v0.16.0-rc2 7 years ago
Wim 003d85772c Add link to wiki 7 years ago
Wim e7e10131de Release v0.16.0-rc1 7 years ago
Wim 822605c157 Release v0.15.0 7 years ago
Wim 3f79da84d5 Release v0.14.0 7 years ago
Wim 7811c330db Release v0.13.0 7 years ago
Wim f065e9e4d5 Release v0.12.1 7 years ago
Wim 7a16146304 Release v0.12.0 7 years ago
Wim 6ea8be5749 Release v0.11.0 8 years ago
Wim 8d52c98373 Update README 8 years ago