Malin Errenst
da61963d37
Merge branch 'malin/refactorVariableNaming' into 'main'
...
refactor: Rename one-character-variables in device_keys_list.dart
See merge request famedly/company/frontend/famedlysdk!1259
2023-03-30 13:04:31 +00:00
Malin Errenst
d8af3edbe1
refactor: Rename one-character-variables in device_keys_list.dart
2023-03-30 12:30:39 +02:00
Krille
c0000c0193
Merge branch 'td/leavedIgnore' into 'main'
...
chore: ignore stale call checking for archived rooms
See merge request famedly/company/frontend/famedlysdk!1255
2023-03-29 14:12:03 +00:00
td
d8d111b1b4
chore: ignore stale call checking for archived rooms
2023-03-29 19:04:10 +05:30
Krille
710752060a
feat: Implement onMigration callback to Client.init() method
2023-03-29 15:30:38 +02:00
Philipp Grieshofer
9aff62a18c
feat: Expose a getter for all rooms including archived rooms
2023-03-20 13:12:47 +00:00
Krille
efe8e7e5ac
feat: Make possible to overwrite boxcollection opener in Hive Collections Database
2023-03-20 08:01:51 +01:00
Philipp Grieshofer
00cb292781
fix: Use MatrixLocalizations to calculate fallback user displayname
2023-03-13 15:49:05 +00:00
Mohammad Reza Moradi
74deba3d3e
Merge branch 'krille/pagination-in-search-events' into 'main'
...
feat: Implement pagination for searchEvent endpoint
See merge request famedly/company/frontend/famedlysdk!1240
2023-03-06 08:17:24 +00:00
Christian Pauly
89c80e7917
feat: Implement pagination for searchEvent endpoint
2023-03-06 09:02:25 +01:00
Nicolas Werner
6f6f6b5d10
Merge branch 'kushal/http-call-issue-fix' into 'main'
...
fix: http api call replaced with httpClient
See merge request famedly/company/frontend/famedlysdk!1189
2023-03-03 15:21:28 +00:00
td
b776e8f9df
Merge branch 'td/asyncmesh' into 'main'
...
fix: make group call stuff async, let clients await what they need
See merge request famedly/company/frontend/famedlysdk!1244
2023-03-03 15:03:32 +00:00
Nicolas Werner
99036ca178
Merge branch 'td/stopCheckerLeave' into 'main'
...
chore: stop stale group call checker on room leave
See merge request famedly/company/frontend/famedlysdk!1245
2023-03-03 12:43:27 +00:00
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
m_kushal
d48542a023
fix: http api call replaced with httpClient
...
Signed-off-by: m_kushal <kushalmahapatro@gmail.com>
2023-03-03 01:16:10 +04: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
936018bebc
chore: remove checker from local list
2023-02-27 11:54:56 +05:30
td
fd4577ae84
chore: stop stale group call checker on room leave
2023-02-27 11:53:08 +05:30
td
9cb99377fb
fix: make group call stuff async, let clients await what they need
2023-02-24 22:31:10 +05:30
td
2d0fd9c393
fix: make group call stuff async, let clients await what they need
2023-02-24 22:17:27 +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
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
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
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
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
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
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
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
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
9a232580be
fix: send all servers for getIceServers
2023-01-27 12:05:07 +00:00
td
ce0bdd9dc6
fix: only send call reject event when needed
...
This is fixes rejects by missed calls, which should only reject a new call locally and not send a event if they are already in a call
2023-01-27 17:16:41 +05:30
td
441df7851b
Merge branch 'td/glare' into 'main'
...
fix: glare
Closes famedly/company/product-management#80
See merge request famedly/company/frontend/famedlysdk!1161
2023-01-23 06:48:09 +00:00
td
262b456010
fix: glare
2023-01-23 06:48:07 +00:00
td
5510049dec
fix: update groupCalls state stream
...
refactor: add a try catch around disposing streams. Decoding streams is broken in flutter_webrtc atm
2023-01-23 06:43:35 +05:30
Nicolas Werner
e81fce1f1f
Merge branch 'td/generateInviteLink' into 'main'
...
feat: add method to generate the matrix.to link
See merge request famedly/company/frontend/famedlysdk!1207
2023-01-20 07:32:56 +00:00
td
9e649b7d37
fix: tweak some stuff in group calls code for group calls onboarding feat
2023-01-20 03:46:20 +05:30
td
c5d484bb13
feat: add method to generate the matrix.to link
2023-01-20 03:41:43 +05:30
Krille
05c945b042
fix: Last message set incorrectly on all session key received
...
This fixes a bug that the
last message was sent
incorrectly when a session
key received for example
from the key backup. It may
fix several issues like the
last message is set as a
very old one or the last
message is not decrypted.
2023-01-18 11:46:32 +01:00
Krille
d6c4b530c5
refactor: room displayname calculation
...
This deprecates the displayname
getter in favor of the new
getLocalizedDisplayname which
gets the default localization
by default so it can be
called without defining localizations. It adds a method
to calculate if a room is an
abandoned DM room where
it is made sure that the room
is actually empty.
2023-01-17 08:51:07 +01:00
Duan Weiwei
579b01a405
Fix the timing error when the candidate arrives before the answer sdp.
2023-01-11 02:50:38 +00:00
Nicolas Werner
4ff07b58f4
Merge branch 'td/ringtone' into 'main'
...
fix: play ringtone for incoming calls before trying to getUserMedia
Closes famedly-web#656
See merge request famedly/company/frontend/famedlysdk!1204
2023-01-03 22:56:51 +00:00
td
1138012dd1
fix: propogate filter to getParticipants in requestParticipants
2023-01-04 03:36:51 +05:30
td
bd352b60a6
fix: play ringtone for incoming calls before trying to getUserMedia
2022-12-30 20:33:04 +05:30
The one with the braid
ed0ab3bdb9
Merge branch 'krille/remove-transaction-workaround' into 'main'
...
refactor: Remove database transaction workaround
See merge request famedly/company/frontend/famedlysdk!1192
2022-12-27 13:20:21 +00:00
Krille Fear
956a2f793f
fix: Add timeout to sync http call
2022-12-27 09:30:04 +01:00
cloudwebrtc
23552d5434
fix: Fix the called party not sending screensharing correctly.
2022-12-21 20:49:37 +08:00
Christian Pauly
7a5b013c92
refactor: Remove database transaction workaround
...
The workaround was from the
time when we have used
sqflite or when Hive had
bugs. But now HiveCollections
already supports transactions
in Dart zones and concurrent
write operations shouldn't
be a problem anymore.
2022-12-21 09:41:11 +01:00
Krille
9d9b1e38ec
Merge branch 'krille/store-after-decrypted-last-event' into 'main'
...
fix: Store decrypted last event in store
See merge request famedly/company/frontend/famedlysdk!1197
2022-12-21 08:24:39 +00:00
Krille Fear
49703f5808
fix: Store decrypted last event in store
2022-12-21 08:43:52 +01:00
Nicolas Werner
58b3098f16
Merge branch 'braid/null-safe-code' into 'main'
...
fix: make some Room getters null safe
See merge request famedly/company/frontend/famedlysdk!1196
2022-12-14 22:36:29 +00:00
TheOneWithTheBraid
35a108b704
fix: make some Room getters null safe
...
- gixes huge error cause in integration tests of related apps
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-12-14 21:20:14 +01:00
Christian Pauly
2f1696bff8
chore: Bump version
2022-12-14 09:00:08 +01:00
Christian Pauly
c66d2edb5e
refactor: Key manager megolm handling to make key generation more efficient
2022-12-14 08:59:36 +01:00
Reza
52d6b59cc1
fix: leaved direct chat name
2022-12-12 10:31:40 +01:00
Duan Weiwei
0bd8848ec5
chore: Add voip connection tester.
2022-12-01 14:14:08 +00:00
Philipp Grieshofer
3f82835d3a
fix: await requestKey() in event search
2022-12-01 08:55:57 +00:00
Philipp Grieshofer
789527c256
fix: Request session key for bad encrypted events before the text search is carried out
2022-11-28 08:08:26 +00:00
Mohammad Reza Moradi
67e1b9b253
Merge branch 'krille/check-if-verified-by-any-master-key' into 'main'
...
feat: Check if a key is verified by any master key
See merge request famedly/company/frontend/famedlysdk!1173
2022-11-24 13:11:07 +00:00
Reza
7da56ee212
fix: minor stuff
2022-11-24 11:00:10 +01:00
Reza
f969a733f1
fix: minor stuff
2022-11-24 10:48:17 +01:00
Reza
dd4d0696b3
fix: do not pass the verified device list
2022-11-24 10:19:52 +01:00
Reza
8f37466295
fix: minor stuff
2022-11-24 09:33:36 +01:00
Reza
10cf979877
fix: minor stuff
2022-11-23 19:28:08 +01:00
Reza
44f862b966
feat: start verification with the verified device
2022-11-23 13:43:57 +01:00
TheOneWithTheBraid
6ef8a56041
feat: migrate e2ee test to DinD
...
- migrate e2ee tests to DinD
- test e2ee against Synapse, Conduit and Dendrite
- fix error handling in push rules (thanks to Dendrite tests)
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-11-23 09:01:53 +01:00
Reza
ffb37e834f
feat: check if the key is verified by any master key
2022-11-22 17:22:04 +01:00
TheOneWithTheBraid
3cc4cd8410
fix: follow account kind in registration
...
- as of now, account kind ist simply ignored
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-11-22 07:53:59 +01:00
td
d517581fa5
Merge branch 'krille/fix-powerlevels' into 'main'
...
fix: PowerLevel calculation regarding to spec
See merge request famedly/company/frontend/famedlysdk!1172
2022-11-21 09:39:50 +00:00
Christian Pauly
f3287dbb99
fix: PowerLevel calculation regarding to spec
2022-11-21 10:14:28 +01:00
Christian Pauly
aaaf63a0b8
feat: Check if a key is verified by any master key
...
To check if a device is cross
signed by any master key can
be useful to know which
device can give us the
bootstrap keys on login.
2022-11-21 10:12:12 +01:00
The one with the braid
50288698a8
Merge branch 'braid/cute-events' into 'main'
...
feat: support MSC 3935: cute events
See merge request famedly/company/frontend/famedlysdk!1168
2022-11-21 08:53:44 +00:00
TheOneWithTheBraid
476963069a
feat: support MSC 3935: cute events
...
- add cute event skeletron (`im.fluffychat.cute_events`)
- add cute events to default command batch
- this way, all SDK users can profit from cute events
- supported events: `hug`, `googly_eyes`, `cuddle`
Fixes:
https://rail.chat/@AgathaSorceress@eldritch.cafe/109336005433123570
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-11-21 09:17:07 +01:00
td
6da10bf233
fix: handleMissedCalls on remote hangups before answer
2022-11-18 12:13:02 +05:30
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
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
cloudwebrtc
81eacf7291
chore: upgrade webrtc_interface, remove WebRTCDelegate.cloneStream.
2022-11-12 18:48:26 +08: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