Commit Graph

1908 Commits

Author SHA1 Message Date
Krille Fear 3e1aee6fcd fix: Null error in get own profile
On converting a User object to
a Profile object now leads to an
error. This fixes it.
2021-11-05 12:21:48 +01:00
Krille Fear 3ac1fcb1ff Merge branch 'krille/version' into 'main'
chore: Bump version

See merge request famedly/company/frontend/famedlysdk!874
2021-11-05 10:26:38 +00:00
Krille Fear a09cf36b2e chore: Bump version 2021-11-04 14:33:00 +01:00
Sorunome 44451c817c Merge branch 'krille/event-room-non-nullable' into 'main'
refactor: Make room in Event class not nullable

See merge request famedly/company/frontend/famedlysdk!873
2021-11-04 13:28:54 +00:00
Krille Fear 9be87918f1 refactor: Make room in Event class not nullable 2021-11-04 14:21:04 +01:00
Nicolas Werner 938d58da96 Merge branch 'krille/minor-fixes' into 'main'
Minor fixes

See merge request famedly/company/frontend/famedlysdk!872
2021-11-04 11:43:30 +00:00
Krille Fear eb200afe18 refactor: download method should not return null
If the decryption fails, it should
throw an exception and not
return null.
2021-11-04 12:22:20 +01:00
Krille Fear fd2256c5a5 chore: Hide code metrics in IDE
This lets my vscode glow too heavy
2021-11-04 12:22:20 +01:00
Krille Fear ee7761e9d2 Merge branch 'krille/version' into 'main'
chore: Bump version

See merge request famedly/company/frontend/famedlysdk!871
2021-11-04 11:16:11 +00:00
Krille Fear 179139c289 chore: Bump version 2021-11-04 12:01:54 +01:00
Sorunome 5b5c110833 Merge branch 'soru/fix-mxc-port' into 'main'
fix: obay explicitly set ports in mxc URLs

Closes famedly/fluffychat#620

See merge request famedly/company/frontend/famedlysdk!861
2021-11-03 08:01:05 +00:00
Sorunome 5c87b560b9
fix: obay explicitly set ports in mxc URLs 2021-11-03 08:54:04 +01:00
Krille Fear 63397701b5 Merge branch 'jindra/request-banned' into 'main'
feat: choose memberships returned by requestParticipants()

See merge request famedly/company/frontend/famedlysdk!869
2021-11-03 06:26:52 +00:00
Jindra a0bab1b587 feat: choose memberships returned by requestParticipants() 2021-11-02 09:27:00 +01:00
td 3130931f0d Merge branch 'krille/dont-upload-keys-after-logout' into 'main'
fix: Do not upload keys after logout

Closes #213

See merge request famedly/company/frontend/famedlysdk!866
2021-10-29 13:21:01 +00:00
Krille Fear 766b27427a Merge branch 'td/invite-update' into 'main'
fix: add room invite update to roomStateBox, so invites don't show empty room when app is restarted

Closes #228

See merge request famedly/company/frontend/famedlysdk!865
2021-10-29 13:17:30 +00:00
Nicolas Werner 6ee5771334 Merge branch 'nico/nullsafe' into 'main'
Make SDK nullsafe

Closes #201

