Commit Graph

718 Commits (98027446c895de648c65af33f2010c73c752a8da)
 

Author SHA1 Message Date
Wim 98027446c8 Fix tests and make megacheck happy 7 years ago
Wim f2f1d874e1 Use viper (github.com/spf13/viper) for configuration 7 years ago
Wim 25a72113b1 Add vendor files for spf13/viper 7 years ago
Wim 79c4ad5015 Remove unused function 7 years ago
Wim e24f1c7c87 Use replaceVariable for usergroups (slack) #379 7 years ago
Wim dbf8a326d5 Escape html on username (telegram). Closes #378 7 years ago
Wim 0bc9c70c66 Add usergroup support (slack). Closes #379 7 years ago
Wim 594d2155e3 Improve debug messages 7 years ago
Wim 20dbd71306 Make megacheck happy 7 years ago
Wim 6a727b9723 Use our own version of go-xmpp with debug output to logrus 7 years ago
Wim 02a5bc096f Do some small cleanups 7 years ago
Wim 2110db6f0c Add environment override back 7 years ago
Wim 2bac867382 Refactor using factory 7 years ago
Wim 5fbd8a3be0 Refactor xmpp 7 years ago
Wim ad6440b603 Refactor telegram 7 years ago
Wim 064b6a915f Small fixes to irc 7 years ago
Wim 1578ebb0e2 Refactor slack 7 years ago
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