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
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
a22146fd72
Display placeholder avatar while loading
2020-09-12 12:54:37 +02:00
fiaxh
c01d09d519
Improve message resending
2020-09-10 19:35:05 +02:00
fiaxh
b60e7da28a
Fix message duplication in MUC PMs
2020-09-07 15:29:32 +02:00
fiaxh
2d31d9d470
Cleanup
2020-09-07 15:21:42 +02:00
fiaxh
49bcbdaa51
Fix initial file encryption displaying
...
fixes #831
2020-09-07 15:14:29 +02:00
fiaxh
e327a88898
Don't clear MAM id times on stream negotiated
2020-09-02 16:21:00 +02:00
fiaxh
e6a90fc25c
Implement MUC self ping
2020-08-31 16:48:20 +02:00
fiaxh
b104be4842
Don't create a second message object for each typing notification
2020-07-22 18:36:04 +02:00
fiaxh
7309c6f3ac
Visually highlight pending messages, improve resending
2020-07-16 23:31:19 +02:00
fiaxh
e159fd2492
Only query entity caps when we need them
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
8e3462b1b7
Fix unread bubbles having wrong color on startup
2020-07-15 18:12:19 +02:00
codedust
86420fdef1
Show bubble containing the number of unread messages in the conversation list ( #764 )
...
Co-authored-by: codedust <codedust@users.noreply.github.com>
Co-authored-by: fiaxh <git@lightrise.org>
2020-07-06 21:52:33 +02:00
Marvin W
48964bc5cc
Don't strip() at XML layer
2020-06-28 11:53:43 +02:00
fiaxh
0b1fb30a83
fixup Fetch avatars only when they are used
2020-06-23 15:57:26 +02:00
fiaxh
6d41071da1
Recreate avatar database table, fixes unique constraint
2020-06-11 00:03:30 +02:00
fiaxh
0beb592c5a
Use sqlite UPSERT
2020-06-10 23:40:00 +02:00
fiaxh
50c55c7f55
Fetch avatars only when they are used
2020-06-10 19:53:56 +02:00
fiaxh
40c66bc584
Fix runtime critical
2020-06-03 21:50:40 +02:00
fiaxh
8fe723bccb
Fix cyclic references => let objects be freed
2020-06-03 21:50:40 +02:00
fiaxh
a9e6a9c3d5
Code cleanup
2020-06-03 21:50:40 +02:00
fiaxh
d01af5b520
Fix compiler warnings
2020-06-03 21:50:40 +02:00
fiaxh
71be2abb6a
Store last read content item for conversations
...
fixes #495
2020-06-03 21:50:40 +02:00
fiaxh
b5066e0e2f
Check if server supports uid
2020-06-03 21:50:40 +02:00
fiaxh
d39128ffd7
Store current resource for sent message (if server didn't give us the resource we asked for)
...
Some servers give out random resources. Then, we didn't deduplicate own messages afterwards because we saved the wrong resource.
2020-05-24 16:01:03 +02:00
fiaxh
bbbd9eda00
Fix crash in clear_all_chat_states (it removed an entry from a HashMap while iterating over it)
2020-05-21 22:04:46 +02:00
fiaxh
cd3a119eff
Handle incoming own read marker in private MUCs
2020-04-28 23:56:53 +02:00
fiaxh
af52c24df7
Fix nick change in MUC, update bookmark accordingly; remove unused code
2020-04-26 00:20:27 +02:00
fiaxh
f8f305efe5
xmpp-vala: Use more async
2020-04-24 14:19:42 +02:00
fiaxh
1db94905ae
Fix runtime critical from read marker sending (fixup 3a8fef7
)
2020-04-24 14:18:24 +02:00
fiaxh
e7bc68ad4d
Handle entity hash in server features node, make ServiceDiscovery request_info/items async, add caching has_entity_feature
2020-04-24 14:18:24 +02:00
Anmol
2631a9bdba
voice handling in moderated groups ( #788 )
2020-04-22 20:04:03 +02:00
fiaxh
51a2372869
Add file upload preview
...
fixes #756
2020-04-22 15:44:12 +02:00
fiaxh
7c4260eed7
Remove features from service discovery module when detaching module from stream
...
fixes #179
fixes #812
2020-04-21 16:25:21 +02:00
fiaxh
3a8fef7b7b
Improve message read markers for MUCs
2020-04-21 16:25:01 +02:00
kmq
2419bf3b15
Update last_activity before received_file signal to keep UI in sync ( #811 )
...
Fixes #791 where a signal to update the UI is sent to
late when sending files, resulting in an out of sync
conversations list.
2020-04-18 17:18:25 +02:00
fiaxh
13d3d2aca6
Handle unknown own MUC jid better
2020-04-14 16:33:53 +02:00
fiaxh
5b2683dfa5
Last message correction fixes
2020-04-06 15:33:43 +02:00
fiaxh
d091a6c3cd
Add keyboard shortcut (up key) to activate last message correction
2020-04-05 16:19:56 +02:00
fiaxh
871ff33ac7
Add support for last message correction
2020-04-03 22:49:59 +02:00
fiaxh
12cd56612d
Store entity identity info, use it in conversation list tooltips
2020-03-29 20:24:39 +02:00