Commit Graph

231 Commits

Author SHA1 Message Date
Sorunome 62f63ebf1f Merge branch 'soru/olm-session-recovery' into 'master'
Adds olm session recovery

See merge request famedly/famedlysdk!355
2020-06-25 08:01:37 +00:00
Sorunome 5dda0c3623 Merge branch 'soru/cross-signing' into 'master'
Cross-Signing

See merge request famedly/famedlysdk!319
2020-06-25 07:53:30 +00:00
Christian Pauly e6cf5cb927 Fix direct chats 2020-06-25 06:59:03 +00:00
Christian Pauly 13b3c0df4d Add room tag support 2020-06-24 09:22:08 +00:00
Christian Pauly 2afd0bb3a8 Implement pinned events 2020-06-24 08:41:52 +00:00
Sorunome b109e75962
also restore on broken olm session 2020-06-24 09:27:36 +02:00
Sorunome 48c03865a2
make auth_data just a json object 2020-06-23 08:30:50 +02:00
Sorunome c4d09268a0
add key verification test 2020-06-15 13:12:59 +02:00
Sorunome e2c358f319
format 2020-06-15 10:48:35 +02:00
Sorunome c4491fe97b
fix 2020-06-15 10:42:10 +02:00
Sorunome a88460b9d5
also test storing a decrytped room udpate 2020-06-15 10:39:26 +02:00
Sorunome e874a5e00b
add signature verification tests 2020-06-15 10:26:50 +02:00
Sorunome 9b2952435f
add matrix api tests 2020-06-13 20:44:25 +02:00
Sorunome c233d57f9f
add online key backup test 2020-06-13 19:48:38 +02:00
Sorunome ef0a567401
finish ssss tests 2020-06-13 19:12:32 +02:00
Sorunome 7803dc4b93
add more tests 2020-06-13 10:56:39 +02:00
Sorunome 5334266529
Merge branch 'master' into soru/cross-signing 2020-06-10 16:25:08 +02:00
Sorunome f485ca29d8 Fix state attack 2020-06-10 14:17:57 +00:00
Sorunome f261f35712
Merge branch 'master' into soru/cross-signing 2020-06-10 11:33:24 +02:00
Christian Pauly 5487b62360 Hotfix OpenIdCredentials 2020-06-10 09:12:55 +00:00
Sorunome 7ddb6be30e
Allow requesting and updating of session keys with lower index and lower forwarded chain 2020-06-10 10:44:22 +02:00
Sorunome e1679d59be
better smoothen out keys 2020-06-06 14:28:18 +02:00
Sorunome 4154c7d0eb
format and some analyze 2020-06-06 13:47:37 +02:00
Sorunome 4c60369b8d
migrate to new thingy! 2020-06-05 22:03:28 +02:00
Sorunome d29fb9abfe
Merge branch 'soru/modularize-e2ee' into soru/cross-signing 2020-06-05 18:59:58 +02:00
Sorunome 22a5793e07
hopefully fix coverage 2020-06-05 15:34:13 +02:00
Sorunome 1c115ecf51
fix tests for real 2020-06-05 13:10:53 +02:00
Sorunome c47bdee9f5
Merge branch 'master' into soru/modularize-e2ee 2020-06-05 13:05:47 +02:00
Sorunome bd3c51924b to set presence you use PUT, not POST 2020-06-05 10:56:42 +00:00
Sorunome fe3a697a15
fix test for non-olm 2020-06-05 12:07:06 +02:00
Sorunome f065a92445
fix coverage 2020-06-05 11:32:02 +02:00
Sorunome 8358dec3a5
analyze and format 2020-06-05 10:56:51 +02:00
Sorunome 086dcae907
add key manager tests 2020-06-05 10:51:11 +02:00
Sorunome aa9764b511
finish up olm manager tests 2020-06-05 10:22:38 +02:00
Sorunome fbc8f03f67
encrypt m.room_key event properly 2020-06-05 10:15:36 +02:00
Sorunome 0b1d6ae8dd
split off into fake client 2020-06-05 09:59:37 +02:00
Sorunome e14cd61d6d
flutter analyze 2020-06-04 20:30:55 +02:00
Sorunome 05c799e6a5
format 2020-06-04 20:16:18 +02:00
Sorunome 8748545f67
add olm manager tests 2020-06-04 18:36:07 +02:00
Sorunome c94e41d393
fix tests for real 2020-06-04 18:16:22 +02:00
Sorunome f3f3231df6
add some encrypt / decrypt tests 2020-06-04 17:51:49 +02:00
Sorunome fcde6a2459
split encryption stuff to other library 2020-06-04 13:39:51 +02:00
Christian Pauly c6bf098644 Init matrix_api library 2020-06-03 10:16:01 +00:00
Sorunome 15be6c5244
stuff and things 2020-05-29 09:06:36 +02:00
Sorunome c65b5948fc
Merge branch 'master' into soru/cross-signing 2020-05-29 08:54:33 +02:00
Sorunome d672edf394 Make room key sharing requests (hopefully) more robust and spec-compliant 2020-05-29 06:49:37 +00:00
Sorunome 97a10c7de1
Merge branch 'master' into soru/cross-signing 2020-05-25 13:22:13 +02:00
Christian Pauly cbf5069e32 Add more tests 2020-05-25 09:34:43 +00:00
Sorunome c9a0c5302a
format 2020-05-22 13:18:45 +02:00
Sorunome 29721f00a8
Merge branch 'master' into soru/cross-signing 2020-05-22 13:18:36 +02:00
Christian Pauly 27b4a620e5 Add code formatting CI job 2020-05-22 10:12:18 +00:00
Sorunome ee9090b7a7
fix tests 2020-05-22 11:13:58 +02:00
Sorunome fc8625d30e clear timeline events cache on limited updates 2020-05-21 14:52:14 +00:00
Sorunome ead44e4014
fix tests and stuffs 2020-05-21 15:32:06 +02:00
Christian Pauly 066221b84d Make coverage visible again 2020-05-19 09:28:13 +00:00
Sorunome c5e4e2c751
decrypt events in sync loop, making it async 2020-05-19 09:49:37 +02:00
Christian Pauly a6c7d88f00 Add profile cache 2020-05-18 11:45:49 +00:00
Christian Pauly 81b9d79518 Merge branch 'soru/fix-lazy-session-keys' into 'master'
lazy-load group session keys

