about summary refs log tree commit diff stats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove not needed initialization in chatwin_new()Michael Vetter2020-12-101-4/+0
| | | | | | | | | | | | | | 00dbc1ba7c66c3bb6898aed26922bf5295768bb1 attempted to fix https://github.com/profanity-im/profanity/issues/1449. Here we revert the part about initializing is_omemo in chatwin_new() since this is done in win_create_chat() already. The actual mistake was the wrong cast of the muc window which is fixed by the same commit. The mistake was introduced in in 3370418d71de255c832da97113543e554ec0e86b. While being at it we also remove the is_ox initialization since this is handled in win_create_chat()/win_create_muc() too.
* Fix various typosMichael Vetter2020-12-1011-20/+20
|
* Merge pull request #1450 from wstrm/issue-1449Michael Vetter2020-12-103-30/+41
|\ | | | | Cast chat/muc window to correct type and refactor cmd_sendfile
| * Fix build failure (unused variable)William Wennerström2020-12-091-2/+2
| |
| * Remove stray +2 for path string in get_expanded_pathWilliam Wennerström2020-12-091-6/+6
| |
| * Cast chat/muc window to correct type and refactor cmd_sendfileWilliam Wennerström2020-12-092-24/+35
| | | | | | | | Fixes #1449
* | Merge pull request #1451 from timgates42/bugfix_typo_certainMichael Vetter2020-12-101-1/+1
|\ \ | | | | | | docs: fix simple typo, certian -> certain
| * | docs: fix simple typo, certian -> certainTim Gates2020-12-101-1/+1
| |/ | | | | | | | | | | There is a small typo in src/config/theme.c. Should read `certain` rather than `certian`.
* | Merge pull request #1446 from profanity-im/fix/1439-chatlogsMichael Vetter2020-12-101-14/+19
|\ \ | |/ |/| Fix chatlogs for outgoing carbons
| * Log incoming carbons if they are no MUCPMMichael Vetter2020-12-091-4/+9
| | | | | | | | Regards https://github.com/profanity-im/profanity/pull/1446
| * Fix chatlogs for outgoing carbonsMichael Vetter2020-12-081-10/+10
| | | | | | | | | | | | Doesn't make sense to log if plain is not set in all cases. Regards https://github.com/profanity-im/profanity/issues/1439
* | Allocate memory for realpath in both casesMichael Vetter2020-12-091-1/+1
| | | | | | | | Forgot about that :(
* | Simplify notify()Michael Vetter2020-12-091-2/+2
| |
* | Expand trackbar to whole lineMichael Vetter2020-12-091-1/+1
| | | | | | | | Fix https://github.com/profanity-im/profanity/issues/1448
* | Purge omemo sendfile from configMichael Vetter2020-12-091-0/+5
| | | | | | | | | | | | | | | | | | | | https://github.com/profanity-im/profanity/pull/1375 added omemo media sharing support. Thus the protection (https://github.com/profanity-im/profanity/pull/1270) to sending files plainly in an omemo chat isn't needed anymore and got removed. Lets clean it from the config file.
* | Use get_expanded_path() in cmd_senfile()Michael Vetter2020-12-092-8/+3
| |
* | Expand ~ in unique_filename_from_url()Michael Vetter2020-12-091-3/+27
| | | | | | | | | | | | | | | | unique_filename_from_url() is used for `/url save`. It doesn't recognize ~ by itself, we need to expand it first. Mentioned in https://github.com/profanity-im/profanity/pull/1375#pullrequestreview-547892462
* | Merge pull request #1375 from wstrm/feature/omemo-sendfileMichael Vetter2020-12-0924-423/+1497
|\ \ | |/ |/| Send and retrieve encrypted files when using OMEMO
| * Remove scheme and filetype matching for url (save|open)William Wennerström2020-12-085-66/+88
| |
| * Fix segfault for urlopen[1]William Wennerström2020-12-071-1/+1
| |
| * Fix wrong order of arguments for _url_http_methodWilliam Wennerström2020-12-071-2/+2
| |
| * Remove cmd_tiny, empty files and link nonce with IVWilliam Wennerström2020-12-075-4/+3
| |
| * Add tests for format_call_external_argvWilliam Wennerström2020-12-072-17/+30
| |
| * Fix bad order of parameters for url saveWilliam Wennerström2020-12-073-3/+16
| |
| * Rework url to filenameWilliam Wennerström2020-12-064-38/+42
| |
| * Move unique_filename_from_url functions to commonWilliam Wennerström2020-12-046-85/+84
| |
| * Refactor for threaded external executable for built-in download methodsWilliam Wennerström2020-12-0314-231/+201
| |
| * Fix stubs and move some tests to http_commonWilliam Wennerström2020-11-162-18/+12
| |
| * Add stubsWilliam Wennerström2020-11-161-8/+14
| |
| * Switch to g_strerrorWilliam Wennerström2020-11-163-53/+23
| |
| * Move common http tool code to http_commonWilliam Wennerström2020-11-166-53/+154
| |
| * Explicitly clear fragment from HTTP URLWilliam Wennerström2020-11-162-1/+8
| |
| * Add I/O error handling and use filenames instead of file descriptorsWilliam Wennerström2020-11-169-68/+98
| |
| * Refactor OMEMO download into AESGCMDownload toolWilliam Wennerström2020-11-1611-23/+384
| |
| * Use fallback method when /executable urlsave is unsetWilliam Wennerström2020-11-162-8/+24
| |
| * Run make format on rebaseWilliam Wennerström2020-11-1614-674/+680
| |
| * Remove unsafe Conent-Disposition inferringWilliam Wennerström2020-11-163-157/+80
| |
| * Infer filename from content-disposition or URLWilliam Wennerström2020-11-163-119/+254
| | | | | | | | | | The Content-Disposition inferring is probably a bad idea security wise, so I am going to remove it.
| * Add http_download toolWilliam Wennerström2020-11-166-6/+293
| |
| * WordingWilliam Wennerström2020-11-161-2/+2
| |
| * Remove temporary ciphertext file when finishedWilliam Wennerström2020-11-161-2/+8
| |
| * Remove /omemo sendfileWilliam Wennerström2020-11-167-603/+566
| |
| * Move file encryption function to public headerWilliam Wennerström2020-11-165-43/+47
| |
| * Add guards for OMEMOWilliam Wennerström2020-11-162-5/+21
| |
| * Remove unused #define's and move URL scheme define to omemo/crypto.hWilliam Wennerström2020-11-162-7/+2
| |
| * Move setup for AESGCM to omemo/cryptoWilliam Wennerström2020-11-164-64/+68
| |
| * Reformat HTTP get URL to AESGCM schemeWilliam Wennerström2020-11-163-31/+100
| |
| * Refactor to use file streamWilliam Wennerström2020-11-164-72/+57
| |
| * Initial /sendfile OMEMO encryptionWilliam Wennerström2020-11-166-54/+230
| |
* | Print man page arguments boldMichael Vetter2020-12-071-1/+1
| |