Commit graph

344 commits

Author SHA1 Message Date
Fedor Indutny
0d19f9131b
Drop legacy feature flags 2022-02-04 13:33: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
bbe56e0811
Erase storage service state on key change 2022-02-02 16:15:39 -05:00
Scott Nonnenberg
2603d53891
Improve storage service migration to new field understanding 2022-01-26 15:39:25 -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
dff941adc7
Don't let unidentifiedStatus change e164 2022-01-24 15:54:12 -08:00
Fedor Indutny
3c836908aa
Revert "MessageReceiver: Pause processing of new messages on suspend"
This reverts commit d74424a3b8.
2022-01-24 15:50:32 -08:00
Fedor Indutny
a2a9500728
Fix logging overflow 2022-01-24 15:36:05 -08:00
Josh Perez
44bfb77635
Hang up call when screen is locked 2022-01-24 12:32:09 -08:00
Scott Nonnenberg
d74424a3b8
MessageReceiver: Pause processing of new messages on suspend 2022-01-20 14:47:06 -08:00
Fedor Indutny
8cd557ff91
Add extra logging for change phone number 2022-01-20 14:44:25 -08:00
Scott Nonnenberg
f1586578ff
Properly handle groupIds in incoming block sync 2022-01-19 16:39:27 -08:00
Fedor Indutny
885b4d4d2e
Trigger EnvelopeEvent for unsealed envelopes 2022-01-18 17:10:53 -08:00
Scott Nonnenberg
90356d4c0f
Move a number of sync messages to jobs for retry 2022-01-14 13:34:52 -08:00
Fedor Indutny
91f1b62bc7
Detect startup after recent crashes 2022-01-11 12:02:46 -08:00
Scott Nonnenberg
54e252ecc2
Re-enable reaction notifications and improve message modifier typing 2022-01-04 09:27:16 -06:00
Fedor Indutny
2d596ac8b2
Switch SQL to main process on disconnect 2022-01-03 13:44:04 -08:00
Scott Nonnenberg
60a53656af
Optimize a few queries 2021-12-20 22:04:02 +01:00
Scott Nonnenberg
a023fc1bb0
Usernames: Fetch own username from /whoami not /profile 2021-12-15 12:02:55 -08:00
Evan Hahn
2fe5ec6ab2
Convert IdleDetector to TypeScript 2021-12-10 15:20:24 -08: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
ba043c422b
Theme: Don't update on startup of every new version 2021-12-08 16:32:00 -08:00
Scott Nonnenberg
d72c816af9
Revert "Proper Japanese fonts"
This reverts commit d9990c162e.
2021-12-08 14:23:05 -08:00
Evan Hahn
f9e98836b0
Retry delivery and read receipts for up to 24 hours 2021-12-07 14:41:40 -08:00
Josh Perez
d9990c162e
Proper Japanese fonts 2021-12-07 14:36:47 -08:00
Scott Nonnenberg
983477c354
Startup: If we don't have core data available, show 'link device' screen 2021-12-07 20:20:40 +01:00
Fedor Indutny
e46a1979c4
Use different z-index for app-loading-screen 2021-12-04 00:04:34 +01:00
Fedor Indutny
84407cb005
Use human-readable names for websockets 2021-12-01 19:55:17 +01:00
Fedor Indutny
951796a389
Fix Redux update on conversation trigger 2021-11-30 17:16:13 -06:00
Fedor Indutny
348012ef4c
Add PNI endpoints to WebAPI 2021-11-30 20:33:51 +01:00
Fedor Indutny
7c1ce3366d
Move StandaloneRegistration to React 2021-11-30 09:51:53 -08:00
Evan Hahn
67b17ec317
Hide "become a sustainer" button if you're already a sustainer 2021-11-30 17:29:57 +01: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
Evan Hahn
37992715cd
Remove caption editor 2021-11-09 16:25:29 -08:00
Evan Hahn
8256170066
Fix ConversationController load race condition 2021-11-04 14:11:47 -07: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
a9cb621eb6
Various search UI improvements 2021-11-01 11:43:02 -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
Scott Nonnenberg
6dd67917e8
Settings window: Add interaction mode and tab focus state 2021-10-27 17:05:56 -07: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
Scott Nonnenberg
51af6947d4
onDecryptionError/onRetryRequest: Don't run until queue is empty 2021-10-20 14:50:00 -07:00
Scott Nonnenberg
25325622ed
getMessageDescriptor: Log more information if we can't find conversation 2021-10-19 18:34:35 -07:00
Josh Perez
fc425304fc
Moves the attach-file shortcut into the component 2021-10-15 14:51:58 -04:00
Fedor Indutny
27573e6dce
Use non-throttled timeouts for websockets 2021-10-07 11:18:22 -07:00
Fedor Indutny
8cf6748dce
Delay initializing SQL in renderer 2021-10-07 11:16:51 -07:00
Josh Perez
b9134f8332
Actionable toasts 2021-10-06 14:00:51 -07:00
Fedor Indutny
3e31a7405b Use physical keys+layout for shortcuts 2021-09-29 14:21:15 -07:00
Josh Perez
603c315c82
Moves AudioCapture into react 2021-09-29 13:23:06 -07:00
Evan Hahn
7b9a68b7f9
Upgrade zkgroup to v0.8.1 2021-09-28 09:30:30 -07:00
Fedor Indutny
af387095be
API to suspend/resume tasks with timeout 2021-09-27 11:22:46 -07:00
Scott Nonnenberg
cf4c81b11c
Clear stale sender certificates 2021-09-27 10:31:34 -07:00
Fedor Indutny
af66a5b265
Truncate lastHeartbeat to day millis 2021-09-24 10:01:46 -07:00
Fedor Indutny
4ef0bf96cc
Uint8Array migration 2021-09-23 17:49:05 -07:00
Evan Hahn
d2ef82686d
Notification improvements 2021-09-23 13:16:09 -05:00
Josh Perez
e6d952d105
Removes ToastView, new React toast 2021-09-22 16:59:54 -04:00
Fedor Indutny
b9d6497cb1
Better types for WebAPI 2021-09-21 17:58:03 -07:00
Josh Perez
4e6c415ad8
Ensure that delete logs timeout does not run after resolution 2021-09-20 20:25:29 -04:00
Josh Perez
e9ef239ff0
Move emoji loading into TS 2021-09-20 10:59:09 -07:00
Josh Perez
65ddf0a9e8
Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Fedor Indutny
3f7957c20d
Self-repairing message counter 2021-09-15 11:45:22 -07:00
Fedor Indutny
5780c3d4b8
Fix socket management for unlinkAndDisconnect 2021-09-15 11:44:27 -07:00
Evan Hahn
240585ef94
Allow duplicates in reaction palette 2021-09-13 10:04:45 -07:00
Fedor Indutny
c7e7d55af4
UUID-keyed lookups in SignalProtocolStore 2021-09-09 19:38:11 -07:00
Fedor Indutny
cd809a9922
Add changeNumber capability 2021-09-09 13:53:58 -07:00
Evan Hahn
f28456c160
Let users customize the preferred reaction palette 2021-09-09 09:29:01 -07:00
Fedor Indutny
7a5385e00a
Flush message counter on shutdown 2021-09-08 16:28:18 -07:00
Scott Nonnenberg
c6278aa173
Lightbox: A number of tweaks 2021-09-07 09:12:26 -07:00
Fedor Indutny
c7873dd7ea
Reconnect websocket on e164 change 2021-09-02 16:47:42 -05: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
Fedor Indutny
62cf51c060
Pass mode in unlinkAndDisconnect event listener 2021-08-31 13:34:32 -07:00
Fedor Indutny
798533a417
Keep UI settings on heartbeat expiration 2021-08-30 14:39:57 -07:00
Evan Hahn
f86f753df9
Add durations utility for computing durations 2021-08-26 09:10:58 -05:00
Scott Nonnenberg
9f1bd94627
New version startup: clear remote expiration, hydrate from remote config 2021-08-24 16:36:43 -07:00
Josh Perez
e9308bbafb
New option for control over update downloads 2021-08-19 15:56:29 -07:00
Josh Perez
aecb11247f
Removes old feature flags 2021-08-18 18:04:38 -07:00
Josh Perez
91af0dad78
Faster preferences window 2021-08-18 13:08:14 -07:00
Fedor Indutny
6343e7c902
Do not initialize receivedAtCounter in connect 2021-08-17 16:15:45 -07:00
Evan Hahn
75f0cd50be
Send viewed receipt when you start listening to an audio message 2021-08-17 08:43:26 -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
Scott Nonnenberg
81f06e2404
Sender Key: Hardcode senderKey to true, during link and thereafter 2021-08-10 17:41:27 -07:00
Fedor Indutny
0d3e3851e2
Send profileKeys less frequently 2021-08-10 17:16:12 -07:00
Fedor Indutny
cc5da98565
Ignore empty e164 in storage service 2021-08-06 11:20:11 -07:00
Scott Nonnenberg
5069f48cf0
Message Send Log: Increase retention length 2021-08-05 20:17:23 -04:00
Fedor Indutny
a001882d58
Change Phone Number notifications 2021-08-05 16:34:49 -07:00
Scott Nonnenberg
3bbe859452
Partially revert "Sender Key: Prepare for testing in beta"
Partial revert of commit ab5a12fded
2021-08-04 16:49:05 -07:00
Fedor Indutny
c68fd3d727
confirmCode endpoint shouldn't reconnect socket 2021-08-04 13:12:35 -07:00
Fedor Indutny
6d04bfdf67
Fix undefined log function 2021-08-03 12:05:20 -05:00
Scott Nonnenberg
ab5a12fded
Sender Key: Prepare for testing in beta 2021-08-02 19:12:49 -05:00
Fedor Indutny
c5de4c6284
Revert "Process read syncs after batches of messages"
This reverts commit eccace481b.
2021-08-02 15:47:33 -07:00
Evan Hahn
73bcd3b531
Remove the word "receipt" from read syncs code 2021-08-02 11:47:59 -05:00
Fedor Indutny
eccace481b
Process read syncs after batches of messages 2021-07-30 15:39:41 -05:00
Fedor Indutny
03874a788f
Use smaller batches for receipts and syncs 2021-07-29 18:08:04 -07:00
Fedor Indutny
4a402126b4
Make sure to restore registration before relink 2021-07-29 01:19:26 -07: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
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
9c6343e10d
Unify MessageReceiver and MessageReceiverInner 2021-07-23 13:47:03 -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
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
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
Scott Nonnenberg
7761d83055
Update timers whenever we mark messages read 2021-07-19 13:45:18 -07:00
Scott Nonnenberg
8415db499c
Initialize ConversationController earlier 2021-07-16 11:21:00 -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
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
Fedor Indutny
71572db7a9
Get native theme through IPC not remote 2021-06-30 11:57:43 -07:00
Evan Hahn
af1f2ea449
Officially support the system tray on Windows 2021-06-29 12:18:03 -05:00
Evan Hahn
79aba6bff4
A couple cleanups in createSentMessage 2021-06-29 09:41:42 -05:00
Evan Hahn
c69b2d3ace
Add type for second parameter of createSentMessage 2021-06-28 12:15:48 -07:00
Josh Perez
01eabf9ec6
Option to send photos as high quality 2021-06-25 11:08:16 -05:00
Fedor Indutny
cf64fbdc7c
Fix Cmd+T navigation for left pane 2021-06-23 10:53:04 -07:00
Fedor Indutny
a6394e0c8b
Reconnect within MessageReceiver 2021-06-23 09:47:42 -05:00
Evan Hahn
0ec23be91b
Fix React warning when mounting <App> 2021-06-23 09:33:27 -05:00
Fedor Indutny
972a4cba0c
Show universal timer notification in open conversation 2021-06-22 09:18:22 -05:00
Evan Hahn
ca330899bb
Backfill missing expire times for incoming messages 2021-06-18 12:12:04 -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
Evan Hahn
9dd7e763c4
Remove references to non-existent messageExpired action 2021-06-15 16:30:23 -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
Josh Perez
173771d34b
New top-level React root: <App /> 2021-06-14 12:01:00 -07:00
Fedor Indutny
17e6ec468e
Faster WebSocket reconnects 2021-06-09 15:28:54 -07:00
Fedor Indutny
3cac4a19e1
Move to new getSendOptions location 2021-06-09 12:16:45 -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
Josh Perez
d38a0042ba
Fix new link scenario where default color is not set 2021-06-07 15:17:44 -07:00
Josh Perez
d4875fd8f4
Remove isPrivate, isMe, isGroupV1, isGroupV2 from model 2021-06-07 09:39:13 -07:00
Josh Perez
bd46e3afd6
Fixes global chat color setting 2021-06-02 14:05:09 -07:00
Fedor Indutny
3776909c24
Fix storage upload for universal timers 2021-06-02 13:25:30 -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