Commit graph

634 commits

Author SHA1 Message Date
HanzZ
7f76ef28bd added [registration] notify_jid option to send notification about user registration/unregistration 2012-12-06 14:57:38 +01:00
HanzZ
468f8b2a01 Show proper version 2012-12-06 14:35:21 +01:00
HanzZ
978808c187 Do not double escape JID if we receive it already escaped from broken client 2012-12-05 17:56:48 +01:00
Jan Kaluza
a923c605fc Remove bad comment 2012-12-05 10:41:47 +01:00
HanzZ
be5a77cb71 Merge branch 'master' of github.com:hanzz/libtransport 2012-12-04 16:37:52 +01:00
HanzZ
a15bd77553 Do not store MUC presence in PresenceOracle 2012-12-04 16:00:08 +01:00
Jan Kaluza
bf012e48b2 Add new line to end of files 2012-12-04 08:26:30 +01:00
HanzZ
3e515d9f15 Do not disconnect backend if we received some data from it during ping timer period 2012-12-03 11:49:18 +01:00
HanzZ
389f066d9e Send proper identity in disco#info response with adhoc command node 2012-11-30 16:08:38 +01:00
HanzZ
9469109d37 Unescape double-escaped messages from twitter 2012-11-28 18:52:58 +01:00
Jan Kaluza
8b6973539f Postpone room subject forwarding if we haven't sent initial presences yet 2012-11-27 12:51:19 +01:00
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