Commit Graph

975 Commits

Author SHA1 Message Date
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 c0be0f5f85 Update date separator at midnight
fixes #868
2020-12-03 18:17:11 +01:00
fiaxh 4f4a1036e1 Handle xmpp URIs opened within Dino with Dino
fixes #914
2020-12-03 18:17:11 +01:00
fiaxh cd7c4c8221 Fix notification fallback, fix fdo markup escaping 2020-12-01 21:54:42 +01:00
Felipe 552591640f
Fix wrong actions for MUCs in Freedesktop notifier (#950) 2020-11-30 11:51:58 +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
Marvin W 2a775bcfb9
Prepare for 0.2.0 release 2020-11-12 18:51:20 +01:00
Translations 7726c0b75b Update translations 2020-11-12 18:28:56 +01:00
fiaxh 10adf716f3 Fix incoming muc voice request notification 2020-11-11 11:27:31 +01:00
Translations b2c7e9dfff Make some strings translatable, update translations 2020-11-10 14:04:57 +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
Translations 6218b759bf Update translations 2020-11-04 18:12:01 +01:00
Kim Alvefur 0b145c69e9
Swedish translations (#936)
* Swedish translations

* Translate OMEMO strings to Swedish
2020-11-04 13:26:34 +01:00
fiaxh dba63b1473 Fix runtime critical when room has no name 2020-10-29 19:11:55 +01:00
fiaxh b685c7ab9e Fix GTK warning when closing Dino
"Can't set a target list on a widget until you've called gtk_drag_dest_set() to make the widget into a drag destination"
2020-10-27 17:56:28 +01:00
fiaxh 4f0ca55cf0 Fix for older glib versions 2020-10-27 16:19:59 +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
fiaxh 518307d1ac Include 128x128 Dino icon as resource 2020-10-15 17:46:37 +02:00
fiaxh 4f636dbd8e Service Discovery Module: Clear cached disco info requests when detaching from stream
If a info request did not receive a response in some stream (e.g. due to network errors), any requests to the same entity in subsequent streams waited indefinitively.
2020-10-12 18:23:15 +02:00
fiaxh e0d81f98e3 Remove code block formating 2020-10-11 13:45:54 +02:00
fiaxh 78138bf39b Unregister handlers related to displaying messages as pending 2020-10-11 12:16:38 +02:00
fiaxh f28aaac6da Fix compilation for older vala compilers 2020-10-07 22:16:41 +02:00
Translations d42918b0ab Update translations 2020-10-07 20:52:53 +02:00
eta 9cc3382abe service/database: use WAL mode + safe PRAGMA synchronous setting
Setting PRAGMA synchronous = 0 is really unsafe, and leads to database
corruption (which I've personally experienced). This commit uses
SQLite's Write-Ahead Log (WAL) [1] instead, together with synchronous =
NORMAL. According to [1], this trades off performance for durability
(i.e. it's possible that some transactions may not have committed if the
power gets lost), but still guarantees that the database won't corrupt
itself.

Together, these changes should improve reliability whilst either
improving or having no effect on performance.

[1]: https://www.sqlite.org/wal.html
2020-10-06 18:05:25 +02:00
fiaxh 7b58c1596a Fix runtime critical 2020-09-19 11:16:22 +02:00
fiaxh 6325a98cff Fix runtime criticals related to jingle file transfer 2020-09-19 11:16:22 +02:00
Marvin W d32d1b91a1
Compatibility with Vala 0.50.0
Fixes #911
2020-09-17 18:48:30 +02:00
Marvin W 1956f63179
Set key size for omemo http file transfers to 256 bits
Fixes #909
2020-09-15 20:32:09 +02:00
Marvin W cd5b639a82
Send OMEMO-encrypted messages and files using 12 byte IV 2020-09-14 22:04:06 +02:00
Marvin W f6943a4c82
Fix avatar display in private group chats 2020-09-14 22:04:05 +02:00
fiaxh fb9352fef1 Fix loading more results when scrolling through search results 2020-09-14 12:40:41 +02:00
Marvin W 928802332c
Make compatible with older vala compilers 2020-09-12 17:51:13 +02:00
Marvin W a22146fd72
Display placeholder avatar while loading 2020-09-12 12:54:37 +02:00
Translations 1534aa3a5e Update translations 2020-09-10 20:18:18 +02:00
fiaxh 0cbc04aec8 Fix warning when clicking to correct a message 2020-09-10 19:35:56 +02:00
fiaxh 3563232df0 OMEMO: Don't trigger "Not encrypted to this device" warning for messages w/o payload 2020-09-10 19:35:05 +02:00
fiaxh c01d09d519 Improve message resending 2020-09-10 19:35:05 +02:00