Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix bad order of parameters for url save | William Wennerström | 2020-12-07 | 3 | -3/+16 |
| | |||||
* | Rework url to filename | William Wennerström | 2020-12-06 | 5 | -55/+105 |
| | |||||
* | Move unique_filename_from_url functions to common | William Wennerström | 2020-12-04 | 13 | -167/+172 |
| | |||||
* | Refactor for threaded external executable for built-in download methods | William Wennerström | 2020-12-03 | 15 | -234/+203 |
| | |||||
* | Fix stubs and move some tests to http_common | William Wennerström | 2020-11-16 | 10 | -48/+23 |
| | |||||
* | Add stubs | William Wennerström | 2020-11-16 | 5 | -10/+55 |
| | |||||
* | Switch to g_strerror | William Wennerström | 2020-11-16 | 3 | -53/+23 |
| | |||||
* | Move common http tool code to http_common | William Wennerström | 2020-11-16 | 7 | -53/+156 |
| | |||||
* | Explicitly clear fragment from HTTP URL | William Wennerström | 2020-11-16 | 2 | -1/+8 |
| | |||||
* | Add I/O error handling and use filenames instead of file descriptors | William Wennerström | 2020-11-16 | 10 | -68/+99 |
| | |||||
* | Refactor OMEMO download into AESGCMDownload tool | William Wennerström | 2020-11-16 | 12 | -23/+386 |
| | |||||
* | Use fallback method when /executable urlsave is unset | William Wennerström | 2020-11-16 | 2 | -8/+24 |
| | |||||
* | Run make format on rebase | William Wennerström | 2020-11-16 | 19 | -836/+791 |
| | |||||
* | Remove unsafe Conent-Disposition inferring | William Wennerström | 2020-11-16 | 6 | -241/+115 |
| | |||||
* | Infer filename from content-disposition or URL | William Wennerström | 2020-11-16 | 9 | -129/+504 |
| | | | | | The Content-Disposition inferring is probably a bad idea security wise, so I am going to remove it. | ||||
* | Add http_download tool | William Wennerström | 2020-11-16 | 6 | -6/+293 |
| | |||||
* | Wording | William Wennerström | 2020-11-16 | 1 | -2/+2 |
| | |||||
* | Remove temporary ciphertext file when finished | William Wennerström | 2020-11-16 | 1 | -2/+8 |
| | |||||
* | Remove /omemo sendfile | William Wennerström | 2020-11-16 | 7 | -603/+566 |
| | |||||
* | Move file encryption function to public header | William Wennerström | 2020-11-16 | 8 | -83/+59 |
| | |||||
* | Add guards for OMEMO | William Wennerström | 2020-11-16 | 2 | -5/+21 |
| | |||||
* | Remove unused #define's and move URL scheme define to omemo/crypto.h | William Wennerström | 2020-11-16 | 2 | -7/+2 |
| | |||||
* | Move setup for AESGCM to omemo/crypto | William Wennerström | 2020-11-16 | 4 | -64/+68 |
| | |||||
* | Reformat HTTP get URL to AESGCM scheme | William Wennerström | 2020-11-16 | 3 | -31/+100 |
| | |||||
* | Refactor to use file stream | William Wennerström | 2020-11-16 | 4 | -72/+57 |
| | |||||
* | Initial /sendfile OMEMO encryption | William Wennerström | 2020-11-16 | 8 | -54/+242 |
| | |||||
* | Declare counter var inside loop | Michael Vetter | 2020-11-09 | 22 | -163/+94 |
| | | | | We require c99/gnu99 anyways. | ||||
* | Dont initialize i twice in accounts_get_account() | Michael Vetter | 2020-11-05 | 1 | -5/+5 |
| | |||||
* | Simplify _correction_autocomplete() | Michael Vetter | 2020-11-05 | 1 | -4/+1 |
| | |||||
* | Simplify _executable_autocomplete() | Michael Vetter | 2020-11-05 | 1 | -4/+1 |
| | |||||
* | Simplify _lastactivity_autocomplete() | Michael Vetter | 2020-11-05 | 1 | -9/+4 |
| | |||||
* | Simplify _who_autocomplete() | Michael Vetter | 2020-11-05 | 1 | -3/+0 |
| | |||||
* | Simplify _tray_autocomplete() | Michael Vetter | 2020-11-05 | 1 | -5/+1 |
| | |||||
* | Simplify _sub_autocomplete() | Michael Vetter | 2020-11-05 | 1 | -5/+1 |
| | |||||
* | Simplify cmd_ac_complete_filepath() | Michael Vetter | 2020-11-05 | 1 | -8/+1 |
| | |||||
* | Simplify cmd_ac_complete() | Michael Vetter | 2020-11-05 | 1 | -9/+3 |
| | |||||
* | Get rid of str_contains() | Michael Vetter | 2020-11-02 | 3 | -15/+2 |
| | | | | We can use strchr() here. | ||||
* | Remove non existent functions | Michael Vetter | 2020-11-02 | 1 | -8/+0 |
| | |||||
* | Print all error stanzas | Michael Vetter | 2020-10-30 | 1 | -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 request | DebXWoody | 2020-10-28 | 1 | -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. | ||||
* | functest: dont link against tcl | Michael Vetter | 2020-10-22 | 1 | -1/+1 |
| | | | | | | Regards https://github.com/profanity-im/profanity/issues/1354 point 3. Since we dont use tcl and just libexpect I don't think we actually need to link against it. | ||||
* | Merge pull request #1433 from profanity-im/bookmark | Michael Vetter | 2020-10-19 | 1 | -0/+1 |
|\ | | | | | xmpp/bookmark: don't use uninitialised field | ||||
| * | xmpp/bookmark: don't use uninitialised field | Dmitry Podgorny | 2020-10-19 | 1 | -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. | ||||
* | functest: Make char const | Michael Vetter | 2020-10-15 | 2 | -9/+9 |
| | |||||
* | Merge pull request #1430 from spth/master | Michael Vetter | 2020-10-14 | 6 | -6/+6 |
|\ | | | | | Since the string from strerror should never be modified, use const. | ||||
| * | Since the string from strerror should never be modified, use const. | Philipp Klaus Krause | 2020-10-14 | 6 | -6/+6 |
|/ | |||||
* | Merge pull request #1428 from profanity-im/use-after-free | Michael Vetter | 2020-10-09 | 1 | -1/+1 |
|\ | | | | | Fix use-after-free which is introduced in cons_alert() | ||||
| * | Fix use-after-free which is introduced in cons_alert() | Dmitry Podgorny | 2020-10-09 | 1 | -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. | ||||
* | travis: disable debian, ubuntu, fedora for now | Michael Vetter | 2020-10-09 | 1 | -6/+6 |
| | | | | | Until we have fixed their build issues. (Py2/Py3 etc) | ||||
* | Merge pull request #1426 from profanity-im/cleanup/newlibs | Michael Vetter | 2020-10-09 | 10 | -64/+19 |
|\ | | | | | Cleanup/newlibs |