Nicolas Werner
f13d4e1f45
fix: Request user causing state update loops for apps
...
This completely redoes the requestUser function.
It now doesn't stop requesting a user forever just because of a network
error. But redundant calls are still deduplicated, however their
parameters are taken into account now.
It also now only calls onUpdate and onRoomState when there is actually
new state. This way apps can just listen to updates to rerender instead
of having to implement the deduplication themselves.
It also now doesn't treat member events without membership as "join"
anymore. And lookup errors don't cause an empty user to get inserted
into the room state.
In general this should still request the profile from the server, if the
displayname is unset in a leave event, but it should also allow the app
to actually settle in the tests.
2024-06-14 12:33:25 +02:00
td
a2e8830df0
chore: expose fake matrix api
2024-04-30 17:42:36 +05:30
td
281510b950
feat: lcov and tag olm tests
2024-04-23 15:21:46 +05:30
td
cd94cf62a8
chore: merge api_lite and dart sdk
2024-03-25 17:22:05 +05:30
Malin Errenst
5d8a82aefa
fix: Fixed fake_matrix_api.dart signedOneTimeKeys upload
2023-06-22 18:05:04 +02:00
Krille
e81898ef7f
refactor: Get rid of dynamic lists
2023-06-13 07:59:20 +02:00
Malin Errenst
06d587e64f
refactor: Changed Map<String, dynamic> to Map<String, Object?>
...
- contains breaking changes because some type casts will be needed in
Matrix SDK
2023-06-09 15:04:28 +02:00
Nicolas Werner
53fbe4f7ef
chore: sort imports
2023-05-08 14:49:34 +02:00
Nicolas Werner
a525bb120a
chore: strict casts
2022-08-20 17:26:16 +02:00
Nicolas Werner
6a225e3b8c
chore: strict raw types
2022-08-20 11:56:34 +02:00
Nicolas Werner
5bd934895d
chore: strict inference
2022-08-20 11:53:14 +02:00
Nicolas Werner
7471743be3
chore: disable dynamic calls
2022-08-20 11:28:43 +02:00
Nicolas Werner
ff66e1c208
chore: upgrade from pedantic to lints
2022-08-19 12:11:42 +02:00
Nicolas Werner
24a3369520
tests: Add basic test for space hierarchy api
2022-06-08 15:55:18 +00:00
Krille Fear
fc4f004312
fix: Add missing versions to fake matrix api
...
This makes it easier to
use the FakeMatrixApi in
other packages for unit
tests.
2022-06-03 11:05:30 +00:00
Nicolas Werner
d6bb91f7e1
chore: Update to matrix v1.2
2022-05-06 15:14:12 +00:00
Lukas Lihotzki
cb71ca9b26
chore: generate more operations from OpenAPI
2021-08-20 16:17:37 +02:00
Marcus Hoffmann
92a2bd9d7e
null safety test fixes
2021-07-01 17:36:21 +02:00
Marcus Hoffmann
1a51f813a7
null safety cleanup
2021-07-01 16:59:54 +02:00
Lukas Lihotzki
d9c1fdb78a
refactor: migrate to null safety
2021-07-01 15:11:39 +02:00
Lukas Lihotzki
e3a1b6aa77
refactor: mostly use dart_openapi_codegen
2021-06-25 12:40:03 +02:00
Christian Pauly
88d0eae2b7
fix: Request aliases
2021-05-01 09:00:31 +02:00
Christian Pauly
2b04551838
fix: well-known in fake_matrix_api
2021-01-20 14:07:40 +01:00
Christian Pauly
8f1d35e0bc
docs: Update license to MIT
2021-01-08 13:14:03 +01:00
Christian Pauly
ede938c105
docs: Update license header
2021-01-04 10:18:41 +01:00
Christian Pauly
6b283d5c50
fix: Current version
2020-12-31 10:44:58 +01:00