Commit graph

661 commits

Author SHA1 Message Date
Jan Kaluza
9c5f59f10c Do not call sqlite3_step again when it returned SQLITE_DONE before 2013-01-09 11:24:40 +01:00
Jan Kaluza
098f8b6684 Backend logs are not created using 'backend-N.log' pattern where N is ID of the backend (1, 2, 3, 4, ...) according to the backends number 2013-01-09 09:50:53 +01:00
HanzZ
7cd2083d81 show better error when running in server_mode with port 5347 2013-01-04 16:49:34 +01:00
HanzZ
86d0268f93 receipts test 2012-12-29 11:57:40 +01:00
HanzZ
9c48437b09 support for XEP-0172 2012-12-28 08:55:29 +01:00
HanzZ
2ae5cba932 service.login_delay 2012-12-27 15:02:21 +01:00
HanzZ
984a075019 Send RIE to all resources 2012-12-26 09:59:09 +01:00
HanzZ
f7dc91ccb4 Set adhoc settings according to config even when storage backend is not set 2012-12-22 21:07:29 +01:00
HanzZ
8761e976ae Cache messages also when you leave room but do not disconnect 2012-12-21 11:20:05 +01:00
HanzZ
92b1f98bce Merge branch 'master' of github.com:hanzz/libtransport 2012-12-21 09:35:02 +01:00
HanzZ
2159ab0a27 Limit cache to 100 messages 2012-12-21 09:34:51 +01:00
HanzZ
7e9ea5150d Spectrum can now works as IRC/whatever bouncer. Configurable using adhoc commands. 2012-12-21 09:26:34 +01:00
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