summaryrefslogtreecommitdiffstats
path: root/bridge
Commit message (Collapse)AuthorAgeFilesLines
* Fix goconst linter failureWim2018-11-131-3/+5
|
* Switch back go upstream bwmarrin/discordgoWim2018-11-131-1/+1
| | | | Commit https://github.com/bwmarrin/discordgo/commit/ffa9956c9b41e8e2a10c26a254389854e016b006 got merged in.
* Restore file comments coming from Slack (#583)Duco van Amstel2018-11-122-29/+25
|
* Disable Connect(), JoinChannel(), Send() for mattermost.pluginWim2018-11-111-0/+9
|
* Add more rate-limit handling (slack) (#581)Duco van Amstel2018-11-102-55/+138
|
* Make scopelint happyWim2018-11-084-0/+4
|
* Make goconst linter happyWim2018-11-082-13/+20
|
* Make gocritic linter happierWim2018-11-084-15/+17
|
* Act only on UserTypingEvents when enabledWim2018-11-081-0/+3
|
* Add ability to show when user is typing across Slack bridges (#559)Patrick Connolly2018-11-083-2/+41
|
* Fix Slack edit usernames (#570)Duco van Amstel2018-11-082-19/+29
|
* Make gocritic linter happyWim2018-11-085-10/+9
|
* Make structcheck linter happyWim2018-11-081-5/+1
|
* Make interfacer linter happyWim2018-11-081-1/+2
|
* Make unparam linter happyWim2018-11-083-9/+6
|
* Clean up config loading. (#561)Patrick Connolly2018-11-071-22/+18
|
* Refactor and clean-up handlers. (slack) (#533)Duco van Amstel2018-11-074-212/+245
|
* Clean up various stuff (#508)David Hill2018-11-079-50/+72
| | | * various cleanups
* Do not join Slack channel without API access (slack) (#563)Duco van Amstel2018-11-071-0/+5
|
* Preserve threading between Slack instances (#529)Patrick Connolly2018-11-073-0/+8
| | | | | | | | | | | | | | | | | | | | | | * Opportunistically preserve Slack threading when parent thread in cache. [#529] * Removed slack-specific processing from gateway. * Added docs. * Add option to enable threading, with default to off. * Did cleanup on @42wim's comments. * Update gateway/gateway.go Co-Authored-By: patcon <patrick.c.connolly@gmail.com> * Suggestion from @42wim :) * Suggestions from @42wim. * More suggestions.
* Add a health endpoint to API (#554)Patrick Connolly2018-11-071-0/+5
|
* Stop setting API ring buffer capacity if not specified. (#552)Patrick Connolly2018-11-051-1/+3
|
* Remove hyphens when auto-loading envvars from viper config (#545)Patrick Connolly2018-11-031-1/+1
| | | | | | * When auto-loading envvars from toml keys, remove hyphens. See: https://unix.stackexchange.com/questions/23659/can-shell-variable-include-character
* Respond with message on connect (api) (#550)NikkyAI2018-11-022-0/+9
| | | fix #549
* Prevent Slack API rate-limit overflow (#539)Duco van Amstel2018-11-011-0/+35
|
* Add better support for multiperson DM (mattermost)Wim2018-10-271-4/+4
|
* Split up cookie token and personal token (mattermost). Fixes #530 (#540)Wim2018-10-261-1/+1
|
* Fix bridge no longer POSTing username and avatar (slack) (#536)Patrick Connolly2018-10-241-2/+4
| | | | | | | | | | | | * Fixed pointer/reference issue in populateUsers. [#536] * Accepted codestyle suggestion. * Update bridge/slack/helpers.go Co-Authored-By: patcon <patrick.c.connolly@gmail.com> * Update helpers.go
* Update Blackfriday dependency (closes #522) (#532)Duco van Amstel2018-10-221-9/+12
| | | - Fixup Telegram bridge implementation to support updated dependency.
* Clean up message send logic (slack). (#531)Duco van Amstel2018-10-221-87/+94
|
* Clean up user and channel information management (slack) (#521)Duco van Amstel2018-10-163-72/+99
|
* Clean up code and strengthening (slack) (#519)Duco van Amstel2018-10-133-172/+243
| | | | | | | | | | | | | Changes include: - Refactor of strings into package-wide constants. - Predeclaration of regexps to be instantiated at package load time. - Checking of unchecked errors. - Structural changes: - Adding verifications to type-casting code. - Remove unnecessary 'len(X) > 0' checks before iterating over X. - Remove unnecessary 'else' clause after 'if' with 'return'. - Unexporting of public fields of Bridge struct. - Formatting: - One-field-per-line struct definitions.
* Refactor slack bridge prelude (#517)Duco van Amstel2018-10-123-447/+453
| | | | | Distributing the source of the Slack bridge across multiple files to increase readability and as a prelude to various refactors and clean-ups.
* Fix mentions cuttíng off all text after the mention (discord) (#506)NikkyAI2018-09-291-1/+1
|
* Let webhook also replace mentions (discord). Closes #502Wim2018-09-221-0/+1
|
* Fix Discord mentions by populating the nickMemberMap at connect (#498)NikkyAI2018-09-171-1/+19
|
* Replace @... string with user mention if match found (discord) (#492). ↵Jerry Heiselman2018-09-121-0/+46
| | | | | | Closes #460 * Added check for @-mention pattern and replacing it with a user with a matching Nick on incoming messages
* Fix panic by using matterclient calls in the right place. Related to ↵Wim2018-08-301-3/+5
| | | | cb7278eb (mattermost). Closes #491
* Get up to 1000 channels and private/mp/im channels (slack). Related to #489Wim2018-08-281-1/+1
|
* Check nickname on kick (irc). Closes #488Wim2018-08-271-1/+1
|
* Add caching to fix issue with slack API changes (slack). #481Wim2018-08-181-3/+36
|
* Add a bit more debugging (irc). #482Wim2018-08-161-0/+1
|
* Fix slack file/image downloads after api changes (slack)Wim2018-08-101-15/+12
|
* Use own forks for logrus-prefixed-formatter and discordgoWim2018-08-062-2/+2
|
* Use UserID to look for avatar instead of username (slack). Closes #472Wim2018-08-061-3/+3
|
* Clip too long messages sent to discord (discord). Closes #440Wim2018-07-222-0/+19
|
* Skip empty messages being sent with the webhook (discord). #469Wim2018-07-211-0/+4
|
* Remove ununsed function (slack)Wim2018-07-131-0/+2
|
* Add support for slack channels by ID. Closes #436Wim2018-07-131-18/+46
|
* Fix avatar uploads to work with MediaDownloadPath. Closes #454Wim2018-07-111-1/+1
|