Commit Graph

  • 5f48536e53 Ignored all user_typing messages in debug output. Patrick Connolly 2018-11-08 05:44:15 +08:00
  • dda2146718 Adopted @42wim's suggestions. Patrick Connolly 2018-11-07 13:28:52 +08:00
  • a82621f272 Update bridge/slack/slack.go Wim 2018-11-07 12:43:52 +08:00
  • 1a5081cc19 Added ability to show when user is typing across Slack bridges. [#516] Patrick Connolly 2018-11-06 23:52:40 +08:00
  • f2703979a4 Clean up config loading. (#561) Patrick Connolly 2018-11-08 05:32:12 +08:00
  • d2a1dc792f Refactor and clean-up handlers. (slack) (#533) Duco van Amstel 2018-11-07 20:35:59 +00:00
  • 46dd21a0f4
    Refactor and clean-up handlers. #533 Duco van Amstel 2018-10-13 00:20:36 +01:00
  • 06d66a0b2b Fix travis typo Wim 2018-11-07 20:40:09 +01:00
  • 0e2522279e Clean up various stuff (#508) David Hill 2018-11-07 14:36:50 -05:00
  • 141a42a75b Add go fmt test again to travis Wim 2018-11-07 20:32:39 +01:00
  • 1a26475fbb matrix: get the type from the correct variable. #508 David Hill 2018-11-07 11:48:57 -05:00
  • 45c44aee50 [slack]: cleanup previous commit David Hill 2018-11-05 18:39:28 -05:00
  • 4ccf59a00b various cleanups David Hill 2018-09-28 15:05:43 -04:00
  • a1bf37e457 Do not join Slack channel without API access (slack) (#563) Duco van Amstel 2018-11-07 16:25:00 +00:00
  • 348a20c78d
    Do not join Slack channel without API access #563 Duco van Amstel 2018-11-07 11:21:01 +00:00
  • 5b3beffa0e Cleaned up config loading. #561 Patrick Connolly 2018-11-07 18:46:19 +08:00
  • a20b7895a9 Preserve threading between Slack instances (#529) Patrick Connolly 2018-11-07 16:14:31 +08:00
  • 5666821e7b Add a health endpoint to API (#554) Patrick Connolly 2018-11-07 16:11:59 +08:00
  • 518b5d655b Merge branch 'master' into 499-google-translation #512 Patrick Connolly 2018-11-07 14:14:05 +08:00
  • 6c72ec6fe1 More suggestions. #529 Patrick Connolly 2018-11-06 06:48:01 +08:00
  • e6e8c74649 Suggestions from @42wim. Patrick Connolly 2018-11-06 06:35:35 +08:00
  • 64ece62200 Suggestion from @42wim :) Patrick Connolly 2018-11-06 06:25:45 +08:00
  • dc15ec288c Update gateway/gateway.go Wim 2018-11-06 06:02:23 +08:00
  • c89ebd4261 Did cleanup on @42wim's comments. Patrick Connolly 2018-11-06 03:02:50 +08:00
  • 043fe02b7e Add option to enable threading, with default to off. Patrick Connolly 2018-10-28 03:10:49 +08:00
  • e094d992c0 Added docs. Patrick Connolly 2018-10-28 03:08:05 +08:00
  • 256dada395 Removed slack-specific processing from gateway. Patrick Connolly 2018-10-28 00:22:07 +08:00
  • b23b4fcb9f Opportunistically preserve Slack threading when parent thread in cache. [#529] Patrick Connolly 2018-10-27 22:37:27 +08:00
  • 22d62efbc8 Renamed /ping to /health for healthcheck endpoint. #554 Patrick Connolly 2018-11-07 13:42:34 +08:00
  • 5132d8f097 Stop setting API ring buffer capacity if not specified. (#552) Patrick Connolly 2018-11-06 04:53:51 +08:00
  • 99dda9e23b Added a ping keepalive endpoint. Patrick Connolly 2018-11-05 15:18:04 +08:00
  • b17859fc9c Stop setting API ring buffer capacity if not specified. [Fixes #552] #552 Patrick Connolly 2018-11-05 03:23:13 +08:00
  • b81ff9c008 Add SendDirectMessageProps to send a DM with extra props (mattermost) Wim 2018-11-03 21:51:04 +01:00
  • 7e62bc4819 Remove hyphens when auto-loading envvars from viper config (#545) Patrick Connolly 2018-11-03 21:42:27 +08:00
  • 643a557c0c
    Update config.go #545 Patrick Connolly 2018-11-03 21:32:05 +08:00
  • d058be25ad Respond with message on connect (api) (#550) NikkyAI 2018-11-02 16:35:13 +01:00
  • df31becc54 [API] respond with message on connect #550 NikkyAI 2018-11-02 09:43:25 +01:00
  • 1269be1d04 Prevent Slack API rate-limit overflow (#539) Duco van Amstel 2018-11-01 20:28:22 +00:00
  • 08663c9358
    Prevent Slack API rate-limit overflow #539 Duco van Amstel 2018-10-25 15:54:59 -07:00
  • fa9b3adab4 Added ability to send reload into redis queue through channel. #525 Patrick Connolly 2018-10-30 02:00:48 +08:00
  • d47553c28c Read webhook token from viper config. Patrick Connolly 2018-10-30 00:42:29 +08:00
  • 3d6f6ebe61 Created CLI flag and stubbed out simple webhook endpoint. Patrick Connolly 2018-10-29 23:37:42 +08:00
  • 55fa80fbfd Use mainline gitter. #547 Patrick Connolly 2018-10-29 22:17:06 +08:00
  • 7712eb5687 First stub of working remote config. Patrick Connolly 2018-10-29 15:49:25 +08:00
  • cd2b686a7e When auto-loading envvars from toml keys, remove hyphens. Patrick Connolly 2018-10-29 13:47:52 +08:00
  • 3b8837a16b Update README Wim 2018-10-28 14:54:25 +01:00
  • 32f478e4a0 Check for expiring sessions and reconnect (mattermost) Wim 2018-10-27 22:03:41 +02:00
  • e2b50d6194 Add better support for multiperson DM (mattermost) Wim 2018-10-27 22:02:25 +02:00
  • 74e33b0a51 Update channels when a new group is created (mattermost) Wim 2018-10-27 13:20:40 +02:00
  • 107969c09a
    Split up cookie token and personal token (mattermost). Fixes #530 (#540) Wim 2018-10-26 16:47:56 +02:00
  • 8c61b2b8ce Split up cookie token and personal token. Fixes #530 #540 Wim 2018-10-26 16:45:49 +02:00
  • 48d72522ed Pulled translation code into separate funcs. Patrick Connolly 2018-10-25 22:16:47 +08:00
  • e62b9b4f65 Don't show translation when result is identical string. Patrick Connolly 2018-10-25 21:16:31 +08:00
  • d379118772 Fix bridge no longer POSTing username and avatar (slack) (#536) Patrick Connolly 2018-10-25 03:12:20 +08:00
  • 8971502f31 Allowed Slack attachments to be properly updated on edit. Patrick Connolly 2018-10-24 17:03:00 +08:00
  • eeccb7acd3 Fixed bug in msg/rmsg confusion. Patrick Connolly 2018-10-24 17:02:29 +08:00
  • 434184507a Merge branch '536-fixed-populateUsers' into 499-google-translation Patrick Connolly 2018-10-24 15:43:35 +08:00
  • 88bb9f7339 Merge branch 'master' into 499-google-translation Patrick Connolly 2018-10-24 15:40:20 +08:00
  • 4bcd1171a7 Merge branch 'master' into 499-google-translation Patrick Connolly 2018-10-24 15:38:52 +08:00
  • 24a60f262a
    Update helpers.go #536 Patrick Connolly 2018-10-24 11:58:20 +08:00
  • 76a601a474
    Update bridge/slack/helpers.go Wim 2018-10-24 11:38:57 +08:00
  • 291594b99c Allow origin CHANNEL to be used in RemoteNickFormat (#515) Patrick Connolly 2018-10-24 03:53:11 +08:00
  • f59eb23474 Specified nmt type model for translation. Patrick Connolly 2018-10-24 01:41:16 +08:00
  • 7705aa2a3b Accepted codestyle suggestion. Patrick Connolly 2018-10-24 01:32:50 +08:00
  • f3c39c9423
    Update matterbridge.toml.sample #515 Duco van Amstel 2018-10-24 01:16:17 +08:00
  • ccadda3ec2 Extracted translation code in separate files. Patrick Connolly 2018-10-24 01:10:10 +08:00
  • fc8fe48b49 Cleaned up logic around knowing whether message is translated. Patrick Connolly 2018-10-23 22:41:58 +08:00
  • c0b64573a5 Created handleTranslation func. Added IsTranslation key to Message struct. Patrick Connolly 2018-10-23 20:17:42 +08:00
  • c42a4db10b Moved Google Translate client to Router. Patrick Connolly 2018-10-23 19:34:47 +08:00
  • 55f60c3f83 Added editorconfig support to force tabs. #537 Patrick Connolly 2018-10-23 19:20:09 +08:00
  • 25dc18518e Fixed pointer/reference issue in populateUsers. [#536] Patrick Connolly 2018-10-23 19:10:32 +08:00
  • 7b280a6af3 Added origin CHANNEL to RemoteNickFormat. Updated config docs. [Fixes #515] Patrick Connolly 2018-10-11 14:59:26 +08:00
  • 5697772ee3 Removed newlines from link to untranslated message. Patrick Connolly 2018-10-23 17:39:48 +08:00
  • d20771ecd4
    Simplify the Slack bridge's connection logic. #538 Duco van Amstel 2018-10-21 19:05:11 +01:00
  • 0837f4b192
    Refactor and clean-up handlers. Duco van Amstel 2018-10-13 00:20:36 +01:00
  • f2cdda7278 Update Blackfriday dependency (closes #522) (#532) Duco van Amstel 2018-10-22 10:48:29 -07:00
  • 6911458d15 Clean up message send logic (slack). (#531) Duco van Amstel 2018-10-22 10:43:57 -07:00
  • 9db5afdcbf
    Update Blackfriday dependency #532 Duco van Amstel 2018-10-22 08:29:07 -07:00
  • 2182a7a58a
    Clean-up message send logic. #531 Duco van Amstel 2018-10-12 22:43:07 +01:00
  • 3b0a91d3ee Fixed poor trimming of translation source text. Patrick Connolly 2018-10-20 19:48:36 +08:00
  • 311ac5a099 Added general slack msg options back into API call. Patrick Connolly 2018-10-20 19:31:55 +08:00
  • 93a87e153d Fixed missing variable. Patrick Connolly 2018-10-20 18:16:50 +08:00
  • 21c8dcb1ba Show untranslated text in attachment when using Slack. Patrick Connolly 2018-10-20 18:09:59 +08:00
  • 1ba7385175 Fixed updating of html2md pkg. Patrick Connolly 2018-10-20 17:49:59 +08:00
  • 5a2610991c Updated to accomodate breaking changes in slack pkg. Patrick Connolly 2018-10-20 17:49:12 +08:00
  • ed32a079b6 Updated pkgs html2md (PR accepted), and slack (getPermalink support added). Patrick Connolly 2018-10-20 15:48:09 +08:00
  • 6238effdc2 Clean up user and channel information management (slack) (#521) Duco van Amstel 2018-10-16 19:34:09 +01:00
  • 2bc747c793
    Clean-up user and channel information management #521 Duco van Amstel 2018-10-12 20:08:03 +01:00
  • c36a6ad984 Reset msg.Text back to original for each channel's message handling. Patrick Connolly 2018-10-15 09:28:53 +08:00
  • ae5c3f02ee Added lots of debug output while working on PR. Patrick Connolly 2018-10-15 08:40:35 +08:00
  • ea89e62a96 Don't contact google to translate empty messages. Patrick Connolly 2018-10-15 08:35:34 +08:00
  • 03e2b90a24 Merge branch 'master' into 499-google-translation Patrick Connolly 2018-10-15 07:09:37 +08:00
  • f32e7a9c35 Moved translation attribute into toml config. Now using origmsg var for msg text. Patrick Connolly 2018-10-15 06:48:14 +08:00
  • 4eaa59c594 Went back to using <pre> for multiline code. Patrick Connolly 2018-10-15 04:38:35 +08:00
  • b339e21526 Added ability to render slackdown bold. Patrick Connolly 2018-10-15 04:10:23 +08:00
  • ddda1aad1a Cleaned up language checks. Patrick Connolly 2018-10-15 03:52:06 +08:00
  • aeb06c7478 Moved translation client from bridge to router. Patrick Connolly 2018-10-15 03:50:44 +08:00
  • 3e036b370a Fixed list parsing. Patrick Connolly 2018-10-15 03:07:02 +08:00
  • 02c99569d8 Use close brackets in br tags etc. Patrick Connolly 2018-10-15 03:06:24 +08:00
  • 8808ee4e39 Allowed preservation of codeblock formatting between translations. Patrick Connolly 2018-10-15 01:07:39 +08:00