Michael Vetter
2e85f18cd6
Use our omemo sid/fingerprint in qr code
...
Current clients sid/fingerprint will be shown in following format:
`xmpp:<user@server>?omemo-sid-<numerical-sid>=<omemo-fingerprint-hex-string>`
Fix https://github.com/profanity-im/profanity/issues/1320
2022-05-31 15:44:44 +02:00
Michael Vetter
42fb8f86d9
Add command help for omemo qrcode
2022-05-30 18:04:42 +02:00
swirl
d64cb38240
Reverse QR code colors and add padding
...
All QR scanners should be able to recognize this, as it is now the
correct color with some padding to prevent blending.
Signed-off-by: swirl <swurl@swurl.xyz >
2022-05-30 18:04:42 +02:00
swirl
9a9a97868d
implement working OMEMO QR code
...
TODO: We need to find a way to switch the colors of the QR code, so that
more QR readers can detect it, without "blending" the edges of the QR
code with the surrounding terminal window.
Signed-off-by: swirl <swurl@swurl.xyz >
2022-05-30 18:04:42 +02:00
Michael Vetter
cf83976b51
Add basic qrcode functions
2022-05-30 18:04:36 +02:00
Michael Vetter
1330ad4e1e
Update copyright year
2022-05-09 15:43:33 +02:00
Michael Vetter
b16bdca726
ox: show ox preferences
2022-05-05 23:55:31 +02:00
Stefan Ott
8044c82614
Add support for offline MUC notifications
2022-04-23 02:42:23 +02:00
Steffen Jaeckel
b28ac09368
a tad more const-correctness
...
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de >
2022-03-22 11:44:00 +01:00
Steffen Jaeckel
9cf78e59d5
auto-format
...
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de >
2022-02-01 15:01:28 +01:00
Michael Vetter
a9bcc8e8bd
Allow utf8 in occupants header char
2021-10-22 16:54:05 +02:00
Michael Vetter
1c96115f97
Allow utf8 in occupants char
2021-10-22 16:54:05 +02:00
Michael Vetter
fa2881fcea
Allow utf8 in roster room private char
2021-10-22 16:54:05 +02:00
Michael Vetter
8fc359ba2d
Allow utf8 in roster rooms char
2021-10-22 16:54:05 +02:00
Michael Vetter
7faf15a18c
Allow utf8 in roster private char
2021-10-22 16:54:05 +02:00
Michael Vetter
83ee4a27cb
Allow utf8 in roster resource char
2021-10-22 16:54:02 +02:00
Michael Vetter
a668ca45b7
Allow utf8 in roster contact char
2021-10-22 16:23:18 +02:00
Michael Vetter
91898597dd
Allow utf8 in roster header char
...
This and the following commits should make a couple of more configs
allow utf8 chars so people can use their weird icons :-)
We did the same for the otr/omemo/pgp indicators at:
1f8b1eb740
5cf6ee1bc6
2021-10-21 15:30:01 +02:00
Michael Vetter
f21595597f
Format code correctly
2021-10-05 10:01:27 +02:00
Michael Vetter
31d72689c7
Add more keybindings to /help navigation
2021-09-15 11:29:20 +02:00
Michael Vetter
06482fdaef
Add option to only allow messages from jids in roster
...
`/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
2021-07-01 18:02:03 +02:00
Michael Vetter
dc79c514be
Fix /disco info contact address header
...
Only display server contact information heading when we have actual
addresses.
2021-06-30 13:58:28 +02:00
Michael Vetter
3d5e59895b
Adjust contact addresses output to the rest of disco info
...
Format the output of cons_show_disco_contact_information() so that it matches cons_show_disco_info().
2021-06-30 11:30:02 +02:00
Michael Vetter
817a6bff54
XEP-0157: Print all available addresses
2021-06-30 11:23:22 +02:00
Michael Vetter
ef96bea82e
XEP-0157: Print contact addresses
2021-06-30 10:45:59 +02:00
Michael Vetter
fc593ef90e
Print editor command in /executable overview
2021-06-10 17:28:29 +02:00
Michael Vetter
8ef35290bd
Add command to show single bookmark details
...
`/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
2021-06-09 15:53:21 +02:00
DebXWoody
6dd11f0fff
Attention flag for groupchats
...
Attention flag for groupchat and display the windows via "/wins attention"
2021-05-29 09:30:13 +02:00
Michael Vetter
1d8061e89b
Have separate settings for intype
...
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
2021-05-08 19:38:40 +02:00
Michael Vetter
057c9ad776
Add config.h in files were it was missing
...
Related to https://github.com/profanity-im/profanity/issues/1512
2021-03-26 19:54:22 +01:00
Thorben Günther
f1780f0017
MUC: Show offline members in sidebar
2021-03-08 14:34:59 +01:00
Michael Vetter
44fc3f0506
Add /mam command
...
Regards https://github.com/profanity-im/profanity/issues/660
2021-01-28 15:11:50 +01:00
Michael Vetter
a01c963b46
Simplify console notification code
...
Functions had some duplicate code:
* cons_show_incoming_room_message()
* cons_show_incoming_message()
* cons_show_incoming_private_message()
2021-01-21 10:20:34 +01:00
Michael Vetter
8c08e64f37
Update copyright
2021-01-08 16:36:30 +01:00
Michael Vetter
a94378f206
Fix various typos
2020-12-10 09:24:32 +01:00
William Wennerström
d7848e38bc
Remove scheme and filetype matching for url (save|open)
2020-12-08 20:01:17 +01:00
William Wennerström
7f0165a912
Fix segfault for urlopen[1]
2020-12-07 16:46:44 +01:00
William Wennerström
4a1c118b8b
Fix bad order of parameters for url save
2020-12-07 15:15:06 +01:00
William Wennerström
3a6597ee29
Refactor for threaded external executable for built-in download methods
2020-12-03 16:54:06 +01:00
William Wennerström
4711fc62a3
Run make format on rebase
2020-11-16 21:58:09 +01:00
William Wennerström
9d58472c8c
Remove /omemo sendfile
2020-11-16 21:58:08 +01:00
Michael Vetter
35aecd425f
Declare counter var inside loop
...
We require c99/gnu99 anyways.
2020-11-09 11:33:33 +01:00
Dmitry Podgorny
64df8630d4
Fix use-after-free which is introduced in cons_alert()
...
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.
2020-10-09 13:39:52 +03:00
Michael Vetter
f12161f190
Fix memleak in cons_alert()
...
Close https://github.com/profanity-im/profanity/issues/1427
2020-10-07 22:50:24 +02:00
nia
52e9be4abc
Basic support for building on NetBSD.
...
- Add NetBSD as a recognized platform without -ldl.
- Allow building with NetBSD libcurses instead of ncurses.
- Portability to NetBSD sh - use POSIX '=' instead of '=='.
2020-09-04 12:55:20 +02:00
Michael Vetter
95ab7ee062
Setting: only write in console upon muc mention
...
`/console muc mention` additionally to `first|none|all`.
Fix https://github.com/profanity-im/profanity/issues/1371
2020-07-10 15:16:34 +02:00
Michael Vetter
7b49fbdf45
Pass window to functions so we dont have to call twice
2020-07-09 16:11:50 +02:00
Michael Vetter
11d849aa7f
Dont hilight console once all messages have been read
...
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
2020-07-09 15:44:35 +02:00
Michael Vetter
8a2026ccbe
Make _show_roster_contacts static
2020-07-09 08:48:10 +02:00
Michael Vetter
a2726b6a7d
Apply coding style
2020-07-07 14:18:57 +02:00