Commit graph

801 commits

Author SHA1 Message Date
Christian Pauly df2cfb3faf fix: Ask only own devices on automated key requests 2020-09-16 13:42:05 +02:00
Christian Pauly b05e4da34f fix: Last event calculation 2020-09-16 10:23:37 +02:00
Sorunome d9c4472cac
feat: Add emote helpers 2020-09-15 19:03:55 +02:00
Sorunome c90e18b55d
fix: Handle domains with port or ipv6 addresses correctly 2020-09-15 12:40:29 +02:00
Sorunome cb1ec86b32
feat: Periodically fetch ssss secrets from other devices 2020-09-10 14:46:30 +02:00
Sorunome 2c7ae759f8
fix: Remove potential race conditions and database issues with OTK upload 2020-09-10 14:07:25 +02:00
Sorunome b5ac500136
fix: Handle failed to send messages in low network significantly better 2020-09-10 13:19:58 +02:00
Sorunome bbc1b63695
feat: Auto-verify own master key, if there is a valid signature chain within the same account 2020-09-10 13:04:24 +02:00
Sorunome 64b8e01444 fix: Handle duplicate indexes properly 2020-09-10 10:48:59 +00:00
Sorunome e08f35b5d0
fix: Don't trust the info block of events 2020-09-10 11:12:52 +02:00
Christian Pauly 5d45c224a3 fix: Mark pending events as failed on startup 2020-09-10 10:01:44 +02:00
Sorunome aa9940fdbc
fix: Room.requestUser sometimes throws an error 2020-09-10 09:37:56 +02:00
Sorunome 99d536b14f
feature: Upload to online key backup 2020-09-09 09:53:26 +02:00
Christian Pauly 8899f4c677 fix: Remove logs in event constructor trycatch 2020-09-08 09:19:26 +00:00
Sorunome 8a104b34ff
fix: potentially fix SSSS passphrase not working for some accounts 2020-09-07 16:31:29 +02:00
Sorunome f7e63097b4 chore: Update emotes to match MSC 2020-09-07 09:34:14 +00:00
Christian Pauly 8a0cc70cfe fix: prev content error log in web 2020-09-07 11:16:52 +02:00
Lukas Lihotzki e6d96ad8ed feat(sync): configurable sync 2020-09-07 11:03:24 +02:00
Sorunome 54a128d2c5
fix: Properly detect sicket message types 2020-09-06 15:40:12 +02:00
Sorunome 5863c8e168
fix: Run advanced things in database handling in their own separate zone 2020-09-06 15:06:41 +02:00
Sorunome 089ce88b57
chore: Add tests to Event.downloadAndDecryptAttachment 2020-09-04 11:00:56 +02:00
Christian Pauly e90793bef1 fix: Last message sort order 2020-09-04 09:48:35 +02:00
Christian Pauly 9142dcbeec fix: Database error handling 2020-08-26 09:40:30 +02:00
Christian Pauly 6fbee4ee05 test: Integrate E2EE tests 2020-08-25 13:19:57 +00:00
Christian Pauly 35e48f9641 Fix: prev_content error message 2020-08-25 09:40:30 +00:00
Christian Pauly c46f4ba066 refactor: timeline 2020-08-22 07:10:46 +00:00
Lukas Lihotzki d6b97b8e78 feat: safe dispose while _sync 2020-08-21 17:20:26 +02:00
Christian Pauly 09ffa09404 Ignore old webrtc invites 2020-08-19 07:20:16 +00:00
Christian Pauly 0d159c2db4 Fix: Send messages in web delay 2020-08-19 09:08:30 +02:00
Sorunome 631b28eab2
fix: Migrations don't fail anymore if they were partly completed 2020-08-18 14:00:42 +02:00
Christian Pauly 84c27129d2 Hotfix: Send correct message type 2020-08-17 16:29:29 +02:00
Sorunome ea59c4bd94
refactor(keybackup): Update database for stored megolm keys to prepare for proper online key backup 2020-08-17 09:10:51 +02:00
Sorunome 20d72eb8d7
fix: Event statuses progress and are saved correctly 2020-08-17 08:54:16 +02:00
Christian Pauly cbc66ea308 Fix unencrypted calls 2020-08-17 08:46:04 +02:00
Christian Pauly 50d97ebeb2 Fix unencrypted call events 2020-08-15 16:05:11 +02:00
Christian Pauly 215563ab92 Fix wrong call types 2020-08-15 15:17:17 +02:00
Christian Pauly a288216e03 Add call state localizations 2020-08-15 14:46:08 +02:00
Christian Pauly 61b32e0bd9 Hotfix client 2020-08-14 18:22:31 +02:00
Christian Pauly a861ceed5f Fix turn server credentials type 2020-08-14 14:54:19 +02:00
Sorunome 3d2476cfdb fix: Have matrix id string extension obay the proper grammar 2020-08-13 09:03:44 +00:00
MTRNord 26586b6f02
style: Change package:famedlysdk imports to relative imports
Changing the imports from `package:famedlysdk` to relative imports allows us to easier move the files

