Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Free prof_identifier in case of reconnect | Michael Vetter | 2019-10-19 | 1 | -0/+3 | |
| | | | | Bedore we assign it new. | |||||
* | Change origin-id/id algo | Michael Vetter | 2019-10-18 | 1 | -10/+10 | |
| | | | | | Hash twice. Use HMAC SHA256 from glib. | |||||
* | Log incoming MUC messages if origin-id sais they dont come from us | Michael Vetter | 2019-10-18 | 1 | -10/+7 | |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1201 | |||||
* | Remove prefix from stanza id | Michael Vetter | 2019-10-17 | 1 | -1/+1 | |
| | | | | | We sent `prof_prefix_uuid` as id. Where the prefix was also optional. We don't need this at all. | |||||
* | Change algo for connection_create_stanza_id() | Michael Vetter | 2019-10-17 | 1 | -7/+11 | |
| | ||||||
* | Change connection_create_stanza_id() | Michael Vetter | 2019-10-17 | 1 | -11/+11 | |
| | | | | | To return identifier and uuid together. We can remove the prefix later on. | |||||
* | Calculate identifier upon connect | Michael Vetter | 2019-10-16 | 1 | -5/+28 | |
| | | | | | | | This will be needed so that we can later detect if messages (origin-in) was sent by us. Regards https://github.com/profanity-im/profanity/issues/1207 | |||||
* | Rename identification file | Michael Vetter | 2019-10-16 | 1 | -1/+2 | |
| | ||||||
* | Use random string for random-bytes identifier | Michael Vetter | 2019-10-16 | 1 | -4/+5 | |
| | | | | | | And rename `instance` to `identifier`. Regards https://github.com/profanity-im/profanity/issues/1207 | |||||
* | Create random-bytes file | Michael Vetter | 2019-10-16 | 1 | -0/+53 | |
| | | | | | | | | | | So far only with dummy value. We will need an identifier that we can hash together with a message ID and put in as the origin-id. So when we receive message we can unsplit it and see if it was sent from this client. Regards https://github.com/profanity-im/profanity/issues/1207 | |||||
* | Fix various OMEMO memleaks | Paul Fariello | 2019-07-10 | 1 | -2/+4 | |
| | ||||||
* | xmpp/connection: fix #1103 | Dmitry Podgorny | 2019-06-01 | 1 | -11/+28 | |
| | | | | | | | | | | | | When connection is lost, profanity tries to disconnect what leads to an infinite loop. The loop occurs, because connection_disconnet() runs xmpp_run_once() separately and waits for XMPP_CONN_DISCONNECT event. But it doesn't happen, because the connection object is disconnected. As solution, don't disconnect after XMPP_CONN_DISCONNECT is received. Also, don't free libstrophe objects while the event loops executes, because the event loop continues using objects after callbacks quit. | |||||
* | Wait for discovery end to publish omemo devicelist and bundle | Paul Fariello | 2019-04-10 | 1 | -0/+23 | |
| | | | | Add sv_ev_connection_features_received for that purpose | |||||
* | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 1 | -1/+1 | |
| | ||||||
* | Add option to trust server's certificate | Dmitry Podgorny | 2018-11-06 | 1 | -0/+3 | |
| | | | | | | | | | | | New tls policy "trust" added to /connect and /account. With the policy TLS connection is established even with invalid certificate. Note, that trust policy forces TLS connection and it fails when server doesn't support TLS. Examples: /connect <jid> tls trust /account <name> set tls trust | |||||
* | Move ID generation to xmpp folder | Michael Vetter | 2018-08-30 | 1 | -0/+21 | |
| | | | | | | | | | | | 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 | |
| | ||||||
* | Legacy SSL support | Dmitry Podgorny | 2017-06-24 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | Add "legacy" tls policy to /account and /connect commands. When this policy is specified the connection is connected with XMPP_CONN_LEGACY_SSL flag. Notice, legacy SSL and STARTTLS are not compatible and user has to know when exactly the new policy should be used. To enable it, run one of the next commands: /connect <jid> tls legacy [server <host>] /account <name> set tls legacy Notice, there is no SRV record for legacy SSL. Therefore, you may need "server" property to connect successfully. Refer to configuration provided by your server. | |||||
* | Update Copyright | James Booth | 2017-01-28 | 1 | -1/+1 | |
| | ||||||
* | Allow clearing account resource | James Booth | 2016-11-22 | 1 | -14/+14 | |
| | | | | issue #880 | |||||
* | Use server features for account muc service | James Booth | 2016-11-20 | 1 | -0/+4 | |
| | | | | issue #878 | |||||
* | Add /tls certpath default | James Booth | 2016-10-17 | 1 | -2/+2 | |
| | | | | issue #871 | |||||
* | Free hashtable key list in connection_jid_for_feature() | James Booth | 2016-09-05 | 1 | -0/+1 | |
| | ||||||
* | Tidy headers | James Booth | 2016-07-24 | 1 | -0/+1 | |
| | ||||||
* | Move event timeout to connection module | James Booth | 2016-07-24 | 1 | -1/+7 | |
| | ||||||
* | Update GPL link in headers | James Booth | 2016-07-24 | 1 | -1/+1 | |
| | ||||||
* | Check for NULL before clearing connection data | James Booth | 2016-06-01 | 1 | -3/+7 | |
| | ||||||
* | Add connection_set_disconnected() | James Booth | 2016-05-11 | 1 | -18/+8 | |
| | ||||||
* | Add connection_clear_data() | James Booth | 2016-05-10 | 1 | -17/+12 | |
| | ||||||
* | Remove connection_free_conn(), connection_free_ctx() | James Booth | 2016-05-10 | 1 | -18/+10 | |
| | ||||||
* | Add connection_shutdown() | James Booth | 2016-05-10 | 1 | -7/+11 | |
| | ||||||
* | Remove JABBER_STARTED, JABBER_UNDEFINED connection states | James Booth | 2016-05-10 | 1 | -1/+12 | |
| | ||||||
* | Remove _session_free_session_data from session.c | James Booth | 2016-05-10 | 1 | -1/+2 | |
| | ||||||
* | Tidy connection.c | James Booth | 2016-05-10 | 1 | -21/+35 | |
| | ||||||
* | Tidy connection.c | James Booth | 2016-05-10 | 1 | -150/+128 | |
| | ||||||
* | Tidy session.c | James Booth | 2016-05-08 | 1 | -2/+2 | |
| | ||||||
* | Free features on disconnect | James Booth | 2016-05-08 | 1 | -1/+2 | |
| | ||||||
* | Use hash table for disco features | James Booth | 2016-05-08 | 1 | -48/+33 | |
| | ||||||
* | Remove connection_get_disco_infos() | James Booth | 2016-05-08 | 1 | -6/+0 | |
| | ||||||
* | Rename diso_items->diso_infos | James Booth | 2016-05-08 | 1 | -12/+12 | |
| | ||||||
* | Add connection_get_disco_info() | James Booth | 2016-05-08 | 1 | -6/+21 | |
| | ||||||
* | Add connection_item_for_feature() | James Booth | 2016-05-08 | 1 | -0/+16 | |
| | ||||||
* | Move logic to connection_set_disco_items | James Booth | 2016-05-08 | 1 | -6/+17 | |
| | ||||||
* | Move conneciton initialisation to _connection_handler | James Booth | 2016-05-08 | 1 | -16/+11 | |
| | ||||||
* | Move xmpp_initialise() to conneciton.c | James Booth | 2016-05-07 | 1 | -0/+1 | |
| | ||||||
* | Move disco info struct to connection | James Booth | 2016-05-07 | 1 | -0/+58 | |
| | ||||||
* | Move available resources to connection struct | James Booth | 2016-05-07 | 1 | -0/+26 | |
| | ||||||
* | Rename xmpp types | James Booth | 2016-05-06 | 1 | -48/+48 | |
| | ||||||
* | Remove redundant tls secured function | James Booth | 2016-05-06 | 1 | -7/+1 | |
| | ||||||
* | Tidy connect function | James Booth | 2016-05-06 | 1 | -18/+3 | |
| |