Fedor Indutny
e7be409961
Fix late view/read sync logic
2021-08-16 10:18:16 -07:00
Fedor Indutny
962515031d
Reduce number of SQL queries during conversation update
2021-08-16 11:56:27 -05:00
Evan Hahn
b0750e5f4e
Show "unplayed" dot on incoming audio messages
2021-08-12 13:15:55 -05:00
Fedor Indutny
12c78c742f
Optimize rendering
2021-08-11 09:23:21 -07:00
Josh Perez
9078919545
Transcode heic/heif images
2021-08-09 13:06:21 -07:00
Scott Nonnenberg
35625f4200
Groups: Force a fetch right now if our update runs into a conflict
2021-08-06 14:25:15 -07:00
Scott Nonnenberg
5069f48cf0
Message Send Log: Increase retention length
2021-08-05 20:17:23 -04:00
Josh Perez
12d2b1bf7c
Avatar defaults and colors
2021-08-05 20:17:05 -04:00
Fedor Indutny
a001882d58
Change Phone Number notifications
2021-08-05 16:34:49 -07:00
Evan Hahn
6b290a0f0c
@mentions notifications
2021-08-05 07:35:33 -05:00
Evan Hahn
eccd682920
Remove unused ConversationModel#getName
2021-08-02 14:26:54 -07:00
Scott Nonnenberg
bcb9d2d2f3
Modernize DeliveryIssueDialog, fix outline clipping in Modal
2021-08-02 14:19:18 -07:00
Fedor Indutny
926283a114
Fix uncaught error in markMessageRead
2021-07-30 15:13:52 -07:00
Scott Nonnenberg
0ab09711a4
Track performance of message sends
2021-07-30 11:37:03 -07:00
Evan Hahn
8cadc40975
Replace MessageModel#isUnread with isMessageUnread utility
2021-07-29 09:29:07 -05:00
Fedor Indutny
1c1d0e2da0
Move to websocket for requests to signal server
2021-07-28 14:37:09 -07:00
Evan Hahn
8449f343a6
Fix send sync message bugs
2021-07-28 13:53:18 -05:00
Fedor Indutny
4c933a1f5a
Fix overly-verbose errors in message details
2021-07-27 16:11:38 -07:00
Evan Hahn
14929fb408
Show "unplayed" dot on outgoing audio messages
2021-07-27 10:42:25 -05:00
Scott Nonnenberg
67d13e9ba8
More logging in addDeliveryIssue, properly wait in getProfiles
2021-07-26 17:00:16 -07:00
Fedor Indutny
fdec47d637
Use single WebAPI instance across the app
2021-07-23 10:23:50 -07:00
Evan Hahn
07f0efc45f
Rename "view sync" to "view once open sync"
2021-07-22 12:07:53 -05:00
Josh Perez
d9e90e9ea8
Improvements to shared library components
2021-07-21 13:45:41 -07:00
Evan Hahn
2c59c71872
Show read/viewed even after read receipts disabled
2021-07-21 12:21:16 -07:00
Scott Nonnenberg
e94eaf07a9
Message.sendSyncMessage: properly handle falsey id field
2021-07-20 17:29:44 -07:00
Josh Perez
bf6c0ce7c0
Place announcement-only groups behind feature flag
2021-07-20 15:51:38 -05:00
Josh Perez
56d5d283bd
Support for announcement-only groups
2021-07-20 13:18:35 -07:00
Evan Hahn
863ae9ed83
Combine DeliveryReceipts and MessageReceipts modifiers
2021-07-20 13:17:25 -07:00
Evan Hahn
1e10286210
Message details: group by send status, including viewed state
2021-07-20 14:56:50 -05:00
Fedor Indutny
31989a7706
Translate errors before rejecting in SendMessage
2021-07-19 18:10:09 -07:00
Evan Hahn
c4a09b7507
Refactor outbound delivery state, take 2
...
This reverts commit ad217c808d
.
2021-07-19 17:44:49 -05:00
Scott Nonnenberg
7761d83055
Update timers whenever we mark messages read
2021-07-19 13:45:18 -07: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
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
Fedor Indutny
ddbbe3a6b1
More protobufjs migration
2021-07-09 12:36:10 -07:00
Scott Nonnenberg
b50bf58418
Clear profile avatar when we discover that it has been removed
2021-07-02 13:16:23 -07:00
Fedor Indutny
299fe2af36
More protobufjs use
2021-07-02 14:21:24 -05:00
Scott Nonnenberg
615ae1ccf7
Refactor SendMessage.ts to named parameters
2021-07-02 13:34:17 -05:00
Evan Hahn
7dac480df5
Don't expire incoming expiration timer updates
2021-07-01 16:48:40 -07:00
Evan Hahn
75cb7b6b13
Improve type for ConversationModel#setProfileAvatar
2021-07-01 16:43:58 -07:00
Fedor Indutny
773aa9af19
Better emoji support in linkify/previews
2021-06-30 10:00:02 -07:00
Evan Hahn
dc78165043
Fix types when creating ephemeral messages for DOE and reactions
2021-06-29 16:05:56 -05:00
Evan Hahn
a3315bcb68
Skip double save with sync message that has errors
2021-06-28 16:04:42 -07:00
Josh Perez
01eabf9ec6
Option to send photos as high quality
2021-06-25 11:08:16 -05:00
Fedor Indutny
d623533707
Fix check for successfull delivery
2021-06-23 10:01:13 -07:00
Evan Hahn
b990204bce
Clean up MessageModel group_update
2021-06-23 09:14:11 -07:00
Evan Hahn
6b2dfeb9f5
Use POJO instead of MessageModel in ConversationView quote logic
2021-06-22 16:16:50 -07:00
Evan Hahn
9db19283ac
MessageController: return all messages by sent at, not just 1
2021-06-22 16:05:05 -07:00
Fedor Indutny
cb0696d59d
Prevent deadlock in maybeApplyUniversalTimer
2021-06-22 10:03:09 -05:00
Fedor Indutny
9f0c630574
Move to protobufjs in ts/groups.ts
2021-06-22 09:46:42 -05:00
Josh Perez
94d116c621
Removes some Backbone views
2021-06-17 14:15:09 -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
Scott Nonnenberg
1520c80013
Remove messageCollection from Conversation model
2021-06-15 17:44:14 -07:00
Fedor Indutny
8f5086227a
Enforce stronger types for ArrayBuffers and storage
2021-06-14 17:09:37 -07:00
Fedor Indutny
61ac79e9ae
Log conversation job wait time and duration
2021-06-14 14:55:14 -07:00
Scott Nonnenberg
bff3f0c74a
Sender Key: Prepare for production
2021-06-08 14:51:58 -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
Evan Hahn
906b949c47
Fix isGroupV2 type error
2021-06-07 10:29:37 -07:00
Josh Perez
d4875fd8f4
Remove isPrivate, isMe, isGroupV1, isGroupV2 from model
2021-06-07 09:39:13 -07:00
Scott Nonnenberg
3956443f50
Group Description: Render newlines, view button in change notification
2021-06-04 09:27:04 -07:00
Scott Nonnenberg
8583be3775
Render proper contact in Delivery Issue notifications
2021-06-03 17:25:41 -05:00
Josh Perez
cdf8b0b28d
Fix global custom colored quote in composition area
2021-06-03 14:37:13 -07:00
Scott Nonnenberg
6d82acd23c
Forward: Don't re-use timestamp or attachment files
2021-06-03 14:26:56 -07:00
Josh Perez
c055240dc5
Fix for per chat color selection
2021-06-03 11:46:38 -07:00
Scott Nonnenberg
84aed82357
Reactions/DFE: Ensure post-save updates are persisted
2021-06-03 13:00:54 -05:00
Josh Perez
bd46e3afd6
Fixes global chat color setting
2021-06-02 14:05:09 -07:00
Fedor Indutny
a6ce00ff37
Fix check for universal timer notification
2021-06-02 13:55:10 -07:00
Fedor Indutny
b009967a83
Display proper text when quoting view once message
2021-06-02 09:42:19 -07:00
Scott Nonnenberg
9705f464be
Group Description: Edit/Receive
2021-06-01 20:24:28 -04:00
Evan Hahn
36c15fead4
Group name spoofing warning
2021-06-01 16:30:25 -07:00
Fedor Indutny
19f8042cd3
Universal Disappearing Messages
2021-06-01 13:45:43 -07:00
Scott Nonnenberg
5a4fc5e425
Sender Key: Disable capability and bug fixes
2021-06-01 12:40:09 -07:00
Scott Nonnenberg
ee513a1965
Support for message retry requests
2021-05-28 12:11:19 -07:00
Josh Perez
28f016ce48
Conversation Colors
2021-05-28 09:15:17 -07:00
Scott Nonnenberg
e6f1ec2b6b
Send support for Sender Key
2021-05-25 15:40:04 -07:00
Scott Nonnenberg
09ef4d85e0
onChange: Emit changed event even if changed set is empty
2021-05-24 11:51:47 -07:00
Evan Hahn
95d404c70b
Improve UI performance for no-op profile fetches
2021-05-21 12:53:05 -07:00
Scott Nonnenberg
f6bc4dfe25
Enable click on draft quotes, fetch groups from contact modal
2021-05-21 10:27:28 -07:00
Scott Nonnenberg
be087c3498
Ensure that context is always provided for error logs
2021-05-20 17:37:18 -07:00
Scott Nonnenberg
bcaca1ebd5
View Once: Allow for missing sender; only require senderUuid
2021-05-20 17:37:17 -07:00
Evan Hahn
392822372b
Iterables: add and use filter
2021-05-20 17:37:17 -07:00
Josh Perez
215d90fbe8
Always update unreadCount for conversations
2021-05-20 17:37:09 -07:00
Evan Hahn
794d910d4e
Remove useless set of message recipients
2021-05-20 17:37:09 -07:00
Fedor Indutny
7fa730531a
Improve experience for contacts without signal accounts
2021-05-20 17:37:08 -07:00
Fedor Indutny
03eaa9eb3e
Apply reactions optimistically
2021-05-20 17:37:08 -07:00
Fedor Indutny
c2a0072fa1
Apply reactions to messages in "Notes to Self"
2021-05-11 10:06:19 -07:00
Scott Nonnenberg
efaaafa370
A few small bug fixes
2021-05-10 15:38:18 -07:00
Josh Perez
887b2c1db1
Get the correct unread count for a conversation
2021-05-10 11:49:13 -07:00
Evan Hahn
d28678dbf9
Make it more difficult to blur avatars
2021-05-07 17:21:10 -05:00
Fedor Indutny
98894ab121
Let group update happen on relink
2021-05-07 15:07:24 -05:00
Josh Perez
e0c324e4ba
Send/Receive support for reaction read syncs
2021-05-06 21:15:25 -04:00
Fedor Indutny
986d8a66bc
Show challenge when requested by server
2021-05-05 17:09:29 -07:00
Evan Hahn
8ef14e6f39
When incoming message should've been sealed sender, reply with profile key
2021-05-05 09:39:16 -07:00
Evan Hahn
736075322c
Render disappearing message timers generically
2021-05-03 16:24:40 -07:00
Evan Hahn
c1730e055f
Remove 25 trivial WhatIsThis types
2021-05-03 09:38:20 -07:00
Evan Hahn
05703c2719
Blur avatars of unapproved conversations
2021-04-30 14:40:25 -05:00
Evan Hahn
1238cca538
Ensure group details screen has the latest data
2021-04-29 14:27:38 -07:00
Fedor Indutny
caf1d4c4da
GIF attachments
2021-04-29 14:27:37 -07:00
Evan Hahn
5f17d01f49
Take an author object in <Message>
2021-04-29 14:27:37 -07:00
Evan Hahn
a5a64f354f
Upgrade Prettier from v2.1.2 to v2.2.1
2021-04-29 14:27:36 -07:00
Evan Hahn
664865c9f1
Rename ConversationModel#getAvatarPath for clarity
2021-04-29 14:27:36 -07:00
Scott Nonnenberg
86d2a4b5dd
decrypt/encrypt with libsignal-client, remove libsignal-protocol-javascript
2021-04-29 14:27:35 -07:00
Fedor Indutny
8ac2d8fcec
Mark contact as registered when receiving message
2021-04-29 14:24:55 -07:00
Josh Perez
353becffac
Various fixes for message forwarding
2021-04-28 15:44:48 -05:00
Josh Perez
d203f125c6
Adds message forwarding
2021-04-27 18:35:35 -04:00
Josh Perez
26b90ba44a
Add return types for two MessageModel "getProps" methods
2021-04-22 09:20:01 -05:00
Scott Nonnenberg
7d55421d8f
Quotes: Check message's conversationId
2021-04-14 15:15:57 -07:00
Evan Hahn
ea6562b7ac
Merge branch 'hiqua-no_lower_limit_query' into next-beta
2021-04-14 14:14:57 -07:00
Scott Nonnenberg
e47b00a33c
Don't mark old messages as read on timer update
2021-04-09 13:11:36 -07:00
Fedor Indutny
847cc3e055
Do not generate notification when disabled
...
Generating identicons for notifications is costly even if they are
cached. Avoid this extra load when notifications are not going to be
shown anyway.
2021-04-09 15:01:25 -04:00
Josh Perez
6c0acd09df
Sync mute state
2021-04-09 11:19:38 -05:00
Evan Hahn
a82fa86176
Fetch sender certificates on-demand
2021-04-09 00:06:46 -04:00
Fedor Indutny
37c8c1727f
Types, better-sqlite3, and worker_threads for our sqlite
2021-04-08 23:53:18 -04:00
Evan Hahn
8fe1be8678
Remove ability to set or read author E164 for new quotes
2021-04-08 23:51:54 -04:00
Evan Hahn
18ccda83ba
Use UUID-only sender certificate when applicable
2021-04-08 23:51:54 -04:00
Scott Nonnenberg
bb412d61c2
Required profile sharing: Only activate for 1:1 and gv1 groups
2021-04-08 15:35:11 -04:00
Josh Perez
e4db9358cf
Storage service logging same
2021-04-06 15:54:47 -07:00
Evan Hahn
2d35fa8f57
Fix replies to image-only messages
2021-04-05 18:08:50 -04:00
Jost Schulte
9823eb2201
Fix typos in TypeScript and SCSS files
...
See [#5136 ][0].
[0]: https://github.com/signalapp/Signal-Desktop/pull/5136
2021-04-02 15:28:07 -05:00
Josh Perez
1264e6da2b
Retain protections on gv1 records that match gv2 ids
2021-03-30 20:40:48 -04:00
Evan Hahn
902e48e308
Remove redundant listenTo calls in ConversationModel#fetchContacts
2021-03-29 13:43:31 -07:00
Scott Nonnenberg
7a3130a795
Re-render left pane and timeline items when group members change
2021-03-26 11:03:15 -07:00
Evan Hahn
83593a3216
Add type to ConversationModel's contactCollection
...
Previously, this was `Backbone.Collection<WhatIsThis>`. Now, it's
`Backbone.Collection<ConversationModel>`.
A minor change, but an easy improvement that (luckily) had no
downstream effects.
2021-03-26 09:36:57 -07:00
Evan Hahn
de5943a5fb
Fix bug where we'd remove profileKeyCredentials incorrectly
2021-03-25 12:05:55 -07:00
Evan Hahn
afe135df0c
Hide long message attachments in quotes
2021-03-25 11:36:50 -07:00
Evan Hahn
77c306843d
Fix error on message details screen with audio messages
2021-03-24 15:06:12 -07:00
Scott Nonnenberg
2d8f237b76
Send to just-removed folks in groupv2 removal operations
2021-03-24 14:28:55 -07:00
Fedor Indutny
7c4e4c97e7
Cache identicons to avoid performance hit on app start
2021-03-24 08:59:56 -05: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
6fec6b2646
Fix attachments not loading for stickers/long messages
2021-03-19 16:57:36 -04:00
Evan Hahn
850e759579
Keeping profile data around longer in the face of errors
2021-03-19 16:57:36 -04:00
Evan Hahn
b725ed2ffb
Refresh profiles on app start (at most every 12 hours)
2021-03-19 16:57:36 -04:00
Scott Nonnenberg
98c9992705
Fix out-of-order message changes; remove isGroupV2, and double-update
2021-03-19 16:57:36 -04:00
Josh Perez
62e04a1bbd
Fix for unread syncs and ooo reactions
2021-03-19 16:57:35 -04:00
Scott Nonnenberg
246ca86319
Chat Session Refreshed: Include schemaVersion to prevent later upgrade
2021-03-19 16:57:35 -04:00
Josh Perez
0fd0fac262
Check for conversation conflicts before writing
2021-03-19 16:57:35 -04:00
Evan Hahn
b81a52bbdd
New Group administration: Add users
2021-03-19 16:57:35 -04:00
Josh Perez
0bd3c78187
Do not batch single saveMessage calls after start-up
2021-03-19 16:57:35 -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
Evan Hahn
9f5335b854
New Group administration: update title and avatar
2021-03-19 16:57:35 -04:00
Josh Perez
468d491d34
Optimizations to the performance improvement changes
2021-03-19 16:57:35 -04:00
Josh Perez
c313514f34
Auto healing unreferenced quotes
2021-03-19 16:57:35 -04:00
Josh Perez
3cc6c5f5ad
Fix for missing replacement text in bodyRanges
2021-03-19 16:57:35 -04:00
Josh Perez
230604b451
Fix for storage service profileSharing setting
2021-03-19 16:57:35 -04:00
Josh Perez
d82ce07942
Improve cold start performance
2021-03-19 16:57:35 -04:00
Josh Perez
44dfd28017
Fix message retry and search results with mentions
2021-03-19 16:57:35 -04:00
Scott Nonnenberg
9e2411ce30
Remove getIsConversationEmptySelector in favor of messageCount
2021-03-19 16:57:35 -04:00