Commit graph

1176 commits

Author SHA1 Message Date
Christian Pauly 3947b0aa73 Merge branch 'krille/fix-request-history-2' into 'master'
Fix request history

See merge request famedly/famedlysdk!390
2020-07-21 07:34:30 +00:00
Christian Pauly 4f2a8febf9 Fix request history 2020-07-21 07:34:30 +00:00
Sorunome 845d0cf791 Merge branch 'MTRNord/utf8-encode-fake-api-responses' into 'master'
[Tests] Properly encode fake api responses as utf8. Also remove not needed returns as they do the same as the last return.

Closes #84

See merge request famedly/famedlysdk!392
2020-07-20 13:28:02 +00:00
Marcel 7690c4ef9c [Fake API] Further reduce amount of returns
Took 5 minutes
2020-07-20 15:21:46 +02:00
Marcel 0647df37e3 [Test] Properly encode fake api responses as utf8. Also remove not needed returns as they do the same as the last return.
Took 15 minutes
2020-07-20 15:16:23 +02:00
Sorunome bf1a4fe91b Merge branch 'MTRNord/utf-8-decode-json' into 'master'
[Requests] Make sure to not use the latin1 version of the json but instead...

See merge request famedly/famedlysdk!391
2020-07-20 11:50:10 +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
Sorunome f4c8cfe992 Merge branch 'krille/fix-room-sorting' into 'master'
Fix room sorting

See merge request famedly/famedlysdk!389
2020-07-20 07:46:46 +00: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
Christian Pauly 38430ebddf Merge branch 'soru/key-verification-fix' into 'master'
fixes a racing condition in key verification

See merge request famedly/famedlysdk!388
2020-07-20 06:31:05 +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 26510173de Merge branch 'lukaslihotzki/pub-olm' into 'master'
olm and matrix_file_e2ee from pub

See merge request famedly/famedlysdk!384
2020-07-14 16:21:53 +00: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
Christian Pauly c689f6d344 Merge branch 'soru/fix-push-payload' into 'master'
url in PusherData is optional

See merge request famedly/famedlysdk!383
2020-07-14 16:21:24 +00:00
Lukas Lihotzki fc1b78d712 olm and matrix_file_e2ee from pub 2020-07-14 17:08:30 +02:00
Sorunome 8294231f78
url in PusherData is optional 2020-07-14 12:00:37 +02:00
Sorunome 8b3e2e6c86
fix tests 2020-07-14 11:46: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
Christian Pauly 259cede94e Merge branch 'matrixapi-refactor-query' into 'master'
refactor matrix_api query strings and enums

See merge request famedly/famedlysdk!376
2020-07-08 07:15:26 +00:00
Lukas Lihotzki 8d83d4a699 refactor matrix_api query strings and enums 2020-07-08 07:15:26 +00:00
Christian Pauly e88e60ec09 Merge branch 'ChristianPauly-master-patch-10645' into 'master'
Remove deprecated contactlist method

See merge request famedly/famedlysdk!378
2020-07-02 10:41:23 +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
Christian Pauly 00b844c118 Merge branch 'soru/hide-bad-sync-errors' into 'master'
hide red herring sync errors

Closes #82

See merge request famedly/famedlysdk!375
2020-06-29 13:33:48 +00: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
Lukas Lihotzki 842581699c MatrixFile refactoring for thumbnails 2020-06-29 12:00:26 +00:00
Christian Pauly 4582574e5b Merge branch 'krille/calc-displayname-without-local-part' into 'master'
Implement calcDisplayname without local part

See merge request famedly/famedlysdk!373
2020-06-29 08:40:16 +00:00
Christian Pauly 7e9c8f88f3 Implement calcDisplayname without local part 2020-06-29 08:40:16 +00:00
Christian Pauly 01daa3ec44 Merge branch 'ChristianPauly-master-patch-89224' into 'master'
Fix wellknown with trailing slash

See merge request famedly/famedlysdk!369
2020-06-28 11:54:01 +00:00
Christian Pauly 386248a046 Fix wellknown with trailing slash 2020-06-28 11:54:00 +00:00
Sorunome 28fd207f2a Merge branch 'soru/fix-account-data' into 'master'
Hotfix: account_data stored incorrectly in the database

See merge request famedly/famedlysdk!372
2020-06-26 16:53:48 +00:00
Sorunome 163cbdb923
Hotfix: account_data stored incorrectly in the database 2020-06-26 18:46:54 +02:00
Christian Pauly ab812e0da2 Merge branch 'mime-refactor-use-mime' into 'master'
Use mime instead of mime_type

See merge request famedly/famedlysdk!368
2020-06-26 07:54:55 +00:00