Commit Graph
5908 Commits
Author SHA1 Message Date
Evan HahnandJosh Perez b0bee86fd3 Error if encrypted group title is too long 2021-03-19 16:57:35 -04:00
Josh PerezandJosh Perez f07da67c60 Toggle between db in renderer and in main 2021-03-19 16:57:35 -04:00
Fedor IndutnyandJosh Perez 12d7f24d0f New UI for audio playback and global audio player
Introduce new UI and behavior for playing audio attachments in
conversations. Previously, playback stopped unexpectedly during window
resizes and scrolling through the messages due to the row height
recomputation in `react-virtualized`.

With this commit we introduce `<GlobalAudioContext/>` instance that
wraps whole conversation and provides an `<audio/>` element that
doesn't get re-rendered (or destroyed) whenever `react-virtualized`
recomputes messages. The audio players (with a freshly designed UI) now
share this global `<audio/>` instance and manage access to it using
`audioPlayer.owner` state from the redux.

New UI computes on the fly, caches, and displays waveforms for each
audio attachment. Storybook had to be slightly modified to accomodate
testing of Android bubbles by introducing the new knob for
`authorColor`.
2021-03-19 16:57:35 -04:00
Josh PerezandJosh Perez 1ca4960924 Changes display of your own name to "You" 2021-03-19 16:57:35 -04:00
Evan HahnandJosh Perez 9f5335b854 New Group administration: update title and avatar 2021-03-19 16:57:35 -04:00
Josh PerezandJosh Perez 468d491d34 Optimizations to the performance improvement changes 2021-03-19 16:57:35 -04:00
Fedor IndutnyandJosh Perez cee8207e72 Fix hidden Dev Tools menu item in development runs 2021-03-19 16:57:35 -04:00
Evan HahnandJosh Perez 729d808f62 macOS: make conversation and main header draggable 2021-03-19 16:57:35 -04:00
Evan HahnandJosh Perez ecc04d36de Disallow group names longer than 32 extended graphemes 2021-03-19 16:57:35 -04:00
Evan HahnandJosh Perez 934e0fa415 In <ContactPills>, use new "scrollToBottom" helper 2021-03-19 16:57:35 -04:00
Evan HahnandJosh Perez a2071d9fa6 Update font values per Design's recommendations 2021-03-19 16:57:35 -04:00
Scott NonnenbergandJosh Perez 1ad01c7d36 Fix 'you created group' message pinned to bottom 2021-03-19 16:57:35 -04:00
Josh Perez e3d13f2480 Fix window refresh and reloads 2021-03-19 16:57:35 -04:00
Josh PerezandJosh Perez c313514f34 Auto healing unreferenced quotes 2021-03-19 16:57:35 -04:00
Josh PerezandJosh Perez 3cc6c5f5ad Fix for missing replacement text in bodyRanges 2021-03-19 16:57:35 -04:00
Evan HahnandJosh Perez dab5386207 Update group limits error message 2021-03-19 16:57:35 -04:00
Josh PerezandJosh Perez 230604b451 Fix for storage service profileSharing setting 2021-03-19 16:57:35 -04:00
Josh PerezandJosh Perez d82ce07942 Improve cold start performance 2021-03-19 16:57:35 -04:00
Scott NonnenbergandJosh Perez c73e35b1b6 Support for translating Desktop sessions to libsignal-client sessions 2021-03-19 16:57:35 -04:00
Josh PerezandJosh Perez 44dfd28017 Fix message retry and search results with mentions 2021-03-19 16:57:35 -04:00
Scott NonnenbergandJosh Perez 9e2411ce30 Remove getIsConversationEmptySelector in favor of messageCount 2021-03-19 16:57:35 -04:00
Scott NonnenbergandJosh Perez c9ffb7c014 Move SecretSessionCipher to TypeScript 2021-03-19 16:57:35 -04:00
Scott NonnenbergandJosh Perez 7e629edd21 Move SignalProtocolStore to TypeScript 2021-03-19 16:53:52 -04:00
Evan HahnandJosh Perez 5de4babc0d Support for creating New Groups 2021-03-19 16:53:52 -04:00
Fedor IndutnyandJosh Perez 1934120e46 Disable Dev Tools in production releases
`--enable-dev-tools` will bring it back.
2021-03-19 16:53:51 -04:00
Fedor IndutnyandJosh Perez 18fb2b806e Remove notification on reaction remove/change 2021-03-19 16:53:51 -04:00
Fedor IndutnyandJosh Perez c4dc3f3bcb Make mention blot non-contenteditable 2021-03-19 16:53:51 -04:00
Evan HahnandJosh Perez 99bcad0bd9 Use missingCaseError in <CallingPipRemoteVideo> 2021-03-19 16:53:51 -04:00
Evan HahnandJosh Perez 8c951602b7 Add conversation header button hover states 2021-03-19 16:53:51 -04:00
Fedor IndutnyandJosh Perez a2a0d56270 Ensure a theme setting value is saved on first startup 2021-03-19 16:53:51 -04:00
Jim GustafsonandJosh Perez 5447d0ad69 Update to RingRTC v2.9.4 2021-03-19 16:53:51 -04:00
Josh PerezandJosh Perez 12bba24dbd Improvements to Group Settings screen 2021-03-19 16:53:51 -04:00
Evan HahnandJosh Perez dfa5005e7d Update conversation header design 2021-03-19 16:53:51 -04:00
Evan HahnandJosh Perez d7d70da315 Fix typo in buildGroupProto error message 2021-03-19 16:53:51 -04:00
Scott NonnenbergandJosh Perez d0e3a2ce29 background.ts/conversation_view.ts modules, Whisper.View/ToastView in TS 2021-03-19 16:53:51 -04:00
Scott NonnenbergandJosh Perez 2aa2aca9f2 A few bug fixes 2021-03-19 16:53:51 -04:00
Evan HahnandJosh Perez 4b28fd896a Disabled <Button>s should not use cursor: pointer 2021-03-19 16:53:51 -04:00
Scott NonnenbergandJosh Perez 254cddc514 Move getPlaceholder to component that needs it 2021-03-19 16:53:51 -04:00
Jack LloydandJosh Perez c33fea35dc Fingerprint using SignalClient library 2021-03-19 16:53:51 -04:00
Evan HahnandJosh Perez 06fb4fd0bc Add "new conversation" composer for direct messages 2021-03-19 16:53:51 -04:00
84dc166b63 Bump to using 0.3.0 release of the libsignal-client library
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2021-03-19 16:53:51 -04:00
Evan HahnandJosh Perez 8ee3bd9687 Create <Button> component and use it in <GroupV2JoinDialog> 2021-03-19 16:53:51 -04:00
Evan HahnandJosh Perez c4551ca7ca Revoke object URLs in two error cases 2021-03-19 16:53:51 -04:00
Scott NonnenbergandJosh Perez 1ee47735d9 Add 'chat session refreshed' to timeline for every error 2021-03-19 16:53:51 -04:00
Scott NonnenbergandJosh Perez 733c86ee8e GroupV2: Log from/to revision when applying full group state 2021-03-19 16:53:51 -04:00
Jim GustafsonandJosh Perez 79ddd48c28 Update to RingRTC v2.9.3 2021-03-19 16:53:51 -04:00
Scott NonnenbergandJosh Perez 98e7e65d25 Automatic session reset 2021-03-19 16:53:51 -04:00
Evan HahnandJosh Perez fe187226bb Upgrade protobufjs to 6.10.2 2021-03-19 16:53:51 -04:00
Evan HahnandJosh Perez 6bbcf86772 Shorten searchConversations SQL query 2021-03-19 16:53:51 -04:00
Evan HahnandJosh Perez eb203ba929 Disable search keyboard shortcuts when main header isn't shown 2021-03-19 16:53:51 -04:00