Commit Graph

650 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
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 2021-11-22 17:24:53 +11:00
warrickct 9c9a43ee97 Adding improvements to message request handling. 2021-11-22 15:48:12 +11:00
Audric Ackermann 453d260d5c
Merge pull request #2027 from Bilb/fix-netwokr-switching
Fix network switching with ongoing webrtc calls
2021-11-15 16:54:15 +11:00
Audric Ackermann b8d5a1c166
disable audio output switching as this is broken for now 2021-11-15 14:46:22 +11:00
Audric Ackermann af7cdfc4b4
Merge pull request #2024 from Bilb/setup-test-playwright
Webrtc calls caller UI +  playwright setup
2021-11-12 16:13:37 +11:00
Audric Ackermann 8c9832f118
add a toggle audio output button 2021-11-12 11:45:17 +11:00
Audric Ackermann cca1b4dabe
add a button to start a video call 2021-11-08 15:33:49 +11:00
Warrick Corfe-Tan 87235641cb fixed typos for translations and method name. 2021-11-04 16:07:27 +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 27e87edac2
add a ringing and establishing connection label video calls 2021-11-04 14:28:04 +11:00
Warrick Corfe-Tan 8180200b3a Saving logs to desktop. 2021-10-29 15:27:42 +11:00
Audric Ackermann a45f5f520a
incoming call dialog show avatar + caller name 2021-10-28 13:36:01 +11:00
Audric Ackermann d50d7eb803
our video off => show our avatar 2021-10-28 12:03:11 +11:00
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 2021-10-25 17:04:51 +11:00
Audric Ackermann 251309656b
Merge remote-tracking branch 'upstream/clearnet' into webrtc-calls-p2 2021-10-21 13:52:20 +11:00
Audric Ackermann 99b139f5c4
split settings folder and start adding the settings for video call 2021-10-21 13:18:50 +11:00
Audric Ackermann 55313deb91
add a show user details option in the menu
Fixes #1971
2021-10-20 15:54:26 +11:00
Audric Ackermann 8e6d9ca036
Merge pull request #1969 from Bilb/webrtc-calls
Webrtc video calls - first part - disabled
2021-10-18 16:00:56 +11:00
Audric Ackermann 182192124e
update localized strings from crowdin 2021-10-18 15:59:56 +11:00
Audric Ackermann fbd51c2974
add buttons to display list of inputs + toast on empty 2021-10-14 14:12:08 +11:00
Warrick Corfe-Tan 2b28ec93f9 removed translation for debug logs. 2021-10-11 14:20:33 +11:00
Warrick Corfe-Tan 1fe6b61308 Re-adding code that wasn't commited. Adding button for debug log in settings. 2021-10-11 12:25:27 +11:00
Warrick Corfe-Tan ab6bccade6 Added additional information to debug logs. 2021-10-06 11:35:57 +11:00
Audric Ackermann 1e8c8991ad
more cleanup 2021-10-04 10:56:54 +11:00
Warrick Corfe-Tan 1522e5102d removed isCall property from message. Fixed text 2021-10-01 15:13:02 +10:00
Warrick Corfe-Tan 6743201cc4 added perfect negotiation
Adding toast for cam and audio permission when making a call.

adding missed call message and toast when a call is received while mid-call.

background call message work
2021-10-01 13:39:47 +10:00
Audric Ackermann c54f63ab45
add listener for video calls events 2021-09-27 13:57:31 +10:00
Warrick Corfe-Tan daae55d62c Adding survey button to settings menu. 2021-09-20 15:44:19 +10:00
Warrick 1d459ba533
Unsend messages (only message hashes saving for now is enabled) (#1891)
* WIP unsending message.

* retrieving message with hash from db on receiving unsend request.

* outgoing messages hashes updated on message sent success

* unsend messaging

* unsend message - deleting messages and marking as isDeleted.

* add msg hash to unprocessed records.

* Message unsending working for closed groups provided the message has been updated with a hash from server.

* adding 2-stage confirmation modal for message deletion

* adding rendering of removed incoming messages, disabling rendering of unsent outgoing messages in coversation screen.

* Adding logging

* debugging.

* outgoing only saved for sync message instead of regular message.

* deleting locally

* adding post unsend deletioncode.

* starting adding feature flag.

* Added feature flag.

* addding mandatory messageHash  pollling pipeline methods swarm polling.

* Conversation list item message preview showing deletion placeholder text if deleted.

* add condition to drop unsend requests not send by message author

* refactoring deleteMessage. Saving response hash for closed group message sending

* running yarn ready

* removing logging.

* Adding PR fixes

* Minor changes and running yarn ready

* fix typo

* Moved feature flag to lokiFeatureFlags. Fixing linting errors


Co-authored-by: Audric Ackermann <audric@loki.network>
2021-09-20 13:47:59 +10:00
Audric Ackermann 25453ee807
Speedup body update composition box (#1911)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* move drafts outside of redux to speedup body message writing
2021-09-16 14:34:02 +10:00
audric 3221dd8921 pull latest translations from crowdin 2021-09-02 17:20:25 +10:00
audric 985a5d92bc do not show search input if we only got a single conversation 2021-08-26 16:44:58 +10:00
audric a9dcdea796 update with latet locales from crowdin 2021-08-24 11:39:42 +10:00
audric f7b0c6c7e1 make conversation screen closer to mobile UI part1 2021-08-23 16:32:21 +10:00
Warrick Corfe-Tan ebb37b44b6 Merge branch 'clearnet' into registration-progress-banner 2021-08-19 13:51:12 +10:00
Warrick Corfe-Tan dbc19adeb8 Adding PR changes, running yarn ready 2021-08-19 12:10:11 +10:00
Warrick Corfe-Tan 48b4aab63c applying PR fixes. 2021-08-18 11:17:42 +10:00
Warrick Corfe-Tan f9ad63d58b Merge branch 'clearnet' into registration-progress-banner 2021-08-18 11:14:06 +10:00
Warrick Corfe-Tan af298936d9 Combining and 80 and 90 completion stages. 2021-08-17 10:05:12 +10:00
Warrick Corfe-Tan a1194fa7bb Merge branch 'clearnet' into simplify-onboarding 2021-08-16 09:45:10 +10:00
Warrick Corfe-Tan bf645f36b7 Combining registration steps. 2021-08-16 09:27:29 +10:00
Warrick Corfe-Tan b0a8c6c3eb wip: adding recovery phrase prompt. 2021-08-12 09:23:47 +10:00
audric 612e99af4a add a setting to start the app with a tray icon
Relates #1759
2021-08-10 11:57:27 +10:00
audric 426f2000b8 fixup delete all and handle errors 2021-08-09 11:32:42 +10:00
audric 9991dc2364 move delete account logic to it's own dialog 2021-08-06 10:59:32 +10:00
Audric Ackermann 7365cb2291
Merge pull request #1819 from Brice-W/ban-and-delete-messages
'Ban user and delete all messages' added to menu
2021-08-02 14:34:57 +10:00
Brice-W 2c6821097d adding Ban user and delete all his messages to the menu for moderators 2021-08-02 11:57:10 +10:00
Warrick Corfe-Tan a8a15e3f88 adding PR changes. 2021-08-02 10:52:53 +10:00
Warrick Corfe-Tan 31118ae51f Add notification icon to conversation list item. Add notification subtitle to conversation header on conversation screen. 2021-07-30 15:07:52 +10:00