Wim
1635db93c7
Do not check cache on deleted messages (mattermost). Fixes #1555 ( #1624 )
3 years ago
Wim
4dd8bae5c9
Update dependencies ( #1610 )
...
* Update dependencies
* Update module to go 1.17
3 years ago
Wim
4e50fd8649
Use mattermost v5 module ( #1192 )
4 years ago
Wim
dfdffa0027
Add EnableAllEvents
...
Add option to have all events send to the messagechan
4 years ago
David Buckley
1dc93ec4f0
Make getChannelIdTeam behave like GetChannelId for groups (mattermost) ( #873 )
...
GetChannelId will support names generated from query groups when a team is not set,
but not when a team is set since it falls through to getChannelIdTeam which has a different inner loop. i
This pull makes the two implementations do the same thing.
5 years ago
Joona Hoikkala
80b4cec87a
Add an option to skip the Mattermost server version check ( #849 )
...
Adds SkipVersionCheck bool option for mattermost
5 years ago
Duco van Amstel
9619dff334
Linter fixes
5 years ago
Wim
1b2feb19e5
Update channels of all teams (mattermost)
6 years ago
Wim
9f5f004725
Use paging in initUser and UpdateUsers (mattermost)
6 years ago
Wim
8ad2be10b2
Add Id to EditMessage (mattermost). Fixes #802
6 years ago
Wim
4db34b0506
Send channel_created and deleted event through message channel (mattermost)
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
bf21604d42
Make all loggers derive from non-default instance ( #728 )
6 years ago
Patrick Connolly
b33b50987b
Add support for mattermost threading ( #627 )
6 years ago
Duco van Amstel
da8e415ae1
Use logrus imports instead of log ( #662 )
6 years ago
Duco van Amstel
a2754f15fc
Enable errcheck linter ( #646 )
6 years ago
Duco van Amstel
af7a00d030
Enable gosec linter ( #645 )
6 years ago
Wim
faeeee2948
Refactor matterclient ( #613 )
...
* Split up in different files
* Decrease complexity
6 years ago
Duco van Amstel
09875fe160
Update direct dependencies where possible
6 years ago
Duco van Amstel
ce21ba1545
Fix golint linter issues and enable it in CI ( #593 )
6 years ago
Duco van Amstel
c89085bf44
Fix and enable goimports linter ( #591 )
6 years ago
David Hill
0e2522279e
Clean up various stuff ( #508 )
...
* various cleanups
6 years ago
Wim
b81ff9c008
Add SendDirectMessageProps to send a DM with extra props (mattermost)
6 years ago
Wim
32f478e4a0
Check for expiring sessions and reconnect (mattermost)
6 years ago
Wim
e2b50d6194
Add better support for multiperson DM (mattermost)
6 years ago
Wim
74e33b0a51
Update channels when a new group is created (mattermost)
6 years ago
Wim
107969c09a
Split up cookie token and personal token (mattermost). Fixes #530 ( #540 )
6 years ago
Duco van Amstel
97b1fc813b
Bump Go version in Travis CI ( #518 )
6 years ago
Duco van Amstel
69646a160d
Add Gateway's name to RemoteNickFormat ( #501 )
...
In order to support extra use cases we should add the `{GATEWAY}` tag to the `RemoteNickFormat` string which would be replaced by the value of the `name=` field from a gateway's configuration.
This is _very_ useful when you are forwarding, for example, multiple channels from one chat to a single channel on another one (one-way). It will help you identify the source channel of a message on the target chat.
6 years ago
Wim
7f3cbcedc0
Use own forks for logrus-prefixed-formatter and discordgo
6 years ago
Wim
89aa114192
Add GetNickname and UpdateUser functions
...
When we get an user_updated event from mattermost we also actually update
the user, so the nicknames/usernames are also updated
6 years ago
Wim
ec0e6bc3f8
Add support for mattermost 5.x
6 years ago
Wim
c3174f4de9
Update GetFileLinks to API_V4
7 years ago
Wim
8bfaa007d5
Add UpdateStatus function
7 years ago
Alec WM
db25ee59c5
Print list of valid team names when team not found ( #390 )
7 years ago
Wim
c5ecd09172
Use always formatted logging when debug is enabled
7 years ago
Wim
67d2398fa8
Make matterclient work with prefixed log
7 years ago
Wim
6ea368c383
Move Sirupsen => sirupsen
7 years ago
Wim
8be107cecc
Fix mattermost API change
7 years ago
Wim
2fd1fd9573
Break when re-login fails (mattermost)
7 years ago
Wim
155ae80d22
Support mattermost 4.x as api4 should be stable (mattermost)
7 years ago
Wim
6a7adb20a8
Add functions to upload files
7 years ago
Wim
27d886826c
Allow empty message if we have a slack attachment
7 years ago
Wim
ed01820722
Add support for deleting messages across bridges.
...
Currently fully support mattermost,slack and discord.
Message deleted on the bridge or received from other bridges will be
deleted.
Partially support for Gitter.
Gitter bridge will delete messages received from other bridges.
But if you delete a message on gitter, this deletion will not be sent to
other bridges (this is a gitter API limitation, it doesn't propogate edits
or deletes via the API)
7 years ago
Wim
86cd7f1ba6
Add UpdateUserNick
7 years ago
Wim
c4193d5ccd
Add 4.2 support (mattermost)
7 years ago
Wim
9039720013
Send images when text is empty regression. (mattermost). Closes #254
7 years ago
Wim
dd985d1dad
Fix sending direct messages with APIv4
7 years ago
Wim
21143cf5ee
Fix public links (mattermost)
7 years ago