Commit graph

762 commits

Author SHA1 Message Date
fiaxh 8e3462b1b7 Fix unread bubbles having wrong color on startup 2020-07-15 18:12:19 +02:00
Alyssa Rosenzweig 932140cdd4
dino: Center phone/laptop icon in tooltip (#878)
So it lines up nicely with the text instead of being awkwardly raised
above the text.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
2020-07-13 10:41:39 +02:00
Marvin W 6aa08a3282
Some locales need more than 2 chars for AM/PM, make the buffer a bit larger 2020-07-08 11:23:37 +02:00
Marvin W 3e08fc2f92
Use strftime() instead DateTime.format(), fixes #875 2020-07-08 11:05:02 +02:00
fiaxh a21ddefbb9 Show dark unread counts for notifying conversations, light ones otherwise 2020-07-06 21:52:33 +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
Kim Alvefur 23c0216853
Fix messages mistakenly treated as /me command (#872)
Per XEP-0245 only messages that start with "/me " (with the trailing
space) should treated as 3rd person actions.
2020-07-02 11:51:30 +02:00
Marvin W 2824dedd22
Change test code for older vala compat 2020-06-28 13:00:17 +02:00
Marvin W c16fbdd19f
Clean up some image rendering code 2020-06-28 11:53:43 +02:00
Marvin W af98b8ea0f
Fix rare 1 byte buffer over-read 2020-06-28 11:53:43 +02:00
Marvin W 48964bc5cc
Don't strip() at XML layer 2020-06-28 11:53:43 +02:00
Marvin W 8f8018ec81
Fix async tests 2020-06-28 11:53:43 +02:00
Marvin W 717d0b7fca
Make Travis CI use debian stable in docker 2020-06-23 17:00:11 +02:00
Marvin W 1f506cec42
Do not use GNOME specific setting for 24 hours 2020-06-23 17:00:11 +02:00
fiaxh c6173db983 Focus textinput after closing file send dialog
fixes #867
2020-06-23 16:00:39 +02:00
fiaxh 0b1fb30a83 fixup Fetch avatars only when they are used 2020-06-23 15:57:26 +02:00
fiaxh 886a519d85 Don't offer encryption in MUC PMs 2020-06-23 15:54:12 +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 daf803e773 Fix voice request notification 2020-06-06 22:24:29 +02:00
fiaxh b72ea08d03 Show unencryptable/untrusted OMEMO warnings also in MUCs
fixes #857
2020-06-05 01:28:42 +02:00
fiaxh d5e036596b Only consider first file if multiple ones are drag and droped
fixes #818
2020-06-04 20:08:02 +02:00
fiaxh e3724f96ed Fix runtime critical in entity capabilities hashing 2020-06-04 14:08:41 +02:00
fiaxh cdc505f550 Add image sending via clipboard paste
fixes #385
2020-06-04 14:07:51 +02:00
fiaxh 8a64c8501d Add shortcuts for search (CTRL+F) and file upload (CTRL+U)
fixes #806
2020-06-03 21:50:40 +02:00
fiaxh 2f40726f55 Fix runtime critical 2020-06-03 21:50:40 +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
Jordi Mallach 1c59a3870d
Add missing ellipsis, in line with similar strings (#862) 2020-05-27 22:26:03 +02:00
Jordi Mallach 4e39af1861
Update Catalan translation. (#861) 2020-05-27 21:20:07 +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
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