Commit Graph

857 Commits

Author SHA1 Message Date
Patrick Connolly
c975ac0ff3 Fixed url matching to protect from translation. 2018-10-14 17:53:34 +08:00
Patrick Connolly
44e6f99e62 Added fix for Google Translate bug. 2018-10-14 17:30:01 +08:00
Patrick Connolly
6d4be25037 Simplified emoji replacement in Google Translate. 2018-10-14 17:00:58 +08:00
Patrick Connolly
0185e86e74 Initialized Google Translation during bridge init. 2018-10-14 14:45:40 +08:00
Patrick Connolly
ceb078bd5b Added mention of how to set google credentials. 2018-10-14 11:35:18 +08:00
Patrick Connolly
468c64049f Ignored emoji during translation. 2018-10-11 17:50:16 +08:00
Patrick Connolly
1d07b1faee Added origin CHANNEL to RemoteNickFormat. Updated config docs. [Fixes #515] 2018-10-11 14:59:26 +08:00
Patrick Connolly
914f32e9d0 Updated README. 2018-10-11 14:16:36 +08:00
Patrick Connolly
49f2e77f84 Allowed translation attribution text to be customized. 2018-10-11 14:16:23 +08:00
Patrick Connolly
ee7d9c8fb8 Fixed attribution conditional logic. 2018-10-11 14:02:42 +08:00
Patrick Connolly
f67b601900 Only add Google Translate attribution on translated messages. 2018-10-11 13:44:50 +08:00
Patrick Connolly
e76a61e82b Ignore translation of @usernames and #channelnames. 2018-10-09 03:15:59 +08:00
Patrick Connolly
aac7cffbdf Allow credentials to be set from base64 encoded envvar, instead of filesystem. 2018-10-08 17:55:20 +08:00
Patrick Connolly
7e1d9ed8c2 Translation works with no error checking! 2018-10-08 17:01:26 +08:00
Patrick Connolly
6dc3375c97 Transformed message. bugfix 2018-10-08 14:48:25 +08:00
Patrick Connolly
b9be663bc4 Added editorconfig for tab spacing. 2018-09-28 18:05:06 +08:00
Patrick Connolly
8e6e8fa8ed Added debugging to test translation. 2018-09-28 18:04:45 +08:00
Wim
bd3a3b6eaf Let webhook also replace mentions (discord). Closes #502 2018-09-22 22:15:19 +02:00
NikkyAI
296428d53e Fix Discord mentions by populating the nickMemberMap at connect (#498) 2018-09-17 21:25:06 +02:00
Wim
e0ca876de2 Update vendor lrstanley/girc 2018-09-14 00:18:20 +02:00
Jerry Heiselman
a431a4fa04 Replace @... string with user mention if match found (discord) (#492). Closes #460
* Added check for @-mention pattern and replacing it with a user with a matching Nick on incoming messages
2018-09-12 22:30:14 +02:00
Declan Hoare
cc2bd03ec9 Add Mattereddit to README.md (#493) 2018-09-01 18:45:41 +02:00
Wim
1fe81b7d1e Bump version 2018-08-30 23:14:37 +02:00
Wim
0bd5a0d92d Release v1.11.3 v1.11.3 2018-08-30 23:10:05 +02:00
Wim
330ddb6a30 Fix panic by using matterclient calls in the right place. Related to cb7278eb (mattermost). Closes #491 2018-08-30 23:04:50 +02:00
Wim
52dbd702ad Get up to 1000 channels and private/mp/im channels (slack). Related to #489 2018-08-28 22:33:07 +02:00
Wim
d7c3570ba3 Check nickname on kick (irc). Closes #488 2018-08-27 21:20:41 +02:00
Wim
ab4d51b40b Bump version 2018-08-19 23:32:42 +02:00
Wim
1665c93d3b Release v1.11.2 v1.11.2 2018-08-19 23:29:40 +02:00
Wim
b51fdbce9f Add caching to fix issue with slack API changes (slack). #481 2018-08-18 00:12:05 +02:00
Wim
351b423e15 Add a bit more debugging (irc). #482 2018-08-16 23:02:28 +02:00
Wim
7690be1647 Fix slack file/image downloads after api changes (slack) 2018-08-10 00:39:07 +02:00
Wim
68aeb93afa Update nlopes/slack vendor 2018-08-10 00:38:19 +02:00
Wim
51062863a5 Use mod vendor for vendored directory (backwards compatible) 2018-08-06 21:47:05 +02:00
Wim
4fb4b7aa6c Start using go mod 2018-08-06 21:43:34 +02:00
Wim
7f3cbcedc0 Use own forks for logrus-prefixed-formatter and discordgo 2018-08-06 21:11:13 +02:00
Wim
6ef09def81 Bump version 2018-08-06 17:53:09 +02:00
Wim
c4c6aff9a5 Release v1.11.1 v1.11.1 2018-08-06 17:49:14 +02:00
Wim
d71850cef6 Use UserID to look for avatar instead of username (slack). Closes #472 2018-08-06 16:44:15 +02:00
Wim
2597c9bfac Clip too long messages sent to discord (discord). Closes #440 2018-07-22 00:28:17 +02:00
Wim
93307b57aa Skip empty messages being sent with the webhook (discord). #469 2018-07-21 23:19:11 +02:00
Wim
618953c865 Remove ununsed function (slack) 2018-07-13 23:28:23 +02:00
Wim
e04dd78624 Add support for slack channels by ID. Closes #436 2018-07-13 23:23:11 +02:00
Wim
fa0c4025f7 Fix avatar uploads to work with MediaDownloadPath. Closes #454 2018-07-11 23:44:29 +02:00
John
2d2d185200 Stop numbers being stripped after non-color control codes (irc) (#465)
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.
2018-07-11 22:50:49 +02:00
Wim
cb7278eb50 Use nickname instead of username if defined (mattermost). Closes #452 2018-07-03 22:41:09 +02:00
Wim
89aa114192 Add GetNickname and UpdateUser functions
When we get an user_updated event from mattermost we also actually update
the user, so the nicknames/usernames are also updated
2018-07-03 22:35:44 +02:00
Wim
ed062e0ce5 Add a space before url in file uploads (discord). Closes #461 2018-06-29 22:35:29 +02:00
Wim
a69ef8402b Fix previous commit 2018-06-28 21:19:02 +02:00
Wim
8779f67d2d Allow join-leave and topic changes to webhook (discord) 2018-06-28 21:14:31 +02:00