Commit Graph

2063 Commits

Author SHA1 Message Date
Krille Fear 8f877b2039 Merge branch 'voip/fix-call-state' into 'main'
fix: Store the call state, fix the invite cannot be sent.

See merge request famedly/company/frontend/famedlysdk!924
2021-12-07 14:27:59 +00:00
cloudwebrtc c0e4008903 fix: Store the call state, fix the invite cannot be sent. 2021-12-06 19:32:33 +08:00
Sorunome b98b13d942 Merge branch 'soru/no-in-memory-state-event-on-sync' into 'main'
fix: Only save state events from sync processing in-memory if they are...

See merge request famedly/company/frontend/famedlysdk!922
2021-12-06 10:20:59 +00:00
Sorunome b009ada0ac
fix: Allow consecutive edits for state events in-memory
The lastEvent was incorrect when trying to process an edit of an edit.
This fixes that by allowing consecutive edits for the last event.
2021-12-06 11:11:21 +01:00
Sorunome e3bd0cf139
fix: Only save state events from sync processing in-memory if needed
If we dump all state events from sync into memory then we needlessly
clog up our memory, potentially running out of ram. This is useless
as when opening the timeline we post-load the unimportant state events
anyways. So, this PR makes sure that only the state events of post-loaded
rooms and important state events land in-memory when processing a sync
request.
2021-12-06 11:09:50 +01:00
Krille Fear 86f99bdef5 Merge branch 'soru/fix-input-recovery-key' into 'main'
fix(ssss): Strip all whitespace characters from recovery keys upon decode

See merge request famedly/company/frontend/famedlysdk!921
2021-12-05 15:53:10 +00:00
Sorunome 872bc04674
fix(ssss): Strip all whitespace characters from recovery keys upon decode
Previously we stripped all spaces off of the recovery when decoding it,
so that we could format the recovery key nicely. It turns out, however,
that some element flavours also format with linebreaks, leading to the
user having to manually remove them. We fix this by just stripping *all*
whitespace off of the recovery key.
2021-12-05 12:19:22 +01:00
Krille Fear faed64cfde Merge branch 'krille/nullsafestable' into 'main'
fix: Add missing calcDisplayname global rules to client constructor

See merge request famedly/company/frontend/famedlysdk!920
2021-12-03 14:05:00 +00:00
Krille Fear 247de60f51 chore: Bump version 2021-12-03 12:37:46 +01:00
Krille Fear 43d5b1c523 fix: Add missing calcDisplayname global rules to client constructor
This two parameters were
already documented but
were missing in the
constructor. They can
also be final.
2021-12-03 12:34:52 +01:00
Krille Fear 27783b4fec Merge branch 'voip/add-voip-function' into 'main'
feat: Migrate voip code from famedly-app.

Closes #241

See merge request famedly/company/frontend/famedlysdk!890
2021-12-02 15:46:40 +00:00
cloudwebrtc 4ebf5b2553 Merge branch 'voip/add-voip-function' of https://gitlab.com/famedly/company/frontend/famedlysdk into voip/add-voip-function 2021-12-02 23:20:16 +08:00
cloudwebrtc 61da76a26a chore: Implement the onAnsweredElsewhere function. 2021-12-02 23:18:01 +08:00
Krille Fear e5c8e4f4fe chore: Time unit replacement. 2021-12-02 15:12:59 +00:00
cloudwebrtc 9bc35a216a chore: Use `fireCallEvent` instead of emit. 2021-12-02 23:04:33 +08:00
cloudwebrtc 1f519703a8 fix: Fix the call function in flutter and dart. 2021-12-01 00:47:11 +08:00
cloudwebrtc 7efe123274 Merge branch 'main' into voip/add-voip-function 2021-11-30 22:31:10 +08:00
td 00a52e3fee Merge branch 'krille/fix-userownsencryptionkeys' into 'main'
fix: userOwnsEncryptionKeys always returns true

See merge request famedly/company/frontend/famedlysdk!919
2021-11-30 09:16:18 +00:00
cloudwebrtc edeea47dec chore: Improve the code. 2021-11-29 22:26:18 +08:00
Krille Fear fe2d184faf fix: userOwnsEncryptionKeys always returns true
Actually the homeserver sends an
empty object in the deviceKeys map
so we need to check if this object
is there but is empty.
2021-11-28 10:37:56 +01:00
cloudwebrtc 01276bbf60 chore: add more interface for delegate. 2021-11-27 01:29:11 +08:00
cloudwebrtc 60618d1775 chore: Add WebRTC delegate interface. 2021-11-27 01:20:04 +08:00
td 7d57c0ca86 Merge branch 'krille/bumpversion' into 'main'
chore: Bump version

See merge request famedly/company/frontend/famedlysdk!918
2021-11-26 13:15:05 +00:00
Krille Fear 0c4fcd2d4e chore: Bump version 2021-11-26 13:15:05 +00:00
Krille Fear 44934d5911 Merge branch 'krille/enable-e2eerecovery' into 'main'
chore: Enable E2EE recovery by default

