Commit graph

888 commits

Author SHA1 Message Date
Samuel Hand 7e156b3a75 Code cleanup: create new trust management class 2018-07-25 21:27:26 +01:00
Samuel Hand f2283778f6 only allow OMEMO in members only MUCs 2018-07-18 21:42:33 +01:00
Samuel Hand c299a12b8e Send OMEMO messages in MUCs to offline members 2018-07-17 19:57:42 +01:00
Samuel Hand 56a0da154a Properly check if a MUC is viable for sending OMEMO messages 2018-07-17 19:47:07 +01:00
Marvin W 063d0146f9
QLite: Add OFFSET statement 2018-07-12 20:27:50 +02:00
Samuel Hand 74c48e6567 Enable encryption in MUCs 2018-07-11 18:17:57 +01:00
Samuel Hand 62ad56af21 Notify on a new own device 2018-07-11 13:20:02 +01:00
Marvin W 0ceaaadb20
QLite: Allow to easily fetch a single row from table 2018-07-11 01:10:26 +02:00
Samuel Hand acbc5710d0 Enable key management for own keys 2018-07-09 14:16:23 +01:00
Samuel Hand f3c82094cd
Merge branch 'master' into omemo-trust-ui 2018-07-07 12:12:31 +01:00
Samuel Hand 7da735b844 More database migration, update defaults and indexes 2018-07-06 20:14:51 +01: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 20fe944c2d Add a toggle switch for key management 2018-07-04 21:26:14 +01:00
Samuel Hand a3c0c24b7e Fix a bug where notifications wouldn't display upon a new device being added 2018-07-04 17:44:23 +01:00
Marvin W 638d81d67e More cleanup and database modifications 2018-06-26 15:42:02 +01:00
Samuel Hand 2a8352c543 Database migration and code cleanup 2018-06-19 11:26:31 +01: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 0bcdae34a5 Disable debug mode for the omemo plugin 2018-06-11 08:48:55 +01:00
Samuel Hand 40c6835600 Add trust management utilities to the omemo plugin 2018-06-11 07:11:22 +01:00
Samuel Hand 630df3a2ee Properly handle the case where the recipients device list hasn't been fetched 2018-06-08 02:37:50 +01:00
Samuel Hand 52e116ee44 remove bundle requests so session creation doesn't fail 2018-06-03 22:57:51 +02:00
Samuel Hand bbe578343e remove bundle requests so session creation doesn't fail 2018-06-03 17:53:05 +01: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
fiaxh ef40b61734 Small fixes 2018-01-30 17:29:54 +01:00
fiaxh 8c46c423c0 http-files: Report correct file size for encrypted files (slot request) 2018-01-28 23:26:37 +01:00