James Booth
|
c828e397b6
|
Moved sha1 generation to caps module
|
2013-01-21 22:18:15 +00:00 |
|
James Booth
|
7991bc5154
|
Removed redundant function for computing sha1 caps hash
|
2013-01-21 22:08:05 +00:00 |
|
James Booth
|
7457864347
|
Added software version capability and iq response
|
2013-01-21 22:05:30 +00:00 |
|
James Booth
|
df38fc332a
|
Added NULL check on disco response id
|
2013-01-21 19:28:38 +00:00 |
|
James Booth
|
b16c79966e
|
Handle NULL node
|
2013-01-21 02:29:55 +00:00 |
|
James Booth
|
df790e247c
|
Respond to iq requests for capabilities
|
2013-01-21 02:18:03 +00:00 |
|
James Booth
|
5c04adde2b
|
Handle unsupported hash, and legacy caps
|
2013-01-20 23:10:59 +00:00 |
|
James Booth
|
3d5f04ee80
|
Added _handle_presence_caps
|
2013-01-20 22:39:52 +00:00 |
|
James Booth
|
dfeb884e9b
|
Added check for caps in stanza
|
2013-01-20 21:01:30 +00:00 |
|
James Booth
|
eeafd62716
|
Check SHA1 valid
|
2013-01-20 20:50:10 +00:00 |
|
James Booth
|
b031f337e6
|
Replace openssl calls with EVP interface
|
2013-01-20 20:09:18 +00:00 |
|
James Booth
|
e350616fee
|
Output given and generated hash for caps
|
2013-01-20 19:46:31 +00:00 |
|
James Booth
|
eed0910916
|
First implementation of sha1 generation from stanza
|
2013-01-20 18:23:29 +00:00 |
|
James Booth
|
64d81c7c4c
|
Started work on creating sha-1 caps hash
|
2013-01-20 17:16:45 +00:00 |
|
James Booth
|
4ecb69bfab
|
Moved processing of caps str to stanza.c
|
2013-01-20 13:56:50 +00:00 |
|
James Booth
|
3386ba3a1e
|
Added basic SHA-1 hash of capabilities
|
2013-01-20 13:28:43 +00:00 |
|
James Booth
|
b4ea35d40a
|
Added client to /info command in chat rooms
|
2013-01-20 04:33:31 +00:00 |
|
James Booth
|
17ed139d96
|
Changed /info command to show client
|
2013-01-20 02:26:54 +00:00 |
|
James Booth
|
8ff283d44d
|
Send diso#info request if capabilities not cached
|
2013-01-20 01:29:15 +00:00 |
|
James Booth
|
f967395f0f
|
Added check whether caps cached
|
2013-01-20 00:57:44 +00:00 |
|
James Booth
|
79c92656f9
|
Added retrieval of caps string from presence
|
2013-01-19 23:52:50 +00:00 |
|
James Booth
|
d87c20e666
|
Removed jid_is_room()
|
2013-01-13 18:06:29 +00:00 |
|
James Booth
|
b768296a93
|
Use Jid in groupchat message handler
|
2013-01-13 17:58:25 +00:00 |
|
James Booth
|
ec75b5e04a
|
Use Jid datatype in chat rooms
|
2013-01-13 03:14:36 +00:00 |
|
James Booth
|
b6f3667390
|
Moved FREE_SET_NULL to common.h
|
2013-01-13 01:43:18 +00:00 |
|
James Booth
|
f519ae78d8
|
Merge pull request #132 from pasis/next
Some code refactoring in jabber.c
|
2013-01-12 15:20:33 -08:00 |
|
James Booth
|
94bcf1889d
|
Added jid datatype
|
2013-01-12 23:10:56 +00:00 |
|
Dmitry Podgorny
|
175963eb51
|
check account->name == NULL
|
2013-01-13 00:44:40 +02:00 |
|
Dmitry Podgorny
|
ef49afdc63
|
fixed resources release
* Use free instead of g_free as resources are allocated with strdup
* Fixed memory leaks
|
2013-01-13 00:30:23 +02:00 |
|
Dmitry Podgorny
|
59e4db0e96
|
don't release room and nick when parsing failed
|
2013-01-13 00:06:50 +02:00 |
|
Dmitry Podgorny
|
492a333294
|
room_jid should be (char *)
|
2013-01-12 23:52:00 +02:00 |
|
Dmitry Podgorny
|
d04c7d070a
|
refactored jabber_set_autoping()
|
2013-01-12 23:48:24 +02:00 |
|
Dmitry Podgorny
|
9660f402ad
|
added JABBER_PRIORITY_* macros
|
2013-01-12 23:40:21 +02:00 |
|
Dmitry Podgorny
|
9121cbe295
|
fixed memory leak in jabber_subscription()
|
2013-01-12 23:32:32 +02:00 |
|
Dmitry Podgorny
|
db9c9ab091
|
set NULL only when resource != NULL in FREE_SET_NULL
|
2013-01-12 23:23:40 +02:00 |
|
Dmitry Podgorny
|
83c3fe5b7e
|
refactored jabber_connect functions
* similar code moved to jabber_connect()
* variables saved_* moved to a structure saved_user
* 'user' renamed to 'jid'
|
2013-01-12 22:53:07 +02:00 |
|
Dmitry Podgorny
|
70f5ad2206
|
jabber.c: use FREE_SET_NULL macro
|
2013-01-12 21:31:12 +02:00 |
|
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 |
|