Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Check for correct delay tag for muc timestamps | Michael Vetter | 2019-11-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | https://github.com/profanity-im/profanity/issues/1190 had another issue: Sometimes servers send multiple </delay> and we just checked the first one we got and only used it if the 'from' attribute was fitting. However it could be that we actually wanted the second </delay> element and there the 'from' would have been right. So we need to loop through them until we get the one with the fitting 'from'. Fix https://github.com/profanity-im/profanity/issues/1190 | ||||
* | _handle_groupchat(): get correct origin-id stanza | Michael Vetter | 2019-11-08 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | The problem is that in _handle_groupchat() we look for STANZA_NS_STABLE_ID which will result in origin-id or stanza-id. It seems like prosody servers send origin-id first, so this worked in all my tests. But actually we cannot be sure of the order. So far we stopped after the first element was found. I only found xmpp_stanza_get_child_by_ns() and xmpp_stanza_get_child_by_name() in libstrophe. But we need a combination of both. So I created stanza_get_child_by_name_and_ns() for Profanity. I need to remember to upstream this to libstrophe later (if they really don't have such a function). Fix https://github.com/profanity-im/profanity/issues/1223 | ||||
* | Don't render (all) delayed messages as MUC history | Holger Weiß | 2019-08-20 | 1 | -0/+1 |
| | | | | | | | | Double-check that a <delay/> tag on a groupchat message was actually added by the MUC service (rather than the sending client) before assuming it was received from the MUC history. Fixes #1173. | ||||
* | Rework MUC reflected message filtering | Paul Fariello | 2019-04-10 | 1 | -0/+3 |
| | | | | | | | | | Reflected messages can't be filtered by nick only otherwise you might ignore messages comming from you on another devices. Consequently we maintain a list of sent messages id in mucwin. To be sure the id will be correctly reflected we use the origin-id stanza. | ||||
* | Handle bundle publication error on publish-options | Paul Fariello | 2019-04-10 | 1 | -1/+6 |
| | | | | | We try to reconfigure node and publish again. If it fails again then we give up. | ||||
* | Add publish option to OMEMO device list and bundle | Paul Fariello | 2019-04-10 | 1 | -0/+2 |
| | |||||
* | Add store hints for OMEMO encrypted messages | Paul Fariello | 2019-04-10 | 1 | -0/+1 |
| | | | | | | | | | Store hints are required has some server might discard messages without body. Here we ensure OMEMO messages are stored on server and delivered to client when they connect back. It's really important since it avoid libsignal to desynchronize counters. | ||||
* | Add signal store backend and OMEMO start command | Paul Fariello | 2019-04-10 | 1 | -0/+2 |
| | |||||
* | Request for device list when OMEMO is ready | Paul Fariello | 2019-04-10 | 1 | -0/+1 |
| | |||||
* | Fix devicelist subscription and handle pubsub event | Paul Fariello | 2019-04-10 | 1 | -0/+2 |
| | | | | Devicelist subscription can be done directly with caps_add feature. | ||||
* | Add pubsub event callback | Paul Fariello | 2019-04-10 | 1 | -0/+1 |
| | | | | Also add generic message callback struct | ||||
* | Add devicelist and bundle publication | Paul Fariello | 2019-04-10 | 1 | -1/+4 |
| | |||||
* | Add devicelist subscription | Paul Fariello | 2019-04-10 | 1 | -0/+2 |
| | |||||
* | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | Add support for command config execution | Paul Fariello | 2018-09-05 | 1 | -0/+1 |
| | |||||
* | Handle simple execution | Paul Fariello | 2018-09-05 | 1 | -0/+1 |
| | | | | Tested with ping from biboumi | ||||
* | Add command subcommands: list and exec | Paul Fariello | 2018-09-05 | 1 | -2/+2 |
| | | | | Also handle list result | ||||
* | Add command command | Paul Fariello | 2018-09-05 | 1 | -0/+4 |
| | | | | Initial commit to test commands API | ||||
* | Update copyright | James Booth | 2018-01-21 | 1 | -1/+1 |
| | |||||
* | Update Copyright | James Booth | 2017-01-28 | 1 | -1/+1 |
| | |||||
* | Use hash table for bookmarks | James Booth | 2016-08-21 | 1 | -0/+2 |
| | |||||
* | Use libstrophe xmpp_presence_new convenience function | James Booth | 2016-08-20 | 1 | -2/+0 |
| | |||||
* | Replace stanza_create_message with libstrophe convenience functions | James Booth | 2016-08-20 | 1 | -3/+0 |
| | |||||
* | Move caps_create -> stanza_create_caps_from_query_element | James Booth | 2016-08-14 | 1 | -0/+1 |
| | |||||
* | Move caps_create_sha1_str -> stanza_create_caps_sha1_from_query | James Booth | 2016-08-14 | 1 | -0/+1 |
| | |||||
* | Move caps_create_query_response_stanza -> stanza_create_caps_query_element | James Booth | 2016-08-13 | 1 | -0/+2 |
| | |||||
* | Tidy headers | James Booth | 2016-07-24 | 1 | -0/+1 |
| | |||||
* | Update GPL link in headers | James Booth | 2016-07-24 | 1 | -1/+1 |
| | |||||
* | Tidy xmpp headers | James Booth | 2016-05-04 | 1 | -4/+0 |
| | |||||
* | Add /blocked command | James Booth | 2016-05-01 | 1 | -0/+6 |
| | |||||
* | Define stanza's attributes as const char* | Dmitry Podgorny | 2016-04-27 | 1 | -3/+3 |
| | | | | | | | | | | | | In most get-like funcitons libstrophe returns pointer to a string that resides in an internal structure (e.g. xmpp_stanza_t). Hence, Profanity must not change such strings. Define respective variables as 'const char*' to reduce a chance of error and conform future libstrophe's interface. This patch mostly replaces 'char *' with 'const char*', but also fixes two memory leaks after stanza_get_reason(). Add comment within stanza_get_reason() to fix conflict with different allocator types. | ||||
* | Implement XEP-0363: HTTP File Upload | Dominik Heidler | 2016-04-26 | 1 | -0/+13 |
| | |||||
* | Removed #AX_PREFIX_CONFIG_H | James Booth | 2016-03-31 | 1 | -3/+3 |
| | |||||
* | Merge branch 'master' into plugins-c | James Booth | 2016-02-14 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: src/main.c src/ui/console.c | ||||
| * | Updated copyright | James Booth | 2016-02-14 | 1 | -1/+1 |
| | | |||||
* | | Added C plugin code from plugins branch | James Booth | 2016-02-14 | 1 | -3/+3 |
|/ | |||||
* | Applied coding style to src/xmpp/ | James Booth | 2015-10-26 | 1 | -80/+69 |
| | |||||
* | WIP: Added last activity request and response | James Booth | 2015-09-29 | 1 | -0/+3 |
| | |||||
* | Check for libmesode, fall back to libstrophe | James Booth | 2015-09-21 | 1 | -0/+8 |
| | |||||
* | Add no-copy and no-store hints to OTR messages | Sam Whited | 2015-07-01 | 1 | -0/+3 |
| | |||||
* | WIP fix for #516, needs memory cleanup | James Booth | 2015-06-29 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into pgp | James Booth | 2015-03-29 | 1 | -1/+2 |
|\ | |||||
| * | Added password to direct invites | James Booth | 2015-03-29 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'master' into pgp | James Booth | 2015-03-29 | 1 | -0/+2 |
|\| | |||||
| * | Added check members only room to send mediated invites | James Booth | 2015-03-28 | 1 | -0/+2 |
| | | |||||
* | | Send encrypted messages | James Booth | 2015-03-24 | 1 | -0/+1 |
| | | |||||
* | | Added pgpkeyid account setting, send signed presence | James Booth | 2015-03-23 | 1 | -0/+1 |
|/ | |||||
* | Show message received text for receipts | James Booth | 2015-03-11 | 1 | -1/+1 |
| | |||||
* | Added basic delivery receipts | James Booth | 2015-03-11 | 1 | -2/+6 |
| | |||||
* | Send private carbons element with message when encrypted | James Booth | 2015-03-10 | 1 | -1/+1 |
| |