Commit graph

623 commits

Author SHA1 Message Date
Jan Kaluza
08a5e487db Better error message when backends can't be started 2012-11-27 10:33:04 +01:00
Jan Kaluza
a76d99e4b6 Call storeBuddy instead of handleBuddyChanged in handleSusbcription to save proper subscriptions into database. call onBuddyRemoved also in gateway-mode 2012-11-14 14:52:23 +01:00
Jan Kaluza
f16af993ce Fixed tests 2012-11-14 13:49:52 +01:00
HanzZ
8c7caaf94a send subscribe presence as response to error presence only when error type is SubscriptionRequested 2012-11-13 17:52:51 +01:00
HanzZ
db3096599f MYSQL_RES can be valid pointer even when empty result set is returned 2012-11-13 17:38:07 +01:00
HanzZ
dc1228b5bd use instead of 2012-11-13 17:31:47 +01:00
Jan Kaluza
e0f560a648 Added database.vip_statement, database.vip_only and database.vip_message variables 2012-11-13 12:37:42 +01:00
Jan Kaluza
0d8056349a When auto_registration is enabled, set register=True also when storage backend does not exist 2012-11-06 09:52:56 +01:00
Jan Kaluza
3aff761db6 Do not send subscribe presence just because, but send it as response to probe presence 2012-11-02 09:50:03 +01:00
Jan Kaluza
dc1cc4170e Do not forward user's contact (representing himself) from legacy network (situation when user A has himself in his XMPP roster) 2012-10-31 09:39:03 +01:00
Jan Kaluza
2b9c095d0e Merge branch 'master' of github.com:hanzz/libtransport 2012-10-31 09:17:09 +01:00
Jan Kaluza
372ee69043 Create directories with proper owner/group/permissions. Moved StorageBackend related methods from Util into StorageBackend 2012-10-31 09:12:33 +01:00
HanzZ
b20582ad36 Merge branch 'master' of github.com:hanzz/libtransport 2012-10-30 18:06:41 +01:00
HanzZ
c854a7fa68 Do not send subscribed on probe presence. Just subscribe should be enough 2012-10-30 18:06:29 +01:00
Jan Kaluza
700ce99187 Close all sockets before fork() 2012-10-30 12:09:23 +01:00
Jan Kaluza
df32761194 Added support for service.jid_escaping config 2012-10-29 14:08:54 +01:00
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