James Booth
d7b969b135
Moved jid related functions to common
2013-01-12 01:44:21 +00:00
James Booth
bfd7362e2a
Renamed muc functions
2013-01-12 01:34:09 +00:00
James Booth
dad01d8f84
Renamed room_chat module to muc
2013-01-12 01:01:39 +00:00
James Booth
d29c7fd878
Updated copyright
2013-01-11 02:05:29 +00:00
Dmitry Podgorny
0f0e04603a
added resources release to connetion handler
2013-01-07 22:13:24 +02:00
Dmitry Podgorny
5542752afb
jabber.c: removed xmpp_stop calls
...
xmpp_stop() stops event loop xmpp_run() that profanity doesn't start.
2013-01-07 22:02:07 +02:00
Dmitry Podgorny
e0e8110746
jabber.c: set jabber status in one place in connection handler
2013-01-07 22:00:13 +02:00
Dmitry Podgorny
621832ee4a
free resources when login attempt fails
...
The next call of jabber_connect allocates these resources again.
2013-01-07 21:21:19 +02:00
Dmitry Podgorny
59676bd16e
jabber.c: removed extra resources release
...
These resources are released in jabber_free_resources().
2013-01-07 20:33:56 +02:00
Dmitry Podgorny
d0ab292d73
jabber.c: added assert before reconnect_timer allocation
...
Development build will be terminated if reconnect_timer was allocated
previously and wasn't destroyed.
2013-01-07 20:24:04 +02:00
Dmitry Podgorny
5e8d9e942b
free saved login information in jabber_free_resources()
2013-01-07 20:16:41 +02:00
Dmitry Podgorny
d533fc9595
jabber.c: removed explicit type conversion
...
According to the C99 standard integer type will be converted to real
floating type before the comparison.
2013-01-07 18:54:07 +02:00
James Booth
6ef4014882
Fixed compile error
2012-12-10 00:57:50 +00:00
James Booth
5013cce832
Added autocomplete for enabled logins only
2012-12-10 00:53:57 +00:00
James Booth
ce6f227651
Handle logins using accounts
2012-12-09 22:14:38 +00:00
James Booth
8e90f7a414
Handle idle time from contacts
2012-12-09 03:07:33 +00:00
James Booth
731dabd712
Added server property to accounts
2012-12-07 00:10:00 +00:00
James Booth
8304b30b52
Add optional server parameter to /connect command
2012-12-06 20:36:16 +00:00
James Booth
fae848ea64
Implemented /autoaway mode idle
2012-12-01 17:46:25 +00:00
James Booth
5496b25735
Respond to ping requests
2012-11-29 22:33:47 +00:00
James Booth
b7a7be37e9
Remove from outstanding requests on /sub
2012-11-28 01:17:24 +00:00
James Booth
ce0e96edf5
Merge branch 'master' into sublist
2012-11-28 01:05:37 +00:00
James Booth
80c2209bbd
Add and remove from roster on subscription presence
2012-11-28 01:04:40 +00:00
James Booth
3462b5afd6
List commands for /sub
2012-11-28 00:36:51 +00:00
James Booth
a061b0d452
Handle roster subscription updates
2012-11-27 23:43:32 +00:00
James Booth
2f2fa8de66
Show "request pending" in /sub show, when request has been sent
2012-11-27 22:26:42 +00:00
James Booth
213ccc0150
Added /autoping command to set ping interval or disable with 0
2012-11-26 23:58:24 +00:00
James Booth
791667fa86
Fixed spelling in reconnect
2012-11-26 22:03:05 +00:00
James Booth
7198f6cccc
Setting /reconnect 0 properly disables reconnect
2012-11-26 22:00:57 +00:00
James Booth
921f026cba
Added auto reconnect, and /reconnect command to control interval
2012-11-25 02:14:38 +00:00
James Booth
306965501a
Send presence changes to chat rooms
2012-11-20 00:33:54 +00:00
James Booth
b3e1d473a2
Handle room broadcasts
2012-11-19 22:15:53 +00:00
James Booth
2cdd1b3810
Handle legacy delayed messages in chat rooms
2012-11-19 20:41:35 +00:00
James Booth
645d1b74d5
Handle room member presence
2012-11-19 00:26:31 +00:00
James Booth
bd3f1d1575
Show message when own nickname changed in chat rooms
2012-11-18 22:49:01 +00:00
James Booth
c6b07533c9
Moved function to remove from roster on nick change
2012-11-18 22:07:26 +00:00
James Booth
49676e3fae
Handle nick changes from other users
2012-11-18 21:46:58 +00:00
James Booth
e9d6ba2117
Allow nick change in chat room
2012-11-18 18:36:17 +00:00
James Booth
a847ad5603
Support legacy delayed delivery (XEP-0091) as well as XEP-0203
2012-11-18 18:02:55 +00:00
Dmitry Podgorny
55c99c5cc6
prevent double free of jabber_conn.status
2012-11-18 01:46:45 +02:00
James Booth
a970ea49cd
Treat room presence as online
...
Needs to be changed to show status changes
2012-11-14 01:16:07 +00:00
James Booth
a574f7ff40
Set correct window type on private messages
2012-11-14 00:04:08 +00:00
James Booth
faa5f8871f
Merge pull request #81 from pasis/priority
...
introduce priority support
2012-11-13 14:40:24 -08:00
Dmitry Podgorny
aba1ea5133
fix crash on changing priority when disconnected
...
sending presence causes null pointer dereference when disconnected
because ctx variable isn't set
2012-11-14 00:18:54 +02:00
Dmitry Podgorny
1824704466
jabber: use safe snprintf instead of sprintf
2012-11-13 17:57:27 +02:00
Dmitry Podgorny
a114fe88b8
introduce priority support
...
add new command /priority <int>
improve jabber_update_presence()
use jabber_update_presence() for sending initial presence
save priority and status string to jabber_conn structure
2012-11-13 12:51:28 +02:00
James Booth
13689a1f84
Allow incoming private messages from chat rooms
2012-11-12 23:26:09 +00:00
Dmitry Podgorny
c3b0e80432
add subscription support
2012-11-11 14:00:21 +02:00
James Booth
7958a450bd
Added function to create room jid from room and nick
2012-11-10 18:51:50 +00:00
James Booth
77888c3841
Renamed room_chat function
2012-11-10 18:40:46 +00:00