summaryrefslogtreecommitdiffstats
path: root/bridge
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Stop numbers being stripped after non-color control codes (irc) (#465)John2018-07-111-1/+1
| | | Currently numbers are stripped not just after the color control code (\x03) but also after other formatting such as bold (\x02) and italic (\x1D), which is both unnecessary and leads to missing text from irc. This fixes that by only stripping numbers after the color control code.
* Use nickname instead of username if defined (mattermost). Closes #452Wim2018-07-031-0/+3
|
* Add a space before url in file uploads (discord). Closes #461Wim2018-06-291-1/+1
|
* Fix previous commitWim2018-06-281-1/+1
|
* Allow join-leave and topic changes to webhook (discord)Wim2018-06-281-1/+1
|
* Fix possible panic. #448Wim2018-06-191-1/+1
|
* Fix build (telegram)Wim2018-06-181-1/+4
|
* Add support for MessageFormat=htmlnick (telegram). #444Wim2018-06-181-1/+11
|
* Add channel password support for XMPP (#451)Bruno Bierbaumer2018-06-182-2/+7
|
* Handle slack attachments sent to mattermost. Closes #447Wim2018-06-161-0/+12
|