about summary refs log tree commit diff stats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Declare counter var inside loopMichael Vetter2020-11-0922-163/+94
| | | | We require c99/gnu99 anyways.
* Dont initialize i twice in accounts_get_account()Michael Vetter2020-11-051-5/+5
|
* Simplify _correction_autocomplete()Michael Vetter2020-11-051-4/+1
|
* Simplify _executable_autocomplete()Michael Vetter2020-11-051-4/+1
|
* Simplify _lastactivity_autocomplete()Michael Vetter2020-11-051-9/+4
|
* Simplify _who_autocomplete()Michael Vetter2020-11-051-3/+0
|
* Simplify _tray_autocomplete()Michael Vetter2020-11-051-5/+1
|
* Simplify _sub_autocomplete()Michael Vetter2020-11-051-5/+1
|
* Simplify cmd_ac_complete_filepath()Michael Vetter2020-11-051-8/+1
|
* Simplify cmd_ac_complete()Michael Vetter2020-11-051-9/+3
|
* Get rid of str_contains()Michael Vetter2020-11-023-15/+2
| | | | We can use strchr() here.
* Print all error stanzasMichael Vetter2020-10-301-5/+5
| | | | | | | | | | | | | | | | | | Regards https://github.com/profanity-im/profanity/issues/1435 So far we didn't print the error if it contained `<error type="cancel">`. It appears that the code always thought this is a service-not-available (so one is either blocked or the account doesn't exist) and printed `Recipient not found`. But there can be other errors as well. Like in above mentioned issue `not-allowed`. Let's just print the text. In case of the cancel type we still remove the jid from the chat sessions. I'm not entirely sure whether this needs to be done in other cases too.
* Fixed Date format for MAM requestDebXWoody2020-10-281-2/+2
| | | | | | | | | Using g_date_time_new_now_utc instead of g_date_time_new_now_local Using g_date_time_format(timestamp, "%FT%TZ") instead of "%FT%T%:::z" Edit: DebXWoody created this patch because ejabberd returned an error with the old date format.
* xmpp/bookmark: don't use uninitialised fieldDmitry Podgorny2020-10-191-0/+1
| | | | | | | | | | When a bookmark is created with '/bookmark add' command, ext_gajim_minimize remains uninitialised in new bookmark object and is read further in _send_bookmarks(). Initialise the field with 0. Fixes #1432.
* Since the string from strerror should never be modified, use const.Philipp Klaus Krause2020-10-146-6/+6
|
* Fix use-after-free which is introduced in cons_alert()Dmitry Podgorny2020-10-091-1/+1
| | | | | | Commit f12161f fixes memory leak, but introduces use-after-free issue. Allocate new memory for win_name with g_strdup() since it is freed with g_free() later.
* Merge pull request #1426 from profanity-im/cleanup/newlibsMichael Vetter2020-10-098-51/+12
|\ | | | | Cleanup/newlibs
| * Enable _handle_ox_chat() payload/body decryptionMichael Vetter2020-10-091-3/+0
| | | | | | | | | | This part of the code was waiting for xmpp_stanza_new_from_string() from libstrophe 0.10.0.
| * Use g_date_time_format_iso8601()Michael Vetter2020-09-301-8/+2
| | | | | | | | | | | | | | | | | | This partly reverts d3a387a0ec6e5265f625de87318be2de610efb01. For proanity 0.9.x we still wanted to support older glib versions so that we can be packaged for various linux distros. Now with 0.10 we want to move on.
| * Replace stanza_get_child_by_name_and_ns with ↵Michael Vetter2020-09-306-32/+10
| | | | | | | | | | | | | | | | xmpp_stanza_get_child_by_name_and_ns Replace our own stanza_get_child_by_name_and_ns() with the upstreamed xmpp_stanza_get_child_by_name_and_ns() provided by the new libstrophe/libmesode 0.10.0.
| * Require libstrophe/libmesode 0.10.0Michael Vetter2020-09-301-8/+0
| |
* | Fix memleak in cons_alert()Michael Vetter2020-10-071-0/+2
|/ | | | Close https://github.com/profanity-im/profanity/issues/1427