James Booth
972ca34d4b
Refactored connecting, and reconnecting
...
The user either logs in with an account, in which case its name, and the
password is kept for reconnects. Or the user can login with a jid (and
server) which does not currently exist as a local account. On success
an account is created, with the jid as the name.
2013-01-27 20:23:42 +00:00
James Booth
6b632625df
Refactored iq.c to register iq handlers
2013-01-25 00:36:09 +00:00
James Booth
183a66c939
Removed iq.h
2013-01-24 00:40:43 +00:00
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
64d81c7c4c
Started work on creating sha-1 caps hash
2013-01-20 17:16:45 +00:00
James Booth
3386ba3a1e
Added basic SHA-1 hash of capabilities
2013-01-20 13:28:43 +00:00
James Booth
ec75b5e04a
Use Jid datatype in chat rooms
2013-01-13 03:14:36 +00:00
Dmitry Podgorny
9660f402ad
added JABBER_PRIORITY_* macros
2013-01-12 23:40:21 +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
James Booth
d29c7fd878
Updated copyright
2013-01-11 02:05:29 +00:00
James Booth
ce6f227651
Handle logins using accounts
2012-12-09 22:14:38 +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
3462b5afd6
List commands for /sub
2012-11-28 00:36:51 +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
e9d6ba2117
Allow nick change in chat room
2012-11-18 18:36:17 +00: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
Dmitry Podgorny
c3b0e80432
add subscription support
2012-11-11 14:00:21 +02:00
James Booth
aebca570a4
Renamed params in jabber_join
2012-11-10 18:28:45 +00:00
James Booth
fb3d7a47d2
Leaving chat rooms on /close
2012-11-06 00:00:25 +00:00
James Booth
517bc30360
Handle sending messages in groupchat
2012-11-05 23:24:29 +00:00
James Booth
5e4c662b23
Added jabber_join for MUC
2012-11-04 22:59:52 +00:00
James Booth
5792cd597d
Handling paused status
2012-10-31 23:08:26 +00:00
James Booth
5ce977284b
Basic state handling
2012-10-31 01:36:52 +00:00
James Booth
d13794bf60
Load roster before sending presence
2012-10-28 20:52:30 +00:00
James Booth
15cdc69f31
Added basic subscriptions
2012-10-28 18:51:13 +00:00
James Booth
847850742c
Refactored disconnect
2012-10-27 18:26:57 +01:00
James Booth
28d388319a
Added /disconnect command
2012-10-27 18:12:04 +01:00
James Booth
6bad38c2d5
Removed trailing whitespace from src and tests
2012-10-21 20:02:20 +01:00
James Booth
68c6fe4803
Moved jabber_free_resources call
2012-10-16 23:38:27 +01:00
James Booth
2f66feef8a
Merge branch 'master' of https://github.com/pasis/profanity
2012-10-16 23:34:38 +01:00
James Booth
d2aeca9bb4
Attempted fix at causing segfault by freeing connection
2012-10-16 23:29:58 +01:00
Dmitry Podgorny
6900d52d80
jabber: fix crash when disconnection timeout is reached
2012-10-17 00:52:19 +03:00
James Booth
ee8407f4a4
Tidy up jabber module, removed unused code, made local functions private
2012-10-02 21:37:55 +01:00
James Booth
3a8229bf6a
Created shutdown init function to initiate and wait for shutdown
2012-09-11 22:55:59 +01:00
James Booth
fe519410b1
Tidied all includes
2012-08-26 01:50:50 +01:00
James Booth
30ca6cac3d
Added autobuild tools
2012-07-01 14:47:09 +01:00