Commit graph

1946 commits

Author SHA1 Message Date
Frank Zschockelt
f747ef0b85 Always set MG_ENABLE_SSL
mg_set_ssl() isn't used conditionally, so the necessary define shouldn't be
set conditionally either.
2016-02-01 22:33:26 +01:00
Frank Zschockelt
0cf6ce5de2 Add all symbols to the dynamic linker symbol table
spectrum2 uses them to check for its compiled-in frontends.
2016-02-01 22:33:22 +01:00
Jan Kaluza
c4eda8c23b Web interface: Use [identity] name instead of hostname when set 2016-02-01 18:18:28 +01:00
Jan Kaluza
cedac0a9b0 Fix leaving the room 2016-02-01 10:16:06 +01:00
Jan Kaluza
c358589ec5 Slack: Ignore purpose messages for now 2016-02-01 10:08:18 +01:00
Jan Kaluza
4353dbef02 Libtransport: Better WebSocketClient logging 2016-02-01 09:25:48 +01:00
Jan Kaluza
58e21039ff Slack: Parse channel_joined and channel_created RTM messages 2016-02-01 09:18:16 +01:00
Jan Kaluza
80a43cb504 Slack: Better SlackSession logging 2016-02-01 08:32:26 +01:00
Jan Kaluza
eb8f7ddad9 Slack: Better HTTPRequests logging 2016-02-01 08:17:16 +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
008827e06d Set 30 seconds timeout for oauth2 code 2016-01-31 10:19:30 +01:00
Jan Kaluza
2ce9fd2e16 Slack: Store info about created channel to SlackIdManager 2016-01-29 14:57:17 +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
3a7c516129 Catch boost::system::system_error when loading frontend 2016-01-29 08:21:13 +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
7ac5cbe5e1 Web interface: Fix show_room_list 2016-01-28 10:41:43 +01:00
Jan Kaluza
144ccb07e8 Web interface: Fix missing ',' in app.js 2016-01-28 09:23:41 +01:00
Jan Kaluza
0363e74dd6 Web interface list joined room for slack backend 2016-01-28 07:04:53 +01:00
Jan Kaluza
4e8042885f Web interface: Support Join room for Slack frontend 2016-01-28 06:30:22 +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
9d2692c5d2 Fix #103 - Escape also nodes for MUC rooms in Conversation 2016-01-27 10:54:10 +01:00
Jan Kaluza
1cb79aafa6 Test room escaping in DiscoItemsResponder 2016-01-27 08:50:41 +01:00
Jan Kaluza
21a6955ca0 Increase the timeout for set_oauth2_code to 10 seconds 2016-01-26 19:44:33 +01:00
Jan Kaluza
42b653a23f Spectrum2_manager: add method to detect frontend type 2016-01-26 19:24:14 +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
f231cf1a61 Set port and base_location in config 2016-01-26 08:27:33 +01:00
Jan Kaluza
88777c9631 Define commit Dockerfile argument 2016-01-25 12:54:44 +01:00
Jan Kaluza
2103046516 Preparation for 2.0.1 2016-01-25 12:21:47 +01:00
Jan Kaluza
1bf36dbf68 Allow setting main channel using Slack command 2016-01-25 08:24:41 +01:00
Jan Kaluza
4eedf6e60a Slack: Use access_token to get initial team name 2016-01-25 07:42:10 +01:00
Jan Kaluza
456f0713a7 Fix crash from previous commit 2016-01-24 13:08:09 +01:00
Jan Kaluza
c9cd2218b1 Slack: get the bot_access_token when requesting the token and use it to connect RTM 2016-01-24 13:04:32 +01:00
Jan Kaluza
2084556ded Slack: Use just 'bot' scope 2016-01-24 12:29:58 +01:00
Jan Kaluza
57a0ebde1d Slack: use client instead of rtm:start... 2016-01-24 12:19:08 +01:00
Jan Kaluza
e1797dbe1f Slack: include rtm:stream scope 2016-01-24 12:15:03 +01:00
Jan Kaluza
37ee8ce980 Remove wrong std::string token definition 2016-01-24 12:07:48 +01:00
Jan Kaluza
6fc502c3c9 Slack: redirect to https instead of http 2016-01-24 12:04:14 +01:00
Jan Kaluza
6d52c33782 Show also URL in case of error 2016-01-24 11:54:58 +01:00
Jan Kaluza
b882942383 SlackUserRegistration: show raw data when team domain cannot be found in the response 2016-01-24 11:48:40 +01:00
Jan Kaluza
8efab17c15 Install boost-locale in tests 2016-01-23 22:02:10 +01:00
Jan Kaluza
8d64493eef Fix #86 - Use utf8 aware to_lower function 2016-01-23 21:58:48 +01:00
Jan Kaluza
8fff6fe5e6 Another debug 2016-01-23 20:14:07 +01:00
Jan Kaluza
aeb9a97f99 libpurple: debug for sending messages 2016-01-23 19:09:30 +01:00
Jan Kaluza
0724113762 Fix compilation error 2016-01-23 15:27:31 +01:00
Jan Kaluza
31ad180f41 Web interface: Support for Slack OAuth2 callback URL 2016-01-22 16:21:10 +01:00