Commit Graph

171 Commits

Author SHA1 Message Date
Fedor Indutny
93f60ee5a6 Don't forget to cleanup in-memory sticker pack 2021-07-29 11:59:26 -07:00
Josh Perez
d9e90e9ea8 Improvements to shared library components 2021-07-21 13:45:41 -07:00
Fedor Indutny
e534dd64f2 Don't transcode incoming attachments 2021-07-20 12:31:23 -07:00
Fedor Indutny
886e8966ff Drop support for signaling key 2021-07-19 18:11:07 -07:00
Evan Hahn
c4a09b7507 Refactor outbound delivery state, take 2
This reverts commit ad217c808d.
2021-07-19 17:44:49 -05:00
Josh Perez
cd35a29638 Edit profile 2021-07-19 12:26:06 -07:00
Scott Nonnenberg
a42c41ed01 Message Send Log to enable comprehensive resend 2021-07-15 16:48:09 -07:00
Fedor Indutny
c3bdf3d411 Show lightbox for GIFs 2021-07-14 16:39:52 -07:00
Fedor Indutny
ad217c808d Revert "Refactor outbound delivery state"
This reverts commit 9c48a95eb5.
2021-07-12 16:51:45 -07:00
Evan Hahn
9c48a95eb5 Refactor outbound delivery state 2021-07-09 16:38:51 -05:00
Evan Hahn
831ec98418 Audio messages: move countdown under waveform 2021-07-09 13:27:16 -07:00
Fedor Indutny
ddbbe3a6b1 More protobufjs migration 2021-07-09 12:36:10 -07:00
Josh Perez
ff67d9178b Transcode all supported image types 2021-07-07 13:06:01 -04:00
Fedor Indutny
71572db7a9 Get native theme through IPC not remote 2021-06-30 11:57:43 -07:00
Fedor Indutny
773aa9af19 Better emoji support in linkify/previews 2021-06-30 10:00:02 -07:00
Evan Hahn
8b30fc17cd Officially support the system tray on Linux, in beta only 2021-06-29 14:29:40 -05:00
Evan Hahn
af1f2ea449 Officially support the system tray on Windows 2021-06-29 12:18:03 -05:00
Fedor Indutny
d11283f0f1 Update RingRTC to v2.10.6 2021-06-29 09:39:53 -05:00
Josh Perez
01eabf9ec6 Option to send photos as high quality 2021-06-25 11:08:16 -05:00
Fedor Indutny
6c56d5a5f1 Fix UI for GIFs in groups 2021-06-24 16:00:11 -05:00
Fedor Indutny
a7799a74c1 Fix rendering of GIFs 2021-06-24 12:05:27 -07:00
Evan Hahn
6b2dfeb9f5 Use POJO instead of MessageModel in ConversationView quote logic 2021-06-22 16:16:50 -07:00
Scott Nonnenberg
24960d481e Move all files under /app to typescript 2021-06-18 10:04:27 -07:00
Scott Nonnenberg
68f1023946 Move message.getPropsForBubble and friends to selectors 2021-06-17 10:15:10 -07:00
Evan Hahn
03a187097f Disappearing message cleanups 2021-06-16 17:20:17 -05:00
Fedor Indutny
8f5086227a Enforce stronger types for ArrayBuffers and storage 2021-06-14 17:09:37 -07:00
Fedor Indutny
17e6ec468e Faster WebSocket reconnects 2021-06-09 15:28:54 -07:00
Scott Nonnenberg
f226822dff Conversation: Prevent getProps errors on initial link
Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>
2021-06-08 16:31:35 -05:00
Josh Perez
df7f702dde Update group name colors 2021-06-07 11:50:18 -05:00
Fedor Indutny
5b18bb8563 Fix storybook for calling sources modal 2021-06-03 12:52:11 -07:00
Josh Perez
6d7849e6c7 Colors update contact name colors 2021-06-01 16:37:12 -07:00
Josh Perez
28f016ce48 Conversation Colors 2021-05-28 09:15:17 -07:00
Josh Perez
ceffc2380c Add screensharing behind a feature flag 2021-05-20 17:37:19 -07:00
Evan Hahn
8f0731d498 Remove unsupported auto-launch setting on Linux 2021-05-20 17:37:18 -07:00
Josh Perez
e0c324e4ba Send/Receive support for reaction read syncs 2021-05-06 21:15:25 -04:00
Evan Hahn
736075322c Render disappearing message timers generically 2021-05-03 16:24:40 -07:00
Fedor Indutny
caf1d4c4da GIF attachments 2021-04-29 14:27:37 -07:00
Evan Hahn
d81aaf654f Improve left pane UI when loading search results 2021-04-05 18:08:50 -04:00
Evan Hahn
afe135df0c Hide long message attachments in quotes 2021-03-25 11:36:50 -07:00
Fedor Indutny
9fa3359477 Mark attachment as corrupted if audio load failed
Sending corrupted audio should not leave user with non-functional
UI. Mark attachment as corrupted and show generic attachment UI for it
instead.
2021-03-22 11:51:53 -07:00
Fedor Indutny
f41ffda3e0 Update types: attachments may not have url property 2021-03-19 16:57:36 -04:00
Fedor Indutny
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 Perez
34285054f6 Manual download of attachments with no blurHash 2021-02-11 17:50:11 -08:00
Evan Hahn
4519aa4abf Allow PSD uploads over 6MB
You can't currently upload PSD files over 6MB. This is because its
mimetype is `image/vnd.adobe.photoshop`. We think this is an image, and
non-GIF images have a limit of 6MB.

To fix this, we could do one of two things:

1. Add a special case for PSD files
2. Increase the size limit for unsupported image types such as this

I went with the second option.

Tested this by:

- adding automated tests
- uploading a ~9 MB PSD file
- uploading a ~1 MB PNG
- uploading a ~27 MB PNG (which worked because it's converted to a smaller JPEG)
- uploading a ~50 MB text file
- trying to upload a ~500 MB text file (which failed, as expected)

Addresses [DESKTOP-1168][].

[DESKTOP-1168]: https://signalmessenger.atlassian.net/browse/DESKTOP-1168
2021-02-10 14:47:55 -08:00
Zachary DeRose
819554f6b3 Adjust MIMEType Predicate Signatures (#4832) 2021-02-04 14:46:30 -08:00
Evan Hahn
ddebbf8121 Hide title bar on macOS 2021-02-01 12:01:25 -08:00
Josh Perez
a096220990 Do not download media if in call 2021-01-29 14:58:28 -08:00
Josh Perez
c0510b08a5 Introduce conversation details screen for New Groups
Co-authored-by: Chris Svenningsen <chris@carbonfive.com>
Co-authored-by: Sidney Keese <me@sidke.com>
2021-01-29 13:19:24 -08:00
Evan Hahn
8a72607fa7 Prefer type to interface and add an ESLint rule 2021-01-25 18:29:00 -08:00
Evan Hahn
b281420a40 Group calling: add speaker view 2021-01-25 18:28:59 -08:00