Commit Graph

2506 Commits

Author SHA1 Message Date
Nicolas Werner 2c3194b823
fix: archive takes 2 minutes to update
In Synapse 1.62.0 the default cache duration of initial sync responses
was changed to 2 minutes. That means our archive calls might return
stale data. Since different sync timeouts bust through the cache, we
make use of that to be able to load the new archive immediately.

fixes https://gitlab.com/famedly/company/frontend/famedly-web/-/issues/634
2023-03-03 13:08:31 +01:00
Nicolas Werner 03826e6d47 Merge branch 'duan/skip-invalid-ice-candidate' into 'main'
fix: skip invalid candidate.

See merge request famedly/company/frontend/famedlysdk!1246
2023-03-02 18:50:19 +00:00
cloudwebrtc f2e4126e0c chore: update. 2023-02-27 21:02:30 +08:00
cloudwebrtc 380051ab07 fix: skip invalid candidate. 2023-02-27 20:59:38 +08:00
td c5aa899038 Merge branch 'td/cacheserverprofile' into 'main'
cache option to fetchOwnProfileFromServer and missing awaits in group call enter/leave

See merge request famedly/company/frontend/famedlysdk!1243
2023-02-20 18:31:41 +00:00
td 6f2c0b83fb
chore: version bump to 0.17.1 2023-02-20 18:06:41 +05:30
td 0c555919af
chore: add missing awaits in group call enter and leave funcs 2023-02-20 18:04:56 +05:30
td f7c7cb82de
chore: add useServerCache option to fetchOwnProfileFromServer and fix missing awaits 2023-02-20 17:57:29 +05:30
Nicolas Werner c26d29ee14 Merge branch 'release/v0.17.0' into 'main'
chore: bump to v0.17.0

See merge request famedly/company/frontend/famedlysdk!1242
2023-02-17 11:34:13 +00:00
td b06b8596e0
chore: bump to v0.17.0 2023-02-17 16:54:11 +05:30
td 2b2a49d0cb Merge branch 'td/fallbackFetchOwnProfile' into 'main'
chore: add a fetchOwnProfileFromServer method

See merge request famedly/company/frontend/famedlysdk!1241
2023-02-17 11:13:58 +00:00
Nicolas Werner 92999339a9 Merge branch 'krille/fake-user-event' into 'main'
fix: Fake User object

Closes #343

See merge request famedly/company/frontend/famedlysdk!1221
2023-02-17 09:02:59 +00:00
Nicolas Werner 904a807eeb Merge branch 'td/upgradeCalls' into 'main'
fix: ability to upgrade audio calls to video calls

See merge request famedly/company/frontend/famedlysdk!1235
2023-02-17 08:56:54 +00:00
td 7ce6595b3d
fix: ability to upgrade audio calls to video calls
fix: setMicrophoneMuted is now async to match setVideoMuted
2023-02-17 07:56:17 +05:30
td eca98b14b9
chore: add a fetchOwnProfileFromServer method which tries to get ownProfile from server first, disk then 2023-02-16 19:22:32 +05:30
td 40c553c44d Merge branch 'td/cleanExpiredMemberStateEvents' into 'main'
fix: clean expired member state events in group calls

See merge request famedly/company/frontend/famedlysdk!1237
2023-02-15 09:34:35 +00:00
td 0c9e129347
fix: clean expired member state events in group calls 2023-02-14 23:08:50 +05:30
Nicolas Werner 0e26e44d8c Merge branch 'td/ohno' into 'main'
fix: hasActiveGroup call now checks all group calls

See merge request famedly/company/frontend/famedlysdk!1236
2023-02-14 11:26:52 +00:00
Nicolas Werner 468a918b3a Merge branch 'krille/search-method-fix' into 'main'
fix: Request key in searchEvent method crashes because of wrong preconditions

See merge request famedly/company/frontend/famedlysdk!1239
2023-02-14 10:05:53 +00:00
td 1219604dc9
fix: hasActiveGroup call now checks all group calls
fix: implement activeGroupCallEvents to get all active group call state events in a room

refactor: move staleCallChecker and expires_Ts stuff to an extension on Room, instead of Voip because it makes much more sense per room rather than on voip, also makes testing easier

fix: populate local groupCalls list on instantiating VOIP()

fix: starting stale call checker is now handled by the sdk itself because clients can forget to do so
2023-02-14 15:02:28 +05:30
Christian Pauly 31d4d5d08e fix: Check if argument is valid mxid in /maskasdm command 2023-02-14 09:16:48 +01:00
Nicolas Werner c84fc6e6ce Merge branch 'krille/config-check-while-sending-file-refactor' into 'main'
refactor: Check config at file sending after placing fake event and add error handling

