about summary refs log tree commit diff stats
path: root/src/xmpp/stanza.c
Commit message (Collapse)AuthorAgeFilesLines
* Add store hints for OMEMO encrypted messagesPaul Fariello2019-04-101-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 carbonPaul Fariello2019-04-101-1/+1
| | | | Fix {signed,}_pre_key store
* Add signal store backend and OMEMO start commandPaul Fariello2019-04-101-0/+25
|
* Request for device list when OMEMO is readyPaul Fariello2019-04-101-0/+24
|
* Fix devicelist subscription and handle pubsub eventPaul Fariello2019-04-101-2/+2
| | | | Devicelist subscription can be done directly with caps_add feature.
* Add devicelist and bundle publicationPaul Fariello2019-04-101-2/+145
|
* Add devicelist subscriptionPaul Fariello2019-04-101-0/+25
|
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Fix optionnal sessionid in xep 0050Paul Fariello2019-01-211-1/+3
|
* Merge pull request #991 from paulfariello/feature/xep-0050Michael Vetter2018-09-271-1/+51
|\ | | | | Add support for xep 0050 ad-hoc commands, without multi-step
| * Add support for command config executionPaul Fariello2018-09-051-0/+25
| |
| * Handle simple executionPaul Fariello2018-09-051-1/+1
| | | | | | | | Tested with ping from biboumi
| * Add command subcommands: list and execPaul Fariello2018-09-051-2/+5
| | | | | | | | Also handle list result
| * Add command commandPaul Fariello2018-09-051-0/+22
| | | | | | | | Initial commit to test commands API
* | Move p_sha1_hash() to stanza.cMichael Vetter2018-09-061-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 folderMichael Vetter2018-08-301-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 copyrightJames Booth2018-01-211-1/+1
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Free stanzas on stanza_create_http_upload_request()James Booth2016-09-051-0/+6
|
* Use hash table for bookmarksJames Booth2016-08-211-22/+21
|
* Use libstrophe xmpp_presence_new convenience functionJames Booth2016-08-201-15/+3
|
* Use libstrophe xmpp_iq_new convenience functionJames Booth2016-08-201-99/+57
|
* Use libstrophe xmpp_message_new convenience functionJames Booth2016-08-201-18/+10
|
* Replace stanza_create_message with libstrophe convenience functionsJames Booth2016-08-201-23/+0
|
* Use libstrophe convenience functions for stanza attributesJames Booth2016-08-201-32/+32
|
* Copy feature strings on caps_get_featuresJames Booth2016-08-171-1/+1
|
* Add caps_createJames Booth2016-08-141-30/+7
|
* Move caps_create -> stanza_create_caps_from_query_elementJames Booth2016-08-141-0/+135
|
* Move caps_create_sha1_str -> stanza_create_caps_sha1_from_queryJames Booth2016-08-141-0/+101
|
* Move caps_create_query_response_stanza -> stanza_create_caps_query_elementJames Booth2016-08-131-1/+50
|
* Refactor stanza.cJames Booth2016-08-131-404/+385
|
* Tidy headersJames Booth2016-07-241-2/+2
|
* Update GPL link in headersJames Booth2016-07-241-1/+1
|
* Rename jabber_ functionsJames Booth2016-05-061-0/+1
|
* Renamed connection.c -> session.cJames Booth2016-05-051-1/+1
|
* Tidy xmpp headersJames Booth2016-05-041-29/+0
|
* Add /blocked commandJames Booth2016-05-011-0/+20
|
* Define stanza's attributes as const char*Dmitry Podgorny2016-04-271-34/+37
| | | | | | | | | | | | 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 UploadDominik Heidler2016-04-261-0/+84
|
* Removed #AX_PREFIX_CONFIG_HJames Booth2016-03-311-3/+3
|
* Merge branch 'master' into plugins-cJames Booth2016-02-141-1/+1
|\ | | | | | | | | | | Conflicts: src/main.c src/ui/console.c
| * Updated copyrightJames Booth2016-02-141-1/+1
| |
* | Added C plugin code from plugins branchJames Booth2016-02-141-3/+3
|/
* Applied coding style to src/xmpp/James Booth2015-10-261-111/+113
|
* Moved idle time check for last activityJames Booth2015-10-141-10/+8
|
* Added jabber:iq:last to capabilitiesJames Booth2015-09-291-1/+1
|
* WIP: Added last activity request and responseJames Booth2015-09-291-0/+19
|
* Check for libmesode, fall back to libstropheJames Booth2015-09-211-0/+8
|
* Free timestamps and carbons stanzasJames Booth2015-08-091-0/+2
|
* Use id handler for software version requests, handle errorsJames Booth2015-08-051-1/+5
|