Commit graph

283 commits

Author SHA1 Message Date
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
e679631b87 Do not try reconnecting users in server mode 2015-12-26 07:25:11 +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
8ef948c25f Move libtransport form ./src to ./libtransport. Move all tests to ./tests directory and add 'make test' target. 2015-12-24 10:08:19 +01:00
Jan Kaluza
a025aa1085 Test echo also for Slack 2015-12-22 18:05:48 +01:00
Jan Kaluza
4ce77ae70b Disable prosody debug and enable IRC tests again 2015-12-21 19:13:21 +01:00
Jan Kaluza
a964ada719 debug prosody log 2015-12-21 18:42:28 +01:00
Jan Kaluza
1547306bcd debug prosody log 2015-12-21 18:29:51 +01:00
Jan Kaluza
85ab1df609 Add prosody config 2015-12-21 18:13:38 +01:00
Jan Kaluza
05dbf6ce37 Test libpurple backend with prosody 2015-12-21 17:57:29 +01:00
Jan Kaluza
004f941038 Slack: Handle disconnection from 3rd-party network 2015-12-21 13:41:30 +01:00
Jan Kaluza
b44919ed9b Handle situation when sending /whois with non existing nickname :) 2015-12-17 18:25:26 +01:00
Jan Kaluza
ab4740c7b6 Communi: Support /whois (or .whois) command 2015-12-17 17:42:15 +01:00
Jan Kaluza
ba5c6ce41e Cleanup libcommuni code a bit, fix the tests and PM receiving when it is initiated from IRC 2015-12-17 15:08:37 +01:00
Jan Kaluza
efd14b776c Fix libcommuni PMs. Add test for PMs and test also non-single-irc-network mode 2015-12-17 10:07:56 +01:00
Jan Kaluza
f082fdf505 Test join/leave IRC room and change IRC room topic 2015-12-16 15:01:18 +01:00
Jan Kaluza
4ecee51f2b Better test framework and output :) 2015-12-16 09:40:01 +01:00
Jan Kaluza
13878f6a9d Fix crashes on exit 2015-12-15 07:31:13 +01:00
Vitaly Takmazov
da9138fe29 fix crash in form processing 2015-12-15 00:14:48 +03:00
Jan Kaluza
36b444536c Fix regression when 'from' attribute has not been sent in some situations in server mode. 2015-12-14 13:59:05 +01:00
Jan Kaluza
17cd1c1caa Fix #67: Use compat-verification and do not need passwod for prpl-telegram. 2015-12-13 20:06:19 +01:00
Jan Kaluza
e3b210bbdd Check libcommuni backend and spectrum2 on real IRC server and real XMPP client as part of travis 2015-12-12 15:09:21 +01:00
Jan Kaluza
bf9f7b7a41 Slack: parse the bots names from RTM 2015-12-08 18:47:19 +01:00
Jan Kaluza
cf2ba10533 Slack: support for attachments message type 2015-12-08 18:33:50 +01:00
Jan Kaluza
f823618439 Slack: Support me_message and bot_message 2015-12-08 17:58:56 +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
Vitaly Takmazov
dc2fb45f8e SecureTransport server stub for Swiften3 2015-11-29 22:43:32 +03: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
Jan Kaluza
6cfc7e7434 Do not start SlackRTM until we are really connected to WebSocket and the connection is upgraded 2015-11-25 17:02:51 +01:00
Jan Kaluza
2225eb7765 Handle invalid token and second registration during the Slack registration 2015-11-25 16:40:13 +01:00
Jan Kaluza
05bf03704a First half-working version of IRC transport for Slack 2015-11-25 16:02:23 +01:00
Jan Kaluza
3fb55b243e Working Slack RTM and message receiving. 2015-11-24 21:00:04 +01:00
Jan Kaluza
0a13c5f0ce Fix compilation with Swiften 2 2015-11-24 12:42:46 +01:00
Jan Kaluza
5adb3d1f97 Support for registering OAuth2 users using spectrum2_manager + lot of Slack improvements 2015-11-24 12:26:26 +01:00
Jan Kaluza
3e75beb954 Almost working OAuth2 2015-11-23 09:07:38 +01:00
Jan Kaluza
ac3611f8ff Do not compile with cpp+11 2015-11-21 21:35:31 +01:00
Jan Kaluza
15e16d709e Remove cpprest - we cannot use C++11 unfortunately. Make the Slack and XMPP frontends as a plugin (statically compiled for now) 2015-11-20 20:45:07 +01:00
Jan Kaluza
f2a6ba12fc Slack frontend stub 2015-11-19 16:51:12 +01:00
Vitaly Takmazov
e37670c747 fix include paths 2015-11-19 07:53:35 +00:00
Jan Kaluza
78e71f9345 Cleanup the includes, rename source code files to match the class name exactly 2015-11-18 14:05:57 +01:00
Jan Kaluza
fe47e0979b Split libtransport in two - libtransport and XMPPFrontend (lives in ./spectrum/src/frontends/xmpp). It's first step to allow generic Spectrum 2 frontends. 2015-11-16 10:49:10 +01:00
Vitaly Takmazov
20d8dd690e fix tests (TODO filetransfer) 2015-10-15 15:41:16 +03:00
Anton Ryzhov
03aea55e29 Correctly bind to local network
Correct non-root skype backend launch (D-BUS needs to write to ~/)
2013-08-05 20:42:38 +04:00
Anton Ryzhov
a452ccd187 Config sample fix 2013-07-29 21:52:09 +04:00
Jan Kaluza
6eb53393c7 Libtransport: Do not send subscribe presences from full JID 2013-03-19 15:18:03 +01:00
HanzZ
093daf2feb proper port in config file 2013-03-13 10:37:10 +01:00