Commit graph

56 commits

Author SHA1 Message Date
fiaxh 8339d95621 Fix crash when using direct TLS + ALPN 2021-10-15 01:13:56 +02:00
fiaxh e8c162eae3 Fix misc compiler warnings 2021-10-12 19:43:57 +02:00
selurvedu f15982de72 Unify connection debug messages 2021-08-09 18:52:07 +02:00
fiaxh d71604913d Merge remote-tracking branch 'origin/feature/calls' 2021-05-11 12:57:02 +02:00
fiaxh a91cada4fb Fix segfault on bad certificate with multiple xmpp records
Co-authored-by: Marvin W <git@larma.de>
2021-04-07 23:43:32 +02:00
fiaxh 2b90fcc39a Improve & refactor Jingle base implementation
Co-authored-by: Marvin W <git@larma.de>
2021-03-21 12:40:04 +01:00
fiaxh 2c22c0428c Fix segfault on accept_certificate signal (fixup 81a5505) 2020-12-31 23:19:06 +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 07917f1d84 Refactor XmppStream, TLS and connection method logic
fixes #534
2020-11-20 15:21:18 +01:00
fiaxh c887240fdc Improve stream management queue 2020-07-21 15:48:42 +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
Marvin W 48964bc5cc
Don't strip() at XML layer 2020-06-28 11:53:43 +02:00
Marvin W 0af8526ab1
Work-around use after free
Upstream: https://gitlab.gnome.org/GNOME/vala/-/issues/751
2020-04-01 17:40:47 +02:00
Marvin W a0a956ee08
Properly check Jids everywhere 2019-12-23 16:58:53 +01:00
Marvin W 1bb75f40d2
Add timing to logs, fix issue of silently ignored I/O errors 2019-12-22 19:30:16 +01:00
fiaxh 1985fe1d7b Don't continue reading after stream was disconnected, make disconnecting async
fixes #636
2019-11-27 20:01:48 +01:00
fiaxh 41ada4fcc8 Don't attempt DNS SRV lookups in connection fallback 2019-11-18 22:45:18 +01:00
hrxi d5d305193c Fix some warnings
Instances of `RegexError` are just asserted as `assert_not_reached` as
they cannot really fail except for allocation failure if the given regex
is valid.
2019-09-10 19:36:11 +02:00
Marvin W 87da6584c0
Unroll some async methods in stanza reader 2019-07-14 13:54:42 +02:00
Marvin W 567ac81d78
Do not log long bodies 2019-07-14 13:33:36 +02:00
hrxi 7097a71852 Fix ANSI color removal for XMPP log on non-tty stderrs 2019-06-06 15:32:11 +02:00
fiaxh 8120203d62 Don't set timeouts on registration connection attempts 2019-06-01 19:03:01 +02:00
fiaxh 6f6e4b97cb Use glib log functions 2019-03-15 22:01:34 +01:00
fiaxh 084653cfc2 Fix compiler error (From using uint8[].copy()) 2019-02-04 16:01:35 +01:00
fiaxh fc1a9a5712 Improve ping timeouts, add debug output for XmlErrors and ping timeouts 2019-01-02 15:59:56 +01:00
fiaxh 4ccdc1d092 Small connection fixes 2018-03-10 20:01:22 +01:00
Marvin W 782ae4c049 Move Jid class to xmpp-vala, partially refactor namespace 2018-01-28 00:38:47 +01:00
linkmauve 0ce28c0b0d Fix typos in comments and variable names (#269)
Thanks `codespell`!
2018-01-10 15:12:54 +01:00
fiaxh 2e041e2984 Tab completion: Case insensitive, handle spaces 2018-01-06 14:02:32 +01:00
fiaxh a8cc94c188 Show error on invalid TLS certificate 2018-01-04 21:17:56 +01:00
fiaxh 9165c4db27 Async service lookup, connect and write 2017-11-23 01:28:29 +01:00
fiaxh 3f531d6b91 Read+(write) stream async 2017-11-16 17:43:00 +01:00
fiaxh 0102abeec1 Fix warnings 2017-10-31 15:41:45 +01:00
fiaxh 9d8e1e88ec http-files: max-file-size handling 2017-09-26 17:01:06 +02:00
Marvin W 82a8f5c38d
xmpp-vala: use encoded value when formatting stanza attributes
fixes #140
2017-08-29 22:07:38 +02:00
Marvin W a24e88f48b
Fix some UI issues 2017-08-22 00:24:39 +02:00
fiaxh 299f52df3a xmpp-vala: Connection fallback without SRV records 2017-08-19 00:29:08 +02:00
Marvin W f78818abbe
xmpp-vala: catch TLS errors during read() 2017-08-17 19:49:33 +02:00
fiaxh a59f728bdd Stream Management 2017-08-14 22:38:12 +02:00
Marvin W 6904bda756
xmpp-vala: improve namespace handling, add some tests 2017-08-12 11:59:38 +02:00
fiaxh b29d52fdda SRV records for XMPP over TLS 2017-08-11 11:56:37 +02:00
fiaxh 0206139f0f http files: Fix double-free rance-condition
... and move classes around
2017-08-07 21:48:43 +02:00
fiaxh dabc2a8b1d MUC join behaviour + small MUC error changes 2017-06-13 19:51:24 +02:00
fiaxh 3a8df2069e MUC config form (data forms), MUC room info 2017-05-30 22:28:36 +02:00
Marvin W f95b4f4e09
xmpp-vala/core+libdino: concurrency + nullity improvements 2017-04-18 20:20:41 +02:00
Marvin W 2a49d4a1aa
Add --print-xmpp flag to log details 2017-04-03 15:09:30 +02:00
fiaxh 6f3225979c Select conversation on startup, placeholder for "No conversation selected", start services before UI 2017-03-20 22:28:32 +01:00
fiaxh db57a97353 Add typed identity to manager modules and stream flags 2017-03-20 22:28:27 +01:00
Marvin W a9ea0e9f87
Split OMEMO plug-in into files, various fixes 2017-03-12 03:17:21 +01:00