Commit graph

471 commits

Author SHA1 Message Date
Jamie Kyle
2bbcc4676e
Move receipt queues into conversation queue to handle 428s 2023-02-06 09:24:34 -08:00
Fedor Indutny
1381e8df5d
Process username changes in storage service 2023-02-02 11:03:51 -07:00
Fedor Indutny
63d6b14516
Split ACI contact when it is unregistered 2023-02-01 13:32:46 -08:00
Fedor Indutny
e64816830b
Revert "Periodically optimize FTS table"
This reverts commit 5dfdde998b.
2023-01-30 15:55:11 -08:00
Jamie Kyle
da0a741a36
Use preferred system locales and add Farsi font stack 2023-01-24 16:54:46 -08:00
Scott Nonnenberg
fbdfaf3962
Cancel in-flight attachment downloads on suspend/resume 2023-01-24 11:17:00 -08:00
Fedor Indutny
5dfdde998b
Periodically optimize FTS table 2023-01-24 11:13:00 -08:00
Josh Perez
86488b97b9
Adds debugging utilities in dev/beta environments 2023-01-18 19:02:03 -05:00
Fedor Indutny
ac50af52d2
Unsupported OS Dialog 2023-01-18 15:31:10 -08:00
Josh Perez
9374832ea4
Enables ContextIsolation 2023-01-12 16:24:59 -08:00
Scott Nonnenberg
50a0110192
Stories: Proper notifications and handling of out-of-order messages 2023-01-11 14:54:06 -08:00
Jamie Kyle
e5638c0b20
Call Disposition 2023-01-09 16:52:01 -08:00
Josh Perez
198d6f7e26
Make composer duck aware of the conversation it is in 2023-01-04 16:22:36 -08:00
Jamie Kyle
3705b959d6
Remove end year from licenses 2023-01-03 11:55:46 -08:00
Josh Perez
5e6eeecede
Removes Backbone.View and jQuery 2023-01-02 13:34:41 -08:00
Josh Perez
0b83ab497d
Removes ReactWrapperView 2022-12-21 22:07:45 -05:00
Josh Perez
a80c6d89a8
Moves message details into React pane land 2022-12-21 15:44:23 -05:00
Fedor Indutny
ed271d92ea
Add no-misused/floating-promises lint rule 2022-12-21 10:41:48 -08:00
Scott Nonnenberg
1a68c3db62
conversation_view: Move the last of the small functions to redux 2022-12-20 22:25:10 -05:00
Fedor Indutny
57eed10a38
Add "pni" capability in staging 2022-12-20 12:29:17 -08:00
Josh Perez
d8ea9856ec
Moves show all media to react pane 2022-12-20 09:50:23 -08:00
Scott Nonnenberg
7c86f02c7e
ConversationView: Move deleteMessage to redux 2022-12-14 14:45:39 -08:00
Scott Nonnenberg
f2f1c3c021
Standardize on showConversation function, delete unused functions 2022-12-14 11:05:32 -08:00
Josh Perez
b138774454
Moves saveAttachment to a redux action 2022-12-14 10:12:04 -08:00
Josh Perez
635a59a473
Moves showLightbox to redux 2022-12-09 21:02:22 -05:00
Scott Nonnenberg
07f7fa93d6
ConversationView: Move setQuotedMessage/scrollToMessage to redux 2022-12-09 11:11:14 -08:00
Scott Nonnenberg
5c059c54d5
Eliminate resetEmojiResults, move onEditorStateChanged to redux 2022-12-08 15:56:17 -08:00
Scott Nonnenberg
a49a6f2057
Notifications for a few merge-related scenarios 2022-12-05 14:46:54 -08:00
Alvaro
78ce34b9d3
Removed gv1-migration 2022-12-05 09:42:13 -08:00
Alvaro
e41252b35e
Added clearer debug logging to createOrLookup 2022-12-02 17:05:27 -08:00
Fedor Indutny
9d8ad21819
Remove underscore 2022-11-29 16:53:39 -08:00
Fedor Indutny
991580a1ed
Improve error handling during group sends 2022-11-22 10:43:43 -08:00
Evan Hahn
a88243f26d
Better handle group call ring race conditions 2022-11-16 18:52:04 -08:00
Fedor Indutny
854c946cc7
Interactive cleanup of orphaned attachments 2022-11-16 16:29:15 -08:00
Fedor Indutny
cf57c7aaf0
Fix stories uncaught exception on startup 2022-11-16 10:06:33 -08:00
Jamie Kyle
9f85db3fd8
stories: muted by default, muted on app blur 2022-11-09 23:24:42 -05:00
Josh Perez
4a5da95c1d
Fixes storybook 2022-11-09 13:11:45 -08:00
Fedor Indutny
d7a2669b49
Wrap eventHandlerQueue jobs with task with timeout 2022-11-09 10:59:32 -08:00
Josh Perez
19a42ed719
Onboarding story 2022-11-08 21:38:19 -05:00
Fedor Indutny
7164b603e9
Refresh remote config right after registration 2022-11-03 13:36:55 -07:00
Fedor Indutny
3beccbfd31
Reduce timeout of some long running tasks 2022-10-25 17:03:05 -07:00
Fedor Indutny
3702a67975
Story view receipts setting 2022-10-25 15:18:42 -07:00
Josh Perez
471a9e2e98
Show group replies icon for stories with replies 2022-10-22 02:26:16 -04:00
Fedor Indutny
e14c3241c5
Refresh stories in redux when data changes 2022-10-20 12:16:37 -07:00
Fedor Indutny
03f158a1a7
Reprocess unknown fields after loading convos 2022-10-18 12:06:59 -07:00
Fedor Indutny
00f82a6d39
Discriminator in username 2022-10-18 10:12:02 -07:00
Scott Nonnenberg
0e49f7906d
Story send: Send sync message even in partial failure 2022-10-14 18:22:04 -06:00
Jamie Kyle
25bc16300c
Notify story creator for replies 2022-10-11 10:59:02 -07:00
Fedor Indutny
95bee1c881
Sync group stories through storage service 2022-10-07 17:19:02 -07:00
Scott Nonnenberg
5e63d8aadf
Pipe device number through for sync'd sent story messages 2022-10-05 13:49:43 -07:00
Fedor Indutny
ebafc933b9
Use X-Signal-Receive-Stories header 2022-10-04 17:48:25 -07:00
Fedor Indutny
698c7a7739
Fix click handling for stories 2022-09-27 13:24:21 -07:00
Fedor Indutny
f9453c64dd
Test rate-limiting, stories in mock server 2022-09-19 15:08:55 -07:00
Jamie Kyle
eb10aafd7c
tsc:allowUnreachableCode, eslint:no-unreachable, assert->assertDev 2022-09-15 13:17:15 -06:00
Jamie Kyle
0086216c9d
Add eqeqeq rule but require == for null 2022-09-14 14:40:44 -07:00
Scott Nonnenberg
56ffd7bc3f
Expire Timer: If we generated change, don't mark unread 2022-09-06 17:52:07 -06:00
Fedor Indutny
7ce4beb270
Refactor contact sync processing 2022-08-24 22:04:42 -07:00
Fedor Indutny
6e3ec163dc
Drop pnpChangeNumber capability 2022-08-24 09:34:00 -07:00
Fedor Indutny
757af2cbbe
Include ACI+Access Keys pairs with CDSI requests 2022-08-18 13:44:53 -07:00
Fedor Indutny
5a3c04d630
Additional logging for calling service 2022-08-16 16:52:09 -07:00
Fedor Indutny
00cfd92dd0
Send and receive PniSignatureMessage 2022-08-15 14:53:33 -07:00
Fedor Indutny
465bdad2bf
Open inbox when linking and suddenly offline 2022-08-11 13:28:31 -07:00
Fedor Indutny
68a0c44e19
Register pnpChangeNumber capability 2022-08-11 09:52:24 -07:00
Fedor Indutny
32237d7008
Cancel throttled refreshRemoteConfig on link 2022-08-10 16:38:52 -07:00
Scott Nonnenberg
faf6c41332
Early preparations for PNP Contact Merging 2022-08-09 14:39:00 -07:00
Josh Perez
782838c591
Sync MyStories using the ID not the name 2022-08-03 20:10:05 -04:00
Fedor Indutny
79b48115e6 Handle PniChangeNumber 2022-07-28 14:50:10 -04:00
Scott Nonnenberg
1f65a4491f
Use concurrency of one for queues with no options 2022-07-20 19:40:53 -07:00
Fedor Indutny
5c2016ec40
Refresh PNI on startup 2022-07-18 15:32:00 -07:00
Fedor Indutny
a4cf2e0948
Always refetch profile key credential if expired 2022-07-18 13:05:41 -07:00
Scott Nonnenberg
99d507a74d
Ensure that the GroupV1 Migration dialog shows 2022-07-15 14:50:02 -07:00
Josh Perez
5639c1adea
DOE for stories 2022-07-13 16:09:18 -07:00
Josh Perez
d7307934bc
Adjust some types 2022-07-12 17:37:21 -07:00
Josh Perez
9ce4b8977d
Show toast when reacting/replying to a Story 2022-07-12 09:41:41 -07:00
Scott Nonnenberg
14591358f1
Simplify expireTimer change handling, queue for contact sync 2022-07-11 17:32:26 -07:00
Fedor Indutny
a450e13a99
Fetch PNI group credentials 2022-07-08 13:46:25 -07:00
Scott Nonnenberg
b9ba732724
Background message migration: Process just one batch at a time 2022-07-08 13:35:08 -07:00
Fedor Indutny
f92be05b15
Titlebar fixes 2022-07-05 09:44:53 -07:00
Josh Perez
9155784d56
Sync my stories with primary device 2022-06-30 20:52:03 -04:00
Scott Nonnenberg
4568527232
Increase backstop queue timeouts across the app 2022-06-27 09:46:43 -07:00
Fedor Indutny
35e5eb847a
Better logging for expiration timer updates 2022-06-20 15:43:16 -07:00
Fedor Indutny
63679f5af6
Increment and store message migration attempts 2022-06-20 14:18:23 -07:00
Fedor Indutny
9407654262
Counteract zoom-level changes in custom titlebar 2022-06-20 11:26:31 -07:00
Josh Perez
3581f78913
Revert "Counteract zoom-level changes in custom titlebar"
This reverts commit 635aab838f.
2022-06-17 09:48:17 -07:00
Fedor Indutny
635aab838f
Counteract zoom-level changes in custom titlebar 2022-06-16 16:49:59 -07:00
Josh Perez
aa23c2def2
Removes Inbox Backbone view 2022-06-16 15:12:50 -04:00
Scott Nonnenberg
2464e0a9c1
Convert signal.js and preload.js to Typescript 2022-06-13 14:39:35 -07:00
Fedor Indutny
5634601554
Use patched frameless-titlebar on Windows 2022-06-08 15:00:32 -07:00
Evan Hahn
10a0abb8c2
Remove unused activeConfirmationView 2022-06-06 14:04:16 +00:00
Evan Hahn
f50a6abe36
Remove unused eslint-disables 2022-06-03 14:07:51 -07:00
Evan Hahn
63189f3f91
Convert ReactWrapperView to TypeScript 2022-06-03 09:33:39 -07:00
Evan Hahn
6bae8a24de
Convert protocol_wrapper.js to TypeScript 2022-06-03 09:30:03 -07:00
Evan Hahn
53d4a31311
Convert app loading message code to TypeScript 2022-06-01 12:57:30 -07:00
Evan Hahn
9c8fd2a714
Convert IndexedDB code to TypeScript 2022-06-01 09:51:30 -07:00
Scott Nonnenberg
638e3e3a58
Remove inboxCollection, ensure falsey active_at removes from badge count 2022-05-31 18:26:57 -07:00
Evan Hahn
c58f1eb503
Convert message schema migrator to TypeScript 2022-05-31 16:56:25 -07:00
Evan Hahn
2a2f44a73a
Convert message cleanup services to TypeScript 2022-05-31 16:53:14 -07:00
Evan Hahn
6668348197
Rewrite WallClockListener as onTimeTravel 2022-05-31 09:22:31 -07:00
Fedor Indutny
83b3ae9387
Expiration timer shouldn't count as unread on link 2022-05-25 13:48:23 -07:00
Scott Nonnenberg
68f705e6ad
Reset MessageReceiver processed count after reporting it 2022-05-25 11:15:09 -07:00
Fedor Indutny
b30c7f9c46
Dark theme loading screen 2022-05-11 15:58:14 -07:00
Josh Perez
253ab7517d
Always repair unexpired stories 2022-05-11 14:02:26 -07:00
Scott Nonnenberg
0ba6a0926e
Support for incoming gift badges 2022-05-11 13:59:58 -07:00
Josh Perez
0ca66d6e95
Adjust story replies for direct conversations 2022-05-10 15:02:21 -04:00
Scott Nonnenberg
4c9134f5a5
Ensure source is not required for incoming sync messages 2022-05-09 11:55:11 -07:00
Fedor Indutny
42554ebaf0
Confirm group call update messages 2022-04-28 14:41:56 -07:00
Josh Perez
2f44e33c9c
Move link notification to the conversation hero 2022-04-25 14:03:24 -07:00
Scott Nonnenberg
3a1df01c9e
New 'unseenStatus' field for certain secondary message types 2022-04-22 11:35:14 -07:00
Fedor Indutny
da45f26d37
Drop verified syncs, use storage service for event 2022-04-20 19:41:52 -04:00
Scott Nonnenberg
37c44fb631
Support for server-configurable maximum attachment size 2022-04-13 10:47:39 -07:00
Fedor Indutny
42108c9ca9
Flush last conversation message save on shutdown 2022-04-12 11:16:58 -07:00
Josh Perez
9f7ee9ae79
Force set expirationStartTimestamp on story messages 2022-04-11 14:28:01 -07:00
Scott Nonnenberg
9e54f55c22
Ensure that waitForAll functions catch and log thrown errors 2022-04-11 10:53:57 -07:00
Scott Nonnenberg
e62606361d
Sort message-initiated timer updates before the initiating message 2022-03-28 17:25:11 -07:00
Fedor Indutny
a0ae7c1aa2
Request and handle PniIdentity sync message 2022-03-25 10:36:08 -07:00
Scott Nonnenberg
2ccd425ae2
background: Initialize job queues earlier 2022-03-21 17:20:03 -07:00
Scott Nonnenberg
bddd55d574
Challenge: Save conversationIds and start queues 2022-03-21 14:19:37 -07:00
Fedor Indutny
8ab4c4e78d
Postpone routineProfileRefresh until empty 2022-03-16 17:52:05 -07:00
Scott Nonnenberg
5a7196e464
Sticker pack download: require just one successful sticker download 2022-03-16 12:18:16 -07:00
Josh Perez
eb91eb6fec
Process incoming story messages 2022-03-04 13:14:52 -08:00
Fedor Indutny
3b4106d9dd
Change order of syncs during linking 2022-03-02 14:53:47 -08:00
Josh Perez
34eb6a541d
Japanese specific fonts 2022-03-02 13:41:16 -05:00
Scott Nonnenberg
4763831d3e
background.ts: Introduce types for redux initialState 2022-02-23 12:48:40 -06:00
Scott Nonnenberg
b33b5d2a30
profileKey: Check length of incoming values, clear on failed send/fetch 2022-02-22 14:34:57 -06:00
Scott Nonnenberg
30783c887c
Introduce new conversationJobQueue 2022-02-16 10:36:21 -08:00
Scott Nonnenberg
0a18cc50bd
New queue for view once syncs, handleRetry improvements 2022-02-08 09:30:42 -08:00
Scott Nonnenberg
59d323d815
Expiration start timestamp cleanup: Cancel update when missing our UUID 2022-02-07 16:26:20 -06:00
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