Commit Graph

2659 Commits

Author SHA1 Message Date
Nicolas Werner dbac5d83dc fix: recover from very unlikely key upload errors
Usually we store the keys we want to upload first, then upload them,
then store, that we uploaded them. So that should be fool proof.

But.

In some cases the filesyste lies to us and the database change isn't
actually persisted yet. That can happen when someone turns of their
phone aprubtly for example. In that case we generate new OTKs with the
same id. Uploading that will fail, since they already exist server side.
We can work around that by manually claiming them and removing them
locally.
2022-11-15 17:18:29 +01:00
Malin Errenst c077062089 Merge branch 'braid/bump-version' into 'main'
chore: bump version

See merge request famedly/company/frontend/famedlysdk!1166
2022-11-14 11:17:47 +00:00
TheOneWithTheBraid 3eb8c5eef6 chore: bump version
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-11-14 12:00:36 +01:00
The one with the braid 35d1d6ddd5 Merge branch 'grieshofer/additional-argument-for-startDirectChat' into 'main'
refactor: Add argument for custom CreateRoomPreset to startDirectChat method

See merge request famedly/company/frontend/famedlysdk!1165
2022-11-14 10:53:41 +00:00
Grieshofer Philipp d60a3aa579 refactor: Add argument for custom CreateRoomPreset to startDirectChat method 2022-11-14 11:07:53 +01:00
td 6784f4e83a Merge branch 'krille/fix-request-users' into 'main'
chore: Follow up fix for request users in invite rooms

See merge request famedly/company/frontend/famedlysdk!1163
2022-11-14 09:32:11 +00:00
Christian Pauly 7caab4d086 chore: Follow up fix for request users in invite rooms 2022-11-14 08:27:47 +01:00
td 65700cfc23 Merge branch 'voip/webrtc-interface-upgrade' into 'main'
chore: upgrade webrtc_interface, remove WebRTCDelegate.cloneStream.

See merge request famedly/company/frontend/famedlysdk!1164
2022-11-12 11:31:56 +00:00
cloudwebrtc 81eacf7291 chore: upgrade webrtc_interface, remove WebRTCDelegate.cloneStream. 2022-11-12 18:48:26 +08:00
Nicolas Werner f701294c68 Merge branch 'krille/no-olm-session-error-handling' into 'main'
refactor: Improve error handling for no olm session found exception

See merge request famedly/company/frontend/famedlysdk!1162
2022-11-08 13:11:26 +00:00
Christian Pauly 67fd9cd00e refactor: Improve error handling for no olm session found exception
Finding no olm session can
happen quiet often when there
are dead devices in a room.
We do not need to print the
whole stacktrace then.
2022-11-08 14:02:37 +01:00
td 79378714b9 Merge branch 'krille/do-not-request-users-invite-rooms' into 'main'
fix: Do not request users in not joined rooms

See merge request famedly/company/frontend/famedlysdk!1159
2022-11-07 11:37:00 +00:00
td 168aa2e5b7 Merge branch 'krille/remove-unnecessary-cast' into 'main'
refactor: Get rid of unnecessary type cast

See merge request famedly/company/frontend/famedlysdk!1160
2022-11-07 11:36:06 +00:00
Christian Pauly 0a6a813804 refactor: Get rid of unnecessary type cast 2022-11-07 11:09:20 +01:00
Christian Pauly f8140866ae fix: Do not request users in not joined rooms 2022-11-07 08:41:15 +01:00
td 70af77b3ac Merge branch 'voip/fix-offre-issue-for-ios' into 'main'
fix: sdp negotiation issue on iOS, close #335.

Closes #335

See merge request famedly/company/frontend/famedlysdk!1150
2022-11-03 02:48:58 +00:00
cloudwebrtc d2d29b5966 chore: Put all hard-coded timeout parameters into the Timeouts class. 2022-11-03 09:16:55 +08:00
cloudwebrtc fdee6fe590 fix: sdp negotiation issue on iOS, close #335.
Update lib/src/voip/call.dart

chore: flutter format.
2022-11-01 22:17:48 +08:00
Nicolas Werner b1c63c0929 Merge branch 'td/sdpUpdatesp2pCalls' into 'main'
fix: filter list for adding p2p call events

See merge request famedly/company/frontend/famedlysdk!1158
2022-10-31 11:50:37 +00:00
td 4c8c821a22
chore: bump version 2022-10-28 22:03:26 +05:30
td 6566bb8eeb
chore: reduce error logging level of groupCall is null 2022-10-28 22:01:17 +05:30
td aa03f5aa06
fix: filter list for adding p2p call events 2022-10-28 21:52:02 +05:30
Malin Errenst 380963e87a Merge branch 'krille/dont-try-to-decrypt-redacted-events' into 'main'
Krille/dont try to decrypt redacted events

See merge request famedly/company/frontend/famedlysdk!1156
2022-10-28 12:31:56 +00:00
Krille Fear 78cb434bf2 Merge branch 'krille/remove-deprecated-fluffybox' into 'main'
refactor: Remove deprecated fluffybox

