| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Regards https://github.com/profanity-im/profanity/issues/1597#issuecomment-930540261
|
|
|
|
|
|
|
| |
See
https://github.com/profanity-im/profanity/commit/fd9ccec8dc604902bbb1d444dba4223ccee0a092
and
https://github.com/profanity-im/profanity/issues/1597#issuecomment-930426764.
|
|
|
|
|
|
| |
Fix https://github.com/profanity-im/profanity/issues/1597
Thanks @debacle.
|
| |
|
| |
|
|
|
|
|
|
| |
alt+f is the default readline shortcut for forward one word.
Regards https://github.com/profanity-im/profanity/issues/1580
|
|
|
|
|
|
|
|
| |
_chatwin_history() reassigns msg->plain without freeing previous
string. This leads to memory leak. As a temporary solution, free
replaced string.
Fixes #1585.
|
| |
|
|
|
|
|
|
| |
Offset for g_utf8_substring() is higher than the string length. We can
avoid g_utf8_substring() for the tail and simply convert starting offset
to a pointer.
|
|
|
|
|
|
|
| |
`/silence on` will throw away all messages (type: chat, normal) that
come from jids that are not in the roster.
Implement https://github.com/profanity-im/profanity/issues/955
|
|
|
|
|
| |
Only display server contact information heading when we have actual
addresses.
|
|
|
|
| |
Format the output of cons_show_disco_contact_information() so that it matches cons_show_disco_info().
|
| |
|
| |
|
| |
|
|
|
|
| |
Fix https://github.com/profanity-im/profanity/issues/1554
|
|
|
|
|
|
|
| |
`/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
|
|
|
|
|
|
|
|
| |
`jubalh: jubalh jubalh` resulted in `20:32:34 - testuser1:
jubalh20:32:34 - testuser1: : jubalh20:32:34
- testuser1: jubalh`
Print date/nick only once at beginning of line.
|
|
|
|
|
|
|
|
|
|
| |
get_mentions() correctly counts utf-8 chars. So the positions of
mentions we get from there are correct.
But in _mucwin_print_mention() we set position equal to byte.
We need to use utf-8 safe functions here.
Regards https://github.com/profanity-im/profanity/issues/1231
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When the connection has been re-established, chat and groupchat with OMEMO
should restat the OMEMO Session.
Fix: #1530
* Added HAVE_OMEMO
* clang-format and user output
|
| |
|
|
|
|
|
|
|
|
| |
* Display the `[ATTENTION]` hint in the titlebar for both chatwins and
mucwins.
* Use THEME_TITLE_TEXT instead of THEME_TITLE_ENCRYPT
* Have separate function `_show_attention` and don't do it in unrelated
`_show_privacy`.
|
| |
|
|
|
|
|
| |
When the user enables or disabled the attention flag, a message will be
displayed in the chat window.
|
| |
|
|
|
|
| |
Attention flag for groupchat and display the windows via "/wins attention"
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
_GNU_SOURCE was even in some files where it was not needed at all
(http*).
Let's replace asprintf() with g_strdup_printf().
|
|
|
|
| |
Related to https://github.com/profanity-im/profanity/issues/1512
|
|
|
|
|
| |
Just prints a different string to console.
Useful for changing passwords or account registration.
|
|\
| |
| | |
MUC: Show offline members in sidebar
|
| | |
|
|/ |
|
|
|
|
|
|
|
| |
Error log:
GLib-CRITICAL - g_string_insert_len: assertion 'len == 0 || val != NULL' failed
Check if a room name exists, before adding the name into the title bar.
|
|
|
|
| |
Regards https://github.com/profanity-im/profanity/issues/660
|
|
|
|
|
|
|
| |
Functions had some duplicate code:
* cons_show_incoming_room_message()
* cons_show_incoming_message()
* cons_show_incoming_private_message()
|
| |
|
|
|
|
| |
Input window size was one cell off, therefore terminal themes with background color set were rendered incorrectly, fixes #1458
|
|
|
|
| |
Remove added blank line after trackbar, introduced by 606c1e51e688cb111b9837579a35460508324b63
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was added in f7fe87dd4e7e14112fbcb0ae8794d90ffee64f2f when I rewrote
window functions to include more infos (not just char* but whole jid
struct I think).
The same todo was added to win_print_outgoing_muc() but removed in
f3d9de133e90ed10b5b7bd61196619eab1fedb19.
This TODO should have been removed in
f3d9de133e90ed10b5b7bd61196619eab1fedb19 since there we added the myjid
parameter.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Discovered by @aba-hollerer.
Mistake was introduced in b6b7dd5ad497a71e250b8b3cef0bb987314b141d
probably due to a wrong copy/paste.
First wasn't reproducible because I had `/receipts request on` and thus
win_print_outgoing_receipts() is used which has the correct
THEME_TEXT_ME.
Fixes https://github.com/profanity-im/profanity/issues/1441
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
00dbc1ba7c66c3bb6898aed26922bf5295768bb1 attempted to fix
https://github.com/profanity-im/profanity/issues/1449.
Here we revert the part about initializing is_omemo in chatwin_new()
since this is done in win_create_chat() already.
The actual mistake was the wrong cast of the muc window which is fixed
by the same commit. The mistake was introduced in in 3370418d71de255c832da97113543e554ec0e86b.
While being at it we also remove the is_ox initialization since this is
handled in win_create_chat()/win_create_muc() too.
|
| |
|
|
|
|
| |
Fixes #1449
|