Commit graph

290 commits

Author SHA1 Message Date
bobufa
b35abad054 fix wrong conversation being prefilled 2018-08-13 22:39:18 +02:00
bobufa
d025387ab9 fix message filter in conversation view for first message 2018-08-13 22:39:18 +02:00
bobufa
ec25ecf202 filter out messages outside the range of displayed messages 2018-08-13 22:39:18 +02:00
bobufa
a645728624 hide search bar when clicking outside of it, only reset search entry on conversation change 2018-08-13 22:39:18 +02:00
bobufa
e376a577b6 improve sidebar UI
- only display messages that are content items
- only display messages for active accounts
- "fix" textview issue
- add empty states (no search, no results)
2018-08-13 22:39:18 +02:00
bobufa
4901b09670 add search filter expressions 2018-08-13 22:39:18 +02:00
bobufa
2e2a9a2390 accumulate conversation content in meta db table 2018-08-13 22:39:07 +02:00
bobufa
61915ca566 initial search logic / display 2018-08-13 22:31:22 +02:00
bobufa
8b23ddad2d ui: search sidebar initial 2018-08-13 22:28:45 +02:00
bobufa
babfc3bd36 qlite: add basic (outer) join functionality 2018-08-13 22:25:34 +02:00
bobufa
760fd4cb26 load+display later messages when scrolling down 2018-08-13 22:05:04 +02:00
bobufa
443e7ee49d fix local_time field of message and file_transfer being loaded from time db column 2018-08-13 22:05:04 +02:00
bobufa
3ea00446fb refactor conversation item management (accumulate them in libdino) 2018-08-13 22:04:47 +02:00
bobufa
ab0bc7f04d enable fts for the body of messages 2018-08-13 21:55:48 +02:00
bobufa
c4928d4648 add support for fts tables to qlite 2018-08-13 21:55:44 +02:00
fiaxh
ee5c838a6b Fix MUC messages from others being marked as read 2018-08-06 00:53:59 +02:00
fiaxh
41c333263b pgp: Fix checking wrong variable for null 2018-08-06 00:52:11 +02:00
fiaxh
a19f988301 Support MUC avatars 2018-07-31 17:49:10 +02:00
fiaxh
2e5977df96 Fire signal on subscription approval 2018-07-30 00:00:56 +02:00
Marvin W
063d0146f9
QLite: Add OFFSET statement 2018-07-12 20:27:50 +02:00
Marvin W
0ceaaadb20
QLite: Allow to easily fetch a single row from table 2018-07-11 01:10:26 +02:00
Translations
3a00177a51 Update translations
Basque: Aitor Beriain <beriain@bitmessage.ch>
Dutch: Nathan Follens <nathan@email.is>
Finnish: mjlapin <muu@kapsi.fi>
Flemish: Nathan Follens <nthn@unseen.is>
Italian: Valerio Baldisserotto <svalo@libersoft.it>
Luxembourgish: Dennis Fink <dennis.fink@c3l.lu>
Norwegian Bokmål: Allan Nordhøy <epost@anotheragency.no>
Portugese (Brazil): 5lm31d5 <jeanrk15@gmail.com>
Romanian: Licaon Kter <licaon.kter@protonmail.com>
Russian: nvlgit <nvlbox@gmail.com>, Alexander <ilabdsf@gmail.com>
Spanish: mgueji <miguejim@mailbox.org>
2018-07-05 09:22:44 -06:00
Samuel Hand
df8b5fcb72 Properly handle the case where the recipients device list hasn't been fetched 2018-06-14 23:12:25 +02:00
fiaxh
babe987dcb Don't handle error message stanzas as normal messages 2018-06-14 23:12:25 +02:00
Samuel Hand
52e116ee44 remove bundle requests so session creation doesn't fail 2018-06-03 22:57:51 +02:00
Jordi Mallach
60982bff67 Update Catalan translation. 2018-05-28 16:22:01 +02:00
Samuel Hand
62e5e6485e Implement XEP-0380 for the OMEMO and OpenPGP plugins (#359)
* Implement XEP-0380 in a naive fashion for both the OMEMO and OpenPGP plugins

* Move the XEP-0380 namespace to a constant

* Move the implementation for xep-0380 to its own module

* Remove un-needed lines from plugins/openpgp/src/stream_module.vala
2018-05-28 16:19:51 +02:00
fiaxh
5425243203 Fix empty display names, fix update contact roster name 2018-05-10 22:17:19 +02:00
fiaxh
e852a0a60b Move chat input to .ui file, fix smiley conversion on enter 2018-05-10 22:17:19 +02:00
Translations
4067e45779 Update translations
Arabic: ButterflyOfFire <ButterflyOfFire@protonmail.com>
Basque: Aitor Beriain <beriain@bitmessage.ch>
Chinese (Simplified): 朱陈锬 <201603748@stu.lzjtu.edu.cn>
Esperanto: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Finnish: mjlapin <muu@kapsi.fi>
Flemish: Nathan Follens <nathan@email.is>
French: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Italian: Valerio Baldisserotto <svalo@libersoft.it>
Japanese: Mako N <mako@pasero.net>
Luxembourgish: Dennis Fink <dennis.fink@c3l.lu>
Norwegian Bokmål: Allan Nordhøy <epost@anotheragency.no>
Romanian: Licaon Kter <licaon.kter@protonmail.com>
Spanish: mgueji <miguejim@mailbox.org>
2018-05-01 00:24:57 +02:00
fiaxh
c1533f2577 Redesign chat input + move file upload there 2018-04-30 11:03:59 +02:00
Michael Vetter
f0dd0e0c3a Rename 'start chat' into 'start conversation' 2018-04-30 10:45:35 +02:00
Mathieu Bridon
0d5735d22e Add an appdata file
This allows "app center" applications like GNOME Software and Plasma
Discover to show Dino in all its glory, so users can install it simply.
2018-04-29 14:30:00 +02:00
fiaxh
e80da80602 Add image preview to file choosers
Co-authored-by: Thibaut Girka <thib@sitedethib.com>
2018-04-19 15:41:47 +02:00
fiaxh
6f27c3e58f openpgp: Fix invalid iter in key selection dialog
On empty pgp keyring the key selection dialog would display a label "No Keys available"
which subsequently while selecting different accounts would disappear.

Co-authored-by: Gnoxter <gnoxter+github@linuxlounge.net>
2018-04-17 22:14:18 +02:00
fiaxh
c656c7e9c2 small fixes 2018-04-17 22:13:05 +02:00
Marvin W
105006c5f1
Merge pull request #220 from bochecha/pkgconfig
Find libraries with pkgconfig
2018-03-28 12:25:28 -06:00
Mathieu Bridon
06c4a8ffd6 Find libraries with pkgconfig
This is necessary for Flatpak, because Yocto messes with the
/usr/bin/*-config files, and really wants everyone to use pkgconfig.

A fallback is kept to build on platforms which don't have pkgconfig for
those libraries.
2018-03-28 15:52:42 +02:00
bobufa
fefa28c4ef Prefill nick with local alias when joining a non-bookmarked MUC
fixes #223
2018-03-27 15:04:33 -06:00
Translations
7ecb0e614b Update translations 2018-03-24 15:33:17 -06:00
Thibaut Girka
c712e6ed4a Do not mark messages as read if they are only marked as received 2018-03-22 09:31:23 -06:00
fiaxh
4ccdc1d092 Small connection fixes 2018-03-10 20:01:22 +01:00
fiaxh
c6ff25cc7a Only assume UUID to be unique for one counterpart+account when deduplicating 2018-03-10 20:01:22 +01:00
fiaxh
c8f68678be Recognize own MUC messages from other device 2018-03-10 20:01:22 +01:00
fiaxh
81310dff2e Handle multiple chat state notifications per bare jid
fixes #117
2018-03-10 20:01:22 +01:00
fiaxh
0968da1ff7 Only notify on last MAM message, only if not read
fixes #293
2018-03-06 21:55:31 +01:00
fiaxh
a8ee61b34c Move notification sounds (canberra dependency) into plugin, introduce libdino/NotificationEvents 2018-03-05 15:43:02 +01:00
Rahix
08c8b9c6d6 Implement notification sounds
Add a new setting to toggle notification sounds on or off. Plays the
systems default instant messaging message sound (message-new-instant)
whenever a notification is shown if toggled on.
2018-02-17 21:51:02 +01:00
fiaxh
5436d716c0 Use correct host name for TLS when using xmpps 2018-02-11 10:57:43 -06:00
linkmauve
845f98c1d4 Add forgotten strings to translations (#282) 2018-02-02 02:42:20 +01:00