Commit graph

6004 commits

Author SHA1 Message Date
Maxime NATUREL
4e4f72f241 Fixing code styling issues 2022-12-14 17:37:45 +01:00
Maxime NATUREL
dd13e1cb6d Fixing Copyright in SDK 2022-12-14 17:02:09 +01:00
Maxime NATUREL
66abda63ee Removing unused imports 2022-12-14 16:35:34 +01:00
Maxime NATUREL
bd7b6d6495 Adding unit test on task to fetch the poll response events 2022-12-14 16:33:27 +01:00
Maxime NATUREL
644803dcf3 Adding unit test on aggregation processor 2022-12-14 14:31:27 +01:00
Maxime NATUREL
9338ec9805 Mutualizing decryption of event 2022-12-14 11:49:41 +01:00
Maxime NATUREL
8b7c8e3351 Task to ensure aggregation of all poll responses when receiving ending poll event 2022-12-14 11:27:08 +01:00
Maxime NATUREL
8c88140b3c Updating Room API to clarify usage 2022-12-14 11:27:08 +01:00
Maxime NATUREL
fe5e4d6830
Merge pull request #7757 from vector-im/fix/mna/poll-end-not-recognized
[Poll] Poll end event is not recognized (PSG-948 and PSG-949)
2022-12-13 17:08:01 +01:00
valere
3abd68c153 fix compilation warning 2022-12-13 15:48:13 +01:00
Maxime NATUREL
851276978f Remove unused import 2022-12-13 15:47:30 +01:00
Maxime NATUREL
96e29d4d10 Renaming the name of the test file be consistent 2022-12-13 15:46:14 +01:00
Maxime NATUREL
71df1e61d4 Remove non necessary call when getting the targeted event id 2022-12-13 15:45:46 +01:00
valere
c3f439ea72 code quality 2022-12-13 15:27:13 +01:00
Nikita Fedrunov
3dadebe505
threads are enabled by default end forced to enabled for existing users (#7775) 2022-12-13 14:02:45 +01:00
valere
f541be4755 Merge branch 'develop' into feature/bca/rust_flavor 2022-12-13 11:52:46 +01:00
valere
d0807b9239 Fix test compilation 2022-12-13 11:50:06 +01:00
Valere
d05e10e10a
crypto migration tests (#7645)
Crypto migration tests

Co-authored-by: Benoit Marty <benoitm@matrix.org>
2022-12-13 11:38:49 +01:00
valere
3db82e629b Merge branch 'develop' into feature/bca/rust_flavor 2022-12-13 10:11:21 +01:00
valere
9680b044f9 Fix test crash 2022-12-13 09:48:15 +01:00
Onuray Sahin
250bd9c620
Merge pull request #7754 from vector-im/feature/ons/remove_client_information_account_data
Delete unused client information from account data (PSG-871)
2022-12-13 11:10:41 +03:00
Hugh Nimmo-Smith
34ee399f94
Merge pull request #7737 from vector-im/bugfix/hughns/qr-server-change 2022-12-12 18:21:39 +00:00
Onuray Sahin
9954045d30
Merge pull request #7740 from vector-im/feature/ons/remove_account_data
Handle account data removal (PSG-865, PSG-867)
2022-12-12 19:31:16 +03:00
Hugh Nimmo-Smith
21cbe52740 Lint 2022-12-12 16:30:34 +00:00
Hugh Nimmo-Smith
1930047ce1 Fix issue of QR not being offered where domain is entered instead of homeserver 2022-12-12 16:30:34 +00:00
valere
c52be1f5b1 Merge branch 'develop' into feature/bca/rust_flavor 2022-12-12 15:26:44 +01:00
valere
8c773b6d00 update crypto crate 2022-12-12 15:07:46 +01:00
Onuray Sahin
8c6c2dd5c2 Code review fixes. 2022-12-12 16:36:40 +03:00
Onuray Sahin
746fb7719a Code review fixes. 2022-12-12 13:39:56 +03:00
Maxime NATUREL
dba8aaea16
Merge pull request #7752 from vector-im/fix/mna/wrong-usage-of-stable-fields
Revert usage of stable fields in live location sharing and polls
2022-12-09 17:32:53 +01:00
Maxime NATUREL
bd91db66f8 Fixing retrieve of related event id in the end poll event during aggregation 2022-12-09 14:07:06 +01:00
Onuray Sahin
8206b534f9 Create a task to delete an event data with a given type. 2022-12-09 14:52:27 +03:00
Onuray Sahin
3d68233723 Support retrieving account data whose key starts with a string. 2022-12-09 14:51:23 +03:00
valere
438b456f8e quick incremental backup support 2022-12-08 22:53:16 +01:00
valere
4766bc709d Fix: ER showing shields in clear rooms 2022-12-08 18:06:05 +01:00
Maxime NATUREL
220b1d86c0 Reverting usage of some stable fields whereas related MSCs have not landed into the specs yet 2022-12-08 17:42:51 +01:00
Onuray Sahin
b09a00efda Code review fixes. 2022-12-08 17:11:09 +03:00
valere
bfe6207a63 Fix crash when no ER migration needed 2022-12-08 14:44:48 +01:00
Hugh Nimmo-Smith
7bbd91f2a9 Handle error whilst download key for self 2022-12-08 13:27:49 +00:00
Hugh Nimmo-Smith
3a2a916c2f Clarify comment 2022-12-08 13:27:49 +00:00
Hugh Nimmo-Smith
73fd93148a Download device keys for self prior to verification checks
Fixes https://github.com/vector-im/element-android/issues/7676
2022-12-08 13:27:49 +00:00
valere
14cee226c5 Merge branch 'develop' into feature/bca/rust_flavor 2022-12-08 13:37:43 +01:00
valere
d3ef5cc230 Merge olm to Rust migration 2022-12-08 11:59:46 +01:00
Onuray Sahin
055bf6d302 Revert unused companion object. 2022-12-07 21:41:22 +03:00
Florian Renaud
1a3ca7b1a0 Filter event types from decrypted content 2022-12-07 18:11:51 +01:00
Florian Renaud
6e5461f300 Stop filtering events with reference relationship when computing latest previewable event 2022-12-07 18:11:51 +01:00
Florian Renaud
4d6c04baf9 Add provider for custom event types 2022-12-07 18:11:51 +01:00
Florian Renaud
fdb8743ad3 Create provider package 2022-12-07 18:11:51 +01:00
Onuray Sahin
f4429d4c9c Handle sync response to delete user and room account data. 2022-12-07 18:58:14 +03:00
Onuray Sahin
765202e05a Add helper functions to delete user and room account data. 2022-12-07 18:17:43 +03:00
Valere
01533db4e0
Merge pull request #7713 from vector-im/feature/bca/to_device_tracing
add to device tracing id
2022-12-07 16:16:20 +01:00
Onuray Sahin
d244f7324c Add api functions to delete account data. 2022-12-07 18:12:25 +03:00
Amit Kumar
17d25e2597
Enable reset all and skip options (#7721)
* Dismiss bottomsheet on skipping verification

* Enable reset all and skip options

* Change ResetAll bottomsheet event to no-op for user verification

* Fix strings and improve state step logic in SharedSecureStorageViewModel
2022-12-07 19:40:22 +05:30
valere
63d2886415 use msgid in logs for consistency 2022-12-06 16:07:24 +01:00
valere
8646cc441d do not add tracing ids to verification events 2022-12-06 15:30:06 +01:00
Benoit Marty
ae93c07597 Do not propagate failure if saving the filter server side fails. This will be retried later. 2022-12-06 15:01:47 +01:00
valere
139eb1708c fix uncheck cast warning 2022-12-06 08:17:31 +01:00
valere
2ed212aa11 Fix copyright 2022-12-05 18:30:38 +01:00
valere
f2952f2dee add to device tracing id 2022-12-05 18:15:55 +01:00
valere
cba3c270f5 Reduce room list placeholder lags 2022-12-05 13:47:21 +01:00
valere
0953bc944d Fix test compilation | rust / crypto missing api 2022-12-05 13:46:35 +01:00
valere
adacd55a05 Fix backup authdata serialization 2022-12-05 13:45:58 +01:00
Maxime NATUREL
637961bbb1 Update related account data event on notification method change 2022-12-05 09:43:56 +01:00
Maxime NATUREL
14b21dc039 Adding use cases to create and delete notifications settings in account data 2022-12-05 09:43:56 +01:00
valere
03379a6636 Merge branch 'develop' into feature/bca/rust_flavor 2022-12-03 11:15:46 +01:00
valere
ae9711b7d1 Basic sentry e2e reporting for rust + decrypt trust 2022-12-02 18:24:23 +01:00
valere
b9045eb25f ktlint 2022-12-02 12:43:05 +01:00
valere
cb4720f6d5 CI update for ER 2022-12-02 12:40:48 +01:00
valere
17b8d3c97b fix unhandled exceptions and cleaning 2022-12-02 12:38:12 +01:00
valere
b0168dc633 fix compilation rust 2022-12-01 16:08:01 +01:00
valere
a110c9ee50 fix moshi number parsing for rust 2022-12-01 16:07:28 +01:00
valere
43421e3eb9 update doc 2022-11-30 19:09:13 +01:00
valere
304989f79c Fix copyrights 2022-11-30 18:15:42 +01:00
valere
9fbc0cdd46 fix compilation 2022-11-30 16:20:02 +01:00
valere
6e371b7d2d code quality 2022-11-30 16:01:11 +01:00
valere
b3d8b1527c cleaning 2022-11-30 15:14:31 +01:00
valere
501625c19d post rebase fix rust flavor 2022-11-30 12:10:34 +01:00
valere
a9b970832e Merge branch 'develop' into feature/bca/rust_flavor 2022-11-30 11:05:32 +01:00
Benoit Marty
52477aa9d5 version++ 2022-11-30 11:03:58 +01:00
valere
bb16d77ec6 fix QR verification 2022-11-30 00:10:46 +01:00
valere
f8d6511c59 rust sas state mapping 2022-11-29 11:22:21 +01:00
valere
fb1995e9c9 only check moshi numbers for rust-sdk 2022-11-29 11:21:54 +01:00
valere
d9342707fd update rust-sdk bindings 2022-11-28 21:48:46 +01:00
Florian Renaud
49199bd5e2
Merge pull request #7611 from vector-im/feature/fre/voice_broadcast_deletion
Be less restritive when pruning redacted events
2022-11-28 13:57:40 +01:00
Florian Renaud
dd81584076 Ad default value to MessageStickerContent.body in case of redaction 2022-11-28 12:12:49 +01:00
Nikita Fedrunov
5aeca1f81a
saving sync filter changed (#7627) 2022-11-28 09:48:28 +01:00
Florian Renaud
a8f3bb1d4e Remove to-device events from event type filtering for redaction 2022-11-25 14:42:46 +01:00
Florian Renaud
5a43b76488 Log a warning if the event content is not pruned 2022-11-25 14:42:45 +01:00
Florian Renaud
2477632e2b Fix exception when getting models on some redacted event
An exception was triggered because the excepted model body was null for redacted events
2022-11-25 14:42:45 +01:00
Florian Renaud
0209cc4969 Prune redacted events which are not explicitly restricted 2022-11-25 14:42:45 +01:00
Florian Renaud
eb12b1c99b Use StableUnstableId object for some event types 2022-11-25 14:42:45 +01:00
Nikita Fedrunov
9349b1ae15
read receipt migration added (#7640) 2022-11-25 14:24:14 +01:00
Nikita Fedrunov
18bcc83a46
added read receipts for threads (#7474) 2022-11-25 09:49:06 +01:00
Valere
035b1ebedc
Merge pull request #7594 from vector-im/feature/bca/better_edit_validation
Better edit (replace handling)
2022-11-24 17:22:41 +01:00
Valere
bec8b5f71e code review 2022-11-24 12:45:35 +01:00
Valere
c06eca6936 Migration test and cleaning 2022-11-24 12:45:35 +01:00
Valere
ca907df94b kdoc fix 2022-11-24 12:45:35 +01:00
Valere
2819957585 fix edit display flicker with local echo 2022-11-24 12:45:35 +01:00
Valere
e5d3206b6f code review 2022-11-24 12:45:35 +01:00
Valere
d759f26db6 fix fake awaitTx 2022-11-24 12:45:35 +01:00