Commit graph

977 commits

Author SHA1 Message Date
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
selurvedu 06177701bf
Global search: Display dates in local timezone (#855)
This fixes message dates being displayed in UTC in the message search
sidebar.

Co-authored-by: selurvedu <selurvedu@users.noreply.github.com>
2020-05-20 21:37:13 +02:00
Translations 82ce2426c1 Update translations 2020-05-17 20:07:48 +02:00
Translations c6cf90a923 Update translations 2020-05-16 19:14:54 +02:00
fiaxh 74b511593d Convert '<' back to '&lt;' in factors of the XEP-0115 verification string 2020-05-14 13:22:25 +02:00
fiaxh cd3a119eff Handle incoming own read marker in private MUCs 2020-04-28 23:56:53 +02:00
fiaxh 3b6e8700b4 ConversationSummaryView: Fix crash when accessing content_item's first() or last() if the TreeSet is empty 2020-04-28 23:11:08 +02:00
fiaxh af52c24df7 Fix nick change in MUC, update bookmark accordingly; remove unused code 2020-04-26 00:20:27 +02:00
fiaxh ee9795d8f4 Handle if Items/InfoResult are null 2020-04-25 16:15:43 +02:00
selurvedu 231df1bbbb
Prevent dino from sending whitespace only messages (#821)
Fixes #774.

Co-authored-by: selurvedu <selurvedu@users.noreply.github.com>
2020-04-24 14:35:47 +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
fiaxh 9661116d78 Remove unused file (fixup 51a2372) 2020-04-24 14:18:09 +02:00
Marvin W 759cb66b3d
Exclude valac versions affected by #816 from using fast vapi 2020-04-22 23:59:12 +02:00
Marvin W 204455afd2
Fix rare issue with incorrect link parsing 2020-04-22 23:58:02 +02:00
Marvin W caad5ff763
Small fixes to moderation 2020-04-22 23:57:12 +02:00
selurvedu a74d44ad93 Fix mouse hover highlighting the wrong message
Fixes #795.
2020-04-22 20:13:24 +02:00
selurvedu 1f4899df16 Improve message highlighting logic 2020-04-22 20:13:24 +02:00
selurvedu b73ec9e0ca Fix late highlighting of conversation items
If the pointer was moved from outside to a conversation item with a
straight horizontal move, the conversation item was not getting highlighted.
2020-04-22 20:13: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
kmq fcad6720e6
HTTP-Upload: parsing max-file-size attribute (#809)
When a server returns multiple <x/> elements
in response to a discinfo query, this change
uses all of them instead of just the first one.
2020-04-17 19:50:10 +02:00
fiaxh 13d3d2aca6 Handle unknown own MUC jid better 2020-04-14 16:33:53 +02:00
Marvin W fbd70ceaac
Bump libsignal-protocol-c version to 2.3.3 2020-04-13 19:56:45 +02:00
fiaxh bcbd5f0807 Fix FileWidget sometimes showing two states 2020-04-13 13:00:41 +02:00
Translations 5b9199e7d4 Update translations 2020-04-12 22:35:42 +02:00
Echolon d101f53533
Update README.md (#767) 2020-04-12 21:34:08 +02:00
Allan Nordhøy 28edd1ed14
Shortened sentence, "use the %s account" (#807) 2020-04-12 21:32:18 +02:00
Translations d3e58291e7 Update translations 2020-04-11 00:28:51 +02:00
fiaxh ff4403fb21 Clean up file widget code 2020-04-10 21:08:23 +02:00
fiaxh bd8063284c Fix runtime criticals when showing resource identites on conversation row hover 2020-04-07 13:06:21 +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 8f75954188 Fix unencrypted message warning when switching between encryptions 2020-04-05 16:14:49 +02:00
fiaxh 871ff33ac7 Add support for last message correction 2020-04-03 22:49:59 +02:00
fiaxh 1c8e15c408 Fix message markup parsing for single characters 2020-04-03 20:59:47 +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 2f52291be5
Fix issue rendering messages outside reachable scroll area
Related: https://gitlab.gnome.org/GNOME/gtk/-/issues/2556
2020-04-01 00:30:37 +02:00
fiaxh 12cd56612d Store entity identity info, use it in conversation list tooltips 2020-03-29 20:24:39 +02:00
fiaxh 853dfa2d6f Visually mark unencrypted messages if conversation is encrypted 2020-03-29 20:24:39 +02:00
fiaxh 1016529c36 Visually mark OMEMO messages from a trusted device as trusted 2020-03-29 20:24:39 +02:00
fiaxh c029da49bc Warn about undecrypted and untrusted messages 2020-03-29 20:24:38 +02:00
mbeko a6a92487d6
Add alternative character sequence for kiss emoji (#784) 2020-03-28 13:48:07 +01:00
fiaxh 1fd045236b Update time labels in conversation view at the moment they actually change 2020-03-26 15:27:48 +01:00
mbeko 5a98d2919b Change UI messages for more clarity 2020-03-24 22:19:38 +01:00