Took 2 minutes
2020-08-13 10:40:39 +02:00
Christian Pauly fb9b505988 Krille/make client extend matrixapi 2020-08-11 16:11:51 +00:00
Sorunome 574fe27101
feat: Add Event.getDisplayEvent, which fetches an event based on all edits etc. 2020-08-11 13:44:42 +02:00
Christian Pauly c184dfba6b Don't show potential session keys in logs 2020-08-10 10:42:14 +02:00
Christian Pauly 6170c79fe1 Improve logging 2020-08-06 09:35:02 +00:00
Christian Pauly 6779ab6624 Deprecate debug mode 2020-08-06 07:09:32 +00:00
Sorunome 2796ca613a Fix resending messages reusing an existing transaction id 2020-08-06 06:51:06 +00:00
Daniel Schaefer ede4fd1416 Implement function to send m.location event
Allows to share the location with a room.
2020-08-05 23:01:03 +02:00
Christian Pauly bbd5749aec Fix storing of event status 2020-08-05 05:57:10 +00:00
Christian Pauly a11a0b5925 Add example 2020-08-05 05:57:02 +00:00
Sorunome e1fa4983d0 try...catch fetching all encrypted devices, in case we aren't in a room 2020-08-04 09:17:52 +00:00
Christian Pauly fe700b229c Fix prev_content bug 2020-08-04 08:26:33 +00:00
Christian Pauly d4a7345b8a Enable transactions again to fix web 2020-08-03 13:28:30 +00:00
Christian Pauly 938540eca5 Detect the file message type 2020-08-01 13:04:03 +00:00
Sorunome 18a790be84 put key request in try...catch 2020-08-01 07:06:39 +00:00
Christian Pauly dc1ed0c6e2 Use SyncUpdate for pending messages 2020-07-30 08:48:47 +00:00
Christian Pauly 5bf52664e1 Merge branch 'soru/key-verification-fixes' into 'master'
some key verification fixes and temporarily disable transactions

See merge request famedly/famedlysdk!403
2020-07-30 08:33:44 +00:00
Sorunome 69431a1aff
some key verification fixes and temporarily disable transactions 2020-07-30 09:57:45 +02:00
Sorunome 6915781e6a
Prevent m.relates_to to be removed from the status=1 object in encrypted rooms 2020-07-29 11:43:27 +02:00
Christian Pauly a28ab5fc60 Merge branch 'soru/remove-trailing-slash' into 'master'
Remove trailing slash in checkServer

Closes ChristianPauly/fluffychat-flutter#130

See merge request famedly/famedlysdk!400
2020-07-27 07:40:25 +00:00
Sorunome 6696a8b3ca Remove trailing slash in checkServer 2020-07-27 07:40:25 +00:00
Sorunome f48f6bca12 Properly imlement event aggregations 2020-07-27 07:39:48 +00:00
Sorunome 14c8377a2f
make sure that no http requests are done inside of /sync 2020-07-26 07:54:03 +02:00
Sorunome 31614364d3 add update filters 2020-07-25 14:46:36 +00:00
Sorunome 6cd745bd1a
Add data-mx-emote to emotes 2020-07-24 17:59:39 +02:00
Sorunome 84a94f5c9d
format 2020-07-24 15:44:55 +02:00
Sorunome d4818bd677
forgot to ctrl+s 2020-07-24 15:37:40 +02:00
Sorunome 9cb4dab9d4
test web 2020-07-24 15:37:00 +02:00
Sorunome ff2de35d28
test web 2020-07-24 14:53:06 +02:00
Sorunome c68487ac21 fix issue with sending messages 2020-07-23 08:09:00 +00:00
Inex Code d82179d62b Merge commit 'a46942a14051cb02e70e9223fb3e2648a71c0891' into yiffed 2020-07-22 03:48:26 +03:00
Sorunome a46942a140 Merge branch 'soru/fix-members-requests' into 'master'
try to load members from database first and cache them in-memory

