Commit graph

162 commits

Author SHA1 Message Date
fiaxh 26e970a4d4 Colapse inactive keys in OMEMO keys dialog 2019-10-22 01:23:43 +02:00
fiaxh c032ab00ec Don't send delivery recipts or chat states for own messages
fixes #631
2019-10-22 01:23:08 +02:00
Marvin W 394862dbd3
Fix wrong size being reported for OMEMO encrypted HTTP file transfers
Fixes #630
2019-10-18 21:10:19 +02:00
fiaxh 8e6db8859c Plugins: Set UI texts in code instead of .ui files to fix translations
Co-authored-by: srgcdev <srg.dev@posteo.net>
2019-10-10 00:21:45 +02:00
fiaxh 7adb0e82fb Fix pubsub item listener notifying 2019-10-02 19:09:29 +02:00
fiaxh 74c29d4df1 Add Bookmarks2 implementation, introduce bookmarks interfaces 2019-09-29 01:53:59 +02:00
Marvin W 392cb472ab
Add support for JET-OMEMO 2019-09-16 23:31:11 +02:00
Marvin W e899668213
Add JET support 2019-09-16 23:31:11 +02:00
hrxi d5d305193c Fix some warnings
Instances of `RegexError` are just asserted as `assert_not_reached` as
they cannot really fail except for allocation failure if the given regex
is valid.
2019-09-10 19:36:11 +02:00
fiaxh d02f7b6a3a Fix runtime critical 2019-08-26 17:20:10 +02:00
fiaxh 0521afa3d8 Fix specified size for encrypted file uploads 2019-08-21 22:37:52 +02:00
fiaxh 3ad2891eb8 Set OMEMO devicelist + bundle node access model to public 2019-08-09 13:44:39 +02:00
fiaxh 08a5088c16 Rework encryption enabling logic + UI 2019-08-02 19:20:04 +02:00
Henrik Ullman 432074ff1b Fix Manage Key dialog string for verified keys (#588) 2019-07-28 16:42:54 +02:00
fiaxh f0abb8aaf9 Refactor file receive/send interfaces and UI 2019-07-18 02:03:42 +02:00
fiaxh 6c480b862e OMEMO: Add debug logs for incoming bundles 2019-07-08 18:46:30 +02:00
fiaxh 06db4d0aa6 OMEMO: Rename variables, refactor can_encrypt 2019-07-08 18:46:30 +02:00
fiaxh a7aa5130f8 OMEMO code cleanup: Move TrustLevel out of Database 2019-07-08 18:46:30 +02:00
fiaxh 837de4063d OMEMO: Move files to fitting subdirectory 2019-07-08 18:46:30 +02:00
hrxi c245f7e34a Fix a couple of typos and double imports 2019-06-01 17:13:33 +02:00
fiaxh 03f25e1f87 Remove Message.stanza field 2019-05-26 20:20:09 +02:00
fiaxh 6f6e4b97cb Use glib log functions 2019-03-15 22:01:34 +01:00
fiaxh a493269791 Fix OMEMO new device notifications appearing in wrong context 2019-03-14 23:00:27 +01:00
fiaxh 952ac95484 Use regex literals, fixes some compiler warnings 2019-03-14 17:39:31 +01:00
fiaxh 94eea332b1 Wait for account to be persisted before creating omemo_db.identity entry
fixes #128
2019-03-14 17:39:31 +01:00
fiaxh 161e4c1986 Add non-CSD alternative for more windows 2019-03-14 17:39:31 +01:00
Marvin W cc7b0aa7bd
Move GCM tag into per-device-encrypted area to be compatible with current OMEMO version, fixes #514 2019-03-07 20:17:56 +01:00
fiaxh 78ec625dbe Check for eme tag before adding fallback text for empty-body OMEMO messages 2019-02-20 01:48:07 +01:00
Thibaut Girka b97aa9b44b Add fallback text when a known to be OMEMO-encrypted message failed to decrypt 2019-02-17 17:18:34 +01:00
fiaxh 736522737f Make file read/write async 2019-02-14 00:04:01 +01:00
fiaxh 8b08d874fa Fix OMEMO decryption if MUC real_jid is not known (because sender is offline)
fixes #490
2019-01-09 00:59:28 +01:00
fiaxh 446e86d4ad Check FileTransfer's mime_type for null (unknown) when handeling it
fixes #479
2018-12-31 16:49:22 +01:00
fiaxh 680d28360c Check content_length for null before parsing in http HEAD message response
fixes #468
2018-11-29 16:30:20 +01:00
fiaxh 7c1d580e17 Fix aesgcm http file up/download bugs 2018-11-27 18:28:28 +01:00
fiaxh 141db9e40a Implement aesgcm encrypted file upload 2018-11-27 15:02:18 +01:00
fiaxh 01360a73ae FileProvider for aesgcm links
Co-authored-by: Thibaut Girka <thib@sitedethib.com>
2018-11-27 03:41:31 +01:00
Rahix 9e5f30487a Add a white border around QR-codes
Signed-off-by: Rahix <rahix@rahix.de>
2018-11-16 11:24:17 -06:00
Translations 45236d07bc Update translations 2018-11-14 21:31:47 +01:00
Licaon_Kter 38b532034f Fix Typo 2018-11-11 10:36:25 -06:00
Allan Nordhøy 57c6708e2d Spelling, added comma and ending dot. 2018-11-11 06:33:50 -06:00
Translations 2e21414225 Update translations
Arabic: ButterflyOfFire <ButterflyOfFire@protonmail.com>
Galician: Iván Seoane <ivanrsm1997@gmail.com>
Italian: Valerio Baldisserotto <svalo@libersoft.it>
Norwegian Bokmål: Allan Nordhøy <epost@anotheragency.no>
Romanian: Licaon Kter <licaon.kter@protonmail.com>
2018-11-10 18:02:58 +01:00
fiaxh 7e6668d283 Use QR-code icon for OMEMO QR-code button 2018-11-10 17:24:48 +01:00
Marvin W 214906e1a5
Hide OMEMO messages from untrusted sources 2018-11-10 08:05:54 -06:00
Samuel Hand 65a12021bc Solve a few compiler warnings 2018-08-14 02:00:39 +01:00
Samuel Hand 3c819a19e1 Properly decrypt messages from MUCs 2018-08-14 01:37:55 +01:00
Samuel Hand 65724233f0 Move formatting out of translatable strings in manage_key_dialog 2018-08-12 12:42:06 +01:00
Samuel Hand 380e5edc51 Change own-notifcation wording and add a default action 2018-08-12 12:16:42 +01:00
Samuel Hand e2932af18f Index consistently with the identity id 2018-08-12 11:04:40 +01:00
Samuel Hand b589275ab4 Actually perform the database update when changing blind trust 2018-08-11 15:56:30 +01:00
Samuel Hand 9b98428996 Un-dim fingerprint when accepting keys 2018-08-11 15:54:14 +01:00
Samuel Hand 72cb5b4f90 Fix OMEMO not working when the database is re-created for an existing account 2018-08-11 14:19:06 +01:00
Samuel Hand d7b5db1d9f Make strings translatable 2018-08-10 12:47:56 +01:00
Samuel Hand 8ebc2c5dd3 Fix mutual subscription detection 2018-08-10 01:40:20 +01:00
Samuel Hand 36cc8b0393 Code cleanup - move long database queries to their own functions and improve variable names 2018-08-10 00:45:22 +01:00
Samuel Hand e1afda10e3 Make constructors the first function 2018-08-09 15:29:15 +01:00
Samuel Hand b5d5a05a1e Indentation fixes 2018-08-09 15:19:02 +01:00
Samuel Hand 18419b3268 Show a verification QR code for an accounts own key 2018-08-08 22:02:51 +01:00
Samuel Hand cdaa29d7f0 Only send messages to active devices 2018-08-08 14:45:09 +01:00
Samuel Hand 14fc267e83 Minor UI improvements: use a stack for the key management dialog 2018-08-07 01:06:59 +01:00
Samuel Hand 0bfab9d1d9 Fix bug where OMEMO not avaiable with a newly added contact 2018-08-05 01:26:36 +01:00
Samuel Hand 01d26bffd8 UI update: make the trust management interface more user friendly 2018-08-03 19:07:23 +01:00
Samuel Hand e6069fa183 Mark messages from rejected and unknown devices 2018-07-29 13:31:57 +01:00
Samuel Hand 5d32a0ec3d Fix omemo not being available on first startup 2018-07-28 19:03:52 +01:00
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
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
Samuel Hand acbc5710d0 Enable key management for own keys 2018-07-09 14:16:23 +01:00
Samuel Hand 7da735b844 More database migration, update defaults and indexes 2018-07-06 20:14:51 +01: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 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 bbe578343e remove bundle requests so session creation doesn't fail 2018-06-03 17:53:05 +01: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 ef40b61734 Small fixes 2018-01-30 17:29:54 +01:00
fiaxh 57c72d2818 Pipeline for incoming messages in libdino 2018-01-28 13:37:53 +01:00
Marvin W 782ae4c049 Move Jid class to xmpp-vala, partially refactor namespace 2018-01-28 00:38:47 +01:00
Translations b482c57f3b Update translations 2017-12-31 22:57:21 +01:00
fiaxh cee39b0117 Rename resources to have a reverse DNS prefix 2017-12-03 21:43:19 +01:00
fiaxh 64774241e5 Fix memory leak 2017-11-23 01:28:29 +01:00
fiaxh de133218da Disconnect stanza listeners from pipeline 2017-11-22 00:40:41 +01:00
Translations ebf8d7ab01 Update translations 2017-11-18 19:43:59 +01:00
fiaxh 3f531d6b91 Read+(write) stream async 2017-11-16 17:43:00 +01:00
fiaxh 1d0745177e Replace deprecated function usages 2017-11-16 14:09:30 +01:00
fiaxh 0102abeec1 Fix warnings 2017-10-31 15:41:45 +01:00
fiaxh b9df78e449 Move DatabaseError handling into Qlite 2017-10-31 15:41:45 +01:00
Marvin W 9840774a87
omemo: store and display identity keys of all devices 2017-08-27 14:52:18 +02:00
fiaxh 8533ba6450 Handle xmpp ?join and ?message uris 2017-08-25 22:30:03 +02:00
Marvin W 7b395263c1
omemo: handle broken incoming key bundles
fixes #137
2017-08-24 15:58:32 +02:00
Marvin W 5dc460fc1a
libdino: remove dependency to GTK+ (all GTK+ code is in main+plugins) 2017-08-17 19:53:34 +02:00
fiaxh b0264b3e00 xmpp-vala: Remove require-functions 2017-08-14 22:38:17 +02:00
fiaxh 7bbbb738fd Get rid of manual storage objects for delegates 2017-06-13 20:12:40 +02:00
Marvin W 7e388fb2bc
signal-protocol/omemo: fix null-pointer issues
Fixes #44 and #58
2017-04-18 20:20:41 +02:00
fiaxh 9bc83539d1 Gettext support 2017-04-10 15:47:21 +02:00