about summary refs log tree commit diff stats
path: root/tests/unittests/xmpp
Commit message (Collapse)AuthorAgeFilesLines
* OX: XEP-0373: OpenPGP for XMPP - Version 0.5.0 (2020-06-19)DebXWoody2020-07-101-0/+10
| | | | | | | | | | | Discovering Public Keys via PEP * 4.3 Discovering Public Keys of a User * 4.4 Requesting Public Keys * Import Public Keys into GnuPG's local keyring. Issue: #1331
* Apply coding styleMichael Vetter2020-07-074-118/+328
|
* Revert "Apply coding style"Michael Vetter2020-07-074-332/+122
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-074-122/+332
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Tests: Add ox_announce_public_key stubMichael Vetter2020-07-061-0/+9
|
* Add OX test stubsMichael Vetter2020-06-291-0/+5
|
* Add option for legacy authenticationDmitry Podgorny2020-06-051-1/+2
| | | | | | | | New options: /connect <account> [auth default|legacy] /account <account> set auth default|legacy Fixes #1236.
* Fix clears_chat_sessions unittestMichael Vetter2020-05-281-0/+5
|
* Update bookmark test stubMichael Vetter2020-05-221-2/+2
|
* Fix message_send_private unittest stubMichael Vetter2020-04-061-1/+6
|
* Parse mentions and triggers in muc history if display is 'regular'Michael Vetter2020-02-201-1/+1
| | | | Fix https://github.com/profanity-im/profanity/issues/1261
* xep-0308: adapt unit test stubsMichael Vetter2020-02-141-5/+4
|
* Add context to autocomplete_with_func and use it for omemo trust commandPaul Fariello2020-01-311-3/+3
| | | | Fix #1068
* Use OMEMO for offline MUC members (#1242)Paul Fariello2020-01-201-1/+1
|
* xep-0084: add test stub fileMichael Vetter2019-12-181-0/+7
|
* Don't override ProfMessage Id with origin-idMichael Vetter2019-10-311-1/+1
| | | | | | | | | | Profanity sends the same value for both. Other clients might not. Safe both since we could need them later. Once we implement Last Message Correction we will need the regular id. If we override it with origin-id and another client chooses to not use the same value for id and origin-id then we can't interpret the id sent with the LMC request correctly.
* Adjust stub for connection_get_profanity_identifierMichael Vetter2019-10-221-1/+1
|
* Move ProfMessage and message_is_sent_by_us to xmppMichael Vetter2019-10-191-1/+0
| | | | Not meant for internal usage only.
* Add message_is_sent_by_us stubMichael Vetter2019-10-181-0/+5
|
* Remove accidentally added fileMichael Vetter2019-10-181-7/+0
|
* Add connection_get_profanity_identifier stubMichael Vetter2019-10-182-0/+11
| | | | And move defintion to xmpp.h
* Add missing stub filePaul Fariello2019-07-171-0/+7
|
* Cancel autoping timer on disconnect or connection lossDmitry Podgorny2019-06-031-0/+1
| | | | | | | | | If Profanity is disconnected in any way before ping response is received, the autoping timer will expire after the next connection is established. As result, user will be disconnected immediately. Cancel autoping timer in ev_disconnect_cleanup(), so it is done for all kind of disconnections.
* Use mock_type() for casting mock()Frank Zschockelt2019-05-081-5/+5
|
* Use mock_ptr_type() to silence compiler warningsFrank Zschockelt2019-05-081-4/+4
| | | | | | Unit tests on 32-bit architectures were failing due to "cast to pointer from integer of different size" warnings. mock_ptr_type silences those by first casting to uintptr_t.
* Rework MUC reflected message filteringPaul Fariello2019-04-101-1/+4
| | | | | | | | | 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.
* Remove unused stup session_get_domainPaul Fariello2018-09-051-5/+0
|
* Add connection_get_domain stub for testsPaul Fariello2018-09-051-0/+5
|
* Add conf win callbackPaul Fariello2018-09-051-2/+2
|
* Add command subcommands: list and execPaul Fariello2018-09-051-0/+2
| | | | Also handle list result
* Add /rooms cacheJames Booth2018-02-051-0/+1
|
* Fix tests, move glob creationJames Booth2018-01-271-1/+2
|
* Allow previous autocompletion with shift tabJames Booth2017-04-011-4/+4
|
* Remove status from cl_ev_presence_sendJames Booth2017-01-151-2/+3
| | | | fixes #888
* Use hash table for bookmarksJames Booth2016-08-211-1/+1
|
* Send receipt request only when receiver supports featureJames Booth2016-08-181-3/+8
| | | | issue #829
* Only include receipts feature in disco responses when enabledJames Booth2016-08-181-0/+2
| | | | issue #829
* Rename Capabilties -> EntityCapabilitiesJames Booth2016-08-131-2/+2
|
* Move autoaway checkJames Booth2016-07-241-0/+2
|
* Move event timeout to connection moduleJames Booth2016-07-241-1/+1
|
* Option to bookmark room invitesJames Booth2016-05-231-0/+5
| | | | issue #813
* Move disco info struct to connectionJames Booth2016-05-071-1/+1
|
* Remove redundant tls secured functionJames Booth2016-05-061-1/+1
|
* Move send stanza functionJames Booth2016-05-061-1/+1
|
* Move conn is secure functionJames Booth2016-05-061-1/+1
|
* Move tls peer cert functionJames Booth2016-05-061-1/+1
|
* Move uuid functionsJames Booth2016-05-061-2/+2
|
* Move connection fulljid functionJames Booth2016-05-061-1/+1
|
* Rename jabber_ functionsJames Booth2016-05-061-14/+26
|
* Add session.cJames Booth2016-05-051-2/+2
|