Closes app#596

See merge request famedly/famedlysdk!382
2020-07-21 08:05:48 +00:00
Christian Pauly 4f2a8febf9 Fix request history 2020-07-21 07:34:30 +00:00
Marcel 3c0fbf784f [Requests] Add try_catch for utf8 decoding because dart really seems to have issues with json encoding and decoding. (also use camelCase)
Took 18 minutes
2020-07-20 13:43:55 +02:00
Marcel 9f6bd740ca [Requests] Make sure to not use the latin1 version of the json but instead convert the bytes to utf8 as required by various RFCs.
Took 14 minutes
2020-07-20 13:19:57 +02:00
Sorunome 0ece2717e0
Merge branch 'master' into soru/fix-members-requests 2020-07-20 11:53:55 +02:00
Christian Pauly b8f80c7071 Fix room sorting 2020-07-20 07:46:46 +00:00
Christian Pauly 811c00c350 Merge branch 'soru/use-prev-content-username-fallback' into 'master'
use prev_content to calculate displayname and avatar_url, if content unavailable

See merge request famedly/famedlysdk!386
2020-07-20 06:33:03 +00:00
Christian Pauly 5b87d389b0 Merge branch 'soru/database-connect' into 'master'
add Databse.connect to be able to run in isaltes

See merge request famedly/famedlysdk!387
2020-07-20 06:31:26 +00:00
Sorunome 2214ac2d0a fixes a racing condition in key verification 2020-07-20 06:31:05 +00:00
Sorunome 175cb0fbd2
add Databse.connect to be able to run in isaltes 2020-07-17 13:20:23 +02:00
Sorunome 864151ec83
use prev_content to calculate displayname and avatar_url, if content unavailable 2020-07-17 12:02:43 +02:00
Christian Pauly 2c9a09ed5e Merge branch 'soru/fix-migration' into 'master'
indexes are already created when creating a talbe

Closes app#591

See merge request famedly/famedlysdk!381
2020-07-14 16:21:37 +00:00
Sorunome 8294231f78
url in PusherData is optional 2020-07-14 12:00:37 +02:00
Sorunome 4394196ba1
try to load members from database first and cache them in-memory 2020-07-14 11:30:13 +02:00
Sorunome 79ea85bf4d
indexes are already created when creating a talbe 2020-07-14 10:43:21 +02:00
Lukas Lihotzki 8d83d4a699 refactor matrix_api query strings and enums 2020-07-08 07:15:26 +00:00
Christian Pauly c87450dafb Remove deprecated contactlist method 2020-07-02 10:41:23 +00:00
Sorunome ac720df3d2 Merge branch 'soru/performance' into 'master'
Greatly imporve initial loading performance

See merge request famedly/famedlysdk!377
2020-07-02 08:55:31 +00:00
Sorunome 7351319f28
address things 2020-07-02 10:32:11 +02:00
Sorunome 8f122195c5
re-work state lazy loading after discussion 2020-07-01 11:09:31 +02:00
Christian Pauly ad098aa246 Merge branch 'krille/catch-all-sync-errors' into 'master'
Catch all sync errors

See merge request famedly/famedlysdk!374
2020-06-30 14:47:40 +00:00
Sorunome b7b369923f
only lazy-load m.room.member, not store presence 2020-06-30 13:41:52 +02:00
Sorunome 2e3d8205b1
analyze and format 2020-06-30 12:21:03 +02:00
Sorunome a1f8120c59
Greatly imporve initial loading performance 2020-06-30 12:17:56 +02:00
Sorunome dbfaf7fa72
hide red herring sync errors 2020-06-29 15:27:14 +02:00
Christian Pauly 2f32791117 Catch all sync errors 2020-06-29 14:09:40 +02:00
Christian Pauly 4790925929 Merge branch 'soru/no-contains-key' into 'master'
Better validate event contents

See merge request famedly/famedlysdk!353
2020-06-29 12:02:18 +00:00
Sorunome fd406987c1 Better validate event contents 2020-06-29 12:02:18 +00:00
Christian Pauly 0ac7aec071 Merge branch 'matrixfile-refactor-all' into 'master'
MatrixFile refactoring for thumbnails

See merge request famedly/famedlysdk!371
2020-06-29 12:00:26 +00:00