Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix a segfault when carbon has no body | Paul Fariello | 2019-06-21 | 1 | -11/+13 | |
| | ||||||
* | Don't highlight cleartext message as untrusted | Paul Fariello | 2019-06-21 | 1 | -0/+1 | |
| | ||||||
* | Fix segfault when receiving messages without ID | Paul Fariello | 2019-06-21 | 1 | -1/+3 | |
| | ||||||
* | Fix NULL pointer when handling non encrypted message in MUC | Paul Fariello | 2019-06-21 | 1 | -1/+9 | |
| | ||||||
* | Rename prof_message_t into ProfMessage | Paul Fariello | 2019-06-20 | 1 | -7/+7 | |
| | ||||||
* | Add prof_message_t to wrap all message attributes | Paul Fariello | 2019-06-20 | 1 | -110/+140 | |
| | | | | | | | Probably missing copy of body to plain in carbon and privmessage. Only covers the incoming message path because goal is OMEMO decryption of untrusted message. Cover some of the log functions but not all. | |||||
* | Use flags in xmmp/message.c for encryption and trust | Paul Fariello | 2019-06-20 | 1 | -10/+20 | |
| | ||||||
* | Add trusted state after OMEMO decryption | Paul Fariello | 2019-06-20 | 1 | -8/+11 | |
| | | | | Use it to print message on red background if not trusted. | |||||
* | Call message_handlers_clear() upon disconnect | Michael Vetter | 2019-06-20 | 1 | -0/+8 | |
| | | | | Free pubsub_event_handlers. Fix memory leaks. | |||||
* | Rework MUC reflected message filtering | Paul Fariello | 2019-04-10 | 1 | -4/+14 | |
| | | | | | | | | | 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. | |||||
* | Fix devicelist notification handler | Paul Fariello | 2019-04-10 | 1 | -2/+1 | |
| | | | | devicelist handler should be kept after trigger | |||||
* | Ensure encrypted carbon of own message are marked as encrypted | Paul Fariello | 2019-04-10 | 1 | -1/+1 | |
| | ||||||
* | Add support for disconnect in OMEMO | Paul Fariello | 2019-04-10 | 1 | -0/+1 | |
| | ||||||
* | Log and print outgoing encrypted message | Paul Fariello | 2019-04-10 | 1 | -2/+5 | |
| | ||||||
* | Add support for sending encrypted message in MUC | Paul Fariello | 2019-04-10 | 1 | -4/+10 | |
| | ||||||
* | Add MUC message decryption | Paul Fariello | 2019-04-10 | 1 | -3/+9 | |
| | ||||||
* | Add store hints for OMEMO encrypted messages | Paul Fariello | 2019-04-10 | 1 | -0/+2 | |
| | | | | | | | | | 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 libsignal-protocol-c 2.3.2 | Paul Fariello | 2019-04-10 | 1 | -1/+1 | |
| | ||||||
* | Remove hints preventing carbons to work properly | Paul Fariello | 2019-04-10 | 1 | -3/+0 | |
| | ||||||
* | Don't explicitely disable carbons for OMEMO messages | Paul Fariello | 2019-04-10 | 1 | -1/+0 | |
| | ||||||
* | Add support for encrypted carbon | Paul Fariello | 2019-04-10 | 1 | -4/+14 | |
| | | | | Fix {signed,}_pre_key store | |||||
* | Follow normal workflow for OMEMO message reception | Paul Fariello | 2019-04-10 | 1 | -116/+27 | |
| | | | | | | We try to decrypt all messages, if it's successful we use sv_ev_incoming_message even for OMEMO messages. We pass an OMEMO boolean to let UI be aware that message were encrypted. | |||||
* | Add chat session state to OMEMO message stanza | Paul Fariello | 2019-04-10 | 1 | -0/+5 | |
| | ||||||
* | Add default body on OMEMO message | Paul Fariello | 2019-04-10 | 1 | -0/+8 | |
| | ||||||
* | Add OMEMO message encryption and decryption | Paul Fariello | 2019-04-10 | 1 | -1/+202 | |
| | ||||||
* | Fix devicelist subscription and handle pubsub event | Paul Fariello | 2019-04-10 | 1 | -21/+14 | |
| | | | | Devicelist subscription can be done directly with caps_add feature. | |||||
* | Add pubsub event callback | Paul Fariello | 2019-04-10 | 1 | -0/+60 | |
| | | | | Also add generic message callback struct | |||||
* | XEP-0027: Mention XEP in message body | Michael Vetter | 2019-02-20 | 1 | -1/+1 | |
| | | | | With all the different kinds of encryption (OMEMO, OTR3 OTR4, PGP in XEP-0027 and XEP-0373) it might be helpful to know which kind of encryption is used. | |||||
* | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 1 | -1/+1 | |
| | ||||||
* | Move ID generation to xmpp folder | Michael Vetter | 2018-08-30 | 1 | -6/+6 | |
| | | | | | | | | | | | 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 | |
| | ||||||
* | Check barejid in carbons | James Booth | 2017-01-24 | 1 | -2/+1 | |
| | ||||||
* | Add carbons from check | James Booth | 2017-01-23 | 1 | -1/+8 | |
| | ||||||
* | log_info on private carbons | James Booth | 2016-08-28 | 1 | -0/+5 | |
| | ||||||
* | Tidy _handle_carbons | James Booth | 2016-08-20 | 1 | -35/+52 | |
| | ||||||
* | Use libstrophe xmpp_message_get_body convenience function | James Booth | 2016-08-20 | 1 | -49/+22 | |
| | ||||||
* | Use libstrophe xmpp_message_new convenience function | James Booth | 2016-08-20 | 1 | -4/+2 | |
| | ||||||
* | Replace stanza_create_message with libstrophe convenience functions | James Booth | 2016-08-20 | 1 | -8/+21 | |
| | ||||||
* | Use libstrophe convenience functions for stanza attributes | James Booth | 2016-08-20 | 1 | -15/+15 | |
| | ||||||
* | Send receipt request only when receiver supports feature | James Booth | 2016-08-18 | 1 | -46/+13 | |
| | | | | issue #829 | |||||
* | Tidy headers | James Booth | 2016-07-24 | 1 | -8/+9 | |
| | ||||||
* | Update GPL link in headers | James Booth | 2016-07-24 | 1 | -1/+1 | |
| | ||||||
* | Move connection fulljid function | James Booth | 2016-05-06 | 1 | -1/+1 | |
| | ||||||
* | Rename jabber_ functions | James Booth | 2016-05-06 | 1 | -2/+3 | |
| | ||||||
* | Renamed connection.c -> session.c | James Booth | 2016-05-05 | 1 | -1/+1 | |
| | ||||||
* | Rename stanza handler init functions | James Booth | 2016-05-02 | 1 | -1/+1 | |
| | ||||||
* | Free stanza text and DiscoInfo features | James Booth | 2016-05-02 | 1 | -0/+2 | |
| | ||||||
* | Free stanza text on plugin send hooks | James Booth | 2016-05-01 | 1 | -0/+1 | |
| | ||||||
* | Define stanza's attributes as const char* | Dmitry Podgorny | 2016-04-27 | 1 | -23/+23 | |
| | | | | | | | | | | | | 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. |