Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix typo in comment | Michael Vetter | 2020-01-23 | 1 | -1/+1 | |
| | ||||||
* | xep-0084: Download avatars | Michael Vetter | 2019-12-18 | 1 | -0/+31 | |
| | | | | | Proof of concept. Needs error checking, a nice interface, general cleanup.. | |||||
* | Fix stanza_get_child_by_name_and_from() strcmp | Michael Vetter | 2019-11-14 | 1 | -1/+3 | |
| | | | | Fix https://github.com/profanity-im/profanity/issues/1227 | |||||
* | Add vim modeline | Michael Vetter | 2019-11-13 | 1 | -0/+1 | |
| | ||||||
* | Check for correct delay tag for muc timestamps | Michael Vetter | 2019-11-13 | 1 | -12/+34 | |
| | | | | | | | | | | | | | 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 | |||||
* | Fix stanza_get_child_by_name_and_ns() if no name | Michael Vetter | 2019-11-12 | 1 | -1/+3 | |
| | | | | Fix bug introduced in 68af0aad65d243e654866eac5a7cd728ee293aa0. | |||||
* | _handle_groupchat(): get correct origin-id stanza | Michael Vetter | 2019-11-08 | 1 | -0/+18 | |
| | | | | | | | | | | | | | | | | | | 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 | |||||
* | Remove prefix from stanza id | Michael Vetter | 2019-10-17 | 1 | -29/+29 | |
| | | | | | We sent `prof_prefix_uuid` as id. Where the prefix was also optional. We don't need this at all. | |||||
* | Don't render (all) delayed messages as MUC history | Holger Weiß | 2019-08-20 | 1 | -0/+15 | |
| | | | | | | | | 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. | |||||
* | Fix various OMEMO memleaks | Paul Fariello | 2019-07-10 | 1 | -0/+9 | |
| | ||||||
* | Update tests with new URL | Michael Vetter | 2019-05-03 | 1 | -1/+1 | |
| | | | | https://github.com/profanity-im/profanity/issues/1085 | |||||
* | Update profanity URL in entity capabilities stanza | Michael Vetter | 2019-05-03 | 1 | -1/+1 | |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1085 | |||||
* | Rework MUC reflected message filtering | Paul Fariello | 2019-04-10 | 1 | -0/+15 | |
| | | | | | | | | | 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 | -8/+57 | |
| | | | | | We try to reconfigure node and publish again. If it fails again then we give up. | |||||
* | Add support for disconnect in OMEMO | Paul Fariello | 2019-04-10 | 1 | -4/+12 | |
| | ||||||
* | Add publish option to OMEMO device list and bundle | Paul Fariello | 2019-04-10 | 1 | -0/+39 | |
| | ||||||
* | Add store hints for OMEMO encrypted messages | Paul Fariello | 2019-04-10 | 1 | -0/+12 | |
| | | | | | | | | | 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 support for encrypted carbon | Paul Fariello | 2019-04-10 | 1 | -1/+1 | |
| | | | | Fix {signed,}_pre_key store | |||||
* | Add signal store backend and OMEMO start command | Paul Fariello | 2019-04-10 | 1 | -0/+25 | |
| | ||||||
* | Request for device list when OMEMO is ready | Paul Fariello | 2019-04-10 | 1 | -0/+24 | |
| | ||||||
* | Fix devicelist subscription and handle pubsub event | Paul Fariello | 2019-04-10 | 1 | -2/+2 | |
| | | | | Devicelist subscription can be done directly with caps_add feature. | |||||
* | Add devicelist and bundle publication | Paul Fariello | 2019-04-10 | 1 | -2/+145 | |
| | ||||||
* | Add devicelist subscription | Paul Fariello | 2019-04-10 | 1 | -0/+25 | |
| | ||||||
* | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 1 | -1/+1 | |
| | ||||||
* | Fix optionnal sessionid in xep 0050 | Paul Fariello | 2019-01-21 | 1 | -1/+3 | |
| | ||||||
* | Merge pull request #991 from paulfariello/feature/xep-0050 | Michael Vetter | 2018-09-27 | 1 | -1/+51 | |
|\ | | | | | Add support for xep 0050 ad-hoc commands, without multi-step | |||||
| * | Add support for command config execution | Paul Fariello | 2018-09-05 | 1 | -0/+25 | |
| | | ||||||
| * | Handle simple execution | Paul Fariello | 2018-09-05 | 1 | -1/+1 | |
| | | | | | | | | Tested with ping from biboumi | |||||
| * | Add command subcommands: list and exec | Paul Fariello | 2018-09-05 | 1 | -2/+5 | |
| | | | | | | | | Also handle list result | |||||
| * | Add command command | Paul Fariello | 2018-09-05 | 1 | -0/+22 | |
| | | | | | | | | Initial commit to test commands API | |||||
* | | Move p_sha1_hash() to stanza.c | Michael Vetter | 2018-09-06 | 1 | -1/+18 | |
|/ | | | | | | | | | | | | Move `p_sha1_hash()` from `common.c` to `xmpp/stanza.c` as it is only used in this file and now depends on libstrophe so xmpp is a better namespace folder. Renaming it as `_stanza_create_sha1_hash()`. And making static since only used here. The function cannot be tested in the unit tests anymore. Once functional tests are working again we should write a test for the sha1 functionality. | |||||
* | Move ID generation to xmpp folder | Michael Vetter | 2018-08-30 | 1 | -20/+20 | |
| | | | | | | | | | | | create_unique_id() was changed to use UUIDs instead of a counter in the last commit. Since now it depends on connection_create_uuid() which is in the xmpp subfolder the function should also be moved there. Renamed it to connection_create_stanza_id() and moved it to src/xmpp/connection.c. Discussion happened in https://github.com/boothj5/profanity/pull/1010 | |||||
* | Update copyright | James Booth | 2018-01-21 | 1 | -1/+1 | |
| | ||||||
* | Update Copyright | James Booth | 2017-01-28 | 1 | -1/+1 | |
| | ||||||
* | Free stanzas on stanza_create_http_upload_request() | James Booth | 2016-09-05 | 1 | -0/+6 | |
| | ||||||
* | Use hash table for bookmarks | James Booth | 2016-08-21 | 1 | -22/+21 | |
| | ||||||
* | Use libstrophe xmpp_presence_new convenience function | James Booth | 2016-08-20 | 1 | -15/+3 | |
| | ||||||
* | Use libstrophe xmpp_iq_new convenience function | James Booth | 2016-08-20 | 1 | -99/+57 | |
| | ||||||
* | Use libstrophe xmpp_message_new convenience function | James Booth | 2016-08-20 | 1 | -18/+10 | |
| | ||||||
* | Replace stanza_create_message with libstrophe convenience functions | James Booth | 2016-08-20 | 1 | -23/+0 | |
| | ||||||
* | Use libstrophe convenience functions for stanza attributes | James Booth | 2016-08-20 | 1 | -32/+32 | |
| | ||||||
* | Copy feature strings on caps_get_features | James Booth | 2016-08-17 | 1 | -1/+1 | |
| | ||||||
* | Add caps_create | James Booth | 2016-08-14 | 1 | -30/+7 | |
| | ||||||
* | Move caps_create -> stanza_create_caps_from_query_element | James Booth | 2016-08-14 | 1 | -0/+135 | |
| | ||||||
* | Move caps_create_sha1_str -> stanza_create_caps_sha1_from_query | James Booth | 2016-08-14 | 1 | -0/+101 | |
| | ||||||
* | Move caps_create_query_response_stanza -> stanza_create_caps_query_element | James Booth | 2016-08-13 | 1 | -1/+50 | |
| | ||||||
* | Refactor stanza.c | James Booth | 2016-08-13 | 1 | -404/+385 | |
| | ||||||
* | Tidy headers | James Booth | 2016-07-24 | 1 | -2/+2 | |
| | ||||||
* | Update GPL link in headers | James Booth | 2016-07-24 | 1 | -1/+1 | |
| | ||||||
* | Rename jabber_ functions | James Booth | 2016-05-06 | 1 | -0/+1 | |
| |