about summary refs log tree commit diff stats
path: root/tests/unittests
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add OX test stubsMichael Vetter2020-06-292-0/+16
|
* Add option for legacy authenticationDmitry Podgorny2020-06-057-19/+21
| | | | | | | | New options: /connect <account> [auth default|legacy] /account <account> set auth default|legacy Fixes #1236.
* Initialize ProfWin.urls_ac to NULL to fix OpenBSD buildWilliam Wennerström2020-06-031-0/+6
|
* Fix clears_chat_sessions unittestMichael Vetter2020-05-282-1/+6
|
* Add cons_show_bookmarks_ignore stubMichael Vetter2020-05-241-0/+1
|
* Fix build on sr.htMichael Vetter2020-05-221-0/+1
| | | | | | | | | | | | | | | | Hopefully fixing: ``` cc1: warnings being treated as errors tests/unittests/test_cmd_otr.c: In function 'cmd_otr_start_sends_otr_query_message_to_current_recipeint': tests/unittests/test_cmd_otr.c:422: warning: 'window.urls_ac' is used uninitialized in this function gmake[2]: *** [Makefile:1913: tests/unittests/test_cmd_otr.o] Error 1 gmake[2]: Leaving directory '/home/build/profanity' gmake[1]: *** [Makefile:2442: check-am] Error 2 gmake[1]: Leaving directory '/home/build/profanity' gmake: *** [Makefile:2445: check] Error 2 ```
* Update bookmark test stubMichael Vetter2020-05-221-2/+2
|
* Add executable stubMichael Vetter2020-05-201-1/+1
|
* Fix http_upload stubMichael Vetter2020-04-171-0/+3
|
* Update database stubMichael Vetter2020-04-071-3/+1
|
* Remove chat_log_get_previous()Michael Vetter2020-04-061-5/+0
| | | | | | | | | | | | We now dont get the log files from the text files via chat_log_get_previous() anymore. We use the sql backend via log_database_get_previous_chat(). So far it just has the same behaviour like chat_log_get_previous(), except that in _chatwin_history() we don't pass the sender to win_print_history() which should be fixed in a commit soon. And log_database_get_previous_chat() can later easily be expanded to fix https://github.com/profanity-im/profanity/issues/205.
* Add log_database_add_*() test stubsMichael Vetter2020-04-061-1/+6
|
* Fix message_send_private unittest stubMichael Vetter2020-04-061-1/+6
|
* db: add database unit test stubMichael Vetter2020-04-061-0/+31
|
* Add slashguard featureMichael Vetter2020-03-181-0/+1
| | | | | New command `/slashguard` tries to protect against typing ` /quit` by not allowing a slash in the first 4 characters.
* Add cons_avatar_setting to unit test stubMichael Vetter2020-03-101-0/+1
|
* Fix log test stubMichael Vetter2020-02-211-4/+5
|
* Fix test stubMichael Vetter2020-02-211-1/+1
| | | | Change done in eb2fbdba2efb9c81275461bf3651215b9456e496
* Allow utf8 symbols as omemo/pgp/otr indicator charMichael Vetter2020-02-201-2/+2
| | | | Fix https://github.com/profanity-im/profanity/issues/1264
* Parse mentions and triggers in muc history if display is 'regular'Michael Vetter2020-02-202-3/+3
| | | | Fix https://github.com/profanity-im/profanity/issues/1261
* Add builds.sr.ht CI for OpenBSDWilliam Wennerström2020-02-171-0/+6
| | | | | | | | * Add .builds/openbsd.yml for builds.sr.ht * Update travis-build.sh -> ci-build.sh with OpenBSD case * Fix libdl check in configure.ac (OpenBSD has libdl built-in) * Fix some minor issues found when compiling on OpenBSD with GCC (e.g. uninitialized variables)
* test: Init window.layout to make compiler happyMichael Vetter2020-02-141-0/+1
| | | | | Fix tests/unittests/test_cmd_otr.c:415: warning: 'window.layout' is used uninitialized in this function on openbsd (thanks optmzr)
* Fix testsMichael Vetter2020-02-141-1/+1
|
* xep-0308: adapt unit test stubsMichael Vetter2020-02-142-8/+6
|
* xep-0308: add cons_correction_setting stub to testsMichael Vetter2020-02-101-0/+1
|
* Fix unittest buildPaul Fariello2020-01-311-14/+14
|