Commit graph

188 commits

Author SHA1 Message Date
HanzZ
e5aab1415d Libtransport: Support for bouncer mode in case of rawxml. Support for more resources in Buddy class. 2013-02-22 09:45:31 +01:00
HanzZ
c1e05d1d92 Communi: strip IRC formatting, Libtransport: add tests for utf8::replace_invalid and move utf8.h to includes/transport 2013-02-17 09:41:20 +01:00
HanzZ
32e00d4961 Send IQ from legacy network to highest-priority resource 2013-02-10 14:24:22 +01:00
HanzZ
3db69407e8 use proper escaping for MUCs when forwarding raw xml stanzas 2013-02-10 14:12:03 +01:00
HanzZ
4f9457bdd8 Added testing swiften_raw backend which just changes to/from attributes and forwards unchanged stanzas 2013-02-09 11:09:38 +01:00
HanzZ
4c1fcb4344 Show better log in case of ENOENT error returned by backend 2013-01-31 19:12:00 +01:00
HanzZ
0185f94872 Swiften backend: support MUC 2013-01-27 18:13:25 +01:00
HanzZ
505ea8301c Fixed adding/removing contacts in gateway mode 2013-01-25 13:26:49 +01:00
HanzZ
1af263f488 make enum for Participant.flags 2013-01-23 19:41:56 +01:00
Jan Kaluza
cc64a76c8b Replace #include "Swiften/Swiften.h" by particular headers. 25% compilation speedup. 2013-01-23 11:29:43 +01:00
HanzZ
a385968812 Create loginTimer according to time diff 2013-01-13 14:42:24 +01:00
HanzZ
eeda354422 Send much more less presences when connecting to legacy network 2013-01-12 10:09:35 +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
2ae5cba932 service.login_delay 2012-12-27 15:02:21 +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
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
Vitaly Takmazov
1e8777a542 do not serialize empty from attribute in delay 2012-12-10 23:05:32 +04: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
Jan Kaluza
08a5e487db Better error message when backends can't be started 2012-11-27 10:33:04 +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
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
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
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
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
Jan Kaluza
fe33d765e5 include also signal.h 2012-10-04 09:55:26 +02:00
HanzZ
eb1df41b3e Set subject on IRC 2012-09-24 15:40:41 +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
c538d9965b Handle backendConfig 2012-09-12 13:04:39 +02:00
Jan Kaluza
1c03537a79 hopefully fixed replace_invalid crash 2012-09-05 14:31:03 +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
1a11965611 ConversationManager tests 2012-08-30 12:37:14 +02:00
Jan Kaluza
672f91a630 Move Conversatino deletion into User class 2012-08-16 13:18:40 +02:00
Jan Kaluza
bb4ac38e50 Fixed tests 2012-08-09 11:21:01 +02:00
HanzZ
83f5f36c94 Check if JID is valid when calling setName and ignore buddies with invalid JID 2012-08-07 17:41:13 +02:00
Jan Kaluza
45564ad439 Try to start backends in a loop 2012-08-06 15:43:27 +02:00
HanzZ
4ea0afca8c Handle non-valid names from legacy network. Wait for instance to stop before stopping another one 2012-08-02 07:47:18 +02:00
HanzZ
fe7ba84496 Replace invalid utf8 characters by _ in data from ICQ 2012-08-01 17:16:17 +02:00
HanzZ
ef259f4aef Fixed typo 2012-07-31 19:53:57 +02:00
HanzZ
733c8b5e79 Fixed typo 2012-07-31 19:50:40 +02:00
HanzZ
264181153d Merge branch 'master' of github.com:hanzz/libtransport 2012-07-31 16:49:03 +02:00
HanzZ
829c94f3d6 Added way to disable xhtmlim from backend and don't handle messages with empty body 2012-07-31 16:48:31 +02:00
Jan Kaluza
fcf2821bd2 kill backend with SIGABRT when it won't send PONG before pingTimeout 2012-07-31 11:21:24 +02:00
HanzZ
6efc5e055b More logging and don't use DB on every presence 2012-07-28 22:51:37 +02:00
HanzZ
95a4924622 Give backend some time to start before spawning new oen 2012-07-28 06:04:10 +02:00