1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00
Commit Graph

61 Commits

Author SHA1 Message Date
James Booth
e2bc9bde74 Implemented output for /disco info 2013-03-14 23:41:36 +00:00
James Booth
7bd7c15994 Added output for /disco items 2013-03-14 22:18:21 +00:00
James Booth
681c3b6be2 Show name as well as jid for room list 2013-03-14 22:03:38 +00:00
James Booth
816c019ef8 Removed unnecessary NULL checks 2013-03-14 21:20:18 +00:00
James Booth
31cd507d3c Added /disco command 2013-03-14 20:50:09 +00:00
James Booth
b960b76034 Added basic /rooms command to get chat room list 2013-03-13 23:38:26 +00:00
Dmitry Podgorny
ed2212a0ca fixed crash in stanza_create_form when text is NULL
xmpp_stanza_get_text may return NULL.
Also fixed memory leak: xmpp_stanza_get_text returns new allocated
string and it must be freed by xmpp_free().
2013-03-12 21:08:50 +02:00
James Booth
c8088bea41 Tidied fix for id attributes that cause a segfault
fixes #151
2013-03-08 00:17:31 +00:00
James Booth
5c475d630a Fixed problem with using id attribute with apostrophe.
Needs a better solution, but the current one stop the crash
2013-03-07 18:37:44 +00:00
James Booth
18b615c62f Check for NULL connection and context
fixes #155
2013-03-02 21:35:00 +00:00
James Booth
aeb0bfa13c Init and shutdown of libstrophe moved, free resources before creating 2013-02-27 23:14:41 +00:00
James Booth
24f0d9e6e5 Removed connection_shutdown function 2013-02-27 21:21:47 +00:00
James Booth
83171aff5b Replace FREE_SET_NULLs with function call 2013-02-27 20:56:04 +00:00
James Booth
2ecf20195c Split connection_free_resources 2013-02-27 20:54:38 +00:00
James Booth
8d1cc96bf2 Made connection free resources static function 2013-02-27 20:46:44 +00:00
James Booth
d0e0951943 Added debug to connection handler 2013-02-26 22:02:03 +00:00
James Booth
236895ec96 Check for resource in unavailable presence handler 2013-02-24 15:18:15 +00:00
James Booth
9f8a7f52a5 Add resource only when resourcepart in JID #152 2013-02-24 15:07:33 +00:00
James Booth
d1e28e44ca Revert "Commented self presence handling #151"
This reverts commit 872726c5aa.
2013-02-21 08:14:41 +00:00
James Booth
872726c5aa Commented self presence handling #151 2013-02-20 08:30:00 +00:00
James Booth
ec124a552c Remove all from resource hash table, rather than destroy 2013-02-19 00:34:07 +00:00
James Booth
502d7dc9fe Show available resources for current account with "/account" 2013-02-18 22:51:05 +00:00
James Booth
5a107459be Tidied new command output, ordered features 2013-02-17 16:50:44 +00:00
James Booth
1a913b7d9b Added ping to features 2013-02-17 16:43:26 +00:00
James Booth
e955df8894 Colour title on /caps and /software output 2013-02-17 16:39:37 +00:00
James Booth
c3b7388e61 Added chatstates to capabilities 2013-02-17 03:23:14 +00:00
James Booth
bced3d4b36 Added autocomplete for /software command 2013-02-17 02:10:56 +00:00
James Booth
44d2f8da7a Added /caps command 2013-02-17 01:04:10 +00:00
James Booth
a84e4adee7 Show all resources ordered by priority with /info command 2013-02-17 00:05:57 +00:00
James Booth
b5e06a079c Simple default resource hanlding on presence 2013-02-14 22:06:25 +00:00
James Booth
576be7921d Tidy up presence module 2013-02-10 23:29:37 +00:00
James Booth
ebc87b8b82 Added usage of handlers to message and presence modules 2013-02-10 19:39:19 +00:00
James Booth
e922568770 Added resource_presence_t and contact_presence_t 2013-02-10 17:13:19 +00:00
James Booth
59e9b10d19 Removed presence from jabber_conn 2013-02-10 13:36:11 +00:00
James Booth
591f8a8dbf Renamed jabber_presence_t->presence_t 2013-02-10 11:31:31 +00:00
James Booth
ec78914044 Only create contacts resource when online 2013-02-10 11:19:36 +00:00
James Booth
835906bada Changed parameter to contact_list_add jid->barejid 2013-02-10 00:02:06 +00:00
James Booth
5e5590b047 Show detailed software/os information if available in capabilities 2013-02-05 23:06:30 +00:00
James Booth
895399427e Removed debug from last commit 2013-02-05 20:38:07 +00:00
James Booth
523e4be1b8 SHA1 now generated correctly when data form included in caps
fixes #149
2013-02-05 20:36:21 +00:00
James Booth
c283908cc1 Send show, status, priority and caps when changing room nickname 2013-02-04 02:33:25 +00:00
James Booth
b94dc5ecdd Moved setting presence status and show into functions 2013-02-04 02:19:31 +00:00
James Booth
eb26cab739 Use of const in connection.c 2013-02-04 00:37:10 +00:00
James Booth
99232b0530 Small tidy up in connection.c 2013-02-03 23:59:04 +00:00
James Booth
2cea263917 Added asserts 2013-02-03 23:46:20 +00:00
James Booth
9bc70e29e8 Removed jabber_restart function 2013-02-03 22:56:23 +00:00
James Booth
2ee0c4d328 Moved caps_init() out of xmpp.h 2013-02-03 22:46:32 +00:00
James Booth
0b40de5a4f Moved private xmpp functions to connection.h 2013-02-03 22:40:54 +00:00
James Booth
1cd2d6c7c9 Moved function to get presence string from type to stanza.c 2013-02-03 22:18:40 +00:00
James Booth
1cea320a0c Send entity capabilities and status when joining room 2013-02-03 20:09:56 +00:00