Commit Graph

2227 Commits

Author SHA1 Message Date
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
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