Commit graph

81 commits

Author SHA1 Message Date
Xavier Del Campo Romero f2096694c6 Add send button / Enter key settings
Two new switches have been added to the application preferences:

- Enable send button
- Use Enter to insert newline ('\n')

The latter cannot be active or sensitive if the former is not active.
Otherwise, users would not be able to send messages.

Thanks to horazont for suggesting a separate switch for the behaviour
of the Enter key.
2024-03-29 16:58:50 +03:00
Xavier Del Campo Romero d3a2e52285 Setup default encryption settings 2024-03-26 11:22:56 +03:00
Konstantin Kuznetsov 3a0d2d2ffe Wait for messages instead of MAM pages 2024-03-22 16:11:31 +03:00
Konstantin Kuznetsov bcac03ef6a Fetch MAM pages when scrolling in chats 2024-03-19 15:34:58 +03:00
fiaxh 10315a245d Code cleanup: Remove left-over usages of mam_earliest_synced 2023-04-23 11:48:29 +02:00
fiaxh 9bf304095c Remove spell check setting
As there is currently no spell check support for GTK4
2023-02-09 12:35:50 +01:00
Marvin W 32ae87a3c4
Fix some form entries not updating properly 2023-02-07 20:23:51 +01:00
fiaxh 75500dc767 Support pinning of conversations (locally)
fixes #290
fixes #1330
2023-01-11 19:54:02 +01:00
fiaxh dc52e7595c Add support for XEP-0461 replies (with fallback) 2023-01-06 14:03:54 +01:00
fiaxh 6c6e7e3aa7 Rewrite MAM logic and add MUC MAM 2022-10-10 21:55:15 +02:00
fiaxh 7e7dcedaf3 Port from GTK3 to GTK4 2022-07-27 20:34:20 +02:00
Marvin W 193bf38a79
Allow cancellation of file transfers 2022-03-30 10:36:52 -06:00
Marvin W f422734cc8
Replace invalid UTF-8 with U+FFFD
XMPP is strictly UTF-8.
Fixes #1172
2022-01-05 01:04:58 +01:00
fiaxh 33104a778d Add 'unknown' encryption state for establishing calls
Currently, they are Encryption.NONE and thus marked as unencrypted in encrypted conversations
2022-01-04 21:40:51 +01:00
fiaxh f0c7dd0682 UI + libdino: Improve MUJI calls from MUC
- Move calls from ICE-thead onto main thread
- Identify Call.ourpart as MUC nick if in MUC
- Keep track of the initiator of a call
2021-12-23 00:19:26 +01:00
fiaxh 78bb2bbdda Add calls in private MUCs via a MUJI MUC 2021-12-18 21:34:39 +01:00
fiaxh 2b3d150949 Improve call details dialog + small multi-party call fixes 2021-11-15 13:29:13 +01:00
fiaxh 26d10d1dcb Add multiparty call support to libdino and xmpp-vala 2021-11-10 11:05:34 +01:00
fiaxh 447464f4d1 Display message delivery error, color text using theme colors
fixes #672
2021-08-17 22:32:33 +02:00
fiaxh 0c8d25b7a3 Fix file traversal issue on incoming file transfers
Fixes CVE-2021-33896
2021-06-07 09:56:25 -06:00
fiaxh 8d1c6c29be Display+store call encryption info 2021-04-09 22:23:13 +02:00
fiaxh 3454201e5a Use outgoing JMI if contact has supporting device 2021-04-01 12:03:04 +02:00
fiaxh cdb4d77259 Add support for unencrypted RTP calls to libdino
Co-authored-by: Marvin W <git@larma.de>
2021-03-21 12:41:39 +01:00
fiaxh f12fc371a3 Make spell checking a setting, store language per conversation 2021-01-21 15:51:41 +01:00
fiaxh b60e7da28a Fix message duplication in MUC PMs 2020-09-07 15:29:32 +02:00
fiaxh 7309c6f3ac Visually highlight pending messages, improve resending 2020-07-16 23:31:19 +02:00
fiaxh 74f7fa897f Add queue and resending to stream management 2020-07-15 18:12:19 +02:00
fiaxh 0beb592c5a Use sqlite UPSERT 2020-06-10 23:40:00 +02:00
fiaxh 71be2abb6a Store last read content item for conversations
fixes #495
2020-06-03 21:50:40 +02:00
fiaxh 871ff33ac7 Add support for last message correction 2020-04-03 22:49:59 +02:00
Marvin W 3fc9bdab05
Correctly display names in groupchat pms
Also show "Me" when no local alias is set instead of JID
2020-01-09 14:28:08 +01:00
Marvin W a0a956ee08
Properly check Jids everywhere 2019-12-23 16:58:53 +01:00
fiaxh 321c3529f3 Add (partial) support for unique stanza ids (XEP-0359) 2019-12-18 20:35:04 +01:00
fiaxh c4325473fb Don't require window object in notifications
fixes #658
2019-11-26 18:47:30 +01:00
fiaxh b03da2af60 Check window width and hight before (re)storing them 2019-11-26 18:37:23 +01:00
fiaxh 9ee9661bf3 Optimizations: Database indices, cache id-Jid instead of id-jid_string, join real_jid on get messages 2019-08-02 18:00:26 +02:00
fiaxh f0abb8aaf9 Refactor file receive/send interfaces and UI 2019-07-18 02:03:42 +02:00
hrxi 877c46628f Implement file sending via Jingle
This is still disabled by default until prioritization is implemented;
otherwise this could be preferred to HTTP uploads.

File sending only works via Jingle In-Band-Bytestreams right now, more
transports are going to be implemented.

To test this, uncomment the line with `JingleFileTransfer` in
libdino/src/application.vala.
2019-07-09 11:21:39 +02:00
fiaxh dd6c860aed Don't change type of a conversation 2019-06-01 18:55:04 +02:00
fiaxh 03f25e1f87 Remove Message.stanza field 2019-05-26 20:20:09 +02:00
fiaxh 736522737f Make file read/write async 2019-02-14 00:04:01 +01:00
fiaxh d668e0158d Fix runtime criticals (and compiler warnings)
fixes #520
2019-02-13 16:14:16 +01:00
fiaxh 2208ff9799 Restructure (http) file provider flow: Separate download&get_info, download in provider, move XmppStreamModule into xmpp-vala 2018-11-27 03:38:42 +01:00
fiaxh fa731a4623 Split login jid/password into two steps with checks 2018-11-16 09:29:34 -06:00
fiaxh 9575b192e4 Fix runtime criticals 2018-09-16 14:04:36 +02:00
bobufa 443e7ee49d fix local_time field of message and file_transfer being loaded from time db column 2018-08-13 22:05:04 +02:00
bobufa 3ea00446fb refactor conversation item management (accumulate them in libdino) 2018-08-13 22:04:47 +02:00
fiaxh a8ee61b34c Move notification sounds (canberra dependency) into plugin, introduce libdino/NotificationEvents 2018-03-05 15:43:02 +01:00
Rahix 08c8b9c6d6 Implement notification sounds
Add a new setting to toggle notification sounds on or off. Plays the
systems default instant messaging message sound (message-new-instant)
whenever a notification is shown if toggled on.
2018-02-17 21:51:02 +01:00
fiaxh f6db249c92 Only display transferred images, display file names, open in system viewer, include and use pgp embedded file names 2018-01-28 22:00:22 +01:00