Commit Graph

1887 Commits

Author SHA1 Message Date
MTRNord d77d49430a fix: Remove sorts that shouldnt be required. 2022-01-15 21:54:13 +01:00
Nicolas Werner 25a428bf6a Merge branch 'td/update_fluffybox' into 'main'
chore: update fluffybox and bump version

See merge request famedly/company/frontend/famedlysdk!934
2022-01-14 13:23:42 +00:00
Techno-Disaster c884a3b83f
chore: update fluffybox and bump version 2022-01-14 18:45:31 +05:30
Nicolas Werner 1935c17f50 Merge branch 'voip/fix-turn-credentials-issue-for-safari' into 'main'
fix: Fix turn credentials format issue for safari.

Closes famedly-web#211

See merge request famedly/company/frontend/famedlysdk!935
2022-01-14 13:07:13 +00:00
cloudwebrtc fba3c1e5f6 fix: Fix turn credentials format issue for safari. 2022-01-14 20:56:51 +08:00
Krille Fear a50e3cfa2e Merge branch 'base64-unpadded' into 'main'
fix: Allow unpadded base64 decoding

Closes #261

See merge request famedly/company/frontend/famedlysdk!933
2022-01-11 09:02:34 +00:00
Lanna Michalke cab03aa73b fix: Allow unpadded base64 decoding 2022-01-11 09:02:34 +00:00
Krille Fear d31a594068 Merge branch 'krille/fix-invite-state' into 'main'
fix: Room Member updates should always be cached

Closes #260

See merge request famedly/company/frontend/famedlysdk!932
2022-01-08 09:53:29 +00:00
Krille Fear 86c9067daa chore: Bump version 2022-01-08 10:47:14 +01:00
Krille Fear b472dd7b92 fix: Room Member updates should always be cached
I think the commit which broke it was this: e3bd0cf1 It makes sure that only important state events get cached and room member events are not important state events and so new invites have no room member events cached. It makes sense to also allow room member events here to always be cached as they are special typed.
2022-01-08 10:44:22 +01:00
td 44f3d35910 Merge branch 'krille/cant-send-messages-without-encryption' into 'main'
feat: Let sendDefaultMessage return false on encryption failure

See merge request famedly/company/frontend/famedlysdk!931
2022-01-07 17:12:20 +00:00
Krille Fear bcca5e11f2 feat: Let sendDefaultMessage return false on encryption failure 2022-01-07 17:12:20 +00:00
Krille Fear 6d8fabd1e0 Merge branch 'krille/fix-request-user' into 'main'
fix: Requested users are not stored

See merge request famedly/company/frontend/famedlysdk!930
2022-01-04 06:28:00 +00:00
Krille Fear e9e9dcb4aa Merge branch 'krille/newlinter' into 'main'
refactor: Remove unnecessary type checks and imports

See merge request famedly/company/frontend/famedlysdk!929
2022-01-03 11:45:06 +00:00
Krille Fear f173842e56 Merge branch 'krille/localize-reactions' into 'main'
fix: Localize reactions

See merge request famedly/company/frontend/famedlysdk!928
2021-12-31 11:56:59 +00:00
Christian Pauly 62a04b52d4 fix: Requested users are not stored
Fake Matrix Events for storing
need more paramters to
actually get stored. This fixes
it by creating a fake event ID
which should be unique.
2021-12-26 09:14:52 +01:00
Krille Fear 3bce8b4489 refactor: Remove unnecessary type checks and imports 2021-12-23 11:46:45 +01:00
Krille Fear 326f1f3223 fix: Localize reactions
In notifications in FluffyChat we
have "Unknown event m.reaction"
for reactions. But it should just be
enough to display the body so it
should look like:
"username: :thumbs_up_emoji:"
2021-12-23 11:43:00 +01:00
td 5a72287d41 Merge branch 'krille/update-fluffybox' into 'main'
chore: bump version

See merge request famedly/company/frontend/famedlysdk!925
2021-12-16 08:17:37 +00:00
Krille Fear e5fde4f801 chore: bump version 2021-12-16 08:17:36 +00:00
td 85bf49ddba Merge branch 'nico/fix-reply-fallback' into 'main'
fix: fallback in body for replies to replies

Closes famedly/fluffychat#702 and famedly/fluffychat#359

See merge request famedly/company/frontend/famedlysdk!927
2021-12-15 19:21:42 +00:00
Nicolas Werner d687973b01 fix: fallback in body for replies to replies 2021-12-15 19:21:41 +00:00
Krille Fear 3f225208e2 Merge branch 'soru/error-handle-to-device-queue' into 'main'
fix: ignore 4xx errors when re-sending the to_device queue

See merge request famedly/company/frontend/famedlysdk!926
2021-12-09 10:56:29 +00:00
Sorunome fa5abfca92
fix: ignore 4xx errors when re-sending the to_device queue
The to_device queue was introduced to ensure integrity if e.g. the
server temporarily failed when attempting to send a to_device message.
If, for whatever reason, the server responds with a 4xx error, though,
then we want to ignore that to_device message from the queue and move on,
as that means that something different was fundamentally wrong. This
helps to fix the to_device queue clogging up, making clients incapable
of sending to_device events anymore, should such clogging happen.
2021-12-08 13:00:53 +01:00
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