Fedor Indutny
cb5131420f
Update storageService logging
2022-02-08 10:00:18 -08:00
Scott Nonnenberg
0a18cc50bd
New queue for view once syncs, handleRetry improvements
2022-02-08 09:30:42 -08:00
Fedor Indutny
0d19f9131b
Drop legacy feature flags
2022-02-04 13:33:09 -08:00
Fedor Indutny
e37c6e68ec
Sort conversations by active_at
2022-02-04 11:01:09 -08:00
Fedor Indutny
891e72a260
Make sure isPinned is in sync with storage service
2022-02-02 17:21:02 -08:00
Fedor Indutny
fdbb2bfb36
Normalize UUID in ConversationModel.initialize
2022-02-02 13:41:29 -08:00
Fedor Indutny
089116d069
Use identity key from storage service
2022-02-01 18:26:23 -08:00
Evan Hahn
c5ad020de7
Fix "mark conversation read" optimization
2022-01-31 13:52:09 -08:00
Jim Gustafson
ab9d33cf1a
Update to RingRTC v2.17.2
2022-01-28 13:55:36 -06:00
Fedor Indutny
53a27d022f
Create contacts during processing of group updates
2022-01-27 13:46:31 -08:00
Evan Hahn
f9440bf594
Timeline date headers
2022-01-26 17:05:26 -06:00
Scott Nonnenberg
68a458ec4a
Honor preferContactAvatars field on AccountRecord
2022-01-25 09:44:45 -08:00
Fedor Indutny
3bdb6977e6
Fix typo in unknownContact
2022-01-24 13:38:55 -08:00
Scott Nonnenberg
1c67df8b22
Fix incorrect translation key: unknownUser -> unnkownContact
2022-01-24 12:38:16 -08:00
Fedor Indutny
8cd557ff91
Add extra logging for change phone number
2022-01-20 14:44:25 -08:00
Fedor Indutny
26421b8c18
Log conversation open time
2022-01-19 16:40:29 -08:00
Scott Nonnenberg
f1586578ff
Properly handle groupIds in incoming block sync
2022-01-19 16:39:27 -08:00
Scott Nonnenberg
90356d4c0f
Move a number of sync messages to jobs for retry
2022-01-14 13:34:52 -08:00
Evan Hahn
393b740fe6
Fix crash when changing your username
2022-01-13 13:25:20 -08:00
Scott Nonnenberg
02a732c511
getProfiles: Fetch a maximum of three profiles at at a time
2022-01-11 11:40:20 -08:00
Scott Nonnenberg
7d397167cd
updateSharedGroups: Make one database query, check for membership, sort
2022-01-06 09:20:54 -06:00
Evan Hahn
2f90608e1b
Improve "send anyway" experience when starting app
2022-01-04 14:24:18 -08:00
Scott Nonnenberg
0163ef203b
loadAndScroll: Use one transaction to pull all data: old/new/metrics
2021-12-20 22:05:13 +01:00
Scott Nonnenberg
60a53656af
Optimize a few queries
2021-12-20 22:04:02 +01:00
Evan Hahn
770c80b9ee
Remove several @ts-ignores
2021-12-16 17:14:21 -08:00
Scott Nonnenberg
29c3b8af89
Fix groupV2 change rendering in notifications and left pane
2021-12-16 09:44:54 -08:00
Fedor Indutny
73c702515b
Remove unnecessary casts in conversations.ts
2021-12-13 12:23:52 -06:00
Scott Nonnenberg
34fd945f83
No Backbone in data layer; server/client interfaces are now similar
2021-12-10 16:51:54 -06:00
Scott Nonnenberg
161b0e5379
Refactor sender key sends to allow distribution lists
2021-12-09 18:15:59 -08:00
Scott Nonnenberg
fdc9885baa
Migration and data access functions for stories
2021-12-08 20:52:46 +01:00
Evan Hahn
f9e98836b0
Retry delivery and read receipts for up to 24 hours
2021-12-07 14:41:40 -08:00
Scott Nonnenberg
44872ac961
handleReaction: don't fetch/save across an await boundary
2021-12-06 18:22:44 +01:00
Josh Perez
cd91ed6f45
Do not allow attachments if there are link previews
2021-12-01 21:19:54 +01:00
Fedor Indutny
348012ef4c
Add PNI endpoints to WebAPI
2021-11-30 20:33:51 +01:00
Scott Nonnenberg
563f016245
When you send a message, scroll it into view
2021-11-30 12:25:24 +01:00
Fedor Indutny
a52530262f
Revert "When you send a message, scroll it into view"
...
This reverts commit a3525c16ef
.
2021-11-23 14:09:07 +01:00
Scott Nonnenberg
a3525c16ef
When you send a message, scroll it into view
2021-11-19 09:19:55 -08:00
Fedor Indutny
d5ae3c94dd
Don't add change number notifications to ourselves
2021-11-18 21:26:53 +01:00
Evan Hahn
c63bf11a8f
Show badges in reaction viewer
2021-11-17 22:11:46 +01:00
Evan Hahn
7d17158add
Show badges on message avatars where applicable
2021-11-15 16:53:42 -06:00
Evan Hahn
f4e336836f
Add user badges to typing bubbles, refactor typing logic
2021-11-15 21:01:58 +01:00
Evan Hahn
ede34ecee3
Enable noImplicitOverride
TypeScript compiler option
2021-11-12 15:44:20 -08:00
Scott Nonnenberg
cbae7f8ee9
Search for username in compose mode
2021-11-11 17:17:29 -08:00
Evan Hahn
5619eeca83
Upgrade Prettier to 2.4.1
2021-11-11 16:43:05 -06:00
Fedor Indutny
6e394a84d6
Less strict uuid fetch in areWeAdmin
2021-11-09 15:48:27 -08:00
Evan Hahn
d6ffb08a63
Disable class-methods-use-this
lint rule
2021-11-04 16:04:51 -05:00
Evan Hahn
f647c4e053
Display user badges
2021-11-02 16:01:13 -07:00
Fedor Indutny
663cd77eac
Use react-redux's batch instead of react's
2021-11-01 16:38:08 -07:00
Scott Nonnenberg
3190f95fac
Usernames: Create/update/delete in profile editor
2021-11-01 12:13:35 -07:00
Evan Hahn
8670a4d864
Retry outbound reactions for up to a day
2021-10-29 18:19:44 -05:00
Fedor Indutny
71ee0568c0
Changing storageID shouldn't cause rerender
2021-10-28 15:38:37 -07:00
Evan Hahn
1dc353f089
Ignore emoji when removing reactions
2021-10-27 10:51:42 -05:00
Fedor Indutny
63fcdbe787
Use UUIDs in group database schema
2021-10-26 15:59:08 -07:00
Evan Hahn
74fde10ff5
Prefer import type
when importing types
2021-10-26 14:15:33 -05:00
Josh Perez
2e438aa876
Conversation details screen for 1:1 chats
2021-10-20 16:46:41 -07:00
Scott Nonnenberg
43825d3f55
getIdenticon: Use conversation.getTitle()
for contact name
2021-10-17 16:46:54 -05:00
Josh Perez
9af523c4fc
Do not show timestamp if timestamp matches sent_at
2021-10-15 15:59:42 -07:00
Evan Hahn
21c00f51bd
Improve reaction types
2021-10-13 09:29:15 -07:00
Josh Perez
a5e8226821
Shows message status timestamps if available
2021-10-12 16:40:42 -07:00
Fedor Indutny
a537204fc0
Remove ts/services/timers.ts
2021-10-06 14:59:34 -07:00
Scott Nonnenberg
bd380086a4
Send related emoji along with Sticker, fix SendMessage types
2021-10-05 17:10:08 -05:00
Evan Hahn
3c91dce993
Don't show group call start notifications more than once
2021-10-05 16:11:40 -05:00
Fedor Indutny
a2dff82de2
Coalesce typing indicators when blocked
2021-09-29 15:46:35 -07:00
Fedor Indutny
8d1ab9fd69
Consistent scheduling of sendToGroup
2021-09-27 11:29:06 -07:00
Fedor Indutny
4ef0bf96cc
Uint8Array migration
2021-09-23 17:49:05 -07:00
Evan Hahn
bf572cab9c
Properly initialize session reset send states
2021-09-23 13:21:35 -07:00
Evan Hahn
d2ef82686d
Notification improvements
2021-09-23 13:16:09 -05:00
Fedor Indutny
024a3521e1
Fix quote content-type for GIFs
2021-09-22 13:15:48 -05:00
Fedor Indutny
b9d6497cb1
Better types for WebAPI
2021-09-21 17:58:03 -07:00
Evan Hahn
4e43459d34
Improve types for ConversationType
's lastMessage
2021-09-20 14:20:53 -05:00
Scott Nonnenberg
250a89d953
Additional logging, new ability to force Conversation 'change' event
2021-09-20 11:51:30 -07:00
Josh Perez
829e42ca6e
Move i18n setup to TypeScript
2021-09-17 20:30:08 -04:00
Josh Perez
65ddf0a9e8
Import log instead of using it off of window
2021-09-17 14:27:53 -04:00
Fedor Indutny
c7e7d55af4
UUID-keyed lookups in SignalProtocolStore
2021-09-09 19:38:11 -07:00
Fedor Indutny
63dda5bf19
Use isNumber
in handleDataMessage
2021-09-02 16:47:23 -07:00
Evan Hahn
01b015680b
Move getMessageById
next to getMessagesById
2021-09-02 10:44:54 -07:00
Evan Hahn
a85dd1be36
Retry outbound "normal" messages for up to a day
2021-08-31 13:58:39 -07:00
Scott Nonnenberg
dcf29078f4
ConversationView: Improve types
2021-08-30 14:32:56 -07:00
Evan Hahn
6f242eca57
Handle signal.me links
2021-08-28 08:27:38 -05:00
Evan Hahn
9e9a815a2b
ESLint: allow for..of
2021-08-26 13:18:00 -05:00
Fedor Indutny
4c6c869c86
Drop extraneous db query
2021-08-26 09:17:57 -07:00
Fedor Indutny
9236f59524
Log additional latency information on sends
2021-08-26 08:36:08 -07:00
Evan Hahn
f86f753df9
Add durations
utility for computing durations
2021-08-26 09:10:58 -05:00
Josh Perez
e76f603233
Moves identicon svg to TS
2021-08-24 17:17:51 -07:00
Josh Perez
347f542ac0
Derive default conversation color from storage
2021-08-24 17:15:12 -07:00
Josh Perez
8f4a2026e4
Adds additional logging to profile sharing enable/disable
2021-08-24 16:37:17 -07:00
Evan Hahn
52328c2634
Add type for ConversationModel#getGroupV1Info
2021-08-23 16:15:34 -07:00
Fedor Indutny
fe040a2873
Rename ContactType to EmbeddedContactType
2021-08-19 20:56:39 -05:00
Fedor Indutny
80c1ad6ee3
Don't mutate state in TimelineItem
2021-08-19 13:14:41 -07:00
Josh Perez
91af0dad78
Faster preferences window
2021-08-18 13:08:14 -07:00
Fedor Indutny
f5a3d4bc8a
Fix various read sync inconsistencies
2021-08-16 17:16:00 -07:00
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
Evan Hahn
5de4babc0d
Support for creating New Groups
2021-03-19 16:53:52 -04:00
Fedor Indutny
18fb2b806e
Remove notification on reaction remove/change
2021-03-19 16:53:51 -04:00
Josh Perez
12bba24dbd
Improvements to Group Settings screen
2021-03-19 16:53:51 -04:00
Scott Nonnenberg
d0e3a2ce29
background.ts/conversation_view.ts modules, Whisper.View/ToastView in TS
2021-03-19 16:53:51 -04:00
Scott Nonnenberg
2aa2aca9f2
A few bug fixes
2021-03-19 16:53:51 -04:00
Evan Hahn
06fb4fd0bc
Add "new conversation" composer for direct messages
2021-03-19 16:53:51 -04:00
Scott Nonnenberg
98e7e65d25
Automatic session reset
2021-03-19 16:53:51 -04:00
Scott Nonnenberg
bc0f4387fe
Backwards compatibility updates for libsignal-client
2021-02-12 10:38:49 -08:00
Scott Nonnenberg
2957735a86
getMembersCount: Return undefined when conversation has no members
2021-02-09 18:00:16 -06:00
Scott Nonnenberg
089e2864b3
Reduce unnecessary or overly verbose logging
2021-02-04 11:39:07 -08:00
Evan Hahn
8f1bb6f087
Don't render links (or link previews) for blocked or unapproved conversations
2021-02-02 11:09:53 -06:00
Josh Perez
a096220990
Do not download media if in call
2021-01-29 14:58:28 -08:00
Scott Nonnenberg
a48b3e381e
Support for joining New Groups via invite links
2021-01-29 14:16:48 -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
Josh Perez
1b38db2d79
Fixes rendering of about bio
2021-01-27 19:18:50 -05:00
Josh Perez
258bd55dd2
Show about info from contact profiles
2021-01-25 18:29:01 -08:00
Evan Hahn
9f6e9ba47d
Add some types to window and window.Signal
2021-01-25 18:29:00 -08:00
Evan Hahn
8a72607fa7
Prefer type
to interface
and add an ESLint rule
2021-01-25 18:29:00 -08:00
Evan Hahn
904cb24cc4
Fix a typo in comment
2021-01-25 18:28:59 -08:00
Evan Hahn
12dbd38cb9
Clean up migrateColor utility
2021-01-25 18:28:59 -08:00
Scott Nonnenberg
cbc6c29479
Finish in-redux conversation lookups, getPropsForSearchResult moved
2021-01-25 18:28:58 -08:00
Scott Nonnenberg
be9721c72d
Don't change left pane preview or order when someone leaves group
2021-01-20 11:31:44 -06:00
Scott Nonnenberg
9f81b4157b
Also use sent_at whenever we query database with received_at
2021-01-19 17:35:11 -08:00
Scott Nonnenberg
8116a8561d
Show progress dialog during delete
2021-01-12 18:42:15 -06:00
Scott Nonnenberg
0506b79f6b
Quotes: Use authorId when navigating to original message
2020-12-11 12:06:04 -06:00
Scott Nonnenberg
3f58a9b762
Clean up UUID-handling to prepare for future
2020-12-09 17:26:37 -05:00
Evan Hahn
496bdec35d
Fix duplicate timeline items for group call events
2020-12-09 15:57:34 -05:00
Evan Hahn
159e2eae55
Fix lint warning in Conversation model
2020-12-08 17:29:13 -05:00
Josh Perez
5b0e267fb2
Revs up the desktop.storageWrite2 feature flag
2020-12-08 16:16:40 -05:00
Josh Perez
318013e83d
Handles safety number changes while in a call
2020-12-08 14:37:04 -05:00
Evan Hahn
0c039bf431
Add group calling events to the message timeline
2020-12-07 14:43:19 -06:00
Scott Nonnenberg
b3c161f484
Migration: Use pendingMember roles, better 'you were invited'
2020-12-01 15:45:39 -08:00
Scott Nonnenberg
2b8ae412e0
New feature flag with ability to migrate GV1 groups
2020-12-01 10:42:35 -06:00
Josh Perez
c54df8be87
Fixes rebase/lint
2020-11-23 15:00:40 -05:00
Scott Nonnenberg
4bf5a24efb
Migration: Ensure that groupId lookup is kept up to date
2020-11-23 14:48:12 -05:00
Scott Nonnenberg
2c69f2c367
Support for GV1 -> GV2 migration
2020-11-23 14:48:12 -05:00
Scott Nonnenberg
26884432a2
Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax
2020-11-23 14:45:44 -05:00
Josh Perez
1f0c091e13
Group calling enhancements
2020-11-23 14:45:44 -05:00
Evan Hahn
022c4bd0f4
Initial group calling support
2020-11-23 14:45:44 -05:00
Scott Nonnenberg
3ee830ae63
Prevent send and show toast for invalid conversations
2020-11-16 15:34:41 -06:00
Scott Nonnenberg
2977c0ca3d
Message Requests: Show blurhash for pending stickers
2020-11-12 16:22:40 -05:00
Scott Nonnenberg
0c6f4248f3
conversation.applyMessageRequestResponse: Always save at the end
2020-11-12 14:03:07 -06:00
Chris Svenningsen
d593f74241
New contact popup when clicking on group member or avatar
2020-11-11 09:36:05 -08:00
Scott Nonnenberg
1d1fccd96f
message.setToExpire: Log start timestamp, log before save
2020-11-11 10:21:06 -06:00
Scott Nonnenberg
a5cfebe87a
Conversation.setMarkedUnread: Only captureChange if value changed
2020-11-10 09:53:34 -06:00
Scott Nonnenberg
d4d9688447
Ensure authorUuid is set in outgoing quotes
2020-11-06 13:06:21 -06:00
Chris Svenningsen
53c89aa40f
Send @mentions
2020-11-04 13:03:13 -06:00
Sidney Keese
cfc3c123bc
Update unread count when marking as unread
...
Co-authored-by: Chris Svenningsen <chris@carbonfive.com>
2020-11-04 13:03:13 -06:00
Evan Hahn
8bfaf598af
Add license headers across the project
2020-11-04 13:03:13 -06:00
Evan Hahn
decc93532b
Hide call buttons when on call
2020-11-04 13:03:13 -06:00
Chris Svenningsen
c408072576
Mark conversation as unread
...
Co-authored-by: Sidney Keese <sidney@carbonfive.com>
2020-11-04 13:03:10 -06:00
Scott Nonnenberg
18c71b291c
Fix left pane draft display and GV2 typing indicators
2020-11-03 16:16:20 -08:00
Scott Nonnenberg
e8759fc81b
Fix out-of-order applications of reaction and delete-for-everyone
2020-11-01 09:06:41 -06:00
Scott Nonnenberg
05f905fd10
A few small bugfixes
2020-10-30 10:56:03 -07:00
Scott Nonnenberg
cd9aee84f5
Always share profile on send; no profile sharing UI if no messages
2020-10-28 17:40:50 -07:00
Scott Nonnenberg
8eea20ea91
Reliability fixes for conversation formatting and message send
2020-10-28 14:54:33 -07:00
Scott Nonnenberg
fa2d300714
Show 'accept invite UI' for re-invite, calm progress spinner
2020-10-26 15:55:27 -07:00
Scott Nonnenberg
5c0fcad6b1
Properly prepare, await and hand response for sync message send
2020-10-26 15:48:44 -07:00
Scott Nonnenberg
04b7a29229
Modern profile sharing in 1:1 and GroupV1 groups
2020-10-26 15:48:44 -07:00