Commit graph

30 commits

Author SHA1 Message Date
Vladimir Matena
6d2f8c1927 Switch from boost shared pointers to stl shared pointers (#162)
* Swiften 4 support
* using standard shared pointers when compiling with Swiften 4
2016-09-12 19:20:58 +03:00
Jan Kaluza
a8128fde21 Slack: use lower-case room name 2016-02-20 18:24:41 +01:00
Jan Kaluza
00c5273fbb Slack: Handle channels starting with hash, do not reconnect to Slack RTM when URL expired 2016-02-20 07:23:07 +01:00
Jan Kaluza
7ba8909d71 Use value_or instead of get_value_or 2016-02-15 12:21:04 +01:00
Jan Kaluza
26fc8a0323 Fix compilation with Swiften 3.0-rc2. This is now the minimal Swiften 3 version to compile with. Compilation with Swiften 2 is still supported. 2016-02-15 09:57:25 +01:00
Jan Kaluza
6dd3863200 Do no create Swift::JID with an empty node 2016-02-08 16:00:17 +01:00
Jan Kaluza
cedac0a9b0 Fix leaving the room 2016-02-01 10:16:06 +01:00
Jan Kaluza
80a43cb504 Slack: Better SlackSession logging 2016-02-01 08:32:26 +01:00
Jan Kaluza
f6949a020a Fix SlackAPI::channelCreate 2016-02-01 08:09:47 +01:00
Jan Kaluza
4b7baa6910 Unit test for SlackRTM 2016-02-01 07:10:28 +01:00
Jan Kaluza
f6d1844943 Slack: remove unused code 2016-01-29 14:34:07 +01:00
Jan Kaluza
b55393bf9f Slack: Store channel/im/user name to ID mapping in SlackIdManager 2016-01-29 13:45:28 +01:00
Jan Kaluza
efd60bd374 Slack: Add generic SlackAPI::createChannel to create slack channel and invite transport bot to it. 2016-01-28 19:47:25 +01:00
Jan Kaluza
703af16e8b Slack: Use access_token to Set Purpose of channel 2016-01-27 16:14:25 +01:00
Jan Kaluza
52347fa379 Slack: Invite our bot to main SlackChannel once it is created 2016-01-27 16:08:58 +01:00
Jan Kaluza
2e508b97c3 Slack: get_oauth2_url now stores uin/password in the state data and use them when registering the user - this makes the registration easier from web interface side 2016-01-27 15:54:31 +01:00
Jan Kaluza
384d4bfcd0 Create main slack channel after registering to Slack 2016-01-27 15:01:39 +01:00
Jan Kaluza
fd9c9af71b Slack: Send real team name chosen by user to Web interface, create channel chosen by the user when joining the room if it does not exists 2016-01-26 18:55:22 +01:00
Jan Kaluza
1bf36dbf68 Allow setting main channel using Slack command 2016-01-25 08:24:41 +01:00
Jan Kaluza
af75453834 Fix #86 - Support case-sensitive buddy names transparently. When lower-cased name is received from frontend, it is mapped to case-sensitive name sent by the backend originally. 2016-01-22 15:17:51 +01:00
Jan Kaluza
b6c1ba543c Add support for .spectrum2 reconnect Slack command and show better error message when disconnected from 3rd-party network 2015-12-28 10:44:56 +01:00
Jan Kaluza
deba434ac0 Fix handling of connection error to 3rd-party network from Slack and add test for that. 2015-12-24 15:44:25 +01:00
Jan Kaluza
a025aa1085 Test echo also for Slack 2015-12-22 18:05:48 +01:00
Jan Kaluza
004f941038 Slack: Handle disconnection from 3rd-party network 2015-12-21 13:41:30 +01:00
Jan Kaluza
24d902983a Send list of online users to Slack channel when transporting to 3rd-party network room. 2015-12-07 18:17:04 +01:00
Jan Kaluza
26a01b8efa Slack: allow registering an account and chatting with normal contacts. 2015-12-04 20:21:36 +01:00
Jan Kaluza
2922d57bfd Allow logging to legacy network from Slack 2015-12-03 17:19:23 +01:00
Jan Kaluza
ab8a950661 Fix various small Slack bugs 2015-11-25 21:52:29 +01:00
Jan Kaluza
d06d6f7414 Better help messages for Slack bot, ability to rejoin the room automatically after spectrum2 restart 2015-11-25 20:29:57 +01:00
Jan Kaluza
e0ea6762c7 Rename SlackInstallation to SlackSession. Allow SlackUser to move SlackSession from SlackUserManager once the SlackUser is created. 2015-11-25 19:20:19 +01:00
Renamed from spectrum/src/frontends/slack/SlackInstallation.cpp (Browse further)