1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
Commit Graph

169 Commits

Author SHA1 Message Date
James Booth
13f0166aa0 Only show UI events for chat states when in session 2015-01-11 23:04:22 +00:00
James Booth
c16871d143 Added remaining chat states 2015-01-11 20:20:17 +00:00
James Booth
76bd2ec13f Send active chat state, handle composing and gone from recipients 2015-01-10 22:03:40 +00:00
James Booth
c3ad3c0ba6 Show resource in titlebar and on each message 2015-01-10 18:35:59 +00:00
James Booth
5e7d2f5f91 Removed chat states from chat_session module, WIP 2015-01-08 00:57:25 +00:00
James Booth
8bbf126e83 Refactored chat sessions in _chat_handler 2015-01-07 00:17:54 +00:00
James Booth
95ad564372 Added offline handler for chat sessions 2015-01-06 23:19:56 +00:00
James Booth
c2dccad818 Create chat session when no resource 2015-01-05 00:48:30 +00:00
James Booth
8326c8b3a2 Refactored chat session handling on sending message 2015-01-04 23:40:10 +00:00
James Booth
42a5c431c7 Use resource in chat sessions 2015-01-04 20:19:42 +00:00
James Booth
4898ed10a4 Fix for receiving regular chat messages with no type attribute 2015-01-04 17:54:56 +00:00
James Booth
10a3a3a675 Use events for chat sessions 2014-12-29 01:17:59 +00:00
James Booth
4be06c0ae2 Moved chat_session_set_sent from message.c module 2014-12-29 00:31:57 +00:00
James Booth
fe2ef44cac Added chat_session_on_incoming_message 2014-12-29 00:16:40 +00:00
James Booth
ac4b59eda0 Fixed chat state for non OTR 2014-12-28 22:45:25 +00:00
James Booth
e602c2909e Moved chat states out of xmpp module for message send chat 2014-12-27 00:52:34 +00:00
James Booth
9d94ac5c63 Removed function pointers 2014-12-22 22:13:42 +00:00
James Booth
ea267e2017 Refactored all window recipients and types
Tests need fixing
2014-12-20 00:52:35 +00:00
James Booth
9ba5a576ba Split private message handling to separate functions 2014-12-10 22:23:33 +00:00
James Booth
9f2f54b2a0 Removed /duck command 2014-10-18 00:07:48 +01:00
James Booth
7584ddaa62 Added /room subject command 2014-10-05 03:05:46 +01:00
James Booth
d25d6b4502 Tidied muc module 2014-09-28 22:09:20 +01:00
James Booth
f9737251a6 Added license exemption for OpenSSL to source headers 2014-08-24 20:57:39 +01:00
Dariusz Dwornikowski
225312802e Spelling errors fixed and hyphenation used as minus sign fixed 2014-08-11 18:54:20 +02:00
James Booth
b25b3f3180 Added notification setting for typing in current window 2014-05-24 21:13:33 +01:00
James Booth
d6e92f62dc Fixed cppcheck warnings 2014-04-26 00:36:36 +01:00
lightb
1ceca89296 Added some otr policy functionality, if policy is set to "always"
if otr_is_secure fails, the message will not be sent.

