Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleanup: gchar as gchar instead of char | John Hernandez | 2023-05-04 | 1 | -4/+2 |
| | | | | | | | | Use gchar instead of char in most of the cases where gchar is intended. Reason: improve compatibility and stability. Issue #1819 Minor refactoring. | ||||
* | Fix a segfault when uploading or downloading files | Maxi Wuttke | 2022-04-02 | 1 | -1/+1 |
| | | | | The variable `ccount->tls_policy` was not null-tested before `strcmp`. | ||||
* | apply `tls.policy` to cURL calls | Steffen Jaeckel | 2022-03-22 | 1 | -0/+7 |
| | | | | | | | | | | | | In case the user decides to ignore the validity-state of certificates we also have to configure libcurl accordingly. `tls.policy` can be set via ``` /account set <account> tls trust ``` Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de> | ||||
* | add profanity-specific CAfile | Steffen Jaeckel | 2022-03-22 | 1 | -0/+6 |
| | | | | | | | | The profanity-internal mechanism to allow connecting to a server isn't easily portable to cURL. Therefor introduce a profanity-specific CAfile which is managed individually and will be configured in libcurl calls. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de> | ||||
* | http upload: use correct content type | Michael Vetter | 2021-06-02 | 1 | -1/+1 |
| | | | | | | | | | | This bug was introduced in 1ec606540eb0f474f3d968d3566a7c56d778a367 when `g_strdup_printf` was used instead of `asprintf`. Problem discoverd by raspeguy. Mistake discovered by optmzr and Martin. Thanks to everybody involved! | ||||
* | Get rid of asprintf and _GNU_SOURCE define | Michael Vetter | 2021-03-30 | 1 | -42/+45 |
| | | | | | | | _GNU_SOURCE was even in some files where it was not needed at all (http*). Let's replace asprintf() with g_strdup_printf(). | ||||
* | Upload: Fix unused return | Thorben Günther | 2021-03-11 | 1 | -4/+9 |
| | |||||
* | Update to the newest version of XEP 0363 (HTTP Upload) | Maximilian Wuttke | 2021-03-11 | 1 | -0/+27 |
| | | | | | | | | | | | | | Main changes: 1. Attributes instead of tags 2. Read the optional <header> tags and send them in the HTTP PUT header: * Authorization * Cookie * Expires Co-authored-by: Martin Dosch <martin@mdosch.de> | ||||
* | Run make format on rebase | William Wennerström | 2020-11-16 | 1 | -14/+17 |
| | |||||
* | Add http_download tool | William Wennerström | 2020-11-16 | 1 | -1/+1 |
| | |||||
* | Add guards for OMEMO | William Wennerström | 2020-11-16 | 1 | -1/+3 |
| | |||||
* | Move setup for AESGCM to omemo/crypto | William Wennerström | 2020-11-16 | 1 | -0/+2 |
| | |||||
* | Reformat HTTP get URL to AESGCM scheme | William Wennerström | 2020-11-16 | 1 | -26/+63 |
| | |||||
* | Refactor to use file stream | William Wennerström | 2020-11-16 | 1 | -21/+14 |
| | |||||
* | Initial /sendfile OMEMO encryption | William Wennerström | 2020-11-16 | 1 | -10/+10 |
| | |||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 1 | -46/+46 |
| | |||||
* | Revert "Apply coding style" | Michael Vetter | 2020-07-07 | 1 | -54/+54 |
| | | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems. | ||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 1 | -54/+54 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1396 | ||||
* | Remove prefs_free_string() | Michael Vetter | 2020-07-02 | 1 | -1/+1 |
| | | | | | It just does a free. Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef | ||||
* | Don't expose upload_processes | Michael Vetter | 2020-04-17 | 1 | -0/+21 |
| | | | | | | | | That's actually not good practise. Realized this when checking for multiple symbol definition in issue mentioned below. Regards https://github.com/profanity-im/profanity/issues/1314 | ||||
* | Add vim modeline | Michael Vetter | 2019-11-13 | 1 | -0/+1 |
| | |||||
* | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | Update copyright | James Booth | 2018-01-21 | 1 | -1/+1 |
| | |||||
* | Allow installing plugins from directory | James Booth | 2017-02-05 | 1 | -7/+1 |
| | |||||
* | Update Copyright | James Booth | 2017-01-28 | 1 | -1/+1 |
| | |||||
* | Remove unused function | James Booth | 2016-11-24 | 1 | -1/+0 |
| | |||||
* | Add win_print_http_upload | James Booth | 2016-10-11 | 1 | -1/+1 |
| | |||||
* | Add config.h to http_upload.c | James Booth | 2016-10-02 | 1 | -0/+2 |
| | |||||
* | Fix indentation in http_upload.c | Dominik Heidler | 2016-07-25 | 1 | -1/+1 |
| | |||||
* | Tidy headers | James Booth | 2016-07-24 | 1 | -3/+3 |
| | |||||
* | Update GPL link in headers | James Booth | 2016-07-24 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'asdil12/xep_0363_http_file_upload' | James Booth | 2016-04-26 | 1 | -6/+7 |
| | |||||
* | Implement XEP-0363: HTTP File Upload | Dominik Heidler | 2016-04-26 | 1 | -0/+337 |