about summary refs log tree commit diff stats
path: root/src/otr/otr.c
Commit message (Collapse)AuthorAgeFilesLines
* User proper ellipsis charMartin Dosch2023-04-091-2/+2
| | | | | | | As stated in https://github.com/profanity-im/profanity/pull/1820#issuecomment-1498083383 profanity uses "..." (three dots) in a lot of places instead the proper ellipsis char "…".
* Fix PGPJohn Hernandez2023-03-311-1/+1
| | | | Fix of PGP and potentially other encryption methods by calling correct function that would initiate them in case if someone writes.
* Adapt to g_string_free glib 2.75.3 changeMichael Vetter2023-03-211-7/+1
| | | | | | | | | | | | glib 2.75.3 changes warning behaviour of `g_string_free()`. See: * https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3219 * https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3226 Use this opportunity to replace the use of GString with `g_strdup_printf()` where possible. Otherwise correctly take the return value of `g_string_free()` which is nicer anyways.
* Split log.c into log.c and chatlog.cMichael Vetter2022-06-281-0/+1
|
* add `files_file_in_account_data_path()`Steffen Jaeckel2022-03-131-19/+17
| | | | | | | | | | | | As all parts of the code invoking the `files_get_account_data_path()` function did the same afterwards, a function has been added with the same behavior. 1. create path 2. `mkdir` of that path 3. return final path Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* auto-formatSteffen Jaeckel2022-02-011-1/+1
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Add config.h in files were it was missingMichael Vetter2021-03-261-0/+2
| | | | Related to https://github.com/profanity-im/profanity/issues/1512
* Apply coding styleMichael Vetter2020-07-071-74/+74
|
* Revert "Apply coding style"Michael Vetter2020-07-071-81/+81
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-81/+81
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Remove prefs_free_string()Michael Vetter2020-07-021-1/+1
| | | | | It just does a free. Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef
* otr.c: Simplify freeingMichael Vetter2020-07-011-3/+1
| | | | free(NULL) is a noop.
* Fix overlooking variableMichael Vetter2020-07-011-2/+2
| | | | Fix mistake where I overlooked some variables in 1224aa414e56a763412ee33c2b8779d4e6cb1608.
* Use files_get_account_data_path instead of duplicate codeMichael Vetter2020-07-011-53/+33
| | | | | We often had a use case where we want the account specific data dir. Let's create a function for this instead of doing it by hand each time.
* db: log all incoming and outgoing messagesMichael Vetter2020-04-061-0/+2
|
* Rename PROF_MSG_ENC_PLAIN to PROF_MSG_ENC_NONEMichael Vetter2020-04-061-1/+1
|
* Allow utf8 symbols as omemo/pgp/otr indicator charMichael Vetter2020-02-201-2/+2
| | | | Fix https://github.com/profanity-im/profanity/issues/1264
* xep-0308: enable corrections for outgoing encrypted messagesMichael Vetter2020-02-121-10/+8
|
* xep-0308: update the UI upon sending a corrected messageMichael Vetter2020-02-111-2/+4
| | | | | So far we don't do this for encrypted messages. Still needs to be done. And MUC also needs to be done.
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Actually log MUC PM messagesMichael Vetter2019-10-281-2/+2
| | | | | | | | | | If I'm not mistaken MUC PMs have not been logged at all if there was no other client sending carbons. This should add MUC PM logging functionality. We still need to make sure carbons log to the same file. Regards https://github.com/profanity-im/profanity/issues/1214
* Make sure result is always set for otr_get_policy()Michael Vetter2019-07-231-1/+1
|
* Add prof_message_t to wrap all message attributesPaul Fariello2019-06-201-2/+2
| | | | | | | Probably missing copy of body to plain in carbon and privmessage. Only covers the incoming message path because goal is OMEMO decryption of untrusted message. Cover some of the log functions but not all.
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Add win_printJames Booth2016-10-151-2/+2
|
* Remove ui_win_error_lineJames Booth2016-10-151-2/+2
|
* Send receipt request only when receiver supports featureJames Booth2016-08-181-8/+8
| | | | issue #829
* Move all filepath handling to files.cJames Booth2016-07-241-15/+12
|
* Move xgd functionsJames Booth2016-07-241-3/+3
|
* Add config/files.cJames Booth2016-07-241-0/+1
|
* Tidy headersJames Booth2016-07-241-5/+5
|
* Moved window_list.cJames Booth2016-07-241-1/+1
|
* Moved roster_list.cJames Booth2016-07-241-1/+1
|
* Moved contact.cJames Booth2016-07-241-1/+1
|
* Moved chat_session.cJames Booth2016-07-241-1/+1
|
* Update GPL link in headersJames Booth2016-07-241-1/+1
|
* Fix memory leaksJames Booth2016-06-081-0/+3
|
* Rename jabber_ functionsJames Booth2016-05-061-1/+1
|
* Add session.cJames Booth2016-05-051-1/+1
|
* Fixed compiler errorsJames Booth2016-04-271-7/+7
|
* Fix OSX compileJames Booth2016-04-261-0/+1
|
* Updated copyrightJames Booth2016-02-141-1/+1
|
* Added roster struct, create and destroy roster on connect/disconnectJames Booth2016-01-051-2/+6
|
* Show error message when OTR key cannot be loadedJames Booth2015-11-231-9/+18
|
* Renamed ui_outgoing_chat_msg -> chatwin_outgoing_msgJames Booth2015-10-271-2/+2
|
* Combined chatwin OTR SMP functionsJames Booth2015-10-271-3/+3
|
* Renamed chatwin OTR functionsJames Booth2015-10-271-5/+5
|
* remaining otr functions take ProfChatWinJames Booth2015-10-271-3/+11
|