Commit graph

830 commits

Author SHA1 Message Date
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
Fedor Indutny
ca1aef660f
Generate PNI key on standalone registration 2021-12-02 18:06:32 -08:00
Josh Perez
7affe313f0
Add image editor 2021-11-30 20:14:25 -06:00
Fedor Indutny
86d09917a3
Capture draft attachment's dimensions 2021-11-30 15:32:55 -08:00
Fedor Indutny
7c1ce3366d
Move StandaloneRegistration to React 2021-11-30 09:51:53 -08:00
Josh Perez
c9678c4877
Include badgeIds when writing profile data 2021-11-24 13:48:25 -05:00
Fedor Indutny
76a30a5196
Use throwOnTimeout option for PQueue 2021-11-23 23:01:03 +01:00
Scott Nonnenberg
3601279287
sendToGroup: Flow errors during key-fetching back up to original sender 2021-11-20 09:58:38 -06:00
Scott Nonnenberg
834023779e
onRetryRequest: Send only after session archive or found senderKey 2021-11-18 23:22:24 +01:00
Scott Nonnenberg
1982d5c8db
Update several dependencies, remove a few as well 2021-11-15 16:49:34 -08:00
Fedor Indutny
c6ee6a038e
Add stream timeout for attachment downloads 2021-11-15 23:54:59 +01:00
Scott Nonnenberg
a024ee4b96
Allow stage and send of video, even if we can't get screenshot 2021-11-15 13:54:33 -08:00
Evan Hahn
4490d9f2d0
Upgrade Reselect to 4.1.2
Co-authored-by: Fedor Indutnyy <indutny@signal.org>
2021-11-12 16:37:44 -06:00
Scott Nonnenberg
cbae7f8ee9
Search for username in compose mode 2021-11-11 17:17:29 -08:00
Scott Nonnenberg
edab7c7d83
Remember message Read More state when scrolling in virtualized container 2021-11-11 15:45:47 -08:00
Evan Hahn
5619eeca83
Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
Jordan Rose
983713003d
Update to libsignal-client v0.10.1 with zkgroup included 2021-11-11 16:24:28 +01:00
Fedor Indutny
631e36dc0a
Use invoke/handle in settingsChannel 2021-11-09 16:56:56 -08:00
Evan Hahn
37992715cd
Remove caption editor 2021-11-09 16:25:29 -08:00
David Sanders
50dc534164 Simplify permissions popup IPC 2021-11-09 07:35:31 -08:00
Fedor Indutny
519ca05911
Update electron to 15.3.0 2021-11-08 22:43:37 +01:00
Evan Hahn
8256170066
Fix ConversationController load race condition 2021-11-04 14:11:47 -07:00
Evan Hahn
d6ffb08a63
Disable class-methods-use-this lint rule 2021-11-04 16:04:51 -05:00
Scott Nonnenberg
4b6832bba5
Ensure multiple draft attachment adds don't stomp on each other 2021-11-03 18:38:46 -07:00
Evan Hahn
562d15dd14
Don't enqueue viewed receipt jobs for outgoing messages 2021-11-03 12:02:26 -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
a9cb621eb6
Various search UI improvements 2021-11-01 11:43:02 -07:00
Evan Hahn
9ea8a456f2
Clean up timeout in waitForOnline 2021-11-01 11:38:26 -07:00
Evan Hahn
8670a4d864
Retry outbound reactions for up to a day 2021-10-29 18:19:44 -05:00
Fedor Indutny
76d8b5e375
Get rid of electron.remote 2021-10-27 10:54:16 -07:00
David Sanders
79b3b6408e Fix microphone permission checking for audio recording
See [#5580][0].

[0]: https://github.com/signalapp/Signal-Desktop/pull/5580
2021-10-27 11:16:09 -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
Scott Nonnenberg
53bc13a401
Accessibility fixes for ConversationDetails and AvatarPopup 2021-10-25 12:11:19 -07:00
Fedor Indutnyy
56031336a9 Revert "Use focus trap for CallingLobby"
This reverts commit b38b22f49d.
2021-10-25 12:06:13 -07:00
Fedor Indutny
b38b22f49d
Use focus trap for CallingLobby 2021-10-25 09:58:09 -05:00
Scott Nonnenberg
191bfee18c
Show What's New dialog in app via Help -> Go to release notes 2021-10-22 17:41:45 -07:00
Fedor Indutny
2c51c3fe84
Use console logger when regular is not available 2021-10-21 12:49:53 -07:00
Scott Nonnenberg
51af6947d4
onDecryptionError/onRetryRequest: Don't run until queue is empty 2021-10-20 14:50:00 -07:00
Will Golledge
2cd02855fc Fix "in contacts" tooltip exceeding desired boundary
See [#4907][0].

[0]: https://github.com/signalapp/Signal-Desktop/pull/4907
2021-10-18 17:10:22 -05:00
Evan Hahn
0faeda28f0
Tweaks to left pane snapping logic 2021-10-14 16:19:50 -05:00
Evan Hahn
35a54cdc02
Introduce a new design for the left pane 2021-10-12 16:59:08 -07:00
Josh Perez
7dca544295
Animate lightbox and better touch support 2021-10-12 15:25:09 -05:00
Josh Perez
75dab30367
Use SignalContext instead of SignalWindow 2021-10-07 19:28:47 -04:00
Fedor Indutny
8cf6748dce
Delay initializing SQL in renderer 2021-10-07 11:16:51 -07:00
Fedor Indutny
a537204fc0
Remove ts/services/timers.ts 2021-10-06 14:59:34 -07:00
Josh Perez
b9134f8332
Actionable toasts 2021-10-06 14:00:51 -07:00
Josh Perez
048e1e4cd7
Move the safety number viewer into modal 2021-10-06 16:27:14 -04:00
Josh Perez
7c9b8e919c
Render emoji like a sticker 2021-10-06 10:37:53 -07:00
Fedor Indutny
1466f9f1b2
Update got/form-data to latest 2021-10-06 09:25:22 -07:00
Josh Perez
fa66ddde0f
Context isolation for the debug log window 2021-10-06 09:16:51 -07:00
Scott Nonnenberg
bd380086a4
Send related emoji along with Sticker, fix SendMessage types 2021-10-05 17:10:08 -05:00
Josh Perez
5fdfa1c632
ConversationView in React 2021-10-05 09:47:06 -07:00
Scott Nonnenberg
48229332ea
Introduce focus traps for ModalHost, add button role to DropZone 2021-10-04 10:14:00 -07:00
Evan Hahn
893a77a3ad
Fix render loop in <Modal>, clean up ref merger code 2021-10-01 16:53:00 -07:00
Evan Hahn
b239502813
Fix license header file enumeration 2021-10-01 16:52:36 -05:00
Scott Nonnenberg
9a1430a460
Typescriptify main.js 2021-10-01 13:49:59 -05:00
Josh Perez
cf0da96791
Save image/jpeg images as .jpg 2021-09-30 12:43:27 -04:00
Evan Hahn
14b42f0f11
Remove unused "inactive" class from inbox view 2021-09-30 09:37:55 -07:00
Josh Perez
b6cfe0933d
Adds open/close animations to dialogs and modals 2021-09-29 16:59:37 -04:00
Josh Perez
603c315c82
Moves AudioCapture into react 2021-09-29 13:23:06 -07:00
Evan Hahn
c170d04ffa
Enable customization of preferred reactions for everyone 2021-09-29 13:21:26 -07:00
Fedor Indutny
cd710bb8d2
Add jitter support to BackOff class 2021-09-28 15:12:43 -07:00
Josh Perez
68cef84c29
Massively zoom in on images, adds panning 2021-09-28 13:27:35 -07:00
Evan Hahn
e11f11782c
Add alt text for link screen QR code 2021-09-28 12:17:12 -05:00
Evan Hahn
e32503eed4
Import AudioDevice and VideoFrameSource directly from RingRTC 2021-09-28 11:37:03 -05:00
Josh Perez
9888e6d38f
Move common utils out of conversation view 2021-09-27 11:29:00 -05:00
Evan Hahn
8b98035cbf
Remove unused "messageRetry" send type 2021-09-24 15:14:54 -07:00
Josh Perez
1c3c971cf4 Moves DraftAttachments into redux 2021-09-24 16:03:32 -04: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
c05d23e628
Modernize ContactModal 2021-09-21 15:37:10 -07:00
Josh Perez
1d2fcde49f
Moves navigateTo to util 2021-09-21 16:45:25 -04:00
Evan Hahn
7937280971
Fix <Modal> scroll event handler 2021-09-21 09:25:21 -07:00
Josh Perez
4e6c415ad8
Ensure that delete logs timeout does not run after resolution 2021-09-20 20:25:29 -04:00
Scott Nonnenberg
250a89d953
Additional logging, new ability to force Conversation 'change' event 2021-09-20 11:51:30 -07:00
Josh Perez
e9ef239ff0
Move emoji loading into TS 2021-09-20 10:59:09 -07:00
Josh Perez
1b9d8dcb11
Ensure that both window and SignalWindow are defined 2021-09-20 10:29:37 -07:00
Josh Perez
e86a6119cd
Moves stringToArrayBuffer into util folder 2021-09-20 12:27:15 -04:00
Josh Perez
829e42ca6e
Move i18n setup to TypeScript 2021-09-17 20:30:08 -04:00
Josh Perez
7b5faa1cc1
Permissions popup context iso 2021-09-17 18:24:21 -04:00
Josh Perez
6c906d5da8
Enables context isolation for loading window 2021-09-17 18:12:58 -04:00
Josh Perez
65ddf0a9e8
Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Evan Hahn
f9095d372a
Upgrade electron-mocha to v10.1.0 2021-09-16 14:00:52 -07:00
Josh Perez
43685d15c6
Context isolation for About, ScreenShare, Preferences 2021-09-16 11:52:56 -04:00
Fedor Indutny
3f7957c20d
Self-repairing message counter 2021-09-15 11:45:22 -07:00
Fedor Indutny
c7e7d55af4
UUID-keyed lookups in SignalProtocolStore 2021-09-09 19:38:11 -07:00
Evan Hahn
e2392433e0
Preferred reactions: store raw emoji, gate on feature flag 2021-09-09 16:47:30 -07:00
Evan Hahn
8064560a5f
Update to new provisioning URL scheme 2021-09-09 17:08:19 -05: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
Fedor Indutny
7510be0caf
Detect database corruption consistently 2021-09-08 13:39:14 -07:00
Fedor Indutny
4bed918cf8
Reorder IPC callbacks for settings window 2021-09-07 14:42:17 -05:00
Scott Nonnenberg
ee5f276e0c
Update proxy-agent to 5.0.0, move @types/pino to dev dependencies 2021-09-02 17:29:15 -07:00
Scott Nonnenberg
1dda705c52
Mandatory profile sharing: Don't disable react/reply in GroupV2 groups 2021-09-02 16:29:46 -07:00
Fedor Indutny
0793aa6b43
Track zoom factor changes through IPC 2021-09-02 16:29:16 -07:00
Evan Hahn
1f45bce0a2
When a job fails, respect the Retry-After header if applicable 2021-09-02 17:31:21 -05:00
Scott Nonnenberg
5bf3720d1d
Update to libsignal-client@0.9.0, handle new invalid registration error 2021-09-02 13:44:34 -07:00
Scott Nonnenberg
9ca9f743c3
One lightbox at a time; proper dismiss of "read more" screen; proper in-progress draft HEIC images 2021-09-02 14:35:23 -05:00
Evan Hahn
f82012f129
Strip Exif data without Sharp 2021-09-02 08:59:42 -07:00
Evan Hahn
02518d2e16
Remove unnecessary Array.from from markConversationRead 2021-08-31 09:47:15 -07:00
Scott Nonnenberg
dcf29078f4
ConversationView: Improve types 2021-08-30 14:32:56 -07:00
Evan Hahn
7f50fcdb54
Improve performance when rendering many emoji 2021-08-30 11:39:03 -05:00
Evan Hahn
6f242eca57
Handle signal.me links 2021-08-28 08:27:38 -05:00
Fedor Indutny
a43abe628a
Update TypeScript to 4.4.2 2021-08-27 15:21:42 -05:00
Josh Perez
2b08cbfdfe
Streamlined system messages 2021-08-26 13:51:55 -07:00
Evan Hahn
9e9a815a2b
ESLint: allow for..of 2021-08-26 13:18:00 -05:00
Scott Nonnenberg
ff4aa228f6
Move to desktop.sendSenderKey3 feature flag 2021-08-26 11:34:33 -05:00
Evan Hahn
f86f753df9
Add durations utility for computing durations 2021-08-26 09:10:58 -05:00
Evan Hahn
0e7f641dc1
Let users ring members when starting a group call
Co-Authored-By: Josh Perez <60019601+josh-signal@users.noreply.github.com>
2021-08-25 16:42:51 -05:00
Josh Perez
e76f603233
Moves identicon svg to TS 2021-08-24 17:17:51 -07:00
Josh Perez
28f5a2bd1c
Fixes view once videos in lightbox 2021-08-24 14:47:14 -07:00
Josh Perez
8045a83374
Refine the clear all data experience 2021-08-24 15:57:34 -05:00
Evan Hahn
48cc2b5f11
Preserve blob content type when stripping EXIF data 2021-08-24 14:38:20 -05:00
Josh Perez
d5d808651a
Improved Lightbox experience 2021-08-23 16:14:53 -07:00
Josh Perez
d80e738fb1
Fix 'install now' click after download 2021-08-23 15:45:11 -07:00
Josh Perez
81c57107ce
Do not transcode images if they meet the size thresholds 2021-08-23 14:24:52 -07:00
Evan Hahn
9a54a8672d
Speed up lint-deps slightly 2021-08-23 09:18:21 -05:00
Evan Hahn
70d059beeb
Keep reaction poppers visible at all times 2021-08-20 14:36:27 -05:00
Evan Hahn
79c976668b
Receive rings for group calls 2021-08-20 09:06:15 -07:00
Josh Perez
e9308bbafb
New option for control over update downloads 2021-08-19 15:56:29 -07:00
Evan Hahn
4b810d5c3e
<ConversationHero>: only call onHeightChange when certain props change 2021-08-19 11:36:09 -05:00
Fedor Indutny
65f0f87bad
Speed-up senderKey membership check 2021-08-19 08:52:08 -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
Scott Nonnenberg
5f3af9f123
sendToGroup: Save conversation before removing senderKey 2021-08-17 11:35:49 -07:00
Fedor Indutny
784e5d5eee
Sort sender key devices for future optimization 2021-08-17 08:45:57 -07:00
Evan Hahn
75f0cd50be
Send viewed receipt when you start listening to an audio message 2021-08-17 08:43:26 -07:00