Commit Graph

  • 17343be4c3 Added indication of when replies are unthreaded. Patrick Connolly 2018-11-17 04:00:27 +08:00
  • cb1d7be4fd Review: Treat attachments separately when building message. #595 Patrick Connolly 2018-12-01 19:21:17 +08:00
  • faf614dad6 Review: Moved messageOptions into postMessage. Patrick Connolly 2018-11-29 02:26:54 +08:00
  • 7c67a9f717 Review: Extracted messageOptions from loop. Patrick Connolly 2018-11-29 02:09:47 +08:00
  • 5d2f7ed8d3 Review: Removed shadow var. Patrick Connolly 2018-11-27 23:40:09 +08:00
  • 5cae3ae8e6 Make scopelint happy. Patrick Connolly 2018-11-20 20:58:10 +08:00
  • f0bedfdd15 Refactored postMessage to use in more places. Patrick Connolly 2018-11-19 20:25:15 +08:00
  • 0f1c31ff14 Updated vendor and tidy-ed. Patrick Connolly 2018-11-19 19:55:11 +08:00
  • 9eae93bf1e Updated nlopes/slack to 4.1-dev. Patrick Connolly 2018-11-17 05:19:02 +08:00
  • e258e76624 Made gofmt happy. #624 Patrick Connolly 2018-12-01 18:44:02 +08:00
  • 02e6ffcd4c Used skipTLSConfig value. Patrick Connolly 2018-12-01 18:43:16 +08:00
  • 100088b7bd Clear up type of string in webhook config. Patrick Connolly 2018-12-01 18:21:49 +08:00
  • ab19c66706 Mention account where legacy user token is used. Patrick Connolly 2018-12-01 18:14:58 +08:00
  • a68263e5ea Clarify error formatting for slack connection. Patrick Connolly 2018-12-01 18:13:48 +08:00
  • 280d322e85 Removed slack-legacy protocol. Patrick Connolly 2018-12-01 18:11:13 +08:00
  • 242c2b2ea7 Revert last commit, re: normalizeID. Patrick Connolly 2018-12-01 18:06:42 +08:00
  • 18618ec487 Fixed threading bug on complex slack and slack-legacy gateways. Patrick Connolly 2018-11-30 20:10:56 +08:00
  • d4a3d96f00 Make slack-legacy change less restrictive Wim 2018-12-01 01:03:29 +01:00
  • f94c2b40a3
    Refactor mattermost bridge (#622) Wim 2018-12-01 00:49:08 +01:00
  • 47d29ecf63 Tidy up fetching of config values. (#616) Patrick Connolly 2018-12-01 07:24:07 +08:00
  • f2088a687e Extract bridgeMap into own package to improve testability (#601) Patrick Connolly 2018-12-01 06:53:00 +08:00
  • fc66579fc9 Added testcase for bug scenario in #624. #623 Patrick Connolly 2018-11-30 20:22:31 +08:00
  • 3aac177801 Added cucumber step definitions for thread replies. Patrick Connolly 2018-11-30 15:37:30 +08:00
  • d0918ae773 Refactor mattermost #622 Wim 2018-11-30 00:43:27 +01:00
  • faeeee2948
    Refactor matterclient (#613) Wim 2018-11-29 23:53:43 +01:00
  • 366be5df6f Refactor matterclient #613 Wim 2018-11-28 11:45:19 +01:00
  • 7923cfe8f8 Fix telegram crash #620 Wim 2018-11-29 23:03:50 +01:00
  • b51d0a9b05 Bump version Wim 2018-11-29 00:20:09 +01:00
  • 09f22a801e Release v1.12.1 Wim 2018-11-29 00:09:18 +01:00
  • 3a824c5f9d Update changelog Wim 2018-11-29 00:08:58 +01:00
  • d2cfd235ef Release v1.12.1 v1.12.1 Wim 2018-11-29 00:09:18 +01:00
  • f8bf7f8d76 Update changelog Wim 2018-11-29 00:08:58 +01:00
  • 8432330cb2 Fix regression on using server ID (discord). #619 #617 Wim 2018-11-28 23:50:40 +01:00
  • 02577a2b5c Make sure threaded files stay in thread (slack). Fixes #590 Wim 2018-11-25 00:23:42 +01:00
  • 73501739d5 Do not post empty messages (slack). Fixes #574 Wim 2018-11-25 00:34:14 +01:00
  • ba674af5d4 Handle deleted/edited thread starting messages (slack). Fixes #600 (#605) Wim 2018-11-25 11:08:57 +01:00
  • 3c85d937c6 Remove double " from Discord gateway webhookurl= (#607) jamoffat 2018-11-25 20:37:14 +11:00
  • df02f51c56 Fix regression on using server ID (discord). #619 #617 Wim 2018-11-28 23:50:40 +01:00
  • f33ddf21e5 Updated swagger docs. #551 Patrick Connolly 2018-11-29 05:15:56 +08:00
  • d0525483b3 Updated README for swagger doc regeneration. Patrick Connolly 2018-11-29 05:15:43 +08:00
  • e0d3907d2b Print executing lines in api doc sync script. Patrick Connolly 2018-11-29 04:51:24 +08:00
  • f76890e9b8 Re-enabled api doc sync. Don't mess with travis modules. Patrick Connolly 2018-11-29 04:45:08 +08:00
  • d3bd53ba3d Added comment to justify blank import. Patrick Connolly 2018-11-29 04:38:24 +08:00
  • cdc942d676 Fixed API description docs. Patrick Connolly 2018-11-29 04:32:58 +08:00
  • 77a932edb8 Fixed typo in health endpoint api docs. Patrick Connolly 2018-11-29 04:04:44 +08:00
  • e98db116cf Removed trailing slash even without token auth. Patrick Connolly 2018-11-29 04:03:58 +08:00
  • 92503471b2 Allowed docs.json endpoint to load correctly. Patrick Connolly 2018-11-29 04:03:33 +08:00
  • f13e7779ec Added vendors directory. Patrick Connolly 2018-11-29 03:45:22 +08:00
  • 9578300eb3 Updated go.mod files. Patrick Connolly 2018-11-29 03:45:01 +08:00
  • aa7402fe6b Updated API struct name. Patrick Connolly 2018-11-29 03:44:37 +08:00
  • 1bcb57238a Formatted to pass go fmt. Patrick Connolly 2018-11-08 08:30:57 +08:00
  • 2f3b9e1822 Don't check on the API docs. Failing for some reason. Patrick Connolly 2018-11-08 08:25:12 +08:00
  • b45a5578d2 Use a skipper for the auth, so tokens aren't needed for swagger docs. Patrick Connolly 2018-11-08 08:09:05 +08:00
  • 41f49495ba Fixes rebase bug. Patrick Connolly 2018-11-08 08:07:08 +08:00
  • eff1dc261b Added /api/health docs. Patrick Connolly 2018-11-08 07:58:14 +08:00
  • c9e3d46127 Added mention of API and screenshot to README. Patrick Connolly 2018-11-05 17:07:55 +08:00
  • c97ecb2a7f Added script to confirm API docs up-to-date. Patrick Connolly 2018-11-05 16:49:58 +08:00
  • b8f9e2ff3a Ensure that we're using go.mod when not vendoring. Patrick Connolly 2018-11-05 15:54:29 +08:00
  • 4d4a2b8c44 Allowed vendor directory to be rebuilt during PRs. Patrick Connolly 2018-11-05 15:40:27 +08:00
  • e873280794 Fixed up Swagger formatting. Patrick Connolly 2018-11-05 15:12:30 +08:00
  • b855dc8ec5 Made routes more DRY. Patrick Connolly 2018-11-05 15:11:32 +08:00
  • 110b840d48 Updated config.Message API docs. Allow params to be input via swagger ui. Patrick Connolly 2018-11-05 04:32:39 +08:00
  • de00b56d9a Added loose docs for each endpoint. Patrick Connolly 2018-11-05 01:58:09 +08:00
  • b9d6c06c82 Added first stub for swagger docs. Patrick Connolly 2018-11-04 21:13:00 +08:00
  • d021e23cc2 Tidy up fetching of config values. #616 Patrick Connolly 2018-11-28 20:58:51 +08:00
  • fc5e3a6728 Create getChannelsByX functions to make codeclimate happy (slack) (#610) Patrick Connolly 2018-11-28 18:04:26 +08:00
  • 57fbd3c723
    Refactor irc handlers. Fix linting (#611) Wim 2018-11-28 10:58:56 +01:00
  • 25cd1e2cc1
    Refactor telegram handlers. Fix linting (#609) Wim 2018-11-28 10:57:59 +01:00
  • 1caeaea0b8 Refactor irc handlers. Fix linting #611 Wim 2018-11-27 00:19:02 +01:00
  • 8536ca153d Refactor handlers based on codeclimate review (telegram) #609 Wim 2018-11-26 00:38:40 +01:00
  • f5659d455d Sync channel topics between Slack bridges (#585) Patrick Connolly 2018-11-26 17:47:04 +08:00
  • ae2c2d7899
    Fixup test #585 Duco van Amstel 2018-11-26 09:40:46 +00:00
  • 70247e0b64
    Update call with attached method Duco van Amstel 2018-11-26 09:21:20 +00:00
  • 8441076784
    Update tests with attached method Duco van Amstel 2018-11-26 09:20:23 +00:00
  • d122bc8f9a
    Attach extraction method to bridge struct Duco van Amstel 2018-11-26 09:19:45 +00:00
  • 4837dacf3d
    Fix extra quote Duco van Amstel 2018-11-26 09:07:16 +00:00
  • b28c22ce46
    Add a log message to Slack topic extraction Duco van Amstel 2018-11-26 08:59:49 +00:00
  • c28c0d60bf Review: Removed newline between external and application pkgs. #601 Patrick Connolly 2018-11-26 16:51:13 +08:00
  • 91a7002a0f DRY out getChannelsByX functions to make codeclimate happy. #610 Patrick Connolly 2018-11-26 15:43:29 +08:00
  • 497deff0b0 Made gofmt happy. Patrick Connolly 2018-11-26 12:59:01 +08:00
  • e1cf1ee06d Review: Use assert.Equalf Patrick Connolly 2018-11-26 12:39:46 +08:00
  • db6093b646 Review: Added names to testcases and cleaned up. Patrick Connolly 2018-11-26 12:34:58 +08:00
  • adb02771c6 Made gofmt happy. Patrick Connolly 2018-11-21 04:38:35 +08:00
  • 5b8a338409 Simplify handleMessage logic in gateway for topic sync. Patrick Connolly 2018-11-21 00:55:39 +08:00
  • bc0d0efe66 Properly return when unexpected topic/purpose message format. Patrick Connolly 2018-11-20 22:40:24 +08:00
  • 5d5dc47d25 Review: Removed last vestigate of nosync. Patrick Connolly 2018-11-20 22:38:53 +08:00
  • 31e2edf089 Review: Using testify. Renamed var. Patrick Connolly 2018-11-20 21:14:56 +08:00
  • 2a47b8fd40 Small fixup. Patrick Connolly 2018-11-16 14:56:37 +08:00
  • 608f5285ce Nit. Patrick Connolly 2018-11-16 14:45:08 +08:00
  • c8af8b9533 Comment fixups. Patrick Connolly 2018-11-15 22:55:04 +08:00
  • 3e0ec080ca Removed named return. Patrick Connolly 2018-11-15 22:28:48 +08:00
  • 732a0d68fb Removed named return. Patrick Connolly 2018-11-15 22:28:48 +08:00
  • 762aa3a41c Added my first golang test. Moved func out of interface value for easier testing. Patrick Connolly 2018-11-15 22:28:12 +08:00
  • 5605032873 Moved topic/purpose processing logic to slack handler. Patrick Connolly 2018-11-15 20:31:43 +08:00
  • 371ea0d733 Added ability to handle cleared topics/purposes. Patrick Connolly 2018-11-15 20:22:21 +08:00
  • 578e2b6ae8 Update bridge/slack/slack.go Duco van Amstel 2018-11-15 16:14:58 +08:00
  • f21b539fbf Update bridge/slack/slack.go Duco van Amstel 2018-11-15 16:14:28 +08:00
  • 009aa60264 Renamed flag to SyncTopic. Patrick Connolly 2018-11-15 15:50:37 +08:00
  • 95cf8c11d5 Moved channel topic/purpose update into new function. Patrick Connolly 2018-11-13 18:21:37 +08:00
  • 6d0dcdb718 Made go fmt happy. Patrick Connolly 2018-11-13 17:49:54 +08:00