about summary refs log tree commit diff stats
path: root/src/command
Commit message (Collapse)AuthorAgeFilesLines
* Fix executable exampleMichael Vetter2021-06-101-1/+1
| | | | Changed in a5a0dd6c919a2b4f12ef2b4f57a0d9a2a9cabf34
* editor: dont print preview in windowMichael Vetter2021-06-101-2/+0
| | | | See https://github.com/profanity-im/profanity/issues/1521#issue-860017824
* editor: dont check whether compose file existsMichael Vetter2021-06-101-6/+0
| | | | | No need to check anymore since we are now saving per account. Like this we also could reopen the same file again.
* editor: use status to check for being onlineMichael Vetter2021-06-101-3/+4
|
* editor: Use datadir instead of tmp dirMichael Vetter2021-06-101-8/+16
| | | | | See https://github.com/profanity-im/profanity/issues/1521#issue-860017824
* Add editor hintMichael Vetter2021-06-101-1/+1
| | | | | See https://github.com/profanity-im/profanity/issues/1521#issuecomment-854110973
* Add command to show single bookmark detailsMichael Vetter2021-06-093-5/+20
| | | | | | | `/bookmark list` lists all bookmarks with its details. `/bookmark list <jid>` shows the details of a single bookmark. Implement https://github.com/profanity-im/profanity/issues/1558
* Merge pull request #1543 from DebXWoody/feature/attention-flagMichael Vetter2021-05-314-0/+12
|\ | | | | Feature - attention flag
| * Change attention descriptionMichael Vetter2021-05-311-1/+1
| |
| * Attention flag for groupchatsDebXWoody2021-05-291-1/+1
| | | | | | | | Attention flag for groupchat and display the windows via "/wins attention"
| * Attention flag for chat windowsDebXWoody2021-05-294-0/+12
| | | | | | | | | | | | | | User is able to toggle a flag for chat windows. This flag should be used to mark the window for "Attention". Use Ctrl+f to mark the window.
* | external editor: don't use absolute paths and allow path searchJörg Thalheim2021-05-301-5/+1
|/
* Display OMEMO device IDDebXWoody2021-05-281-1/+1
| | | | | Display the OMEMO device ID which has been generated, when the user generated OMEMO crytographic materials via /omemo gen.
* Fix spelling of "persistent(ly)"Raf Czlonka2021-05-231-3/+3
|
* Print message about new direct messageMichael Vetter2021-05-121-0/+4
| | | | So users don't get surprised if they don't know the barejid of the nick.
* Use direct messages instead of MUC-PMs for non-anon MUCsMichael Vetter2021-05-121-35/+51
| | | | | | | | | | | | | In https://github.com/profanity-im/profanity/issues/1070 we have: `OMEMO encryption for MUC PM (OMEMO MUCs are not anonymous, so we should start a regular 1:1 in this case instead of MUC PM. A discussion started to make this a general feature #1531)` In https://github.com/profanity-im/profanity/issues/1531 we have the general issue to start regular 1:1 messages instead of MUC PMs if the room is non-anonymous. This is like suggested in https://docs.modernxmpp.org/client/groupchat/.
* Have separate settings for intypeMichael Vetter2021-05-083-5/+40
| | | | | | | | | | Old: `/intype on|of` Typing information is printed in console and titlebar. New: `/intype titlebar|console on|off` Typing information can be configured in more detail. Regards https://github.com/profanity-im/profanity/issues/1516
* Reduce scope of dir variableMichael Vetter2021-05-061-1/+2
|
* command: Simplify return in autocompletionMichael Vetter2021-05-061-65/+12
|
* command: Fix serversoftware examplesMichael Vetter2021-04-181-2/+2
|
* OMEMO - trust mode (#1506)Stefan2021-04-174-0/+52
| | | | | | | Add OMEMO trust mode capabilities. * ToFu / first usage * blind trust * manual
* editor: make editor configurable via /executableMichael Vetter2021-04-164-3/+23
| | | | | | `/executable set editor /full/path/to/edit`. Regards https://github.com/profanity-im/profanity/issues/1521
* editor: adapt help descriptionMichael Vetter2021-04-161-2/+3
|
* editor: Save temp files as .mdMichael Vetter2021-04-161-2/+2
| | | | | Probably many people render text in their head to markdown automatically.
* Editor: improve error messagesMichael Vetter2021-04-161-6/+6
|
* editor: Use g_strdup_printf() instead of g_string_new()Michael Vetter2021-04-161-11/+4
|
* Run clang-format on new editor codeMichael Vetter2021-04-162-18/+18
|
* 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