about summary refs log tree commit diff stats
path: root/src/command
Commit message (Collapse)AuthorAgeFilesLines
...
* Editor: Fix redisplayStefan2021-04-161-1/+4
|
* Editor: Use _exit() instead of exit()Stefan2021-04-161-1/+1
|
* Editor: Using preferences compose.editorStefan2021-04-161-9/+19
| | | | compose.editor is the path to the executable ( default /usr/bin/vim )
* Editor command: filename / sensible-editorStefan2021-04-161-9/+50
| | | | | | | | * Generating a unique file name in tmp_dir folder * Changed exec of vim to exec of sensible-editor * Test file exists and create file with "private" rights * Send a preview of the message in the window * Delete temp file
* Add new editor commandStefan2021-04-163-0/+55
| | | | Goal is to launch an external editor (eg vim) to edit the text there.
* OMEMO: Fail if message keys couldn't be encrypted for any recipient deviceMaximilian Wuttke2021-04-081-8/+7
| | | | | | | | | If the message (key) can't be encrypted for any device, sending the message is refused and an informative error message is presented to the user. Also, don't encrypt for the same device, since the OMEMO XEP disallows this.
* OMEMO: Remove duplicate session initalisationMaximilian Wuttke2021-04-081-16/+8
| | | | | | The function `omemo_start_session` was effectively called twice in the `/msg` command: Once in `chatwin_new` and afterwards in `cmd_msg`. I've removed the second call.
* Get rid of asprintf and _GNU_SOURCE defineMichael Vetter2021-03-303-22/+22
| | | | | | | _GNU_SOURCE was even in some files where it was not needed at all (http*). Let's replace asprintf() with g_strdup_printf().
* Fix segfault in cmd_autoaway()Michael Vetter2021-03-291-9/+12
| | | | | | | | | Two mistakes were here: * `/autoaway time away` without a time argument segfaulted * `/autoaway message away` without a mesage set to (null). We have `/autoaway message off to set it off. Also use g_strcmp0() instead of strcmp().
* Add config.h in files were it was missingMichael Vetter2021-03-261-0/+2
| | | | Related to https://github.com/profanity-im/profanity/issues/1512
* Add support to register with a roomMichael Vetter2021-03-253-2/+10
| | | | | | | | | | `/affiliation register` can now be used to register a nickname with a MUC. Tested with a server without forms. Couldn't find a server which supports forms yet. Implements https://github.com/profanity-im/profanity/issues/1210
* Merge pull request #1511 from mwuttke97/doc_bookmark_joinMichael Vetter2021-03-241-6/+13
|\ | | | | Command doc: Improve description and examples of `/bookmark` and `/join`
| * Command doc: Improve description and examples of `/bookmark` and `/join`Maximilian Wuttke2021-03-211-6/+13
| |
* | MUC: Add voice requestThorben Günther2021-03-123-2/+10
| | | | | | | | closes https://github.com/profanity-im/profanity/issues/1211
* | Completion: Split up role and affiliation completionThorben Günther2021-03-121-8/+15
|/ | | | Needed for affiliation request
* Dont build paths manually in cmd_funcs.cMichael Vetter2021-03-121-36/+13
| | | | | Some time ago we introduced get_expanded_path(). No need to build paths manually anymore to get ~.
* Add command to change password of logged in userThorben Günther2021-03-113-0/+41
|
* Update ui_ask_password to support confirmationThorben Günther2021-03-111-2/+2
| | | | | Just prints a different string to console. Useful for changing passwords or account registration.
* Cmd definitions: Add offline option to occupantsThorben Günther2021-03-081-2/+5
|
* MUC: Show offline members in sidebarThorben Günther2021-03-082-0/+13
|
* Correct command synopsis for mamMichael Vetter2021-02-091-1/+1
|
* Add /mam commandMichael Vetter2021-01-284-3/+27
| | | | Regards https://github.com/profanity-im/profanity/issues/660
* Dont reload theme when disconnecting on purposeMichael Vetter2021-01-221-21/+0
| | | | | | | | I don't see why would need to. Also this only happens upon `/disconnect` not on a network outage or server related disconnect. Fixes https://github.com/profanity-im/profanity/issues/1472
* Fix old chlog reference in helpMichael Vetter2021-01-171-7/+7
| | | | Fixes https://github.com/profanity-im/profanity/issues/1470
* Add `/executable (urlsave|urlopen)` migrationsWilliam Wennerström2020-12-182-7/+7
|
* Only rotate logs if user didn't specify a log fileMichael Vetter2020-12-111-1/+1
|
* Shared log file needs a restartMichael Vetter2020-12-112-2/+2
| | | | Tell user about this change.
* Create download directory under XDG data pathWilliam Wennerström2020-12-101-9/+26
| | | | | * If the downloads directory does not exist, create it. * Change some cons_show to cons_show_error (because they log errors).
* Fix various typosMichael Vetter2020-12-101-2/+2
|
* Fix build failure (unused variable)William Wennerström2020-12-091-2/+2
|
* Cast chat/muc window to correct type and refactor cmd_sendfileWilliam Wennerström2020-12-091-24/+33
| | | | Fixes #1449
* Use get_expanded_path() in cmd_senfile()Michael Vetter2020-12-091-8/+2
|
* Merge pull request #1375 from wstrm/feature/omemo-sendfileMichael Vetter2020-12-094-298/+335
|\ | | | | Send and retrieve encrypted files when using OMEMO
| * Remove scheme and filetype matching for url (save|open)William Wennerström2020-12-083-61/+80
| |
| * 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-071-1/+0
| |
| * Add tests for format_call_external_argvWilliam Wennerström2020-12-071-15/+28
| |
| * Fix bad order of parameters for url saveWilliam Wennerström2020-12-071-1/+8
| |
| * Rework url to filenameWilliam Wennerström2020-12-061-1/+0
| |
| * Move unique_filename_from_url functions to commonWilliam Wennerström2020-12-041-63/+2
| |
| * Refactor for threaded external executable for built-in download methodsWilliam Wennerström2020-12-031-171/+118
| |
| * Add stubsWilliam Wennerström2020-11-161-8/+14
| |
| * Switch to g_strerrorWilliam Wennerström2020-11-161-30/+4
| |
| * Add I/O error handling and use filenames instead of file descriptorsWilliam Wennerström2020-11-161-8/+2
| |
| * Refactor OMEMO download into AESGCMDownload toolWilliam Wennerström2020-11-161-6/+55
| |
| * Use fallback method when /executable urlsave is unsetWilliam Wennerström2020-11-161-6/+24
| |
| * Run make format on rebaseWilliam Wennerström2020-11-162-199/+193
| |
| * Remove unsafe Conent-Disposition inferringWilliam Wennerström2020-11-161-38/+61
| |
| * Infer filename from content-disposition or URLWilliam Wennerström2020-11-161-112/+131
| | | | | | | | | | 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-161-3/+4
| |