Commit Graph

93 Commits (9459495484d6e06a3d46de64fccd8d06f7ccc72c)

Author SHA1 Message Date
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
Joona Hoikkala 80b4cec87a Add an option to skip the Mattermost server version check (#849)
Adds SkipVersionCheck bool option for mattermost
5 years ago
Wim 4db34b0506 Send channel_created and deleted event through message channel (mattermost) 5 years ago
Wim 17cc14a9d2 Send user_added and removed event through message channel (mattermost) 5 years ago
Wim bf21604d42
Make all loggers derive from non-default instance (#728) 5 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
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 6 years ago
Wim 8bfaa007d5 Add UpdateStatus function 6 years ago
Alec WM db25ee59c5 Print list of valid team names when team not found (#390) 6 years ago
Wim c5ecd09172 Use always formatted logging when debug is enabled 6 years ago
Wim 67d2398fa8 Make matterclient work with prefixed log 6 years ago
Wim 6ea368c383 Move Sirupsen => sirupsen 6 years ago
Wim 8be107cecc Fix mattermost API change 6 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
Wim 9e03fcf162 Fix private channel joining bug (mattermost). Closes #248 7 years ago
Wim e84417430d Update PostMessage to also return and error. Add EditMessage function 7 years ago
Wim 7f9a400776 Add support for personal access tokens (mattermost)
* https://docs.mattermost.com/developer/personal-access-tokens.html
7 years ago
Wim ce1c5873ac Make megacheck happy 7 years ago
Wim 85ff1995fd Use mattermost v4 api (drops support for mattermost < 3.8) 7 years ago
Wim 3f75ed9c18 Add 4.1 support (mattermost) 7 years ago
Wim 41195c8e48 Fix double posting of edited messages by using lru cache (mattermost) 7 years ago
Wim 10dab1366e Return better error messages on mattermost connect 7 years ago
Wim 6dee988b76 Fix megacheck / go vet issues 7 years ago
Wim ac19c94b9f Add GetFileLinks, also get files if public links is disabled 7 years ago