Commit Graph

963 Commits

Author SHA1 Message Date
Josh Perez 42eb4013d0
Upgrade react and storybook 2022-06-06 17:48:02 -07:00
Evan Hahn f50a6abe36
Remove unused `eslint-disable`s 2022-06-03 14:07:51 -07:00
Evan Hahn 63189f3f91
Convert `ReactWrapperView` to TypeScript 2022-06-03 09:33:39 -07:00
Fedor Indutny ecdc583f2a
Add debug log url when submitting it to Support 2022-06-02 16:24:35 -07:00
Scott Nonnenberg e09d148c1d
On Sender Key distribution message failure, don't update send status 2022-06-02 14:25:55 -07:00
Evan Hahn ab9a50357b
Convert libphonenumber utilities to TypeScript, removing unused ones 2022-06-01 10:48:16 -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 2a2f44a73a
Convert message cleanup services to TypeScript 2022-05-31 16:53:14 -07:00
Fedor Indutny a88560183b
Preload fonts, load scripts after body 2022-05-31 14:42:18 -07:00
Scott Nonnenberg 49bb1321e3
Sort groups you've left to the bottom of search 2022-05-31 09:28:31 -07:00
Evan Hahn 6668348197
Rewrite `WallClockListener` as `onTimeTravel` 2022-05-31 09:22:31 -07:00
Fedor Indutny dfc310805a
Allow manually retrying attachment downloads 2022-05-23 16:07:41 -07:00
Evan Hahn 59b45399e4
Improve logic for app badge count 2022-05-23 15:21:14 -07:00
Fedor Indutny 3be95e821e
Pass abortSignal to sendToGroup 2022-05-23 15:08:13 -07:00
Fedor Indutny 494287a570
Fix audio indicator svg glitch 2022-05-23 15:00:01 -07:00
Fedor Indutny 9f8ea5b202
Take activeAt in account when using fuse.js index 2022-05-23 12:09:40 -07:00
Evan Hahn 28ab6e11f6
`isMuted` -> `isConversationMuted` 2022-05-23 18:37:53 +00:00
Evan Hahn 3f0ed541f6
Improvements to group calling video requests 2022-05-23 10:16:13 -07:00
Fedor Indutny 5c72c785a0
Stop retrying message send on 400 response 2022-05-23 09:27:40 -07:00
Fedor Indutny e6223b6a11
Dynamic audio level indicator 2022-05-18 23:28:51 -04:00
Josh Perez ddde85cdd8
Soft assert for hydrating story context 2022-05-11 16:47:19 -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
Fedor Indutny 1b052ad16b
Report process cpu/memory usage in debug log 2022-05-09 18:12:04 -07:00
Josh Perez 85c8ff76dc
Adds playback bar to story viewer 2022-05-06 12:02:44 -07:00
Josh Perez fb21285ce3 Merge branch 'main' into pr/5866 2022-05-04 21:28:12 -04:00
Scott Nonnenberg d4e0f6a38d
Update conversation.unreadCount in just one place, from database 2022-05-03 13:24:31 -07:00
Josh Perez ff87caf526
Fixes going to oldest unread story when viewing 2022-05-03 12:02:43 -04:00
Josh Perez a77861e5c4
Fix video playback in StoryViewer for multiple videos 2022-05-02 09:24:41 -07:00
Scott Nonnenberg e078a2ae54
Ensure that seenStatus is always updated along with readStatus 2022-04-29 16:42:47 -07:00
Dennis Ameling (he/him) 3445e06b00 Apply reasonCategory to exceptions 2022-04-28 21:06:58 +02:00
Dennis Ameling (he/him) dc66af4331 Update node-gyp to 9.0.0 2022-04-28 21:06:56 +02:00
Fedor Indutny 99de97a099
Update electron to 18.1.0 2022-04-27 14:15:57 -07:00
Fedor Indutny b116c45375
Bump fuse.js treshold value 2022-04-27 13:09:54 -07:00
Fedor Indutny de0450efe7
Add filter commands for finding conversations 2022-04-27 11:52:43 -07:00
Fedor Indutny 472df5821a
Cache paths resolved by createPathGetter 2022-04-27 11:40:58 -07:00
Fedor Indutny 5d65e3b36c
Revert update to electron 18.1.0
* Revert "Update electron-builder to 23.0.8"

This reverts commit c8842d94ec.

* Revert "Update to electron@18.1.0"

