Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove cmd_tiny, empty files and link nonce with IV | William Wennerström | 2020-12-07 | 3 | -2/+2 |
| | |||||
* | Add tests for format_call_external_argv | William Wennerström | 2020-12-07 | 1 | -2/+2 |
| | |||||
* | Fix bad order of parameters for url save | William Wennerström | 2020-12-07 | 1 | -1/+7 |
| | |||||
* | Rework url to filename | William Wennerström | 2020-12-06 | 2 | -8/+6 |
| | |||||
* | Move unique_filename_from_url functions to common | William Wennerström | 2020-12-04 | 2 | -21/+0 |
| | |||||
* | Refactor for threaded external executable for built-in download methods | William Wennerström | 2020-12-03 | 5 | -2/+45 |
| | |||||
* | Fix stubs and move some tests to http_common | William Wennerström | 2020-11-16 | 2 | -18/+12 |
| | |||||
* | Switch to g_strerror | William Wennerström | 2020-11-16 | 2 | -23/+19 |
| | |||||
* | Move common http tool code to http_common | William Wennerström | 2020-11-16 | 6 | -53/+154 |
| | |||||
* | Add I/O error handling and use filenames instead of file descriptors | William Wennerström | 2020-11-16 | 4 | -51/+87 |
| | |||||
* | Refactor OMEMO download into AESGCMDownload tool | William Wennerström | 2020-11-16 | 6 | -2/+221 |
| | |||||
* | Run make format on rebase | William Wennerström | 2020-11-16 | 4 | -57/+64 |
| | |||||
* | Remove unsafe Conent-Disposition inferring | William Wennerström | 2020-11-16 | 2 | -119/+19 |
| | |||||
* | Infer filename from content-disposition or URL | William Wennerström | 2020-11-16 | 2 | -7/+123 |
| | | | | | 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 | 3 | -1/+287 |
| | |||||
* | 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 | 2 | -30/+69 |
| | |||||
* | Refactor to use file stream | William Wennerström | 2020-11-16 | 2 | -24/+17 |
| | |||||
* | Initial /sendfile OMEMO encryption | William Wennerström | 2020-11-16 | 2 | -15/+15 |
| | |||||
* | Declare counter var inside loop | Michael Vetter | 2020-11-09 | 2 | -19/+10 |
| | | | | We require c99/gnu99 anyways. | ||||
* | parser.c: Use glib | Michael Vetter | 2020-07-23 | 1 | -4/+4 |
| | | | | | | | | We use malloc() to allcoate memory for the arguments. But later on in cmd_funcs.c we use g_strfreev() to free it. Let's use g_malloc() to allocate instead. Second change is to use g_malloc() and g_free() for a gchar. | ||||
* | Fix /correct quotation marks usage | Michael Vetter | 2020-07-23 | 2 | -0/+28 |
| | | | | | | | Add new `parse_args_as_one()` function to just use everything after the command as the argument. Fix https://github.com/profanity-im/profanity/issues/1404 | ||||
* | parser.c: Use helper function to reduce duplicate code | Michael Vetter | 2020-07-21 | 1 | -143/+50 |
| | | | | | | | | | | `parse_args()` and `parse_args_with_freetext()` shared a lot of common code. Let's have a helper function `_parse_args_helper()` for that. The `with_freetext` parameter will make it behave like `parse_args_with_freetext()`. In preparation for https://github.com/profanity-im/profanity/issues/1404 | ||||
* | parse_args(): Call g_free() once | Michael Vetter | 2020-07-21 | 1 | -3/+2 |
| | |||||
* | Use parse_args_with_freetext() for `/correct` | Michael Vetter | 2020-07-20 | 1 | -2/+2 |
| | | | | | | | | | | | | | This commit partly reverts 8f37afcd37ad8663ca36c13ca7fbc4a431119f73 Which was using a wrong approach to achieve this. It changed parse_args() to have a -1 for infinite parameters. But actually parse_args_with_freetext() should have been used exactly for this behaviour. Discovered when checking for https://github.com/profanity-im/profanity/issues/1404 | ||||
* | bookmark_ignore.c: use gchar instead of char | Michael Vetter | 2020-07-20 | 1 | -7/+7 |
| | |||||
* | Fix typo in comment | Michael Vetter | 2020-07-15 | 1 | -1/+1 |
| | |||||
* | Remove `/tiny` command | Michael Vetter | 2020-07-10 | 2 | -144/+0 |
| | | | | | | boothj5 gave his okay too. Fix https://github.com/profanity-im/profanity/issues/1370 | ||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 12 | -225/+227 |
| | |||||
* | Revert "Apply coding style" | Michael Vetter | 2020-07-07 | 12 | -240/+238 |
| | | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems. | ||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 12 | -238/+240 |
| | | | | 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 | ||||
* | Add missed string.h | Dmitry Podgorny | 2020-06-24 | 1 | -0/+1 |
| | | | | strdup(3) requires string.h | ||||
* | Fix memleak in autocomplete_remove_older_than_max* | Michael Vetter | 2020-05-29 | 1 | -0/+1 |
| | |||||
* | urlopen: get last URL first | Michael Vetter | 2020-05-29 | 2 | -8/+24 |
| | | | | Fix https://github.com/profanity-im/profanity/issues/1348 | ||||
* | Save bookmark ignore list | Michael Vetter | 2020-05-25 | 1 | -0/+18 |
| | |||||
* | Add bookmark ignore add|remove | Michael Vetter | 2020-05-24 | 2 | -0/+14 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1115 | ||||
* | List ignored bookmarks | Michael Vetter | 2020-05-24 | 2 | -0/+7 |
| | | | | | | `/bookmarl ignore` lists the ignored bookmarks. Regards https://github.com/profanity-im/profanity/issues/1115 | ||||
* | Add bookmark ignore functionality for multiple accounts | Michael Vetter | 2020-05-24 | 2 | -23/+26 |
| | | | | | | | | | | | | | ``` cat ~/.local/share/profanity/bookmark_ignore [jubalh@iodoru.org] profanity@rooms.dismail.de=true [testuser@domain.org] testr@rooms.domain.org=true ``` Regards https://github.com/profanity-im/profanity/issues/1115 | ||||
* | PoC for bookmark ignore | Michael Vetter | 2020-05-24 | 2 | -0/+127 |
| | | | | | | | | | | ``` ~/.local/share/profanity % cat bookmark_ignore [ignore] profanity@rooms.dismail.de= ``` Regards https://github.com/profanity-im/profanity/issues/1115 | ||||
* | Only save max 20 urls | Michael Vetter | 2020-05-20 | 2 | -0/+14 |
| | |||||
* | Don't expose upload_processes | Michael Vetter | 2020-04-17 | 2 | -2/+24 |
| | | | | | | | | 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 | ||||
* | xep-0308: Make /correct work without quotation marks | Michael Vetter | 2020-02-14 | 1 | -2/+2 |
| | | | | | | Now we can specify an unlimited amount of arguments for commands. Maybe this is also helpful for other commands that use quotation marks so far. | ||||
* | Add context to autocomplete_with_func and use it for omemo trust command | Paul Fariello | 2020-01-31 | 2 | -7/+7 |
| | | | | Fix #1068 | ||||
* | Update my Copyright to 2020 | Michael Vetter | 2020-01-03 | 2 | -2/+2 |
| | |||||
* | Add vim modeline | Michael Vetter | 2019-11-13 | 10 | -0/+10 |
| | |||||
* | Dont use clipboard_init yet | Michael Vetter | 2019-10-29 | 2 | -1/+4 |
| | | | | | | For now we initialize gtk in tray_init(). Should maybe use a general function and check in tray_init and clipboard_init whether gtk was already initialized. | ||||
* | Add clipboard feature | Michael Vetter | 2019-10-29 | 2 | -0/+108 |
| | | | | | Use GTK to take the text from the clipboard. Add `/paste` command which pastes this text now to console window. | ||||
* | Free strings in autocomplete_param_no_with_func | Michael Vetter | 2019-10-06 | 1 | -0/+7 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1019 |