about summary refs log tree commit diff stats
path: root/tests/unittests
Commit message (Collapse)AuthorAgeFilesLines
* ox: show ox preferencesMichael Vetter2022-05-051-0/+4
|
* Fix preferences testsMichael Vetter2022-04-081-2/+2
|
* less duplicationSteffen Jaeckel2022-03-311-1/+2
| | | | | | | | Print error message from `_string_matches_one_of()` instead of forming an error message manually that contains the same entries that were checked in `_string_matches_one_of()`. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Merge pull request #1652 from profanity-im/fix-1624Michael Vetter2022-03-232-2/+57
|\ | | | | Fix #1624
| * add profanity-specific CAfileSteffen Jaeckel2022-03-221-0/+55
| | | | | | | | | | | | | | | | The profanity-internal mechanism to allow connecting to a server isn't easily portable to cURL. Therefor introduce a profanity-specific CAfile which is managed individually and will be configured in libcurl calls. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * a tad more `const`-correctnessSteffen Jaeckel2022-03-221-2/+2
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* | Add quote autocompletion for previous messagesMarcoPolo-PasTonMolo2022-03-211-0/+7
|/ | | | | | | | | | Fixes https://github.com/profanity-im/profanity/issues/1649 Type `>` then press tab or shift tab to autocomplete previous messages, then type your reply and send message. Newlines are replaced with newline followed by `> `. A newline is added at the end so that the user can immediately type a message without manually adding a new line.
* use `g_mkdir_with_parents()` instead of home-baked solutionSteffen Jaeckel2022-03-141-2/+2
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* auto-formatSteffen Jaeckel2022-02-011-2/+2
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* tests: add publish_user_mood stubMichael Vetter2021-12-061-0/+5
|
* tests: Add win_get_last_sent_messag() stubMichael Vetter2021-10-221-0/+5
|
* Format new register code correctlyMichael Vetter2021-10-131-1/+1
|
* registration: add test stubMichael Vetter2021-10-131-0/+12
|
* Format code correctlyMichael Vetter2021-10-052-9/+13
|
* Fix: files missing final ending newlinea13460542021-08-264-4/+4
|
* Add silence test stubMichael Vetter2021-07-011-0/+6
|
* Merge pull request #1569 from profanity-im/feature/1434-spam-reportingMichael Vetter2021-07-011-1/+1
|\ | | | | Add XEP-0377: Spam Reporting
| * Adjust test stub of blocking commandMichael Vetter2021-07-011-1/+1
| |
* | Restore last status string when connectingThorben Günther2021-07-011-0/+6
| |
* | Merge pull request #1529 from dustinlagoy/access-roster-from-pluginsMichael Vetter2021-07-013-0/+38
|\ \ | |/ |/| Access roster from plugins
| * Add unit tests for roster_get_display_nameDustin Lagoy2021-06-303-0/+38
| |
* | Add command to show single bookmark detailsMichael Vetter2021-06-092-0/+11
| | | | | | | | | | | | | | `/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
* | attention-flag - unittest - stub_uiDebXWoody2021-05-291-0/+20
| |
* | Display OMEMO device IDDebXWoody2021-05-281-0/+5
|/ | | | | Display the OMEMO device ID which has been generated, when the user generated OMEMO crytographic materials via /omemo gen.
* 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
|
* Update ui_ask_password to support confirmationThorben Günther2021-03-111-1/+1
| | | | | Just prints a different string to console. Useful for changing passwords or account registration.
* Add mam test stubMichael Vetter2021-01-281-0/+4
|
* Fix old chlog reference in helpMichael Vetter2021-01-171-2/+2
| | | | Fixes https://github.com/profanity-im/profanity/issues/1470
* Remove log_reinit()Michael Vetter2020-12-111-4/+0
| | | | Not needed anymore.
* Add tests for format_call_external_argvWilliam Wennerström2020-12-073-2/+61
|
* Rework url to filenameWilliam Wennerström2020-12-061-17/+63
|
* Move unique_filename_from_url functions to commonWilliam Wennerström2020-12-046-79/+88
|
* Fix stubs and move some tests to http_commonWilliam Wennerström2020-11-167-28/+10
|
* Add stubsWilliam Wennerström2020-11-163-2/+39
|
* Run make format on rebaseWilliam Wennerström2020-11-165-162/+111
|
* Remove unsafe Conent-Disposition inferringWilliam Wennerström2020-11-163-84/+35
|
* Infer filename from content-disposition or URLWilliam Wennerström2020-11-165-10/+244
| | | | | The Content-Disposition inferring is probably a bad idea security wise, so I am going to remove it.
* Move file encryption function to public headerWilliam Wennerström2020-11-163-40/+12
|
* Initial /sendfile OMEMO encryptionWilliam Wennerström2020-11-162-0/+12
|
* Remove non existent functionsMichael Vetter2020-11-021-8/+0
|
* Merge branch 'master' of github.com:profanity-im/profanityMichael Vetter2020-07-101-3/+16
|\
| * Adapt unittestsMichael Vetter2020-07-091-3/+16
| |
* | 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-0766-2522/+4364
|
* Revert "Apply coding style"Michael Vetter2020-07-0766-4502/+2660
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-0766-2660/+4502
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Tests: Add ox_announce_public_key stubMichael Vetter2020-07-061-0/+9
|
* Remove prefs_free_string()Michael Vetter2020-07-023-15/+15
| | | | | It just does a free. Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef