Lukas Lihotzki
cfa633b489
feat: Add image pack event content models
2021-07-22 17:08:36 +02:00
Lukas Lihotzki
bad334d441
refactor: FilterMap extension
2021-07-19 19:43:56 +02:00
Lukas Lihotzki
c10a98ff35
fix: log levels for tryGet
2021-07-07 15:30:42 +02:00
Marcus Hoffmann
0b8e3f3071
make tryGet* safer
...
* check casts (for list and map) at cast time by recreating the list/map
instead of throwing on access.
* type warnings work now slightly differently:
* when we expect nullable fields to be actually null within normal
operation you can explicitly set the tryGet type param to an
optional type and mute the warning. Otherwise it'll warn that something
is null which we expect to something else.
2021-07-02 12:17:05 +02:00
Lukas Lihotzki
c73ea67bcd
add note about txnId
2021-07-02 11:36:42 +02:00
Lukas Lihotzki
bf3bed9ef9
simpler toMap
2021-07-02 11:18:16 +02:00
Lukas Lihotzki
0d1e7bdf7b
omit type in tryGet
2021-07-02 11:11:29 +02:00
Marcus Hoffmann
faabc55d28
isServer and isAccessToken are optional
2021-07-01 18:05:56 +02:00
Marcus Hoffmann
dd7a824512
remove user field from AuthenticationPassword structure
...
it's not in the spec
2021-07-01 18:01:07 +02:00
Marcus
f5dbacfe07
remove leftover migration tool comment
2021-07-01 15:50:42 +00:00
Marcus Hoffmann
92a2bd9d7e
null safety test fixes
2021-07-01 17:36:21 +02:00
Marcus Hoffmann
34b9cc0dcf
filter out invalid CiphertextInfo instead of crashing
2021-07-01 17:15:06 +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
Lukas Lihotzki
846c96e90d
refactor: move identifier type detection into AuthenticationIdentifier
2021-05-05 12:08:03 +02:00
Lukas Lihotzki
2fdf3e8284
refactor: polymorphism can be used without manual switch statement
2021-05-05 12:05:26 +02:00
Lukas Lihotzki
9de57fad9b
refactor: initializer lists in fromJson constructors
2021-05-05 12:05:26 +02:00
Lukas Lihotzki
23db25d4af
refactor: use ..
2021-05-05 12:05:26 +02:00
Lukas Lihotzki
83ef6484eb
refactor: use map
2021-05-05 12:05:26 +02:00
Lukas Lihotzki
19500307be
refactor: call fromJson constructor of base class
2021-05-05 12:05:26 +02:00
Christian Pauly
a5af392fb8
fix: Missing RoomCreationTypes
2021-05-01 09:26:18 +02:00
Christian Pauly
cd76448f8b
feat: Add room and event types for spaces
2021-04-12 09:00:11 +02:00
Christian Pauly
7d91cdac5e
fix: Typo and wellknown parsing
2021-03-01 11:38:53 +01:00
Sorunome
8573e1915f
feat: Add fallback keys support
2021-02-15 16:23:33 +01:00
Christian Pauly
0b7a0dffb9
fix: Wrong parameters use
2021-02-09 10:36:01 +01:00
Sorunome
484037a13f
feat: Add m.dummy event
2021-01-18 16:33:12 +01:00
Christian Pauly
8f1d35e0bc
docs: Update license to MIT
2021-01-08 13:14:03 +01:00
Christian Pauly
ae34041f29
feat: Implement plaintext parsing
2021-01-08 10:54:04 +01:00
Christian Pauly
618d42a448
feat: Room forwarded key content
2021-01-08 10:30:57 +01:00
Christian Pauly
fce7705243
feat: Implement room key request parsing
2021-01-08 09:54:11 +01:00
Christian Pauly
81c86a6c05
feat: Add room_key content
2021-01-08 09:33:03 +01:00
Christian Pauly
128df8d8eb
feat: Add encryption content
2021-01-07 14:00:40 +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
Christian Pauly
68e6530835
fix: Current version
2020-12-31 10:33:59 +01:00
Christian Pauly
3340a1e540
refactor: Remove markedunread
2020-12-31 10:25:54 +01:00
Christian Pauly
bb10adef79
Initial commit
2020-12-28 12:01:03 +01:00