See merge request famedly/famedlysdk!293
2020-05-17 07:54:34 +00:00
Sorunome 06b601c41b lazy-load group session keys 2020-05-17 07:54:34 +00:00
Sorunome 9d1c7f16a5
add pill parsing to markdown 2020-05-15 21:00:10 +02:00
Sorunome f71826739c Switch to moor 2020-05-15 18:40:17 +00:00
Sorunome 2352eb406a add markdown parsing 2020-05-09 14:00:46 +00:00
Marcel 811589a895 [Room] Send correct filter on the messages endpoint
Took 6 minutes
2020-05-02 05:02:11 +00:00
Christian Pauly 6f5ebe4681 [MxContent] Switch to Uri Extension 2020-04-24 09:24:06 +02:00
Christian Pauly 0e61885821 [User] Format displayname 2020-04-23 09:46:10 +00:00
Christian Pauly 7c7a0f15e5 [Client] Remove lazyloadingcheck 2020-04-02 11:29:07 +00:00
Christian Pauly a3c5add79e [SDK] Refactoring with new linter rules 2020-03-30 09:08:38 +00:00
Christian Pauly 44ed403cd6 [Room] Request only 10 events on getTimeline 2020-03-20 08:59:29 +00:00
Christian Pauly f7b03f5668 [Room] Dont wait for send event while sending files 2020-03-17 07:55:25 +00:00
Christian Pauly 31b64a6631 [Room] Clear outbound session only if devices changed 2020-02-27 08:41:49 +00:00
Lukas Lihotzki 3c78f11f2c [MatrixFile] Use Uint8List instead of List<int> 2020-02-24 17:54:43 +01:00
Christian Pauly ac3a9a6b3a [Room] Implement key sharing 2020-02-21 15:05:19 +00:00
Christian Pauly 49e643625c [Client] Add debug prints 2020-02-20 07:28:15 +00:00
Christian Pauly 77b11d78db [Client] Implement device management 2020-02-19 14:26:38 +01:00
Christian Pauly f5b493f9bd [SDK] Add dart-olm library and update CI 2020-02-15 07:48:41 +00:00
Christian Pauly 3404cffada [Event] Add support for replies 2020-02-11 11:06:54 +00:00
Christian Pauly 9395b8fcd3 [Identifier] Implement string extension 2020-02-10 12:33:18 +01:00
Christian Pauly 24d08d83b9 [Client] Always claim own devices 2020-02-05 08:23:47 +00:00
Christian Pauly cabb5679a7 [Client] Add canonical json 2020-02-04 18:01:53 +01:00
Christian Pauly edd8aa5c4c Client feature add device tracking 2020-02-04 13:41:13 +00:00
Christian Pauly 995da7d255 [Client] Upload with StreamedRequest 2020-02-01 12:08:14 +00:00
Christian Pauly c710768937 [Event] Fix typo 2020-01-29 12:11:21 +00:00
Christian Pauly 0b393497f8 [Client] Add register methods 2020-01-14 15:16:24 +00:00
Christian Pauly 5fbeceb217 [SDK] Refactoring 2020-01-14 11:27:26 +00:00
Christian Pauly 27da3041b4 [Client] Fix openid method 2020-01-13 11:52:42 +00:00
Christian Pauly 0be548e4e9 [Client] Implement request openID 2020-01-12 11:30:05 +01:00
Christian Pauly de2872cfee Update lib/src/client.dart, lib/src/user.dart, lib/src/timeline.dart, lib/src/room.dart, lib/src/presence.dart, lib/src/event.dart, lib/src/utils/profile.dart, lib/src/utils/receipt.dart, test/client_test.dart, test/event_test.dart, test/presence_test.dart, test/room_test.dart, test/timeline_test.dart, test/user_test.dart files 2020-01-04 17:56:17 +00:00
Christian Pauly d0fbe45598 [Room] Enhance tests 2020-01-04 15:43:53 +01:00
Christian Pauly 90a06ebce5 [Client] Make callbacks to streams 2020-01-04 11:29:38 +01:00
Christian Pauly c72f38d5ec [Event] Fix types 2020-01-04 10:31:27 +01:00
Christian Pauly 7e71c5ad5f [SDK] Make analyzer much more happy 2020-01-02 15:33:26 +01:00
Christian Pauly 8e4a604f1f [SDK| Big refactoring 2020-01-02 14:09:49 +00:00
Christian Pauly 4c6c3715d9 [Connection] Throw MatrixErrors 2019-12-29 10:28:33 +00:00
Christian Pauly 496349078b [Archive] Fix requesting archive 2019-12-19 11:26:21 +00:00
Christian Pauly 311a39c50c [Room] Detect mimetype automatically 2019-12-18 11:46:25 +00:00
Christian Pauly bff394fbb5 [Event] Add support for redactions 2019-12-12 12:19:18 +00:00
Christian Pauly fd43196c9d [Room] New push rule methods 2019-12-04 09:58:47 +00:00
Christian Pauly 579570a19e Merge branch 'presence-enhance-features' into 'master'
[Presence] Enhance presences

See merge request famedly/famedlysdk!130
2019-12-04 09:39:07 +00:00
Christian Pauly c566948be5 [Client] Add profile getter 2019-11-30 10:36:30 +01:00
Christian Pauly 918bec4c09 [Presence] Enhance presences 2019-11-30 10:21:11 +01:00