about summary refs log tree commit diff stats
path: root/src/ui/console.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix various typosMichael Vetter2020-12-101-4/+4
|
* Remove scheme and filetype matching for url (save|open)William Wennerström2020-12-081-3/+6
|
* Fix segfault for urlopen[1]William Wennerström2020-12-071-1/+1
|
* Fix bad order of parameters for url saveWilliam Wennerström2020-12-071-1/+1
|
* Refactor for threaded external executable for built-in download methodsWilliam Wennerström2020-12-031-2/+2
|
* Run make format on rebaseWilliam Wennerström2020-11-161-1/+1
|
* Remove /omemo sendfileWilliam Wennerström2020-11-161-7/+1
|
* Declare counter var inside loopMichael Vetter2020-11-091-4/+2
| | | | We require c99/gnu99 anyways.
* Fix use-after-free which is introduced in cons_alert()Dmitry Podgorny2020-10-091-1/+1
| | | | | | Commit f12161f fixes memory leak, but introduces use-after-free issue. Allocate new memory for win_name with g_strdup() since it is freed with g_free() later.
* Fix memleak in cons_alert()Michael Vetter2020-10-071-0/+2
| | | | Close https://github.com/profanity-im/profanity/issues/1427
* Basic support for building on NetBSD.nia2020-09-041-0/+2
| | | | | | - Add NetBSD as a recognized platform without -ldl. - Allow building with NetBSD libcurses instead of ncurses. - Portability to NetBSD sh - use POSIX '=' instead of '=='.
* Setting: only write in console upon muc mentionMichael Vetter2020-07-101-0/+5
| | | | | | `/console muc mention` additionally to `first|none|all`. Fix https://github.com/profanity-im/profanity/issues/1371
* Pass window to functions so we dont have to call twiceMichael Vetter2020-07-091-12/+11
|
* Dont hilight console once all messages have been readMichael Vetter2020-07-091-46/+86
| | | | | | | | | | | | | | | | If we receive a message we get: << room message: eagle@conference.anoxinon.me (win 2) Same for private chats and regular chats. And several other kinds of notifications. If we only receive notifications from a chat window it would be nice to also clear the hilight on the console window since we already catched up by reading the actual message in the chat window. Probably not the best description :-) I hope you get it.. Regards https://github.com/profanity-im/profanity/issues/1399
* Make _show_roster_contacts staticMichael Vetter2020-07-091-2/+2
|
* Apply coding styleMichael Vetter2020-07-071-244/+238
|
* Revert "Apply coding style"Michael Vetter2020-07-071-245/+251
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-251/+245
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* 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
|