This reverts commit 5f3a62cbb6.
2022-04-26 18:15:43 -07:00
Fedor Indutny b7f0ec61b9
Resolve attachments folder before using it 2022-04-26 17:31:01 -07:00
Fedor Indutny c8842d94ec
Update electron-builder to 23.0.8 2022-04-25 17:15:10 -07:00
Scott Nonnenberg 1d26424f22
Challenge: If no retry-after header on 428, don't start timer for retry 2022-04-25 16:05:23 -07:00
Josh Perez 2f44e33c9c
Move link notification to the conversation hero 2022-04-25 14:03:24 -07:00
Josh Perez d8708e4e73
Ensure that we resolve attachments before displaying them 2022-04-25 10:25:50 -07:00
Josh Perez 72f979ea1d
Fix story reply box interactions 2022-04-22 23:16:13 -04:00
Josh Perez 4602cef6da
Full width/height stories 2022-04-22 14:36:34 -04:00
Scott Nonnenberg 3a1df01c9e
New 'unseenStatus' field for certain secondary message types 2022-04-22 11:35:14 -07:00
Josh Perez 8c4b875dca
Prune the story progress effect's dependency list 2022-04-20 19:38:38 -04:00
Josh Perez 774246b6e2
Drop story replies from group timeline 2022-04-20 16:33:38 -07:00
Fedor Indutny 6856e246e2
Don't update our own profile key from group state 2022-04-14 15:26:47 -07:00
Josh Perez b550f64a4b Merge signalapp/Signal-Desktop#5633 2022-04-14 13:04:19 -04:00
Josh Perez 4015259def
Adds captions in the viewer 2022-04-14 13:02:12 -04:00
Scott Nonnenberg 37c44fb631
Support for server-configurable maximum attachment size 2022-04-13 10:47:39 -07:00
Josh Perez 1a9547c98f
Repair video playback in viewer 2022-04-12 12:29:30 -07:00
dependabot[bot] c82ce8f15f
Upgrade moment to v2.29.2 2022-04-11 11:33:36 -07:00
Scott Nonnenberg 9e54f55c22
Ensure that waitForAll functions catch and log thrown errors 2022-04-11 10:53:57 -07:00
Josh Perez 0f16ef5dd6
Do not try to download text attachments 2022-04-08 10:03:10 -07:00
Josh Perez d8e6516fb9
Fixes isAccepted logic when calling it for the first time 2022-04-07 19:12:35 -07:00
Fedor Indutny 4c798bf7b8
Update dependencies to support Emoji v14 2022-04-07 14:50:42 -04:00
Scott Nonnenberg b50c96c0b5
Improve layout of various message bubbles 2022-04-07 09:58:15 -07:00
Josh Perez fc9bdf9398
Process text story messages 2022-04-05 21:18:07 -04:00
Fedor Indutny 9568d5792e
Allow adding to a group by phone number 2022-04-04 17:38:22 -07:00
Scott Nonnenberg 97b03d8803
shouldCurrentMessageHideMetadata: Hide more often for less jumpiness 2022-03-30 20:07:14 -07:00
Josh Perez 3b5cc26fec
Adds logic around downloading stories 2022-03-28 18:10:08 -07:00
Evan Hahn 555b9d8aa1
Upgrade webpack-cli to 4.92 and webpack-dev-server to 4.7.4 2022-03-28 16:18:00 -07:00
Scott Nonnenberg 1ad284d22c
Group disparate status together, but show metadata if different 2022-03-28 15:55:12 -07:00
Fedor Indutny a0ae7c1aa2
Request and handle PniIdentity sync message 2022-03-25 10:36:08 -07:00
Jordan Rose 5a107e1bc3
Update for @signalapp/libsignal-client rename 2022-03-24 14:47:21 -07:00
Fedor Indutny 2eaacac151
Use --force-long with pbjs 2022-03-23 13:49:27 -07:00
Scott Nonnenberg e8e18ff7e4
Group messages by status, grouping everything delivered+ together 2022-03-22 14:17:21 -07:00
Fedor Indutny 356f123092
Use parallel-prettier for lint 2022-03-22 13:45:34 -07:00
Fedor Indutnyy 0e31659682 Merge https://github.com/signalapp/Signal-Desktop/pull/5788 2022-03-17 09:36:51 -07:00
Fedor Indutny 36ce4f27a2
Optimize profile avatar uploads and sync urls 2022-03-15 17:14:20 -07:00
Fedor Indutny c28971ee9e
Profile fetches shouldn't drop our own profile key 2022-03-14 14:50:08 -07:00
Dimitris Apostolou 718d0a7046
Fix typos 2022-03-13 11:10:17 +02:00
Evan Hahn 72c6c57186
If not enough messages are loaded (on tall screens), fix jankiness 2022-03-11 14:31:21 -08:00
Fedor Indutny 4a00ea46bc
Allow requesting profile without profileKey 2022-03-09 12:23:21 -08:00
Fedor Indutny 0c8c332805
Use new CDS implementation in staging 2022-03-09 11:28:40 -08:00
Fedor Indutny feef67da5a
Add extra notary signature checks to zkgroup 2022-03-08 13:07:52 -08:00
Evan Hahn c527de0a8d
Collapse message bubbles when applicable 2022-03-08 08:32:42 -06:00
Scott Nonnenberg 4be2a33be5
Populate dataMessage on CallbackResultType when sending 1:1 messages 2022-03-04 17:39:37 -08:00
Josh Perez eb91eb6fec
Process incoming story messages 2022-03-04 13:14:52 -08:00
Scott Nonnenberg 0a52318be6
Delete for everyone: Track sends and show failure states 2022-03-04 11:22:31 -08:00
Evan Hahn 0c31ad25ef
Remove React Virtualized from `<Timeline>` 2022-03-03 14:23:10 -06:00
Fedor Indutny 19441cd3f3
Optimize number of range requests in updater 2022-03-01 14:44:29 -08:00
Scott Nonnenberg fcb96bf92a
Simplify OutgoingIdentityKeyError, use it in getKeysForIdentifier 2022-02-25 15:39:24 -08:00
Evan Hahn 052a8e65e2
Add "clean up timer if necessary" utility 2022-02-25 10:37:15 -08:00
Evan Hahn c2a65306e2
Add option to auto-remove unused lint-deps exceptions 2022-02-25 09:24:21 -06:00
Scott Nonnenberg fc62fd4564
Don't send to blocked users 2022-02-24 18:40:56 -08:00
Scott Nonnenberg de942e1af2
sendToGroup: Combine into final send result even in error scenarios 2022-02-24 17:22:19 -08:00
Jon Chambers 45289f519a
Accept HTTP/429 as a "rate-limited" status code 2022-02-24 16:26:58 -08:00
Fedor Indutny f58d1332c4
Differential updates 2022-02-24 13:01:41 -08:00
Scott Nonnenberg 4763831d3e
background.ts: Introduce types for redux initialState 2022-02-23 12:48:40 -06:00
Evan Hahn 1f191401aa
Use browser time formatting instead of Moment 2022-02-23 12:15:15 -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
dependabot[bot] ec3a3bd7b2
Upgrade vm2 (a subdependency) to 3.9.7
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Hahn <evanhahn@signal.org>
2022-02-16 09:53:07 -06:00
Fedor Indutny a0b05f41e3
Dropped storage keys should not cause upload 2022-02-14 11:36:32 -08:00
Josh Perez 67209d8881
Consolidates the search inputs 2022-02-14 12:57:11 -05:00
Fedor Indutny 6281d52ec6
Storage service tests and benches in ts/test-mock 2022-02-11 14:32:51 -08:00
Evan Hahn 48137a498c
Timeline: Add alternate height measurement cache 2022-02-11 16:28:28 -06:00
Fedor Indutny 0174687542
Use esbuild 2022-02-11 13:38:52 -08:00
Scott Nonnenberg 3c1ccce9bd
Sender Key: Use sender key expire duration from remote config 2022-02-11 13:09:35 -08:00
Evan Hahn eed3e8e316
Disable "Call Again" if already on a call 2022-02-11 12:21:45 -06:00
Evan Hahn ae3b12bea8
Switch from deprecated `node-sass` to `sass` 2022-02-11 10:59:24 -06:00
Evan Hahn 5ce26eb91a
Speaking indicator for group calls
Co-authored-by: Peter Thatcher <peter@signal.org>
Co-authored-by: Jim Gustafson <jim@signal.org>
Co-authored-by: Josh Perez <60019601+josh-signal@users.noreply.github.com>
2022-02-08 12:30:33 -06:00
Scott Nonnenberg 0a18cc50bd
New queue for view once syncs, handleRetry improvements 2022-02-08 09:30:42 -08:00
Fedor Indutny fdbb2bfb36
Normalize UUID in ConversationModel.initialize 2022-02-02 13:41:29 -08:00
Evan Hahn 60d348e7cb
Open all Signal links in app 2022-02-02 10:29:01 -08:00
Evan Hahn 07968ea42b
Use `isSameDay` and `isToday` utilities 2022-02-02 10:27:44 -08:00
Evan Hahn 85ae41eb1c
Remove duplicate helper function from `missingCaseError` 2022-02-01 16:57:31 -08:00
Scott Nonnenberg 397753bbfe
sendContentMessageToGroup: Comprehensive error check before failover 2022-01-31 13:51:24 -08:00
Evan Hahn 05e5786883
Increase fallback `Retry-After` time to 1 minute 2022-01-31 15:09:58 -06:00
Evan Hahn 1c43e7501c
Simplify spellcheck download URL, disable spellcheck in most windows 2022-01-28 16:27:18 -06:00
Josh Perez bf45182a39
New left pane search design 2022-01-27 16:12:26 -06:00
Fedor Indutny 6578679166
Improve performance of isEmojiOnlyText 2022-01-27 13:28:04 -08:00
Evan Hahn 8fa4cd68d5
Fix timeline item sizing bug, and test timeline logic 2022-01-27 12:10:24 -08:00
Evan Hahn f9440bf594
Timeline date headers 2022-01-26 17:05:26 -06:00
Josh Perez 0fa069f260
Trim profile names when setting them 2022-01-26 13:58:00 -08:00
Scott Nonnenberg 68a458ec4a
Honor preferContactAvatars field on AccountRecord 2022-01-25 09:44:45 -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 eba8d8d4b8
Render QR code with SVG, not canvas 2022-01-14 10:45:05 -06:00
Fedor Indutny 48836d5761
Update @react-spring/web to 9.4.1 2022-01-13 10:31:13 -08:00
Fedor Indutny 31c6a2fc0d
More frequent message cleanup 2022-01-13 10:30:51 -08:00
Evan Hahn 3a463d3bfc
Use durations utility in parseRetryAfter 2022-01-11 17:17:41 -06:00
Fedor Indutny 91f1b62bc7
Detect startup after recent crashes 2022-01-11 12:02:46 -08:00
Scott Nonnenberg 06165cb742
Include sender keys in SignalProtocolStore zones 2022-01-07 18:12:13 -08:00
Evan Hahn c8d32f0327
Switch to qrcode-generator library 2022-01-05 09:59:59 -08:00
Evan Hahn dca2364ba4
Fix media editor undo state bugs 2022-01-03 17:29:19 -06:00
Scott Nonnenberg 60a53656af
Optimize a few queries 2021-12-20 22:04:02 +01:00
Fedor Indutny b08691b35b
Default to `system` `theme-setting` 2021-12-20 10:58:21 -06:00
Evan Hahn 3fa911598b
Use Signal's spellcheck dictionary files 2021-12-17 14:24:54 -08:00
Fedor Indutny 8070b8b14f
Block WebAPI during active registration 2021-12-17 22:26:50 +01:00
Evan Hahn ed96e603ab
Wait for `ConversationController` load in receipt and sync jobs 2021-12-16 09:45:56 -08:00
Evan Hahn 364f00f37a
Redesign device link screens 2021-12-16 16:02:22 +01:00
Scott Nonnenberg a023fc1bb0
Usernames: Fetch own username from /whoami not /profile 2021-12-15 12:02:55 -08:00
Fedor Indutny e57ca66fd0
Update yarn.lock 2021-12-14 17:00:01 -08:00
Evan Hahn 97d42d5e7b
Enable media editor for everyone 2021-12-14 16:53:15 -08:00
Scott Nonnenberg e74376b997
Remove Grunt in favor of ts/scripts 2021-12-14 10:43:46 -06:00
Fedor Indutny 71ca3c0764
Drop old unprocessed envelopes 2021-12-13 17:25:44 -08:00
Evan Hahn 465b387a13
Update TypeScript ESLint dependencies 2021-12-13 17:15:24 -08:00
Jordan Rose 683823a114
Group calls: Make renderVideoFrame generate less garbage 2021-12-10 18:21:28 -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
Fedor Indutny bbc13d058e
Update electron to 16.0.4 2021-12-09 09:06:04 +01: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 b1ebc0f483
Show sender and device number in decryption error toast 2021-12-06 16:21:30 -08:00
Evan Hahn 01549b11d1
Don't request video for invisible group call participants 2021-12-06 17:06:13 -06:00
Evan Hahn 56a8e79413
Remove Fabric's optional dependencies 2021-12-06 13:58:07 -08:00
Josh Perez 5c8f740c2a
Check filename extension for heic/heif images 2021-12-06 18:20:27 +01:00
Josh Perez 2136c5311b
Fix default conversation color overrides 2021-12-03 18:10:03 -08:00