See merge request famedly/company/frontend/famedlysdk!1238
2023-02-13 14:40:12 +00:00
Christian Pauly c5898f62b9 fix: Fake User object 2023-02-13 15:32:01 +01:00
Christian Pauly e77a5291c4 fix: Request key in searchEvent method crashes because of wrong preconditions 2023-02-13 13:55:57 +01:00
Krille bdedef9379 refactor: Check config at file sending after placing fake event and add error handling
This should fix the unresponsivness
of apps for a few seconds
when trying to send a file
2023-02-12 18:28:29 +01:00
td d981fcd2f9 Merge branch 'nico/dart-2.18' into 'main'
chore: bump dart to 2.18

See merge request famedly/company/frontend/famedlysdk!1234
2023-02-08 13:02:48 +00:00
td c6a86b5115 Merge branch 'td/release14again' into 'main'
chore: bump version

See merge request famedly/company/frontend/famedlysdk!1233
2023-02-01 10:48:31 +00:00
Nicolas Werner 9b3dd5acd7
chore: bump dart to 2.18
Allows us to get rid of some null assertions.
2023-02-01 11:39:55 +01:00
td 18373746da
chore: bump version 2023-02-01 15:31:22 +05:30
Nicolas Werner ed333c4b7b Merge branch 'td/bumpdart' into 'main'
chore: bump flutter and dart images

See merge request famedly/company/frontend/famedlysdk!1232
2023-02-01 09:44:16 +00:00
td ff66337773
chore: bump flutter and dart images 2023-02-01 15:03:36 +05:30
Nicolas Werner dc444538bf Merge branch 'td/expiresTsGroupCallMove' into 'main'
fix: move expires_ts according to spec (breaks group call compatibility with older sdks)

See merge request famedly/company/frontend/famedlysdk!1229
2023-02-01 09:23:17 +00:00
td bdf2c01a5a
fix: move expires_ts according to spec (breaks group call compatibility with older sdks)
this fixes group calls with element calls
2023-01-31 19:17:29 +05:30
Nicolas Werner fcafa8ae72 Merge branch 'td/rejectCall' into 'main'
fix: reject call on own device if you get a call reject

See merge request famedly/company/frontend/famedlysdk!1231
2023-01-31 10:20:48 +00:00
td 448b61191a
fix: reject call on own device if you get a call reject 2023-01-30 23:14:04 +05:30
td 47a8e32c57 Merge branch 'td/activeSpeaker' into 'main'
feat: active speaker in group calls

See merge request famedly/company/frontend/famedlysdk!1228
2023-01-30 12:38:25 +00:00
td 00154f3c78
feat: active speaker in group calls 2023-01-30 15:46:21 +05:30
Malin Errenst bc300ac2af Merge branch 'voip/fix-glare-mr-side-effects' into 'main'
fix: fix glare side effects for group calls.

See merge request famedly/company/frontend/famedlysdk!1227
2023-01-30 07:48:19 +00:00
td ef0bf44b70
fix: missed incomingCallRoomId case in removing glare stuff during group calls 2023-01-28 03:42:58 +05:30
duanweiwei1982@gmail.com 0deb8d9e6e fix: fix glare side effects for group calls. 2023-01-28 01:10:29 +08:00
Krille 0eb8dc96c1 Merge branch 'td/bump14' into 'main'
chore: bump version

See merge request famedly/company/frontend/famedlysdk!1226
2023-01-27 13:40:19 +00:00
td 5cc46de44a
chore: bump version 2023-01-27 18:54:26 +05:30
td 169ac9c88c Merge branch 'td/deprecateIsBg' into 'main'
chore: deprecate isBackground

See merge request famedly/company/frontend/famedlysdk!1225
2023-01-27 13:09:13 +00:00
Krille f9c0fdca69 Merge branch 'td/stopRingtone' into 'main'
fix: try to stop ringtone on call termination

Closes famedly/company/product-management#531

See merge request famedly/company/frontend/famedlysdk!1220
2023-01-27 12:58:09 +00:00
td 8a1ca08d7c Merge branch 'td/missedCallreject' into 'main'
fix: only send call reject event when needed

See merge request famedly/company/frontend/famedlysdk!1224
2023-01-27 12:56:45 +00:00
td 6246dd1301
chore: deprecate isBackground
This was used by callkeepv1 to fire a system notification or in call flutter screens on a new call, has always been set to false on web
2023-01-27 18:18:55 +05:30
td d8ac3b337a
fix: try to stop ringtone on call termination 2023-01-27 17:57:53 +05:30
td 10e6b9b0e6 Merge branch 'voip/remove-call-in-group-calls-correctly' into 'main'
fix: Fix can't correctly remove/cleanup call in group call.

See merge request famedly/company/frontend/famedlysdk!1222
2023-01-27 12:23:19 +00:00
Duan Weiwei 8ed9913eb6 fix: Fix can't correctly remove/cleanup call in group call. 2023-01-27 12:23:18 +00:00
td 938b475127 Merge branch 'td/iceServers' into 'main'
fix: send all servers for getIceServers

See merge request famedly/company/frontend/famedlysdk!1219
2023-01-27 12:05:07 +00:00