Commit graph

389 commits

Author SHA1 Message Date
Jan Kaluza
17fe52b61f Fix - Leave the room internally when disconnecting user from room because of error. 2016-01-20 07:36:05 +01:00
Jan Kaluza
737aa148da Slack: Stop sending pings when disconnected from RTM 2016-01-18 13:19:18 +01:00
Jan Kaluza
8df5cd7d1b Spectrum2 manager server: Allow registration of users 2016-01-07 18:32:17 +01:00
Jan Kaluza
221b8ef7cf Do not reconnect frontend on every first pong received from backend, but only reconnect it on very first pong received by spectrum 2016-01-06 18:04:23 +01:00
Jan Kaluza
f592dc0ef3 Reconnect to Slack RTM when disconnected with an error 2015-12-28 09:17:41 +01:00
Jan Kaluza
004f941038 Slack: Handle disconnection from 3rd-party network 2015-12-21 13:41:30 +01:00
Jan Kaluza
83ba9855b5 Fix crash after HTTPRequestQueue destruction caused by HTTP response arriving after its destruction 2015-12-15 07:46:56 +01: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
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
9813552ebf Send api version to backend so it can use future features based on this version number 2015-12-03 12:19:34 +01:00
Jan Kaluza
5c5cd0e346 Merge branch 'master' of github.com:hanzz/libtransport 2015-12-01 08:48:28 +01:00
Jan Kaluza
ef1711db20 Send buddies to backend in new TYPE_BUDDIES message on login when features.send_buddies_on_login in backend config is set. 2015-12-01 06:39:01 +01:00
Vitaly Takmazov
dc2fb45f8e SecureTransport server stub for Swiften3 2015-11-29 22:43:32 +03: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
fedd9216b2 Reconnect Slack RTM on connection error 2015-11-25 16:55:35 +01:00
Jan Kaluza
3df6d53f23 Add cstdint.hpp 2015-11-25 07:16:46 +01:00
Jan Kaluza
3fb55b243e Working Slack RTM and message receiving. 2015-11-24 21:00:04 +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
ad127c5dd6 Add just explicit_operator_boool 2015-11-24 12:22:12 +01:00
Jan Kaluza
5061012c80 Add also boost/utility 2015-11-24 12:17:23 +01:00
Jan Kaluza
8d9d36dc43 Add boost/predef 2015-11-24 10:57:43 +01:00
Jan Kaluza
3e75beb954 Almost working OAuth2 2015-11-23 09:07:38 +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
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
Jan Kaluza
d37e8afadb Use FormUtils in SettingsAdHocCommand 2015-11-13 07:15:27 +01:00
Jan Kaluza
d04f7e19a7 Add FormUtils methods to make XMPP Forms handling easier to read even when keeping it portable between swiften2 and swiften3. 2015-11-12 18:19:53 +01:00
Jan Kaluza
90ef6e3128 Fix HAVE_SWIFTEN_3 definition to work also in gcc. Fix the tests to work with swiften3 and also with swiften2. 2015-11-10 11:18:48 +01:00
Vitaly Takmazov
20d8dd690e fix tests (TODO filetransfer) 2015-10-15 15:41:16 +03:00
Vitaly Takmazov
b9d0590c67 fix tests WIP 2015-10-15 14:53:08 +03:00
Vitaly Takmazov
0d99e8c85d Initial swiften 3 support 2015-03-31 14:14:15 +03:00
Jan Kaluza
a64458f5ee Set HAVE_SWIFTEN_3 to 0, because these changes are not in 3.0alpha yet 2013-04-17 07:55:31 +02:00
Jan Kaluza
4e263cb53a Fix compilation with Swiften2 2013-04-11 07:44:10 +02:00
Jan Kaluza
8d55add7d5 Merge pull request from vitalyster/libtwitcurl_fix
Libtwitcurl fix
2013-04-10 22:22:09 -07:00
Vitaly Takmazov
c5a8c3d1a9 fixed compilation with latest swiften 2013-04-10 00:55:37 +04:00
HanzZ
e91e25f449 Allow setting libpurple proxy 2013-03-07 12:45:47 +01:00
Jan Kaluza
6b83d9f942 Send code 210 when changing our nickname in room 2013-02-26 15:43:32 +01:00
Jan Kaluza
70cf46773b Send code 210 when changing our nickname in room 2013-02-26 15:31:21 +01:00
HanzZ
e5aab1415d Libtransport: Support for bouncer mode in case of rawxml. Support for more resources in Buddy class. 2013-02-22 09:45:31 +01:00
HanzZ
c0687aba74 Libtransport: Move message caching to one method 2013-02-17 17:13:14 +01:00
HanzZ
c1e05d1d92 Communi: strip IRC formatting, Libtransport: add tests for utf8::replace_invalid and move utf8.h to includes/transport 2013-02-17 09:41:20 +01:00
HanzZ
58fbe0d388 Communi: Handle and forward socket errors. Fixes for example situation when user tries to join the room on server which does not exist. 2013-02-12 09:30:24 +01:00
HanzZ
fd4946efe4 Libcommuni: Do not enable JID escaping for IRC 2013-02-11 21:24:19 +01:00
HanzZ
4f9457bdd8 Added testing swiften_raw backend which just changes to/from attributes and forwards unchanged stanzas 2013-02-09 11:09:38 +01:00
HanzZ
255cc8416c Revert "fix autoregistration"
This reverts commit 393cf1cc03.
2013-02-06 22:15:35 +01:00
HanzZ
393cf1cc03 fix autoregistration 2013-02-06 21:57:59 +01:00
Vitaly Takmazov
f4996ab8d3 memory usage on Windows 2013-02-04 14:40:15 +04:00
HanzZ
df369e65d8 libtransport: support service.server also in server-mode 2013-01-30 18:59:14 +01:00
HanzZ
0185f94872 Swiften backend: support MUC 2013-01-27 18:13:25 +01:00