summaryrefslogtreecommitdiffstats
path: root/bridge
Commit message (Collapse)AuthorAgeFilesLines
* Optimize handling of very large slack teams. Fixes #695Wim2019-01-302-11/+27
| | | | | | | | | | Stop getting users if we reach 2000 users. Slack will rate-limit us even if we follow their limits. This means that we now have to lookup every user that says a message for the first time. This should be less intensive on the API. This also disables partly fb713ed91bfb48c0037e489f80be85c54e69953a for now. ChannelMembers will not be filled.
* Handle servers without MOTD (irc). Closes #692Wim2019-01-241-0/+1
|
* Fix possible data race (irc). Closes #693Wim2019-01-241-1/+1
|
* Make discord user token work correctly (discord) #689Wim2019-01-191-2/+2
|
* Add initial support for getting ChannelMember info of all bridges (#678)Wim2019-01-185-21/+150
| | | | | | | | | | | | | | * Add initial support for getting ChannelMember info of all bridges. Adds an EventGetChannelMembers event, which gets send every x time to all bridges. Bridges should respond on this event with a Message containing ChannelMembers in the EventGetChannelMembers key in the Extra field. handleEventGetChannelMembers will handle this Message and sets the contained ChannelMembers to the Bridge struct. * Add ChannelMembers support to the slack bridge
* Run go fmtWim2019-01-141-3/+3
|
* Allow to bridge non-bot Discord users (discord) (#689)Zomboy Alfrir2019-01-141-0/+5
| | | | | | If you prefix a token with `User ` it'll treat is as a user token. Co-Authored-By: zomboy-alfrir <zomboy@dancodes.com.ar>
* Fix displaying usernames for plain text clients. (matrix) (#685)David Hill2019-01-091-1/+1
|
* Add support for mattermost threading (#627)Patrick Connolly2019-01-092-3/+4
|
* Use only one webhook if possible (discord) (#681)James Nylen2019-01-091-8/+42
|
* Add file comment to webhook messages (discord). Fixes #358Wim2019-01-071-1/+7
|
* Improve error reporting on failure to join Discord. Fixes #672 (#680)James Nylen2019-01-071-1/+15
|
* Add support for markdown to HTML conversion (matrix). Closes #663 (#670)Wim2019-01-062-2/+9
| | | | | This uses our own gomatrix lib with the SendHTML function which adds HTML to formatted_body in matrix. golang-commonmark is used to convert markdown into valid HTML.
* Add various sshchat fixes (#675)ValdikSS2019-01-051-3/+6
| | | | | | | * SSH-Chat: set quiet mode to filter joins/quits * SSH-Chat: Trim newlines in the end of relayed messages * SSH-Chat: fix media links * SSH-Chat: do not relay "Rate limiting is in effect" message
* Fix #668 strip lang in code fences sent to Slack (#673)Qais Patankar2019-01-042-0/+7
|
* Remove unused key (config)Wim2019-01-041-1/+0
|
* Ignore LatencyReport event (slack)Wim2019-01-021-0/+2
|
* Use logrus imports instead of log (#662)Duco van Amstel2018-12-264-17/+17
|
* Fix sshchat connection logic (#661)Duco van Amstel2018-12-261-13/+28
|
* Try downloading files again if slack is too slow (slack). Closes #655 (#656)Jerry Heiselman2018-12-191-2/+8
|
* Add wait option for populateUsers/Channels (slack) Fixes #579 (#653)Wim2018-12-153-10/+16
| | | | | When setting wait to true, we wait until the populating isn't in progress anymore. This is used on startup connections where we really need the initial information which could take a long time on big servers.
* Populate user on channel join (slack) (#644)David Hill2018-12-152-0/+23
|
* Fix bot (legacy token) messages not being send. Closes #571Wim2018-12-131-1/+1
|
* Refactor telegram (#649)Wim2018-12-122-35/+46
| | | * Decrease complexity in Send() (makes codeclimate happy)
* Refactor sshchat bridge (#650)Wim2018-12-121-18/+20
| | | | * Decrease complexity in Send() * Add handleUploadFile() function
* Add bot debug info (slack)Wim2018-12-121-0/+1
|
* Enable errcheck linter (#646)Duco van Amstel2018-12-082-17/+22
|
* Refactor steam bridge (#630)Wim2018-12-072-90/+131
| | | | * split up in different files * decrease complexity
* Disable some unparam checks (discord)Wim2018-12-071-3/+3
|
* Split Discord bridge in multiple files (#632)Duco van Amstel2018-12-074-257/+412
|
* Move golangci-lint configuration to file (#635)Duco van Amstel2018-12-051-4/+1
|
* Refactor handleUploadFile (matrix) (#629)Wim2018-12-031-37/+46
|
* Fix multiple channel join regression. Closes #639Wim2018-12-031-1/+0
|
* Make slack-legacy change less restrictive (#626)Wim2018-12-021-8/+3
|
* Update nlopes/slack to 4.1-dev (#595)Patrick Connolly2018-12-011-14/+24
|
* Refactor mattermost bridge (#622)Wim2018-12-013-344/+422
| | | | | * Split up in different files * Decrease complexity * Fix linting issues
* Fix telegram crash #620Wim2018-11-291-2/+2
|
* Fix regression on using server ID (discord). #619 #617Wim2018-11-281-1/+2
|
* Create getChannelsByX functions to make codeclimate happy (slack) (#610)Patrick Connolly2018-11-281-9/+7
|
* Refactor irc handlers. Fix linting (#611)Wim2018-11-282-259/+304
|
* Refactor telegram handlers. Fix linting (#609)Wim2018-11-283-278/+306
| | | * Refactor telegram handlers. Fix linting
* Sync channel topics between Slack bridges (#585)Patrick Connolly2018-11-265-6/+113
| | | Added logic to allow for configurable synchronisation of topics and purposes of channels between Slack bridges.
* Update direct dependencies where possibleDuco van Amstel2018-11-251-1/+1
|
* Merge pull request #606 from 42wim/fix-590Wim2018-11-251-4/+13
|\
| * Make sure threaded files stay in thread (slack). Fixes #590Wim2018-11-251-4/+9
| |
| * Do not post empty messages (slack). Fixes #574Wim2018-11-251-0/+4
| |
* | Add option to send RAW commands after connection (irc). Fixes #490 (#604)Wim2018-11-252-0/+11
| |
* | Handle deleted/edited thread starting messages (slack). Fixes #600 (#605)Wim2018-11-252-0/+8
| |
* | Add option to ignore failing bridge on start. Fixes #455 (#603)Wim2018-11-251-0/+1
|/
* Limit discord username via webhook to 32 charsWim2018-11-231-0/+4
|