about summary refs log tree commit diff stats
path: root/src/ui/console.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove prefs_free_string()Michael Vetter2020-07-021-42/+42
| | | | | It just does a free. Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef
* Add note that /executable needs more workMichael Vetter2020-07-021-0/+2
|
* cmd_url_*(): use gchar instead of charMichael Vetter2020-07-021-1/+1
|
* Adjust `/executable` test to be more preciseMichael Vetter2020-07-011-1/+1
|
* console.c: Use prefs_free_string()Michael Vetter2020-07-011-1/+1
| | | | | f9961677aaa8d2713a80127f95a3770b33af4cef replaces prefs_free_string() with g_free(). Both is correct but lets still use this.
* Display default value for /url associated commandsPierre Mazière2020-06-251-5/+9
| | | | | | | | | | The display of commands associated with specific file types and protocols will need to be implemented later, but this requires to use private data of the GKeyFile structure, which can be a maintainability issue on the long term. Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
* Add option for legacy authenticationDmitry Podgorny2020-06-051-0/+3
| | | | | | | | New options: /connect <account> [auth default|legacy] /account <account> set auth default|legacy Fixes #1236.
* Handle listing ignored bookmarks when none are ignoredMichael Vetter2020-05-251-0/+6
|
* List ignored bookmarksMichael Vetter2020-05-241-0/+15
| | | | | | `/bookmarl ignore` lists the ignored bookmarks. Regards https://github.com/profanity-im/profanity/issues/1115
* Display bookmark nameMichael Vetter2020-05-221-1/+5
| | | | | | Have field in struct and display the name in `/bookmark list`. Regards https://github.com/profanity-im/profanity/issues/697
* Make option to allow hiding windows with no messages in statusbarMichael Vetter2020-05-211-11/+17
| | | | | | | `statusbar.show.read` can be set to false in the config. `/statusbar show|hide read`. Implement https://github.com/profanity-im/profanity/issues/1285
* Make 'scrolled' themeableMichael Vetter2020-05-211-0/+2
|
* Add /executable commandMichael Vetter2020-05-201-5/+7
| | | | | This is used to set the openers for various commands. So far for /avatar and /urlopen.
* Fix `/correction` char displayMichael Vetter2020-05-061-1/+1
| | | | | https://github.com/profanity-im/profanity/commit/1f8b1eb740391941e79e1004ad041f8178a2b674 made it possible to have utf8 chars as correction chars. So since then prefs_get_correction_char() doesn't return a regular char but a char*. Seems like there was an oversight that we need to use %s then.
* Remove unanimous MAM displayMichael Vetter2020-04-251-4/+0
| | | | | | For some time users could choose to have the old way "unanimous" where all the MUC history is just grey (or whatever was set). Now it is always just displayed like regular new incoming MUC text.
* cons_show_aliases() simpify conditionMichael Vetter2020-04-201-3/+1
|
* Fix memory leaks in cons_roster_setting()Dmitry Podgorny2020-04-101-0/+3
|
* Fix memory leak in cons_show_disco_info()Dmitry Podgorny2020-04-061-1/+1
|
* Add setting to not colorize own nick according to xep-0392Michael Vetter2020-03-251-0/+6
| | | | | | | | | | | | | | | | | | Some users might want there nick to always stay white (etc) for easier recognition. Now we can do `/color own off` to not generate the color based on xep-0392. The `me=` color (etc) from the theme will then be used. Once we run this command `theme_load()` is called again. And the theme looks totally wrong. We encountered this at other times already and I think it's nothing wrong with this new code here now but that there seems to be a missing closing attr for the color when drawing. Should be investigated seperately. Fix https://github.com/profanity-im/profanity/issues/1288
* titlebar: allow displaying MUC name and MUC jidMichael Vetter2020-03-241-3/+11
| | | | | | `/titlebar use name|jid` -> `/titlebar show|hide name|jid` Fix https://github.com/profanity-im/profanity/issues/1284
* Add slashguard featureMichael Vetter2020-03-181-0/+10
| | | | | New command `/slashguard` tries to protect against typing ` /quit` by not allowing a slash in the first 4 characters.
* xep-0084/avatar: add option to open avatar directlyMichael Vetter2020-03-101-0/+10
| | | | | | | | | | | Change: `/avatar me@somewhere.org` -> `/avatar get me@somewhere.org` New: `/avatar cmd feh` `/avatar open me@somewhere.org` Implement https://github.com/profanity-im/profanity/issues/1281
* Allow utf8 symbols as omemo/pgp/otr indicator charMichael Vetter2020-02-201-85/+89
| | | | Fix https://github.com/profanity-im/profanity/issues/1264
* Add option to color MUC history like regular messagesMichael Vetter2020-02-201-4/+8
| | | | | | | | | `/logging group color` has: * `unanimous` which will color it with one unanimous color. Like it was done always. * `regular` which colors it like regular incoming messages. Regards https://github.com/profanity-im/profanity/issues/1261
* Make /sendfile in PGP session configurableMichael Vetter2020-02-171-0/+6
| | | | | | `/pgp sendfile on` allows unencrypted file transfer in an PGP session. Regards https://github.com/profanity-im/profanity/pull/1270
* Make /sendfile in OTR session configurableMichael Vetter2020-02-171-0/+6
| | | | | | `/otr sendfile on` allows unencrypted file transfer in an OMEMO session. Regards https://github.com/profanity-im/profanity/pull/1270
* Make /sendfile in OMEMO session configurableMichael Vetter2020-02-171-0/+6
| | | | | | | `/omemo sendfile on` allows unencrypted file transfer in an OMEMO session. Regards https://github.com/profanity-im/profanity/pull/1270
* xep-0308: create setting to toggle lmcMichael Vetter2020-02-101-1/+8
| | | | and print settings if only `/correction` is run.
* xep-0308: add `correction` autocompletionMichael Vetter2020-02-101-0/+6
|
* XEP-0092: Add configuration option to choose whether to send OS nameMichael Vetter2020-01-241-0/+10
| | | | | `/os on|off` now let's one choose whether to include the OS name once `/software` (XEP-0092) is ran on us.
* Add option to display MUC name or JID in titlebarMichael Vetter2020-01-231-0/+4
| | | | Add `/titlebar use [name|jid]`.
* Print `roster rooms use` in info pageMichael Vetter2020-01-231-0/+4
|
* Update my Copyright to 2020Michael Vetter2020-01-031-2/+2
|
* Adjust /color configuration outputMichael Vetter2019-12-201-9/+9
| | | | Fix https://github.com/profanity-im/profanity/issues/1243
* Add /occupants color commandMichael Vetter2019-12-191-2/+8
| | | | | | | | `/occupants color on|off` to enable or disable XEP-0392 also for the MUC occupants. Regards https://github.com/profanity-im/profanity/issues/1191
* Add /roster color commandMichael Vetter2019-12-191-0/+6
| | | | | | | `/roster color on|off` to enable or disable XEP-0392 also for the roster. Regards https://github.com/profanity-im/profanity/issues/1191
* Handle case where color.nick is not setMichael Vetter2019-12-121-0/+5
| | | | | Fixes a segfault if color.nick was never set but we want to print it's value.
* Implement Color Vision Deficiencies settingMichael Vetter2019-12-121-2/+11
| | | | | | Implement settings for redgreen and blue blindness. Regards https://github.com/profanity-im/profanity/issues/1191
* Add initial support for XEP-0392Michael Vetter2019-12-091-0/+9
| | | | | | | | | | | | | | The last 3 commits added basic support. Thanks @aaptel! This commit adds basic settings interface to use it. See `/color on|off`. We still have to enable settings for color blindness. And maybe another setting to decide whether to color the occupantslist/roster with the same algo. Regards https://github.com/profanity-im/profanity/issues/1191
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Merge /chlog and /grlog commands into /loggingMichael Vetter2019-11-121-11/+6
| | | | | | | Instead of `/chlog on` we now have `/logging chat on`. Instead of `/grlog on` we now have `/logging group on`. Fix https://github.com/profanity-im/profanity/issues/1224
* Merge /invite, /invites and /decline commandsMichael Vetter2019-11-051-1/+1
| | | | | | | | | | `/invite <contact>` became `/invite send <contact>. `/invites` became `/invite list`. `/decline` became `/invite decline`. Accept is still done via `/join`. Regards https://github.com/profanity-im/profanity/issues/1116
* Add `/titlebar show presence` commandMichael Vetter2019-11-051-0/+6
| | | | | | | Additionally to `/presence titlebar on` we now allow the setting via /titlebar show|hide presence` since it's about the titlebar. Regards https://github.com/profanity-im/profanity/issues/1116
* Display resource information in `/titlebar`Michael Vetter2019-11-051-0/+6
|
* Move /encwarn command into /titlebarMichael Vetter2019-11-051-15/+12
| | | | | | Instead of `/encwarn on|off` we now have `/titlebar show|hide encwarn`. Regards https://github.com/profanity-im/profanity/issues/1116
* Add option to hilight unread rooms in /wins commandMichael Vetter2019-10-121-1/+5
| | | | | | | In the theme we can now set `cmd.wins.unread` to hvae a special color for the lines of the `/wins` output that have unread messages. Fix https://github.com/profanity-im/profanity/issues/895
* Add coloring of statusbar.current tab in viewDaniel Lublin2019-09-241-0/+1
| | | | | | | | | | | | | | This theme color applies to the tab title text of the statusbar tab that is currently shown. The (somewhat confusingly named) `statusbar.active` theme color now applies to all other tabs (before, it applied to all tabs). Coloring of a tab that is highlighted/has new messages is done as before using the `statusbar.new` theme color. The default color is set to `cyan`, and thus causes no visible change for users -- until modified.
* Print history color in theme propertiesMichael Vetter2019-09-111-0/+1
| | | | Also print `main.text.history` setting when `/theme properties' is run.
* Hardcode James email adress in info messageMichael Vetter2019-08-241-1/+1
| | | | Dont rely on PACKAGE_BUGREPORT being James' mail.
* Add 256 colour info to /theme coloursMichael Vetter2019-08-231-0/+7
|