about summary refs log tree commit diff stats
path: root/tests/unittests/xmpp/stub_xmpp.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: add publish_user_mood stubMichael Vetter2021-12-061-0/+5
|
* Format new register code correctlyMichael Vetter2021-10-131-1/+1
|
* registration: add test stubMichael Vetter2021-10-131-0/+12
|
* Adjust test stub of blocking commandMichael Vetter2021-07-011-1/+1
|
* Add command to show single bookmark detailsMichael Vetter2021-06-091-0/+6
| | | | | | | `/bookmark list` lists all bookmarks with its details. `/bookmark list <jid>` shows the details of a single bookmark. Implement https://github.com/profanity-im/profanity/issues/1558
* Add support to register with a roomMichael Vetter2021-03-251-0/+10
| | | | | | | | | | `/affiliation register` can now be used to register a nickname with a MUC. Tested with a server without forms. Couldn't find a server which supports forms yet. Implements https://github.com/profanity-im/profanity/issues/1210
* MUC: Add voice requestThorben Günther2021-03-121-0/+5
| | | | closes https://github.com/profanity-im/profanity/issues/1211
* Add command to change password of logged in userThorben Günther2021-03-111-0/+10
|
* Apply coding styleMichael Vetter2020-07-071-112/+314
|
* Revert "Apply coding style"Michael Vetter2020-07-071-316/+114
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-114/+316
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* 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
|
* 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
|
* Add connection_get_profanity_identifier stubMichael Vetter2019-10-181-0/+4
| | | | And move defintion to xmpp.h
* 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
|