See merge request famedly/company/frontend/famedlysdk!1155
2022-10-28 11:28:16 +00:00
Christian Pauly e6182db16b refactor: Remove deprecated fluffybox 2022-10-28 12:56:20 +02:00
The one with the braid ec5163d4f1 Merge branch 'krille/noSuchMethod-debug' into 'main'
chore: Lower logs level of native implementation noSuchMethod

See merge request famedly/company/frontend/famedlysdk!1157
2022-10-28 10:54:22 +00:00
Christian Pauly 296b193c1d chore: Lower logs level of native implementation noSuchMethod
Otherwise it would spam in the
production logs all the time
2022-10-28 12:45:27 +02:00
Christian Pauly 411cf3d4ec fix: Redact originalSource on redaction 2022-10-28 12:30:27 +02:00
Christian Pauly da8ebe85ef fix: Do not try to decrypt redacted events 2022-10-28 12:25:35 +02:00
Krille Fear fc1146fe94 Merge branch 'krille/more-stable-migration' into 'main'
fix: Do not wait for first sync after migration init

See merge request famedly/company/frontend/famedlysdk!1153
2022-10-26 10:07:58 +00:00
The one with the braid cf2104c12e Merge branch 'braid/hightlighted-rooms' into 'main'
feat: introduce hightlighted room getter

See merge request famedly/company/frontend/famedlysdk!1152
2022-10-26 10:01:04 +00:00
Christian Pauly 2b1467f962 chore: Bump version 2022-10-26 11:54:33 +02:00
Christian Pauly 6c307980a5 fix: Do not wait for first sync after migration init
If the first sync fails because of
a connection problem then the
migration is lost. This should not
happen.
2022-10-26 11:54:33 +02:00
TheOneWithTheBraid ed7913e710 feat: introduce hightlighted room getter
- adds `Room.isUnreadOrInvited` extending `Room.isUnread` to invited rooms

This is some high-level abstraction simplifying computation of unread
room badges / notifications.

Related: https://gitlab.com/groups/famedly/company/-/epics/28

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-10-26 11:51:32 +02:00
Krille Fear c436a86915 Merge branch 'braid/ci' into 'main'
fix: remove tag from CI

See merge request famedly/company/frontend/famedlysdk!1154
2022-10-26 09:50:34 +00:00
TheOneWithTheBraid f437d2bfee fix: remove tag from CI
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-10-26 11:35:01 +02:00
Krille Fear 09d2873a60 Merge branch 'krille/version' into 'main'
chore: Bump version

See merge request famedly/company/frontend/famedlysdk!1151
2022-10-24 06:50:14 +00:00
Christian Pauly 1affb9268b chore: Bump version 2022-10-24 08:35:10 +02:00
The one with the braid c65b14341c Merge branch 'krille/fix-pushruleset-from-json' into 'main'
fix: Do not assume that push rules are never malformed in account data

Closes #342

See merge request famedly/company/frontend/famedlysdk!1149
2022-10-24 06:27:06 +00:00
Christian Pauly 7b1a519de0 fix: Do not assume that push rules are never malformed in account data 2022-10-21 10:48:40 +02:00
td 56cd0d14b6 Merge branch 'larodar-main-patch-98642' into 'main'
chore: change codeowners

See merge request famedly/company/frontend/famedlysdk!1148
2022-10-19 10:27:44 +00:00
Niklas Zender 54a3c3f03a chore: change codeowners 2022-10-19 10:16:49 +00:00
Nicolas Werner 1656c51f05 Merge branch 'fix/audio-input-auto-selection' into 'main'
chore: update audio device for call when input device changes.

Closes famedly-web#587

See merge request famedly/company/frontend/famedlysdk!1144
2022-10-18 14:06:50 +00:00
Nicolas Werner 99c77b9276 Merge branch 'nico/decryption-queue' into 'main'
feat: Implement a queue for events pending decryption

Closes famedly-web#535

See merge request famedly/company/frontend/famedlysdk!1143
2022-10-18 14:02:48 +00:00
Nicolas Werner 0983196173 Merge branch 'krille/version' into 'main'
Krille/version

See merge request famedly/company/frontend/famedlysdk!1147
2022-10-18 14:01:30 +00:00
Christian Pauly 69f82b2619 refactor: Remove unused imports 2022-10-18 11:42:11 +02:00
Christian Pauly 90cef1186e chore: bump version 2022-10-18 11:40:55 +02:00
Mohammad Reza Moradi a3e3ab419d Merge branch 'nico/pushrules' into 'main'
feat: Support evaluating pushrules

Closes #339

See merge request famedly/company/frontend/famedlysdk!1146
2022-10-17 11:30:10 +00:00
Nicolas Werner ee93d545cc chore: fix exception test after api_lite update 2022-10-17 12:52:08 +02:00
Nicolas Werner f55bb4776a feat: Support evaluating pushrules
fixes #339
2022-10-17 04:29:20 +02:00