Commit graph

1038 commits

Author SHA1 Message Date
fiaxh
80c8e18cea Add cache for file transfers 2021-02-17 15:25:55 -06:00
fiaxh
0626bad8e9 Reduce use of Widget.destroy()
On non-toplevel windows, use Container.remove() instead of Widget.destroy()
Needed for migration to GTK4
https://developer.gnome.org/gtk4/unstable/gtk-migrating-3-to-4.html#id-1.7.4.3.17
2021-02-10 18:32:39 -06:00
fiaxh
ad031ee333 Remove unnecessary Soup dependency from OMEMO plugin
fixes #983
2021-01-28 14:02:24 +01:00
fiaxh
f12fc371a3 Make spell checking a setting, store language per conversation 2021-01-21 15:51:41 +01:00
Thibaut Girka
0d30706438 Add libgspell build dependency to travis' configuration 2021-01-21 15:51:41 +01:00
Thibaut Girka
830eba3a06 Add spell-checking using Gspell 2021-01-21 15:31:12 +01:00
mimi89999
f94d8f56c7 Ellipsize long titles 2021-01-21 15:31:12 +01:00
Marvin W
f2662b21c1
Ignore unrecognized options in ./configure
This is so that systems that except configure to be autoconf don't complain.
2021-01-18 19:01:30 +01:00
fiaxh
e4b2f0c049 Update DOAP file, use BCP 47 language format 2021-01-12 23:13:14 +01:00
fiaxh
59236ec01a Add support for Direct MUC Invitations (XEP-0249) 2021-01-12 23:10:45 +01:00
Translations
fc18e781a5 Update translations + DOAP 2021-01-11 20:37:24 +01:00
Kim Alvefur
492df05b12
More XEPs in the DOAP file (#974)
* Add XEP-0245: The /me Command to DOAP

Supported since f277db6
ref #12

* Add XEPs to DOAP based on xmpp-vala/src/module/xep

Don't know what the completion status are of these, so only adding the
XEP reference.

* Add XEP-0222 to DOAP, implied by OMEMO support

* Add XEP-0398 since doing nothing is valid

* Add XEP-0410 to DOAP file

based on existence of xmpp-vala/src/module/xep/0410_muc_self_ping.vala
2021-01-10 17:12:31 +01:00
Emmanuel Gil Peyrot
a7aad09e8b Add logo and screenshots to the DOAP file
Given upstream is quite unresponsive, we are now using the
https://schema.org/ namespace for these properties.
2021-01-02 20:31:34 +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
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