Changed both cmd_msg and cmd_execute_default
2014-04-19 05:08:33 -04:00
James Booth
bc6f8ceb3a Fixed handling of room subject 2014-04-13 03:11:46 +01:00
James Booth
aa2a87d162 Tidied ui dependencies 2014-04-06 21:35:17 +01:00
James Booth
26726b207a Updated copyright 2014-03-09 01:18:19 +00:00
James Booth
b177250f47 Refactored muc_room_is_active to only take room, rather than full jid 2014-03-08 21:20:26 +00:00
James Booth
5afb296e67 Moved error handling logic to server_events 2014-01-28 22:37:50 +00:00
James Booth
e9959d5d38 Refactored presence_error_handler 2014-01-27 22:35:04 +00:00
James Booth
27293ebbc2 Added fallback message error handlers 2014-01-27 22:09:16 +00:00
James Booth
678a5bd05c Fixed comment 2014-01-27 21:48:44 +00:00
James Booth
f26686aeca Removed unnecessary strdup 2014-01-27 21:33:02 +00:00
James Booth
1a300ce7d3 Show original error message 2014-01-26 22:50:22 +00:00
James Booth
50f1a5ecc0 Changed error message when couldn't join room 2014-01-26 22:19:22 +00:00
James Booth
292ae567aa Handle recipient not found 2014-01-26 18:30:34 +00:00
James Booth
ae1ccc7bae Add generated id to messages 2014-01-26 01:07:11 +00:00
James Booth
e1aca3b1f6 Add message and presence error handlers seperately 2014-01-25 22:57:53 +00:00
James Booth
d8a92f933b Split xmpp message handlers by namespace 2014-01-25 21:20:56 +00:00
James Booth
78e8232b61 Renamed namespace variables 2014-01-25 20:47:32 +00:00
James Booth
a54518f2d4 Moved messages handlers to server_events 2014-01-05 21:33:12 +00:00
James Booth
74e8a405d6 Bind message functions in main.c 2013-12-22 23:25:30 +00:00
James Booth
81909ef000 Dynamically bind xmpp module api 2013-12-18 20:16:55 +00:00
James Booth
107fdd355e Added simple mock test, refactored roster 2013-12-14 15:34:17 +00:00
James Booth
d0c8ed462d Add error handler only once
fixes #240
2013-09-22 00:19:11 +01:00
Dmitry Podgorny
b1bfdf650a fixed memory leaks in various files 2013-08-25 14:54:34 +03:00
Dmitry Podgorny
a6e66cc571 fixed memory leaks
Also avoided several NULL pointer dereferences.
2013-08-03 14:38:38 +03:00
James Booth
b9fc61fd30 Moved stophe references in message send 2013-06-20 17:41:44 +01:00
James Booth
96496ca219 Merge remote-tracking branch 'dmitry/captcha-2' into captcha 2013-06-16 18:58:18 +01:00
Dmitry Podgorny
c84cb17bd4 added support of captcha in a MUC 2013-06-09 16:19:49 +03:00
Dmitry Podgorny
eff5986d38 fixed several memory leaks
And infinity loop in stanza_destroy_form().
2013-06-09 14:20:48 +03:00
James Booth
ae7da18d7e Use waddstr for incoming messages to avoid truncation
fixes #8
2013-06-01 21:23:34 +01:00
James Booth
f4a3dd84ea Renamed roster_barejid_from_handle -> roster_barejid_from_name 2013-05-21 21:12:00 +01:00
James Booth
d16a31d096 Renamed roster_jid_from_handle -> roster_barejid_from_handle 2013-05-21 20:50:05 +01:00
James Booth
59a3a5fe9b Use handle in /msg command 2013-05-19 23:35:02 +01:00
James Booth
90ac69beb3 Added /duck command to perform searches using duckduckgo chat bot 2013-05-05 02:31:04 +01:00
James Booth
81020e6d43 Added /invite for direct MUC invitations 2013-04-20 20:18:13 +01:00
James Booth
b6095ca955 Show message in console when receiving chat room invites 2013-03-24 21:46:00 +00:00
James Booth
ebc87b8b82 Added usage of handlers to message and presence modules 2013-02-10 19:39:19 +00:00
James Booth
0b40de5a4f Moved private xmpp functions to connection.h 2013-02-03 22:40:54 +00:00
James Booth
ca26452af6 Refactored getting boolean preferences 2013-02-03 02:35:04 +00:00
James Booth
9d34c41227 Added config dir to source 2013-02-02 21:59:29 +00:00
James Booth
fc5bfb7d33 Tidied #include's 2013-02-02 20:55:58 +00:00
James Booth
59b79ec20c Removed message handler function from xmpp.h 2013-02-02 20:18:23 +00:00
James Booth
bc2784dae6 Removed stanza functions from xmpp.h 2013-02-02 20:07:44 +00:00
James Booth
1d3739bb79 Added xmpp subdir to source 2013-02-02 19:47:41 +00:00