Commit Graph

361 Commits (89757a95a66dde3828ce5a3a9a70bc18abd573e8)

Author SHA1 Message Date
Audric Ackermann 71aa6c813c
Merge remote-tracking branch 'upstream/clearnet' into fix-i18n-with-dollars-sign 3 years ago
Audric Ackermann e1f2393c3a
cleanup translated strings 3 years ago
Audric Ackermann f1900f9f36
remove some unused strings
and fix tos links #2176
3 years ago
warrickct c0622d47f4 Disallow disappearing messages if convo is not approved by recipient. 3 years ago
warrickct f5972a5d1c Calling setting convo isApproved. Removing some unnecessary conditionals. 3 years ago
warrickct ffad806366 Prevent attachments being sent for unapproved conversations. 3 years ago
warrickct 893f7e99b8 Merge branch 'clearnet' into message-request-ui 3 years ago
Ian Macdonald 6613161b20
Don't nanny the user. Allow all file types as attachments.
The Android client already has no such restrictions, and these are
ineffective anyway, as they are based on the file's name, not its
payload.
3 years ago
warrickct ee9156d4f8 Merge clearnet into message-request-ui 3 years ago
warrickct 0461454e27 Removing toast on request accept 3 years ago
warrickct d627b8e11d Requesting flow working with sending message as acceptance. 3 years ago
audric 78b84d4ed8 call: pick a sample of 2 of the iceservers before creating connection 3 years ago
Audric Ackermann 7d9f970b2c
remove decrypted_at field from saving message models as unused 3 years ago
Audric Ackermann 6f5bca6660
allow more characters to be used in display name
We just deny the one used to add markers around a mentions on the
desktop client. which is ᅭ

Relates #2132
3 years ago
Audric Ackermann 5afbd9c19e
cleanup creation of opengroup message on sync 3 years ago
Audric Ackermann 00d2bbc63d
cleanup MessageSearchResults 3 years ago
audric a21751c611
open convo on last unread, and can scroll up 3 years ago
audric e515ce3ca5 Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment 3 years ago
audric 4b39b46b6a replace invalid unicode in filename 3 years ago
audric 72409e3f1f make sure to keep error state of attachment DL failing 3 years ago
audric 8feecb777b make sure to scale dowm preview in composition box 3 years ago
Audric Ackermann c7565fe7b3 Move scale/resize and attachment logic to typescript 3 years ago
Audric Ackermann cb8704f9b1
bump convo active_at on answered/trigger call 3 years ago
Audric Ackermann 55cca318e7
lint 3 years ago
Audric Ackermann eb0cf0938d
make sure to use cached convos for sync logic
otherwise the whole app freezes on a big database
3 years ago
Audric Ackermann 28c7445dce
refactor most of the components to outside of their Session folder (#2072)
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes #2079
3 years ago
Audric Ackermann 48e7a0e25f
Various UI fixes (#2070)
* cleanup unused convo json fields in db

* display a toast if the user is not approved yet on call OFFER received

* enable CBR for calls

* do not update active_at on configMessage if !!active_at

* remove mkdirp dependency

* disable call button if focused convo is blocked

* quote: do not include the full body in quote, but just the first 100

* click on the edit profile qr code padding

* Allow longer input for opengroup join overlay

Fixes #2068

* Fix overlay feature for start new session button

* make ringing depend on redux CALL status

* turn ON read-receipt by default
3 years ago
Audric Ackermann 1a699879cf
Add call duration (#2059)
* add call duration once connected

* close incoming call dialog if endCall from same sender

* disable message request toggle if featureFlag is OFF
3 years ago
Audric Ackermann 651b1c4376
Fetch translations (#2056)
* 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

* add type for i18n to run update after crowdin  fetch with tools/updateI18nKeysType.py

* update to latest translations
3 years ago
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
3 years ago
warrickct 4576f3cb32 Merge branch 'clearnet' into message-requests 3 years ago
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 3 years ago
warrickct 2144a3980f Linting and formatting. 3 years ago
Audric Ackermann a4daabfa75
add a way to choose the audioouput/mute a webrtc call 3 years ago
Audric Ackermann 53289298a9
auto select the first audio input on connection success webrtc 3 years ago
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...
3 years ago
Audric Ackermann 1dff310820
no video track by default and will be turn ON if asked to 3 years ago
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 3 years ago
Audric Ackermann 2f49228317
update turn servers 3 years ago
Audric Ackermann c1471426ac
dismiss a call when answered from another of our devices 3 years ago
Audric Ackermann 485a5b257d
fix ringing sound for in release builds 3 years ago
Audric Ackermann 67665dde56
handle network switching with webrtc
dirty hack from
https://bugs.chromium.org/p/chromium/issues/detail?id=982793
3 years ago
Audric Ackermann 1203f1dc48
remove none state on callState. instead set it to undefined 3 years ago
Audric Ackermann b8d5a1c166
disable audio output switching as this is broken for now 3 years ago
Warrick Corfe-Tan cb5551c1e9 PR changes 3 years ago
Audric Ackermann 6625b7c7b6
calls fix cross platforms issue with uuid 3 years ago
Warrick Corfe-Tan 6a62437c3e Blocking, accepting on click and accepting on msg send
working across clients.
3 years ago
Audric Ackermann 8c9832f118
add a toggle audio output button 3 years ago
Audric Ackermann dafb536f58
disable negotiationevent on recipient side
probably cause issues on network changes
3 years ago
Audric Ackermann 29c187c6a0
add a notification on incoming call + an audio playing 3 years ago