Commit graph

699 commits

Author SHA1 Message Date
Jan Kaluza
1fa8a9d975 Do not pass char * which won't survive till sqlite3 statement execution. 2012-12-19 14:22:57 +01:00
Jan Kaluza
c8f605bbfc simple benchmark 2012-12-18 14:02:29 +01:00
Jan Kaluza
761c746d10 Move headline sending login to backend 2012-12-18 12:56:38 +01:00
Jan Kaluza
0b0e020cdf Add general API to set per user settings using adhoc commands which can be defaulted from config file. Add 'Send messages as headlines' Transport setting 2012-12-18 10:59:52 +01:00
Jan Kaluza
a82c4403b7 Added test for previous commit 2012-12-11 12:48:11 +01:00
Jan Kaluza
00475b428a Try to find out existing adhoc session only when session id is set in IQ 2012-12-11 11:42:31 +01:00
Jan Kaluza
5f607b5622 Handle also TextIsngleFormField in Settings command 2012-12-11 11:29:54 +01:00
Jan Kaluza
1ebd041848 Handle also TextIsngleFormField in Settings command 2012-12-11 11:25:33 +01:00
Jan Kaluza
69023fc025 Answer disco#info request with http://jabber.org/protocol/commands node 2012-12-11 10:56:38 +01:00
Vitaly Takmazov
1e8777a542 do not serialize empty from attribute in delay 2012-12-10 23:05:32 +04:00
Jan Kaluza
737dd6a062 Fixed merge conflict 2012-12-10 15:09:57 +01:00
Vitaly Takmazov
301018ab30 Fixed compilation of sqlite3 target 2012-12-10 13:05:05 +04:00
HanzZ
fcd00635e9 filter out sqlite3 error about already created buddies table. do not log XML by default 2012-12-07 17:00:03 +01:00
HanzZ
ae29c8c902 Merge branch 'master' of github.com:hanzz/libtransport 2012-12-06 19:14:40 +01:00
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
Jan Kaluza
97a2cd5b2a Send 307 and also 332 codes from rooms when stopping spectrum 2012-12-06 10:52:19 +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