summaryrefslogtreecommitdiffstats
path: root/bridge
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add Title from attachment slack message (#446)Maxim2018-06-131-1/+4
|
* Add MediaDownloadBlacklist option. Closes #442Wim2018-06-092-1/+16
|
* Reconnect on quit. (irc) See #431 (#445)Liam Stanley2018-06-0910-38/+49
| | | | | * potential fixes for #431 * go: fix formatting/gofmt/goreturns
* Add config option MediaDownloadPath (#443)Remi Reuvekamp2018-06-081-4/+6
| | | | | | | | | | | | | | * Add config option MediaUploadPath MediaDownloadPath can be used instead of MediaServerUpload, for when your webserver is on the same system as matterbridge and matterbridge has write access to the serve dir. * Limit length of hash in MediaServer urls to 8chars Full SHA256 is unnecessary for uniqueness. Also; if a file has the same first 8 charachters of the SHA256 hash, it's still not a problem, as long as the filename is not the same.
* Ignore messages from ourself. (sshchat) Closes #439Wim2018-06-061-0/+4
|
* Add message correction support for XMPP (#437)ValdikSS2018-05-291-3/+17
| | | | | | | | | | It works worse than it could be, since message correction in XMPP works differently compared to other messengers. XMPP replaces old message with old ID with new message with new ID. Matterbridge remembers only old ID, that's why you can edit a message from XMPP to the gateway only once. Edited messages from other networks to XMPP are handled correctly though.
* Prevent white or black color codes (irc) (#434)Yuval Langer2018-05-291-1/+2
|
* Fix regexp in replaceMention (slack). (#435)Patrick Connolly2018-05-291-1/+1
|
* Fix iconurl regression (mattermost,slack,rocketchat). Closes #430Wim2018-05-273-6/+12
|
* Add error message about webhook (slack)Wim2018-05-271-0/+4
|
* Use uuid instead of userid. Fixes #429Wim2018-05-272-6/+11
|
* Fix issue #432 - Avatar spoofing from Slack to Discord with uppercase in ↵OyyoDams2018-05-261-1/+1
| | | | nick doesn't work (#433)
* Fix format string bug (irc) (#428)Kazuhiro NISHIYAMA2018-05-181-1/+1
|
* End IRC username formatting with a total formatting reset (irc) (#425)Yuval Langer2018-05-181-1/+1
| | | | | | * Add zero padding to the color code * Change color ending into total formatting reset
* [WIP] Colorize username sent to IRC using its crc32 IEEE checksum (#423)Yuval Langer2018-05-112-2/+9
| | | | | | | | * Colorize username sent to IRC using its crc32 IEEE checksum * Add `ColorNicks` configuration variable * Add `ColorNicks` setting
* Add support for CJK to/from utf-8 (irc). #400Wim2018-05-111-14/+25
|
* Add QuoteFormat option (telegram). Closes #413Wim2018-05-112-1/+13
|
* Send attached files to XMPP in different message with OOB data and without ↵ValdikSS2018-05-091-0/+5
| | | | | | | body (#421) Conversations can't show inline pictures if there's anything besides URL in the message body. Workaround this issue by sending one usual message and one message with OOB data and without message body. The second message should not be shown in the clients without OOB support, so the user won't see the empty message.