See merge request famedly/company/frontend/famedlysdk!915
2021-11-26 13:05:13 +00:00
Krille Fear 8a04e47360 Merge branch 'krille/migrate-olm-sessions' into 'main'
feat: Migrate olm sessions on database migration

Closes #256

See merge request famedly/company/frontend/famedlysdk!916
2021-11-26 12:56:00 +00:00
cloudwebrtc 72584d679c chore: bump version for webrtc_interface. 2021-11-26 20:33:57 +08:00
Krille Fear ac06864627 feat: Migrate olm sessions on database migration
This adds a getAllOlmSessions
endpoint to the database API and
implements them in both
implementations. This also
adds it to the database
migration.
2021-11-26 08:17:43 +01:00
Krille Fear 03418bfe8b chore: Enable E2EE recovery by default
We have disabled it by default to
prevent using workarounds as
long time solutions and to not
miss bugs. But in a federated
context we can not be sure that
we all Matrix clients are ever
bug free and we have now the
onEncryptionError Stream
anyway.
2021-11-25 15:48:17 +01:00
Krille Fear bdb4ad4594 Merge branch 'krille/fix-limited-timeline' into 'main'
Krille/fix limited timeline

Closes #253

See merge request famedly/company/frontend/famedlysdk!914
2021-11-25 12:25:07 +00:00
Krille Fear b3eb6acdfb Merge branch 'krille/delete-avatar' into 'main'
fix: Remove user avatar

Closes #254

See merge request famedly/company/frontend/famedlysdk!913
2021-11-25 12:21:29 +00:00
Krille Fear cbf961aa9d chore: Update SDK 2021-11-25 13:14:48 +01:00
Krille Fear 6c3741d59e fix: Limited timeline clean up on web 2021-11-25 13:13:39 +01:00
Krille Fear 79b74e2bbf fix: Remove user avatar 2021-11-25 09:00:59 +01:00
Krille Fear 59fbd557c5 Merge branch 'krille/updatefluffybox' into 'main'
chore: Update FluffyBox

Closes #229

See merge request famedly/company/frontend/famedlysdk!911
2021-11-24 12:10:16 +00:00
Krille Fear b2281025e7 chore: Update FluffyBox 2021-11-24 13:02:34 +01:00
Nicolas Werner 7f440be9b5 Merge branch 'krille/version' into 'main'
chore: Bump version

See merge request famedly/company/frontend/famedlysdk!910
2021-11-23 15:20:30 +00:00
Krille Fear 3ec778ff0d chore: Bump version 2021-11-23 16:09:17 +01:00
Nicolas Werner 64257735ac Merge branch 'krille/limited-timeline-behavior' into 'main'
fix: Limited timeline clears too much events

Closes #217

See merge request famedly/company/frontend/famedlysdk!907
2021-11-23 15:06:29 +00:00
Nicolas Werner da57be44e4 Merge branch 'krille/fix-decrypt-room-event' into 'main'
fix: Decrypt last event of a room

Closes #251

See merge request famedly/company/frontend/famedlysdk!904
2021-11-23 15:03:45 +00:00
Krille Fear bc6ec5e592 Merge branch 'krille/idb' into 'main'
feat: Implement FluffyBox database

See merge request famedly/company/frontend/famedlysdk!900
2021-11-23 15:00:42 +00:00
Krille Fear 01eb851364 fix: 2021-11-23 15:48:18 +01:00
Sorunome 17d8b4d25f Merge branch 'krille/add-clear-cache-command' into 'main'
feat: Add clear cache command

See merge request famedly/company/frontend/famedlysdk!908
2021-11-23 13:06:53 +00:00
Krille Fear 0fae025332 Merge branch 'krille/null-boolean' into 'main'
fix: Workaround for null boolean

See merge request famedly/company/frontend/famedlysdk!909
2021-11-23 12:59:51 +00:00
Krille Fear ee21121a63 fix: Workaround for null boolean
deviceKeysList.outdated is not nullable but we have seen this error
in production: `Failed assertion: boolean expression must not be null`
So this could either be a null safety bug in Dart or a result of
using unsound null safety. The extra equal check `== true` should
safe us here
2021-11-23 13:53:07 +01:00
Krille Fear 921c694888 feat: Add clear cache command 2021-11-23 09:48:08 +01:00
Krille Fear 9cbe1099e5 fix: Limited timeline clears too much events
This fixes the bug that the
limited timeline flag also
clears all events from the
current SyncUpdate in an
open timeline.
2021-11-23 09:06:30 +01:00
td 5da0180f1f Merge branch 'krille/fix-remove-avatar' into 'main'
fix: Ability to remove avatar from room and account

Closes #223

See merge request famedly/company/frontend/famedlysdk!906
2021-11-22 19:20:00 +00:00
Krille Fear 3338da4e09 fix: Ability to remove avatar from room and account
To remove an avatar the
client needs to send an
empty object. This is now
possible by making the
MatrixFile parameter nullable.
2021-11-22 19:36:38 +01:00
cloudwebrtc 18af7e0642 chore: Set client to final. 2021-11-22 23:08:52 +08:00