Commit graph

859 commits

Author SHA1 Message Date
Audric Ackermann cf44896a03
Minor call tweaks (#2051)
* show missed-call,started-call and answered call notification in chat

* fix types for createLastMessageUpdate

* show incoming dialog if we have a pending call when enable call receptio

* simplify a bit the avatar component

* move disableDrag to a custom hook

* speed up hash colors of avatarPlaceHolders

* fixup text selection and double click reply on message

* keep avatar decoded items longer before releasing memory

* add incoming/outgoing/missed call notification

also, merge that notification with the timer and group notification
component

* hangup call if no answer after 30sec

* refactor SessionInput using hook + add testid field for recovery

* disable message request feature flag for now

* fix merge issue

* force loading screen to be black instead of white

for our dark theme user's eyes safety
2021-11-29 17:40:46 +11:00
Audric Ackermann bef9058ffe
Merge branch 'clearnet' into message-requests 2021-11-29 16:28:34 +11:00
warrickct 4576f3cb32 Merge branch 'clearnet' into message-requests 2021-11-24 16:25:07 +11:00
warrickct b5df47c2b8 Addressing PR comments 2021-11-24 13:36:51 +11:00
warrickct 726418887c Addressing PR comments 2021-11-24 09:32:07 +11:00
Audric Ackermann faeb6e206a
fix a bug releasing the decrypted attachment blobs too early 2021-11-23 16:18:52 +11:00
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 2021-11-22 17:24:53 +11:00
warrickct 2144a3980f Linting and formatting. 2021-11-22 16:48:30 +11:00
Audric Ackermann a4daabfa75
add a way to choose the audioouput/mute a webrtc call 2021-11-22 15:04:43 +11:00
Audric Ackermann 53289298a9
auto select the first audio input on connection success webrtc 2021-11-22 14:39:38 +11:00
Audric Ackermann d5f6180ae6
create offer and answer ourselves and do not use the negotiation needed
event.

this event is causing us to loop in negotiation needed when each side
try to create one, gets the answer and so on...
2021-11-22 14:36:02 +11:00
warrickct 2e2941ba9b message request refactoring. 2021-11-22 12:08:48 +11:00
Audric Ackermann 1dff310820
no video track by default and will be turn ON if asked to 2021-11-19 13:27:16 +11:00
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 2021-11-19 10:49:05 +11:00
Audric Ackermann 2f49228317
update turn servers 2021-11-19 09:27:52 +11:00
Audric Ackermann c1471426ac
dismiss a call when answered from another of our devices 2021-11-17 16:01:33 +11:00
Audric Ackermann 485a5b257d
fix ringing sound for in release builds 2021-11-16 10:53:43 +11:00
Audric Ackermann 67665dde56
handle network switching with webrtc
dirty hack from
https://bugs.chromium.org/p/chromium/issues/detail?id=982793
2021-11-15 16:53:00 +11:00
Audric Ackermann 1203f1dc48
remove none state on callState. instead set it to undefined 2021-11-15 14:48:03 +11:00
Audric Ackermann b8d5a1c166
disable audio output switching as this is broken for now 2021-11-15 14:46:22 +11:00
Warrick Corfe-Tan cb5551c1e9 PR changes 2021-11-14 22:38:07 +11:00
Audric Ackermann 6625b7c7b6
calls fix cross platforms issue with uuid 2021-11-12 16:05:22 +11:00
Warrick Corfe-Tan 6a62437c3e Blocking, accepting on click and accepting on msg send
working across clients.
2021-11-12 13:29:35 +11:00
Audric Ackermann 8c9832f118
add a toggle audio output button 2021-11-12 11:45:17 +11:00
Audric Ackermann dafb536f58
disable negotiationevent on recipient side
probably cause issues on network changes
2021-11-10 10:42:38 +11:00
Audric Ackermann 29c187c6a0
add a notification on incoming call + an audio playing 2021-11-09 17:25:25 +11:00
Audric Ackermann 25c7a2febd
data extraction notification on a line rather than a column 2021-11-09 15:45:18 +11:00
Audric Ackermann f91ed7729b
cleanup SessionCompositionBox 2021-11-08 11:03:08 +11:00
Audric Ackermann 57449857f6
reject call after 1 minute showing the dialog 2021-11-04 16:16:27 +11:00
Audric Ackermann 4700a0c832
allow to hangup even if current call should already be closed 2021-11-04 15:17:28 +11:00
Warrick Corfe-Tan c3924f85a9 Adding blocking of individual requests and syncing of block to devices. Added approval by replying to a message. 2021-11-04 14:47:47 +11:00
Audric Ackermann dd25d9cb7f
fix flickering of video stream on mute/unmute 2021-11-04 13:41:11 +11:00
Audric Ackermann 8468598b3a
send a pre offer to the PNServer for video calls 2021-11-04 11:49:34 +11:00
Audric Ackermann 8618cf75e9
send and handle uuid for multi device calls 2021-11-04 11:36:39 +11:00
Audric Ackermann 73d36c9769
send hangup event on datachannel to close video stream quicker
on the recipient side too
2021-11-03 16:16:40 +11:00
Audric Ackermann 25910be0fd
do not display the reveal seed banner if user just used it 2021-11-03 09:38:12 +11:00
Audric Ackermann 390af96514
WIP 2021-10-29 16:24:22 +11:00
Audric Ackermann a0b33fbbbb
add hook to listen for video call events 2021-10-29 14:15:02 +11:00
Warrick Corfe-Tan 4ad14e4c5b Added syncing accepting of contact between running instances. 2021-10-29 10:58:40 +11:00
Audric Ackermann 6a1f575c46
create a hook for listening for video call events
+ wip fullscreen video calls
2021-10-28 16:10:28 +11:00
Audric Ackermann d50d7eb803
our video off => show our avatar 2021-10-28 12:03:11 +11:00
Audric Ackermann dd281de903
cleanup feature flags 2021-10-27 13:57:14 +11:00
Audric Ackermann ce16066313
do not try to do an unsend request on a group swarm 2021-10-27 11:44:37 +11:00
Warrick Corfe-Tan 9e0f128fc6 Adding isApproved field to protobuf. 2021-10-27 10:36:22 +11:00
Audric Ackermann bb26680b75
unsend for me only on a closed group only deletes locally
also do not await request to PN server
2021-10-26 16:59:46 +11:00
Audric Ackermann 5d9565a559
fix menu action for unsending messages 2021-10-26 16:08:04 +11:00
Warrick Corfe-Tan e405b5ffd9 git stash 2021-10-25 17:33:37 +11:00
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 2021-10-25 17:04:51 +11:00
Audric Ackermann 0ae23875b7
finish cleaning up Settings page 2021-10-22 10:44:03 +11:00
Audric Ackermann a596531c57
cleanup SessionSettings by making them less a IdoEverything 2021-10-21 17:08:38 +11:00