Commit graph

419 commits

Author SHA1 Message Date
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
HanzZ
8b6a86d528 Merge branch 'master' of git://github.com/vitalyster/libtransport 2012-09-01 07:22:24 +02:00
Jan Kaluza
1a11965611 ConversationManager tests 2012-08-30 12:37:14 +02:00
Jan Kaluza
7b118794ce Changelog, fixed compilation with boost 1.50 and filetransfer tests 2012-08-28 09:36:13 +02:00
HanzZ
8bb71e5148 pass UserManager and StorageBackend to adhoc commands 2012-08-17 10:19:21 +02:00
Vitaly Takmazov
8c77ffefc2 fix compilation 2012-08-15 17:10:53 +04:00
Vitaly Takmazov
c7d4d70117 Merge branch 'master' of https://github.com/hanzz/libtransport 2012-08-15 16:34:47 +04:00
Jan Kaluza
7b287fdc66 More tests 2012-08-09 14:57:57 +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
fcdddf9da4 Implement removeBuddy/removeBuddySettings/getBuddySetting for mysql 2012-08-07 14:16:27 +02:00
Jan Kaluza
b3f59f9bb6 ThreadPool added into libtransport 2012-08-07 09:31:15 +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
Vitaly Takmazov
eabd4012f4 Merge branch 'master' of https://github.com/hanzz/libtransport 2012-08-01 13:26:13 +04:00
HanzZ
f75c6e8a70 More spectrum2 stats 2012-07-30 07:31:48 +02:00
HanzZ
95a4924622 Give backend some time to start before spawning new oen 2012-07-28 06:04:10 +02:00
HanzZ
9cb2171e00 Added updateBuddySetting, removeBuddySetting and removeBuddy implementation for SQLite 2012-07-20 13:46:28 +02:00
Jan Kaluza
8b7923f3e3 Much more useful spectrum2_manager 2012-07-18 15:20:06 +02:00
Jan Kaluza
fd54120de7 Make the backend usable only after it responds to initial PING 2012-07-18 13:54:17 +02:00
Jan Kaluza
981513b2a5 Added 'register' and 'unregister' command to AdminInterface 2012-07-18 13:05:50 +02:00