Commit Graph

901 Commits (c89085bf44333b4decd75e30cec5849dca859938)
 

Author SHA1 Message Date
Wim 73525a4bbc Make gometalinter happier 7 years ago
Wim d62f49d1fc Skip events for webhook 7 years ago
Wim 63b88e77f2 Refactor matrix 7 years ago
Wim 3d8f15c20b Refactor discord 7 years ago
Wim cac5d56d60 Refactor gitter 7 years ago
Wim bd2a672c14 Refactor mattermost 7 years ago
Wim 82396e73f5 Allow empty messages with file urls (irc) 7 years ago
Wim ba928b169d Disable go vet for now (travis) 7 years ago
Wim 4fed720f97 Update travis to go 1.10 7 years ago
Wim 78238c85d4 Add share support between slack instances. Closes #369 7 years ago
Wim 4f2ae7b73f Add slack attachment support to matterhook 7 years ago
Wim f82a9cc7ac Fix Update userlist on join (slack). Closes #372 7 years ago
Wim cce7624ab8 Update userlist on join (slack). Closes #372 7 years ago
Wim c5ecd09172 Use always formatted logging when debug is enabled 7 years ago
Wim 7b21c1c2f4 Set event channels to lowercase (irc). Closes #375 7 years ago
Wim f8714d81f5 Add DebugLevel option (irc) 7 years ago
Wim 8622656005 Add more debug for events (irc) 7 years ago
Wim 52237fadb6 Bump version 7 years ago
Wim 222cccf388 Release v1.8.0 7 years ago
Wim bab308508e Fix the UseInsecureURL text (telegram). Closes #184 7 years ago
Wim dedb83c867 Add ssh-chat to README 7 years ago
Wim 723a90cdd6 Exclude gofmt test from travis for now 7 years ago
Wim 67d2398fa8 Make matterclient work with prefixed log 7 years ago
Wim 5f3b6ec007 Disable echo banner and output (api) 7 years ago
Wim 55ab0c12f1 Update vendor labstack/echo 7 years ago
Wim d1227b5fc9 Use prefixed-formatter for better logging 7 years ago
Wim 6ea368c383 Move Sirupsen => sirupsen 7 years ago
Wim e92b6de09f Add more debug 7 years ago
Wim e622587db4 Add label support in RemoteNickFormat 7 years ago
Wim f2efc06d1f Give api access to whole config.Message (and events). Closes #374 7 years ago
Wim a2b94452db Add more debug (telegram) 7 years ago
Wim 4c506f7cc3 Use MediaServerDownload instead of MediaServerUpload for avatars 7 years ago
Wim 7886f05e88 Download (and upload) avatar images from mattermost and telegram when mediaserver is configured. Closes #362
An extra avatarMap (cache) is created for mattermost and telegram.
If MediaServerUpload is configured, the avatar images of users are downloaded the first time a
user sends a message.
If this download succeeds a message with EVENT_AVATAR_DOWNLOAD is sent to the originating protocol.
This message also contains a SHA field (in msg.Extra["file"]), if this is not empty, the sha will
be added to the avatarMap. (so we now have a userid-sha cache)

Next time this user sends a message, the MediaServerUpload/sha/userid.png URL will be used as the
avatar field.
7 years ago
Wim f58be0d1c1 Add SHA to FileInfo 7 years ago
Wim 1152394bc1 Update issue template 7 years ago
Wim a082b5a590 Remove unused code 7 years ago
Wim bae9484df2 Use discordgo ContentWithMoreMentionsReplace (discord) 7 years ago
Wim 6f78485878 Fix role replace 7 years ago
Wim fd0fe3390b Update vendor bwmarrin/discordgo 7 years ago
Wim 2522158127 Add avator to fileinfo 7 years ago
Wim 8be107cecc Fix mattermost API change 7 years ago
Wim 5aab158c0b Update vendor (github.com/mattermost) 7 years ago
tsudoko 1d33e60e36 Truncate messages sent to IRC based on byte count (#368)
* Truncate messages sent to IRC based on byte count

* Avoid unnecessary string allocations
7 years ago
Wim 83c28cb857 Check for a valid WebhookURL (discord). Closes #367 7 years ago
Wim df5bce27b0 Fix panic on nil messages (telegram). Closes #366 7 years ago
Wim 2b15739b48 Remove double close 7 years ago
Wim 3480c88e90 Do not close body on err. Closes #364 7 years ago
Wim 432cd0f99d Add more parsemode debug (telegram) 7 years ago
Wim e8b3e9b22d Update readme 7 years ago
Wim d4a47671ea Add markdown support (telegram). #355 7 years ago