Commit graph

377 commits

Author SHA1 Message Date
LAGonauta 3dd19fad71 Use last_index_of instead of index_of 2021-06-09 07:18:47 -03:00
LAGonauta 4a3306b479 Allow 32-bit linking
Win32 apis are __stdcall
2021-06-09 07:18:45 -03:00
LAGonauta 9022ac596b Every call to CoInitialize() must be balanced
with a call to CoUninitialize()
2021-06-09 07:18:42 -03:00
LAGonauta 16d0cc6fd9 Set alternate file stream for downloaded files. 2021-06-09 07:17:21 -03:00
LAGonauta 03f17b8f39 Fixed some Windows not appearing when opening file 2021-06-09 07:17:21 -03:00
LAGonauta 8cb15fc325 Use ShellExecute instead of AppInfo to open files on Windows 2021-06-09 07:17:21 -03:00
LAGonauta 0d384f83ae Added _WIN32 define to VALAC on Windows 2021-06-09 07:17:20 -03:00
LAGonauta eb7cf3297c Windows compatibility Tweaks 2021-06-09 07:17:18 -03:00
fiaxh 0c8d25b7a3 Fix file traversal issue on incoming file transfers
Fixes CVE-2021-33896
2021-06-07 09:56:25 -06:00
fiaxh d71604913d Merge remote-tracking branch 'origin/feature/calls' 2021-05-11 12:57:02 +02:00
fiaxh 90f9ecf62b Calls: Indicate whether OMEMO key is verified 2021-05-11 12:52:00 +02:00
fiaxh 0ad968df36 Use the same DTLS fingerprint in all contents. Display audio+video enc keys in UI if they differ. 2021-05-01 22:57:38 +02:00
fiaxh e92ed27317 Use drop index if exists to help database up-down-grading 2021-05-01 00:49:38 +02:00
fiaxh 6b976cdb66 Adjust JMI vs direct calling order 2021-04-29 16:14:48 +02:00
fiaxh 4c6664a365 Improve JMI handling (type=chat, filter message sender) 2021-04-29 16:14:17 +02:00
fiaxh 421f43dd8b Add support for OMEMO call encryption 2021-04-29 16:13:25 +02:00
fiaxh 5d85b6cdb0 Handle non-existant call support 2021-04-29 16:13:25 +02:00
fiaxh 1b92a1f774 Fix processing of XEP-0184 delivery receipts 2021-04-11 15:25:43 +02:00
fiaxh 369755781e Send JMI retract 2021-04-11 15:09:28 +02:00
fiaxh 8a54a263f2 Improve encryption displaying in calls 2021-04-11 14:42:59 +02:00
fiaxh dfffa08ec1 Fix warnings 2021-04-11 14:42:59 +02:00
fiaxh 09dc38f169 Accept additional jingle contents with senders=both (but modify to senders=peer) 2021-04-09 22:23:56 +02: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 b63a20f918 Store limited history of contact resources 2021-04-01 11:52:10 +02:00
fiaxh ec35f95e13 Add initial support for DTLS-SRTP 2021-03-25 14:45:54 +01:00
fiaxh 7ce49d7d68 Fix regression in FileItem generation
fixes #1019
2021-03-23 13:46:39 +01: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
hrxi 148cf48d2b Add libnice and listen for direct connections in Jingle SOCKS5 (#608)
Add libnice as a plugin. If it is present, use libnice to enumerate
local IP addresses and listen on them to support direct connections for
Jingle SOCKS5.

Tested with Conversations and Gajim.

Created the nice.vapi file using
```
vapigen --library nice --pkg gio-2.0 --metadatadir metadata /usr/share/gir-1.0/Nice-0.1.gir
```
2021-03-19 22:06:02 +01:00
fiaxh 80c8e18cea Add cache for file transfers 2021-02-17 15:25:55 -06:00
fiaxh f12fc371a3 Make spell checking a setting, store language per conversation 2021-01-21 15:51:41 +01:00
fiaxh 59236ec01a Add support for Direct MUC Invitations (XEP-0249) 2021-01-12 23:10:45 +01:00
fiaxh 2c22c0428c Fix segfault on accept_certificate signal (fixup 81a5505) 2020-12-31 23:19:06 +01:00
fiaxh c7b242a72e Show invalid certificate screen also when registering account 2020-12-31 19:04:18 +01:00
fiaxh 81a5505270 Allow certificates from unknown CAs from .onion domains
It's barely possible for .onion servers to provide a non-self-signed cert. But that's fine because encryption is provided independently though TOR.

see #958
2020-12-31 19:04:02 +01:00
fiaxh 99e98ac8d9 Set window urgency hint independent of notification setting
fixes #960
2020-12-30 20:30:35 +01:00
fiaxh c454bd904d Make db version 18 downgradable
fixes #970
2020-12-27 17:25:53 +01:00
fiaxh cc01374d3c Use advertized/server/live time for sorting instead of arrival time
fixes #310
2020-12-04 19:11:27 +01:00
fiaxh f31e96d6bb Improve contact description in OMEMO warnings
fixes #947
2020-12-04 17:16:09 +01:00
fiaxh 11d9855a39 Refactor Notifications, add freedesktop backend
fixes #707
2020-11-20 15:21:34 +01:00
fiaxh 07917f1d84 Refactor XmppStream, TLS and connection method logic
fixes #534
2020-11-20 15:21:18 +01:00
fiaxh 881b9eec9d Improve entity identity getter 2020-11-20 15:21:18 +01:00
fiaxh f40730c780 Fix compiler warnings in WeakMap 2020-11-17 20:04:53 +01:00
fiaxh d0488401ce Use WeakMap for message caching 2020-11-14 17:05:46 +01:00
fiaxh b8d216a057 Add a WeakMap implementation + tests 2020-11-14 17:00:09 +01:00
fiaxh 10adf716f3 Fix incoming muc voice request notification 2020-11-11 11:27:31 +01:00
fiaxh 1999c97bb9 Improve content_item db table index
fixes #923

Co-authored-by: eta <eta@theta.eu.org>
2020-11-05 17:11:46 +01:00
fiaxh 2e0357877c Fix some compiler warnings 2020-10-27 16:05:30 +01:00
fiaxh edbc8f794d Don't crash on MAM id-time hickup
fixes #886
2020-10-27 12:02:52 +01:00
fiaxh 5954f7764f Fix own message marker marking conversations as read 2020-10-15 19:52:30 +02:00