Patrick Connolly
db6093b646
Review: Added names to testcases and cleaned up.
2018-11-26 12:34:58 +08:00
Patrick Connolly
adb02771c6
Made gofmt happy.
2018-11-26 12:19:46 +08:00
Patrick Connolly
bc0d0efe66
Properly return when unexpected topic/purpose message format.
2018-11-26 12:19:46 +08:00
Patrick Connolly
31e2edf089
Review: Using testify. Renamed var.
2018-11-26 12:19:46 +08:00
Patrick Connolly
2a47b8fd40
Small fixup.
2018-11-26 12:19:46 +08:00
Patrick Connolly
608f5285ce
Nit.
2018-11-26 12:19:46 +08:00
Patrick Connolly
c8af8b9533
Comment fixups.
2018-11-26 12:19:46 +08:00
Patrick Connolly
3e0ec080ca
Removed named return.
2018-11-26 12:19:46 +08:00
Patrick Connolly
732a0d68fb
Removed named return.
2018-11-26 12:19:46 +08:00
Patrick Connolly
762aa3a41c
Added my first golang test. Moved func out of interface value for easier testing.
2018-11-26 12:19:46 +08:00
Patrick Connolly
5605032873
Moved topic/purpose processing logic to slack handler.
2018-11-26 12:19:46 +08:00
Patrick Connolly
371ea0d733
Added ability to handle cleared topics/purposes.
2018-11-26 12:19:46 +08:00
Duco van Amstel
578e2b6ae8
Update bridge/slack/slack.go
...
Co-Authored-By: patcon <patrick.c.connolly@gmail.com >
2018-11-26 12:19:46 +08:00
Duco van Amstel
f21b539fbf
Update bridge/slack/slack.go
...
Co-Authored-By: patcon <patrick.c.connolly@gmail.com >
2018-11-26 12:19:46 +08:00
Patrick Connolly
009aa60264
Renamed flag to SyncTopic.
2018-11-26 12:19:46 +08:00
Patrick Connolly
95cf8c11d5
Moved channel topic/purpose update into new function.
2018-11-26 12:19:46 +08:00
Patrick Connolly
6d0dcdb718
Made go fmt happy.
2018-11-26 12:19:46 +08:00
Patrick Connolly
2e3d90ef64
Moved nosync message drop into gateway logic.
2018-11-26 12:19:45 +08:00
Patrick Connolly
fa2e31ce51
Added feature to sync channel topic/purpose between Slack bridges. [ #585 ]
2018-11-26 12:19:45 +08:00
Patrick Connolly
0c382b081d
Documented return value of handleStatusEvent.
2018-11-26 12:19:45 +08:00
Duco van Amstel
09875fe160
Update direct dependencies where possible
2018-11-25 21:21:04 +01:00
Wim
f716b8fc0f
Merge pull request #606 from 42wim/fix-590
2018-11-25 20:40:22 +01:00
Wim
9f66f93641
Add option to send RAW commands after connection (irc). Fixes #490 ( #604 )
2018-11-25 19:32:16 +01:00
Wim
f00d4d7d3f
Make sure threaded files stay in thread (slack). Fixes #590
2018-11-25 19:27:45 +01:00
Wim
0929535b2e
Do not post empty messages (slack). Fixes #574
2018-11-25 19:26:47 +01:00
Wim
8869e253ca
Handle deleted/edited thread starting messages (slack). Fixes #600 ( #605 )
2018-11-25 10:08:57 +00:00
Wim
f4d4dc91b1
Add option to ignore failing bridge on start. Fixes #455 ( #603 )
2018-11-25 10:35:35 +01:00
Wim
c6fd65d1d7
Limit discord username via webhook to 32 chars
2018-11-23 20:52:31 +01:00
Wim
0795906533
Rework connection logic (irc)
...
If IRC connection fails on first connect, bail out.
Wait until after nickserv auth until joining channels (also after reconnects)
Don't do a separate irc timeout, some connections take a while #503
2018-11-23 00:26:50 +01:00
Wim
a2b45bc799
Fix Nickserv logic (irc) #602
2018-11-22 22:46:38 +01:00
Wim
ae32bae791
Add protocol to msg.ID in cache ( #596 )
2018-11-19 21:28:23 +01:00
Wim
32f57b7c26
Add links to slack bot and legacy config in error message (slack)
2018-11-18 17:14:47 +01:00
Duco van Amstel
ce21ba1545
Fix golint linter issues and enable it in CI ( #593 )
2018-11-15 20:43:43 +01:00
Duco van Amstel
c89085bf44
Fix and enable goimports linter ( #591 )
2018-11-15 19:24:22 +01:00
Patrick Connolly
4254ed3c63
Fix regression in skip logic (slack). ( #592 )
2018-11-15 19:23:46 +01:00
Duco van Amstel
85564a35fd
Fix IRC line splitting. Closes #584 ( #587 )
2018-11-14 22:43:52 +01:00
Patrick Connolly
09713d40ba
Fix file caching issue (slack). #572 ( #575 )
2018-11-14 21:00:21 +01:00
Duco van Amstel
16d5aeac7c
Make config.Config more unit-test friendly ( #586 )
2018-11-13 23:30:56 +01:00
Duco van Amstel
e19ba5a06a
Add new Slack connection and forked legacy Slack bridge ( #582 )
2018-11-13 20:51:19 +01:00
Wim
f7a5077d5d
Fix goconst linter failure
2018-11-13 20:40:15 +01:00
Wim
f8dc24bc09
Switch back go upstream bwmarrin/discordgo
...
Commit ffa9956c9b got merged in.
2018-11-13 00:02:07 +01:00
Duco van Amstel
e9419f10d3
Restore file comments coming from Slack ( #583 )
2018-11-12 15:58:00 +01:00
Wim
d2ae3ebf9e
Disable Connect(), JoinChannel(), Send() for mattermost.plugin
2018-11-11 22:44:10 +01:00
Duco van Amstel
2f042ad915
Add more rate-limit handling (slack) ( #581 )
2018-11-10 22:09:41 +01:00
Wim
78401214b0
Make scopelint happy
2018-11-08 22:29:34 +01:00
Wim
b2a07aba3a
Make goconst linter happy
2018-11-08 22:20:03 +01:00
Wim
1e0bb3da95
Make gocritic linter happier
2018-11-08 22:01:29 +01:00
Wim
59994da176
Act only on UserTypingEvents when enabled
2018-11-08 21:52:10 +01:00
Patrick Connolly
3d281b3316
Add ability to show when user is typing across Slack bridges ( #559 )
2018-11-08 20:45:40 +01:00
Duco van Amstel
ea86849a58
Fix Slack edit usernames ( #570 )
2018-11-08 20:07:21 +01:00