about summary refs log tree commit diff stats
path: root/tests/unittests/xmpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add /blocked commandJames Booth2016-05-011-0/+28
|
* Fixed test stubsJames Booth2016-05-011-1/+1
|
* Plugins: Added prof_disco_add_feature()James Booth2016-04-301-0/+1
|
* Implement XEP-0363: HTTP File UploadDominik Heidler2016-04-261-3/+4
|
* Added prof_send_stanza to plugins APIJames Booth2016-03-231-0/+6
|
* Added hardcoded autoping timeoutJames Booth2015-12-311-0/+1
|
* Force tls on all connections, add tls policy account propertyJames Booth2015-10-181-1/+1
|
* Removed --disable-tls command line optionJames Booth2015-10-181-1/+1
|
* Fixed testsJames Booth2015-10-121-0/+7
|
* WIP: Added last activity request and responseJames Booth2015-09-291-0/+1
|