Commit graph

338 commits

Author SHA1 Message Date
HanzZ
711c1674fe Send 'http://jabber.org/protocol/muc' if MUC is supported by backend 2013-01-26 15:22:25 +01:00
HanzZ
505ea8301c Fixed adding/removing contacts in gateway mode 2013-01-25 13:26:49 +01:00
HanzZ
1b49b0cf36 Fixed leaving the room even when its name doesn't start with '#' 2013-01-25 08:05:46 +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
Jan Kaluza
b9a8231796 another try to fix createDirectories compilation for oneiric 2013-01-17 09:44:57 +01:00
Jan Kaluza
2fda71965d aother try to fix createDirectories 2013-01-17 09:19:07 +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
Darchigh
7c2cb5c4b3 fixed formatting for real this time 2013-01-10 14:49:18 +01:00
Darchigh
5e0208ef29 fixed bad formatting 2013-01-10 14:24:54 +01:00
Darchigh
9c596ed62f RegisterUser will try to register via RemoteRoster before sending subscr.Presence for transport 2013-01-09 17:30:18 +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
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
7e9ea5150d Spectrum can now works as IRC/whatever bouncer. Configurable using adhoc commands. 2012-12-21 09:26:34 +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
bf012e48b2 Add new line to end of files 2012-12-04 08:26:30 +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
110a366bfb Added NetworkPlugin::StorageBackendNeeded instead of -2 constant 2012-11-27 10:50:49 +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
372ee69043 Create directories with proper owner/group/permissions. Moved StorageBackend related methods from Util into StorageBackend 2012-10-31 09:12:33 +01:00
Jan Kaluza
df32761194 Added support for service.jid_escaping config 2012-10-29 14:08:54 +01: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
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
Jan Kaluza
fe33d765e5 include also signal.h 2012-10-04 09:55:26 +02:00
Jan Kaluza
0e56fb8484 Support more service.irc_server values and try another one when server disconnects us 2012-10-04 08:48:14 +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
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
4717bd0071 Send unavailable presence when server goes down. Use LOG4CXX macros in irc backend 2012-09-21 13:56:17 +02:00
HanzZ
cb6af593b6 registration.needRegistration works 2012-09-13 10:13:44 +02:00
HanzZ
c538d9965b Handle backendConfig 2012-09-12 13:04:39 +02:00
HanzZ
c290016c8e Redirect stderr in separate method 2012-09-12 11:49:46 +02:00
HanzZ
a9b14deb55 Reload config also with jid 2012-09-12 08:15:10 +02:00
Jan Kaluza
2e8d2be063 Clear presences in PresenceOracle when user disconnects. This fixes situation when transport disconnects user but PresenceOracle still caches his last presence and therefore the user is not able to login 2012-09-05 09:45:49 +02:00
Jan Kaluza
8b1f660078 Add PROTOBUF_PROTOC_EXECUTABLE 2012-09-04 16:19:03 +02:00
Jan Kaluza
060510d695 Add general command line parsing code into Config::cretateFromArgs() method 2012-09-04 14:58:04 +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
c2cdd3702f Config::getSectionValues and Config::getCommandLineArgs 2012-09-04 08:16:16 +02:00