See merge request famedly/company/frontend/famedlysdk!867
2021-10-28 16:25:25 +00:00
Nicolas Werner fcc6943d5e
chore: remove rule for ignoring unsafe imports 2021-10-28 17:36:13 +02:00
Krille Fear 176dbbeda9 fix: Do not upload keys after logout
This should fix a race condition where uploading keys is still ongoing
after user has already logged out.
2021-10-28 16:46:45 +02:00
Nicolas Werner b6eed6daff
fix: don't escape @ 2021-10-28 16:46:15 +02:00
Nicolas Werner 7d78233bf0
refactor: remove literal boolean comparisons leftover from nullsafety conversion 2021-10-28 14:40:22 +02:00
Nicolas Werner 6e20c53b01
refactor: remove redundant null checks 2021-10-28 14:32:09 +02:00
Nicolas Werner e6f77924d6
refactor: port encryption tests 2021-10-28 03:44:02 +02:00
Nicolas Werner 32c6e0ec6e
refactor: port client and related tests to nullsafety 2021-10-28 03:44:02 +02:00
Nicolas Werner 3f83e5481c
refactor: port room test to nullsafety 2021-10-28 03:44:02 +02:00
Nicolas Werner 2fd4425099
refactor: port some simple tests to nullsafety 2021-10-28 03:44:02 +02:00
Nicolas Werner 6abd9e7e22
refactor: nullsafe event test 2021-10-28 03:44:01 +02:00
Nicolas Werner ebd5bc3d24
refactor: make room nullsafe 2021-10-28 00:54:25 +02:00
Jayesh Nirve b955318edb
fix: add room invite update to roomStateBox, so invites don't show empty room when app is restarted 2021-10-26 16:00:22 +05:30
Jindra 06281d1361 refactor: add export & order package exports 2021-10-25 17:51:20 +02:00
Nicolas Werner fb0a84d7b2
refactor: make client nullsafe 2021-10-25 16:34:02 +02:00
Nicolas Werner 17fd1f22b3 refactor: make event nullsafe 2021-10-25 10:10:25 +00:00
Krille Fear d2ee73f96f chore: Bump version 2021-10-25 11:19:45 +02:00
Krille Fear 7a85d52d93 fix: Remove unnecessary null check 2021-10-25 11:11:55 +02:00
Krille Fear 7d5652e9a3 fix: Remove duplicated import 2021-10-25 11:11:17 +02:00
Krille Fear 9193950970 fix: Auto update room states
Room states are ignored if the event with the same event ID
is already known in the database. But
because of the event is stored in the
database and after this
setState in the Room class is called,
an event is always "known" and
therefore auto updating was broken.
2021-10-25 10:55:54 +02:00
Krille Fear b5ca69ead3 chore: Bump version 2021-10-18 15:55:51 +02:00
Krille Fear faba36d476 fix: Missing null check in a nested json map 2021-10-18 15:45:29 +02:00
Krille Fear f36299c3d7 CI: Remove documentation in favor of notion.so
This also means we no longer need the
publish to pub.dev script
because it just removes the
docs as a workaround and does
nothing more.
2021-10-18 07:36:18 +00:00
Krille Fear b4c922f49c chore: Bump version 2021-10-15 10:20:23 +02:00
Jindra 2b8782c699 fix: delete forgotten files caused by mergetool 2021-10-14 15:37:43 +02:00
Jindřich Pikora c6e0359522 refactor: Change event status to enum 2021-10-14 13:31:07 +00:00
Nicolas Werner d5e5500ac5 refactor: make timeline nullsafe 2021-10-14 10:50:18 +00:00
Nicolas Werner 8146aa05b8 refactor: make user nullsafe 2021-10-14 10:27:34 +00:00
Nicolas Werner 978c3bb994
refactor: make voip_content nullsafe 2021-10-13 17:03:34 +02:00
Nicolas Werner 60956bde00 chore: port the remaining encryption files to nullsafety 2021-10-13 13:58:21 +00:00
Krille Fear 3ae42d1a88 fix: Type error when using CryptoKey in dart web
In Dart Web when using CryptoKey we
get a type error. When using the html version of it
it seems to work fine.
2021-10-13 12:30:04 +00:00
Nicolas Werner ffea21a309 ci: check code metrics 2021-10-12 11:33:34 +00:00
Lukas Lihotzki 3130139bde refactor: prepare null safefy for user.dart
With this commit, the migration tool needs to do 8 fewer changes.
2021-10-11 19:58:26 +00:00
Sorunome f811e45102 fix: events with unknown users having invalid mxids
This caused issues down the line where the sender id was assumed to
be a valid matrix identifier
2021-10-11 19:49:10 +00:00