1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00
Commit Graph

82 Commits

Author SHA1 Message Date
James Booth
c343b3ecef Log errors on caps responses 2014-09-21 16:51:35 +01:00
James Booth
7aff51ba4d Handle capabilities for room participants 2014-09-21 01:57:09 +01:00
James Booth
c2e173479f Fixed muc presence check, remove logging from presence handler 2014-09-21 01:05:16 +01:00
James Booth
06856ecea1 Removed _get_caps_key function 2014-09-21 00:22:03 +01:00
James Booth
2fb9989123 Added jid->hash lookup for capabilities 2014-09-20 23:50:19 +01:00
James Booth
6e19476f6f Do not send caps request on self presence 2014-09-19 01:28:44 +01:00
James Booth
99c0b3f2cf wip - refactoring capabilities 2014-09-19 00:49:48 +01:00
James Booth
93058636ce Tidied available presence handler 2014-09-18 21:36:43 +01:00
James Booth
57effcd504 Show message when room requires config 2014-09-03 00:23:04 +01:00
James Booth
f9737251a6 Added license exemption for OpenSSL to source headers 2014-08-24 20:57:39 +01:00
James Booth
954661e59e Added quote param to autocomplete_complete 2014-07-09 20:23:47 +01:00
James Booth
1c62d7fda8 Renamed generate_unique_id -> create_unique_id 2014-06-15 21:49:34 +01:00
James Booth
d181f500ea Fixed usages of get_unique_id to free result 2014-06-15 20:56:24 +01:00
James Booth
4d0566b5d1 Fixed memleak in _available_handler 2014-06-15 20:39:50 +01:00
James Booth
143c5a3493 Refactroed self presence checks, handle null stanzas
Issue #341
2014-05-06 22:07:44 +01:00
James Booth
ba8d1325ad Added null check for presence error stanza namespace element
Issue #341
2014-05-05 22:01:27 +01:00
James Booth
d6e92f62dc Fixed cppcheck warnings 2014-04-26 00:36:36 +01:00
James Booth
2c15aba92a Chat room windows now created only after successful join 2014-04-21 00:37:04 +01:00
James Booth
9a55d8ad19 Store password with room 2014-04-20 22:02:55 +01:00
James Booth
26726b207a Updated copyright 2014-03-09 01:18:19 +00:00
James Booth
dd1ee18c72 Added test for /join with nick option 2014-03-08 21:10:23 +00:00
Kristofer M White
8a54c5895d Adding password handling for joining chatrooms 2014-02-27 05:31:10 +00:00
James Booth
12666b41e6 Refactored handle_presence_error, removed no longer used functions 2014-01-30 22:20:57 +00:00
James Booth
2cd24a484a Renamed handle_error_message -> handle_presence_error 2014-01-30 21:43:31 +00:00
James Booth
c3ea8f8d0b Added generated id's to presence stanzas 2014-01-28 20:55:02 +00:00
James Booth
e9959d5d38 Refactored presence_error_handler 2014-01-27 22:35:04 +00:00
James Booth
da94dcf3cf Moved connection_error_handler to _presence_error_handler 2014-01-27 21:42:34 +00:00
James Booth
e1aca3b1f6 Add message and presence error handlers seperately 2014-01-25 22:57:53 +00:00
James Booth
8600efa55b Renamed _room_presence_handler -> _muc_user_handler 2014-01-25 21:29:17 +00:00
James Booth
4bcd766d34 Moved presence handlers to server_events 2014-01-05 21:48:04 +00:00
Jasper van Bourgognie
7127a934c7 Fixed types of presence variables to resource_presence_type (avoid useless and implicit casts) 2013-12-27 20:50:43 +01:00
James Booth
4e169689f6 Bind presence functions in main.c 2013-12-22 23:31:49 +00:00
James Booth
81909ef000 Dynamically bind xmpp module api 2013-12-18 20:16:55 +00:00
James Booth
d70245c887 Fixe rejoining room after nickname conflict
fixes #241
2013-09-22 01:26:40 +01:00
James Booth
d0c8ed462d Add error handler only once
fixes #240
2013-09-22 00:19:11 +01:00
Dmitry Podgorny
545a23e92f removed strdup in autocomplete calls 2013-08-26 03:29:50 +03:00
Dmitry Podgorny
b1bfdf650a fixed memory leaks in various files 2013-08-25 14:54:34 +03:00
Dmitry Podgorny
d6c90ac7ca fixed indenting 2013-08-24 00:41:57 +03:00
James Booth
6651b13bd0 Merge branch 'master' into nextdev 2013-08-05 23:18:19 +01:00
James Booth
c6e9a7455d Undo change to stanza check for nick change return value 2013-08-05 23:08:30 +01:00
James Booth
55282e063d Handle when servers dont send status 101 or jid for MUC nick changes 2013-08-05 21:20:07 +01:00
Dmitry Podgorny
a6e66cc571 fixed memory leaks
Also avoided several NULL pointer dereferences.
2013-08-03 14:38:38 +03:00
Dmitry Podgorny
0346fda0b3 most FREE_SET_NULL replaced with free
FREE_SET_NULL makes extra assignment of NULL for pointers in stack or
dynamic memory that is going to be freed.
FREE_SET_NULL is useful for pointers that can be used in future.
2013-08-03 14:27:07 +03:00
Dmitry Podgorny
1f207beb99 fixed memory leaks in presence.c 2013-06-09 18:52:28 +03:00
James Booth
d49a01a9c3 Added roster list when using /roster with no args 2013-06-01 23:27:46 +01:00
James Booth
7b20d8d4f4 Refactored roster push handling 2013-05-21 22:00:42 +01:00
James Booth
78ff58cf77 Fixed error when losing connection and segfaulting on notify_remind() 2013-05-06 00:33:33 +01:00
James Booth
3d8d5214bb Autocomplete "/sub allow" parameter from subscription requests 2013-05-05 23:42:11 +01:00
James Booth
53eeb0ef45 Use autocomplete instead of hash table for subscription requests 2013-05-05 23:20:27 +01:00
James Booth
34217e4d44 Include open subscription requests in desktop reminder notifications
closes #167
2013-04-27 23:57:51 +01:00