Commit Graph

1114 Commits

Author SHA1 Message Date
chotaire
ffd3f8157d Merge pull request #1 from chotaire/chotaire: Compile regexp in external package
Compile regexp in external package
2019-04-18 15:46:05 +02:00
chotaire
3f4489d010 Import helper in whatsapp 2019-04-18 15:40:42 +02:00
chotaire
a17024c125 Compile regexp in external package 2019-04-18 15:38:24 +02:00
chotaire
cda1628538 Fixed issues with files not being goimports-ed 2019-04-17 04:51:00 +02:00
chotaire
e79cf7bead Fixed canonical gofmt style in gitter.go 2019-04-17 03:55:57 +02:00
chotaire
f01193ffb1 Release: Don't strip IRC colors if sending to IRC 2019-04-17 03:49:10 +02:00
chotaire
d0b54d357f Strip IRC colors sent to Zulip 2019-04-17 03:37:06 +02:00
chotaire
5750aa2c62 Strip IRC colors sent to XMPP 2019-04-17 03:36:04 +02:00
chotaire
ed5635f9d2 Strip IRC colors sent to Whatsapp 2019-04-17 03:35:03 +02:00
chotaire
a156513b8c Strip IRC colors sent to Telegram 2019-04-17 03:33:21 +02:00
chotaire
c8a2e7d7e1 Strip IRC colors sent to Steam 2019-04-17 03:30:43 +02:00
chotaire
ea4948728c Strip IRC colors sent to SSHChat 2019-04-17 03:28:45 +02:00
chotaire
bb4c835e96 Strip IRC colors sent to Slack 2019-04-17 03:26:35 +02:00
chotaire
fad2c22317 Strip IRC colors sent to Gitter 2019-04-17 03:24:07 +02:00
chotaire
3292f03528 Fix missing regexp import
Signed-off-by: chotaire <chotaire@chotaire.net>
2019-04-17 03:23:40 +02:00
chotaire
93f8e6e032 Strip IRC colors sent to Discord 2019-04-17 03:19:31 +02:00
chotaire
fd79eac291 Strip IRC colors sent to Matrix 2019-04-17 03:18:26 +02:00
chotaire
4b176ef0cc Strip IRC colors sent to Mattermost 2019-04-17 03:16:39 +02:00
chotaire
454776d786 Strip IRC colors relayed to Rocketchat 2019-04-17 03:03:37 +02:00
chotaire
f7ed9e53fa Remove IRC color stripping and regexp import 2019-04-17 00:22:07 +02:00
Wim
380c38674c Fix deadlock on reconnect (irc). Closes #757 2019-04-15 23:28:47 +02:00
Wim
3c14a0891e Remove hipchat 2019-04-14 23:54:05 +02:00
Wim
8513a07416 Update README 2019-04-14 23:48:54 +02:00
Qais Patankar
220485a849 Add remotenickformat-zerowidth.tengo to contrib (#799) 2019-04-14 23:42:16 +02:00
Wim
4db34b0506 Send channel_created and deleted event through message channel (mattermost) 2019-04-13 21:52:39 +02:00
Wim
5677c912a8 Add useraction support (rocketchat). Closes #772 (#794) 2019-04-08 23:30:22 +02:00
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"
2019-04-08 20:58:21 +02:00
Wim
99d9ea283a Build on every branch (travis) 2019-04-07 23:57:47 +02:00
Wim
dac92a0e0a Add xmpp room to README. Closes #758 2019-04-07 15:48:19 +02:00
Wim
a25efb16f3 Bump version 2019-04-07 15:41:14 +02:00
Wim
e4d73b29a1 Release v1.14.2 v1.14.2 2019-04-06 23:29:49 +02:00
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.
2019-04-06 23:12:48 +02:00
Wim
60a85621ea Return when not connected and drop a message (irc). Fixes #786 2019-04-06 22:34:41 +02:00
Wim
115d20373c Update tengo vendor and load the stdlib. Fixes #789 (#792) 2019-04-06 22:18:25 +02:00
Wim
cdf33e5748 Use default nick if none specified (irc). Fixes #785 2019-04-05 00:17:46 +02:00
Wim
01d0a9f412 Handle nil message (telegram). Fixes #777 2019-04-05 00:04:08 +02:00
Wim
8cc2d3b4fe Revert "Bail if any vars are nil, not if all (telegram) (#778)"
This reverts commit efd2c99862.
2019-04-05 00:02:26 +02:00
Wim
aba9e4f3be Fix travis before_deploy 2019-04-04 23:22:56 +02:00
Wim
4d575ba13a Fix travis deploy condition and update to golangci-lint v1.16 2019-04-04 23:05:58 +02:00
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
2019-04-04 22:54:51 +02:00
Wim
17cc14a9d2 Send user_added and removed event through message channel (mattermost) 2019-04-02 00:15:58 +02:00
Wim
1f8016182c Return channelId for other channeltypes too (mattermost) 2019-04-01 22:50:19 +02:00
Wim
caf9ef2c4b Bump travis to go 1.12.x 2019-03-27 23:22:55 +01:00
Wim
64b57f2da3 Ignore message_replied and hidden messages (slack). Fixes #709 (#779) 2019-03-27 22:54:18 +01:00
David Hill
efd2c99862 Bail if any vars are nil, not if all (telegram) (#778) 2019-03-27 21:00:57 +01:00
Wim
cc05ba8907 Thank DigitalOcean (https://digitalocean.com) for another year of sponsorship 2019-03-25 21:13:11 +01:00
Wim
16763b715a Look up #channel too (rocketchat). Fix #773 (#775) 2019-03-24 20:15:15 +01:00
Wim
ffaa598796 Bump version 2019-03-24 19:52:31 +01:00
Wim
858e16d34f Release v1.14.1 v1.14.1 2019-03-21 21:07:11 +01:00
Wim
a60e62efb1 Update doc wrt rocketchat api issue 2019-03-21 21:05:27 +01:00