about summary refs log tree commit diff stats
path: root/tests/unittests
Commit message (Collapse)AuthorAgeFilesLines
* Split ox functions from gpg.c to ox.cMichael Vetter2022-06-292-18/+21
|
* add chatlog unittestMichael Vetter2022-06-283-65/+93
|
* Display mood preferencesMichael Vetter2022-06-221-0/+5
|
* Don't forget encryption status for OX and PGP.MarcoPolo-PasTonMolo2022-06-176-18/+28
| | | | | | | | Use a pgp.enabled and ox.enabled array the same way that omemo.enabled is used. Fixes https://github.com/profanity-im/profanity/issues/1694 Fixes https://github.com/profanity-im/profanity/issues/733
* Use our omemo sid/fingerprint in qr codeMichael Vetter2022-05-312-1/+7
| | | | | | | Current clients sid/fingerprint will be shown in following format: `xmpp:<user@server>?omemo-sid-<numerical-sid>=<omemo-fingerprint-hex-string>` Fix https://github.com/profanity-im/profanity/issues/1320
* Add basic qrcode functionsMichael Vetter2022-05-301-0/+11
|
* Final touches for `/avatar set`Michael Vetter2022-05-271-2/+0
|
* Add checks for whether gdk-pixbuf exists before using avatar setMarcoPolo-PasTonMolo2022-05-261-1/+4
|
* Add `/avatar set` command to publish avatarMarcoPolo-PasTonMolo2022-05-261-0/+5
| | | | | | | | Use `/avatar set <path>` where <path> is an image file to upload a new avatar for the current user. When the avatar is too big it gets scaled down. Scaling code copied from dino. Fixes https://github.com/profanity-im/profanity/issues/1687
* Update copyright yearMichael Vetter2022-05-091-1/+1
|
* 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
|