Commit graph

607 commits

Author SHA1 Message Date
Jan Kaluza
3ec3ef32b3 Way to run particular unit tests instead of all tests 2012-10-24 12:33:15 +02:00
Jan Kaluza
353588c406 Try to join the rooms after every reconnect, not only after first one 2012-10-24 10:53:26 +02:00
HanzZ
4055180802 Send subscribe/subscribed presence from transport contact when connecting 2012-10-23 18:27:04 +02:00
Jan Kaluza
8f7a62c727 Fix crash when data for unknown filetransfer has been received 2012-10-23 11:28:54 +02:00
Jan Kaluza
5812171372 Do not create conversation when the message contain nickname, because that means the conversation should be MUC, but user didn't connect to that room yet 2012-10-22 17:20:47 +02:00
Jan Kaluza
abc5b11ca5 Do not dumpReceived() 2012-10-18 10:40:47 +02:00
Jan Kaluza
b18424c5b1 Forward message timestamps 2012-10-18 09:33:44 +02:00
Jan Kaluza
3201977efb Get room list on IRC and show rooms in service discovery 2012-10-18 09:04:20 +02:00
Jan Kaluza
22679e921b add RoomList support to libtransport, so backends can send list of available rooms 2012-10-15 16:25:36 +02:00
Jan Kaluza
da19668287 Do not force sqlite3 storage backend 2012-10-11 10:45:32 +02:00
HanzZ
e33358e61f Do not join rooms before we're connected to legacy network. Otherwise join requests are lost 2012-10-08 10:51:27 +02:00
HanzZ
379074e87b replace invalid characters with _ also in groups 2012-10-06 09:14:46 +02:00
HanzZ
e321feda15 Don't handle roster stanzas with empty node 2012-10-05 19:24:18 +02:00
Jan Kaluza
7f732f9628 Don't try to set linux only things on bsd 2012-10-04 12:12:49 +02:00
Jan Kaluza
95ba00c2fe Use __FreeBSD__ instead of BSD 2012-10-04 10:47:24 +02:00
Jan Kaluza
79ff2e46d0 Do not use malloc_trim on BSd 2012-10-04 10:09:34 +02:00
Jan Kaluza
fe33d765e5 include also signal.h 2012-10-04 09:55:26 +02:00
Jan Kaluza
b7f06ac352 CONFIG_*_DEFAULTED now uses safeAs and should be used everywhere instead of CONFIG_* macros 2012-10-03 16:40:11 +02:00
Jan Kaluza
83113fe697 Allow setting more unregistered variables in Config class which can be later accessed using CONFIG_LIST 2012-10-03 09:48:11 +02:00
Jan Kaluza
4100b4caf8 Remove resource from room when the client disconnects without disconnecting the rooms 2012-09-25 12:48:30 +02:00
HanzZ
eb1df41b3e Set subject on IRC 2012-09-24 15:40:41 +02:00
HanzZ
af6b013748 Remove forgotten dumpReceived from test 2012-09-23 09:50:22 +02:00
HanzZ
1055c577d2 Send participants to second resource when it joins the room 2012-09-23 09:48:03 +02:00
HanzZ
88607aff3c Do not disconnect from room when user uses two clients and shutdown one. 2012-09-22 20:19:19 +02:00
HanzZ
2f542b5077 Unit tests can now test more resources interaction 2012-09-22 18:09:25 +02:00
HanzZ
3ff7f92490 Send status code 332 when spectrum goes down 2012-09-22 13:40:28 +02:00
HanzZ
bf1cad516b Handle 'unregister' field also when it has text-single type 2012-09-21 17:55:56 +02:00
HanzZ
4717bd0071 Send unavailable presence when server goes down. Use LOG4CXX macros in irc backend 2012-09-21 13:56:17 +02:00
HanzZ
b851fab140 Use _WIN32 instead of _MSC_VER 2012-09-20 22:00:10 +02:00
HanzZ
64166aeb00 Use CertificateWithKey::ref to not confuse compiler 2012-09-20 20:56:28 +02:00
HanzZ
c1e478774f Test for chatstates 2012-09-16 15:13:11 +02:00
HanzZ
9f1a88bec8 Working reconnection 2012-09-16 14:56:07 +02:00
HanzZ
2fcf167a4e Forward ChatState messages to backends 2012-09-15 22:17:20 +02:00
HanzZ
495d881c5a registration.needPassword works 2012-09-13 10:38:06 +02:00
HanzZ
cb6af593b6 registration.needRegistration works 2012-09-13 10:13:44 +02:00
HanzZ
c538d9965b Handle backendConfig 2012-09-12 13:04:39 +02:00
HanzZ
c290016c8e Redirect stderr in separate method 2012-09-12 11:49:46 +02:00
HanzZ
a9b14deb55 Reload config also with jid 2012-09-12 08:15:10 +02:00
HanzZ
1d53bc87af Don't dumpReceived() in tests 2012-09-11 17:51:30 +02:00
HanzZ
4a88d77154 Allow unregistered options to be passed by command line 2012-09-05 17:52:41 +02:00
Jan Kaluza
80be0b5ab4 Handle -j in backends 2012-09-05 15:40:30 +02:00
Jan Kaluza
1c03537a79 hopefully fixed replace_invalid crash 2012-09-05 14:31:03 +02:00
Jan Kaluza
4c4ff8e816 Test for automatic reconnection 2012-09-05 10:06:51 +02:00
Jan Kaluza
2e8d2be063 Clear presences in PresenceOracle when user disconnects. This fixes situation when transport disconnects user but PresenceOracle still caches his last presence and therefore the user is not able to login 2012-09-05 09:45:49 +02:00
HanzZ
e144f1a1f2 Use win32 specific libs in SWIFTEN_LIBRARY 2012-09-04 18:25:56 +02:00
HanzZ
749dfc6af2 Use PROTOBUF_LIBRARY instead of blind libprotobuf 2012-09-04 17:54:21 +02:00
Jan Kaluza
060510d695 Add general command line parsing code into Config::cretateFromArgs() method 2012-09-04 14:58:04 +02:00
Jan Kaluza
ad7461beec Pass command the same command line options as we have in main instance to backend instances 2012-09-04 10:28:11 +02:00
Jan Kaluza
c2cdd3702f Config::getSectionValues and Config::getCommandLineArgs 2012-09-04 08:16:16 +02:00
HanzZ
8b6a86d528 Merge branch 'master' of git://github.com/vitalyster/libtransport 2012-09-01 07:22:24 +02:00