Commit graph

1372 commits

Author SHA1 Message Date
Jamie Kyle
4455328312
Expose i18n globals in SignalContext across all windows 2023-08-07 13:28:09 -07:00
Josh Perez
d8ea785f4e
Do not confirm DOE or edit until it is processed 2023-08-07 09:36:37 -07:00
Scott Nonnenberg
f597f15faf
Formatting menu: Show popup guide faster, fade in/out 2023-08-04 09:25:52 -07:00
Jamie Kyle
827dc66220
Silence noisy react-intl warning in tests 2023-08-01 09:41:28 -07:00
Scott Nonnenberg
40c21b1666
Improved windows notifications 2023-08-01 09:06:29 -07:00
Jamie Kyle
1143c0e9ba
macOS: Add support for 12/24-hour time display preferences 2023-07-31 09:23:19 -07:00
Josh Perez
4ec94367c9
Adds transitions to panels
Co-authored-by: Jamie Kyle <jamie@signal.org>
2023-07-26 15:23:32 -07:00
Josh Perez
8aac997b4f
Removes groupv1 protos 2023-07-26 13:49:27 -04:00
Jamie Kyle
6c70cd450b
Add useSizeObserver and replace most react-measure 2023-07-26 01:56:56 +02:00
Scott Nonnenberg
716f852970
New getRecentStoryReplies function to clean up replies in multiple convos 2023-07-21 15:10:32 -07:00
trevor-signal
82e058f2b8
Conversation open speed benchmarking for staging builds
Co-authored-by: Fedor Indutnyy <indutny@signal.org>
2023-07-21 00:37:56 +02:00
Fedor Indutny
e1d2dbd8ff
Username Link QR Code 2023-07-20 05:14:08 +02:00
Josh Perez
e2ab1b3444
Apply out of order operations to edited messages 2023-07-19 17:17:13 -07:00
Fedor Indutny
ba9f1a3e5e Support cds.disableCompatibilityMode 2023-07-19 16:21:33 -07:00
Fedor Indutny
eaae3ff88b Better ordering of ACI/E164 numbers 2023-07-19 16:21:32 -07:00
Fedor Indutny
1e6e8c3be4 Add !unread: internal filter 2023-07-19 16:21:32 -07:00
trevor-signal
54d4734f05 Stop preemptively generating screenshots for video stories 2023-07-19 16:21:31 -07:00
Jamie Kyle
f798bc999c Use getPreferredSystemLocales for all timestamps 2023-07-19 16:21:31 -07:00
Scott Nonnenberg
b6445a6af0 Support for loading, storing, and using kyber keys in decryption 2023-07-19 16:21:30 -07:00
Fedor Indutny
c1580a5eb3 Add support for ACI safety numbers behind a feature flag 2023-07-19 16:21:30 -07:00
dependabot[bot]
5c4d93e103
Bump protobufjs from 6.11.3 to 7.2.4
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fedor Indutnyy <indutny@signal.org>
2023-07-12 19:54:37 +02:00
Fedor Indutny
efe5bdbbe6
Fix click handling in nested modals 2023-07-10 16:38:39 -07:00
Nick Rayburn
3026c2ff56 Ignore message metadata on triple click
Fixes #6428
2023-07-05 19:07:58 -05:00
Josh Perez
2930aa002a
Fixes message clustering when there is an edit between 2023-06-30 10:04:19 -04:00
Josh Perez
45b4a7da56
Do not trigger notifications for edited messages 2023-06-29 22:32:25 -04:00
Fedor Indutny
f90c2b7479
destinationServiceId in Sent 2023-06-29 21:17:27 +02:00
Jamie Kyle
af4ad55c68
Update header actions/add hiddenFromConversationSearch 2023-06-29 11:40:00 -07:00
trevor-signal
9c6fb29edb
Include @mentioned names in search results 2023-06-26 14:25:48 -04:00
Josh Perez
8410f95368
Lets you edit note to self indefinitely 2023-06-22 11:35:41 -07:00
Jamie Kyle
6f1d824c3d
handleOutsideClick should drop events that started inside 2023-06-21 16:28:31 -07:00
trevor-signal
0afe124c68
Highlight multiple words in search result snippet 2023-06-21 12:35:48 -04:00
trevor-signal
83c1acedd8
Sort contacts and conversations alphabetically when composing message 2023-06-21 12:33:59 -04:00
Scott Nonnenberg
65b6d9c2bc
Fix failover on failed sends, and improve logging 2023-06-20 17:06:38 -07:00
Jamie Kyle
0db5a3b888
Fix forwarding attachments that haven't been downloaded 2023-06-16 11:41:52 -07:00
Jamie Kyle
ac76271772
Redact paths on windows in more cases 2023-06-16 11:40:58 -07:00
Josh Perez
4dd7ce36a7
Always move focus to new panel when showing 2023-06-15 15:26:53 -07:00
Josh Perez
81e600bf2e
Enables edit messages for beta version 2023-06-15 13:14:52 -07:00
Jamie Kyle
5e8c22bf28
Fix i18n lint rule with emoji->emojify component 2023-06-14 17:57:04 -07:00
Jamie Kyle
b76c7269f8
Refactor i18n/intl utils, support icu only, remove renderText 2023-06-14 16:26:05 -07:00
Josh Perez
4d354c8005
Show a warning dialog when sending first edited message 2023-06-14 15:20:06 -07:00
Scott Nonnenberg
23b058fe10
Enable formatting for all users 2023-06-14 15:00:30 -07:00
trevor-signal
d169ce6799
Include unreadMentionsCount as part of conversation props 2023-06-13 10:09:09 -07:00
Scott Nonnenberg
62e648da27
getTitle: Return nothing instead of an invalid phone number 2023-06-09 10:46:59 -07:00
Fedor Indutny
ea79b34f56
Do not use hostname with tls.connect 2023-06-08 14:10:41 -07:00
Fedor Indutny
18f9512a16
Make TLS handshake a part of Happy Eyeballs 2023-06-07 14:00:45 -07:00
Scott Nonnenberg
adc8513f41
Implement cut/copy correctly for input/textarea elements 2023-06-06 12:06:58 -07:00
Fedor Indutny
82419f17dd
Don't shuffle dns addresses 2023-06-06 09:12:43 -07:00
Fedor Indutny
62e290eb9e
Implement simplified Happy Eyeballs 2023-06-05 12:55:09 -07:00
Josh Perez
7c1957c30d
Moves conversation.getProps out of models
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2023-06-02 10:54:36 -07:00
trevor-signal
4fa9ce5096
Refactor group story reply receipt logic 2023-05-31 13:07:43 -07:00
Fedor Indutny
3abacb25ce
Clear typing indicator after receiving edits 2023-05-31 11:14:38 -07:00
Fedor Indutny
557b86f52e
Use electron's DNS resolver, prioritizing ipv4 connections 2023-05-30 16:57:16 -07:00
Jamie Kyle
688ddd49d1
Validate and log transitions for call disposition 2023-05-25 14:17:35 -07:00
Josh Perez
e2f39ed5fa
Fix RangeError invalid timestamp 2023-05-25 13:17:10 -04:00
Fedor Indutny
1941a33556
Fix handling of replies on multiple dist lists 2023-05-25 14:12:33 +02:00
Scott Nonnenberg
a31cf5645e
Better handling of formatting in pasted text 2023-05-23 15:00:05 -07:00
Scott Nonnenberg
f42192fb5a
Improve paste handling of formatted data 2023-05-17 09:58:32 -07:00
Fedor Indutny
5869717cd3
Use correct timestamp for receipts of edited messages 2023-05-16 10:37:12 -07:00
Fedor Indutny
11456d100f
Put timestamp of edited message into the job 2023-05-15 14:26:36 -07:00
Josh Perez
ac8bec1ac0
Maps sent edit message timestamps to their original messages 2023-05-12 10:09:44 -07:00
Josh Perez
216ee67c50
Adds keyboard shortcut for editing last message sent 2023-05-11 17:27:19 -07:00
Fedor Indutny
9d1252ae19
Assert presence of sent_at timestamp for receipts 2023-05-11 09:04:17 -07:00
Fedor Indutny
48545d6a83
Update electron to 24.2.0 2023-05-10 12:58:35 -07:00
Josh Perez
1622fe21e7
Normalize diacritics when searching conversations 2023-05-09 18:29:59 -07:00
Josh Perez
46942ece00
Send proper sync message for edit msg in all contexts 2023-05-09 18:25:37 -07:00
Scott Nonnenberg
b4caf67bf9
Allow copy/paste of formatting and mentions 2023-05-09 17:40:19 -07:00
Josh Perez
8761bb8dae
Converts wav files to ogg 2023-05-09 11:51:11 -04:00
Josh Perez
4b7f1dbada
Fixes edit message conversation not being the right convo 2023-05-09 08:18:08 -07:00
Josh Perez
272b81c7cf Adds a pop and whoosh sound for message receive/sent 2023-05-09 10:52:42 -04:00
Fedor Indutny
f1624705a7 Use new attachments API endpoint 2023-05-09 10:52:42 -04:00
Josh Perez
db995addae A super tab idea 2023-05-09 10:52:42 -04:00
Josh Perez
be60b3d225 Moves SQL to full IPC 2023-05-09 10:52:39 -04:00
Fedor Indutny
ca4aad6bad Extra toast for Message Receiver errors 2023-05-09 10:52:33 -04:00
Josh Perez
e8a3dc5db6
Focus first selectable element in preferences pane 2023-04-25 17:54:05 -04:00
Jamie Kyle
5f522c605d
Always reencode images through canvas 2023-04-24 11:05:30 -07:00
Josh Perez
e211837bcd
Enables sandbox for all windows except main 2023-04-20 17:23:19 -04:00
Fedor Indutny
abb839c24b
Use timestamp of edited message when editing 2023-04-20 13:50:19 -07:00
Fedor Indutny
da09c72c99
Don't collapse metadata for edited message 2023-04-20 11:56:34 -07:00
Fedor Indutny
9054a78a65
Copy quote from original message 2023-04-20 11:48:43 -07:00
Jamie Kyle
0e490542a7
RTL 2023-04-20 10:03:43 -07:00
Josh Perez
1f2cde6d04
Send edited messages support
Co-authored-by: Fedor Indutnyy <indutny@signal.org>
2023-04-20 09:31:59 -07:00
Fedor Indutny
d380817a44
Sticker Creator Window 2023-04-20 08:59:17 -07:00
Scott Nonnenberg
6f67a57e8a
Update feature flags for text formatting for beta release 2023-04-19 15:18:13 -07:00
Jamie Kyle
703a82c818
Skip edit step when forwarding a voice message 2023-04-18 16:34:50 -07:00
Scott Nonnenberg
7db16c4f0e
Continue to mark story read if markOnboardingStoryAsRead didn't do it 2023-04-18 08:35:29 -07:00
Josh Perez
68ae25f5cd
Remove GroupContext proto
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2023-04-14 17:52:50 -07:00
Scott Nonnenberg
9bfbee464b
Support for sending formatting messages 2023-04-14 11:16:28 -07:00
Jamie Kyle
558b5a4a38
Migrate most React class components to function components 2023-04-12 16:17:56 -07:00
Scott Nonnenberg
ea2083cd11
AudioPlayer: Logging when changing playback or queue 2023-04-11 10:28:04 -07:00
Jamie Kyle
76b9d07acf
Remove Signal.Util 2023-04-10 20:54:43 -07:00
Jamie Kyle
822b162136
Merge delete for me/everyone into one modal 2023-04-10 14:38:34 -07:00
Jamie Kyle
c956c0e025
Remove ts/util/index.ts 2023-04-10 14:30:33 -07:00
Scott Nonnenberg
d9d820e72a
Support for receiving formatted messages
Co-authored-by: Alvaro Carrasco <alvaro@signal.org>
2023-04-10 09:31:45 -07:00
Fedor Indutny
d34d187f1e
Simplify redux ducks and avoid reexport 2023-04-07 10:46:00 -07:00
Fedor Indutny
bd41d7b216
Use synchronous IPC for passing config 2023-04-07 09:42:12 -07:00
Jamie Kyle
f1a632263a
Log unknown field tags for sync messages we havent handled 2023-04-05 18:05:04 -07:00
Fedor Indutny
0e606c45b0
Use DoH for query fallback 2023-04-05 14:49:33 -07:00
Fedor Indutny
f61d8f38b0
Context menu for left pane list items 2023-04-05 13:48:00 -07:00
Jamie Kyle
4e6c3ba9df
Fix forwarded messages timestamp offset 2023-04-03 13:47:39 -07:00
Jamie Kyle
da24cc5e95
Use ICU number/plural formatting 2023-04-03 12:03:00 -07:00
Jamie Kyle
5e647c55d1
Fully migrate to ICU 2023-03-29 17:03:25 -07:00
Josh Perez
d093b1ab13
Delivery receipt support for edited messages 2023-03-29 17:58:16 -04:00
Jim Gustafson
43e70720f7
Update to RingRTC v2.26.2 2023-03-29 14:16:19 -07:00
Fedor Indutny
d1791ff6be
Introduce buffered console logger 2023-03-28 15:22:06 -07:00
Josh Perez
36e21c0134
Receive support for editing messages 2023-03-27 19:48:57 -04:00
Jamie Kyle
2781e621ad
Prepare for ICU migration 2023-03-27 16:37:39 -07:00
Jamie Kyle
d0f17a1398
Add shortcuts for forward/delete selected/targeted messages 2023-03-24 14:16:48 -07:00
Fedor Indutny
2f691f3dd0
Use custom fallback DNS servers 2023-03-22 13:56:49 -07:00
Fedor Indutny
56145fabcc
isInSystemContacts should use systemName 2023-03-22 12:25:52 -07:00
Fedor Indutny
7e05893e1a
Fallback to dns.resolve4/6 on getaddrinfo failure 2023-03-21 17:43:55 -07:00
Jamie Kyle
1d549a9991
Multi-select forwarding and deleting 2023-03-20 15:23:53 -07:00
dependabot[bot]
a779542d10
Bump webpack from 5.30.0 to 5.76.0 2023-03-16 17:35:57 -07:00
Fedor Indutny
f84b6a31dc
Remove Sticker Creator in favor of Web App 2023-03-15 17:59:30 -07:00
Scott Nonnenberg
5949cc11b1
Add all sends needed for retry to conversationJobQueue 2023-03-14 13:25:05 -07:00
Josh Perez
4591b56f7f
Enables sandbox on about window 2023-03-14 11:55:31 -04:00
Fedor Indutny
adf2957537
NSIS should fail installation on Windows < 7 2023-03-13 14:10:35 -07:00
Fedor Indutny
613d893f45
Fix adding to group by username 2023-03-09 13:46:01 -08:00
Josh Perez
0966118e1a
Include additional logging around onboarding story 2023-03-08 17:40:26 -08:00
Fedor Indutny
74097a0efa
Use spring to animate lightbox thumbnails 2023-03-08 17:32:18 -08:00
Fedor Indutny
5d07167222
Use libsignal-client validation for nicknames 2023-03-08 16:58:54 -08:00
Alvaro
5ce896609a
Support for avif image format 2023-03-07 12:52:49 -08:00
Fedor Indutny
5dff1768bd
Page media in Lightbox 2023-03-03 19:03:15 -08:00
Jamie Kyle
03697f66e7
Avoid recreating small images where possible + bump libheif-js 2023-03-03 12:08:24 -08:00
Alvaro
99015d7b96
Voice notes drafts 2023-03-02 13:55:40 -07:00
Josh Perez
356fb301e1
Use Intl.DateTimeFormat instead of moment for date formatting 2023-03-02 13:43:25 -05:00
Josh Perez
4d357f6f06
Adds time stickers to MediaEditor 2023-03-01 14:00:50 -05:00
Fedor Indutny
4549291b7b
Descriptive error messages for video stories 2023-02-28 14:17:22 -08:00
Fedor Indutny
fad0529080
New sticker creator button 2023-02-27 14:34:43 -08:00
Alvaro
0e655ceeed
Voice notes mini-player 2023-02-24 15:18:57 -08:00
Alvaro
b5849f872a
Drain jobs cleanly on shutdown 2023-02-24 11:03:17 -08:00
Fedor Indutny
5d110964b9
PNP Settings 2023-02-23 13:32:19 -08:00
Fedor Indutny
260c1fd9df
Further restrict E164 format in storage service 2023-02-15 18:06:10 -07:00
Fedor Indutny
1f95c2299e
Use ContactRecord.systemNickname 2023-02-13 14:40:11 -08:00
Fedor Indutny
0e618e5091
Remove at-username i18n string 2023-02-09 11:18:57 -08:00
Alvaro
57029a9908
Added logging for RetryPlaceholders.findByMessageAndRemove 2023-02-09 09:35:53 -08:00
Fedor Indutny
8ed13b2247
Username hashing 2023-02-08 09:14:59 -08:00
Fedor Indutny
27d44a746c
Create AudioContext only when needed 2023-02-08 08:05:50 -07:00
Jamie Kyle
8b5fa7039d
jumbo emoji-only message with whitespace 2023-02-06 13:40:49 -08:00
Fedor Indutny
b6c395fac1
Simplify E164 checks in storage service 2023-02-06 12:33:31 -08:00
Fedor Indutny
dff924c0c5
Generalize keepMutedChatsArchived check 2023-02-06 10:08:53 -08:00
Jamie Kyle
2bbcc4676e
Move receipt queues into conversation queue to handle 428s 2023-02-06 09:24:34 -08:00
Alvaro
e51f582bfb
Removed hard limit on unprocessed messages in cache 2023-02-02 11:39:07 -08:00
Fedor Indutny
1381e8df5d
Process username changes in storage service 2023-02-02 11:03:51 -07:00
Scott Nonnenberg
b062409bb3
'Draw attention to this window' option is now defaulted to 'false' 2023-01-31 18:03:44 -08:00
Josh Perez
e334490cf4
Fixes link preview send in stories 2023-01-27 08:39:38 -07:00
Scott Nonnenberg
7c1f186c05
sendToGroup: Don't fail send if we get 401 from multi_recipient/ request 2023-01-20 17:50:34 -07:00
Fedor Indutny
ef13eb06fc
Confine message selector cache to component 2023-01-19 11:56:02 -08:00
Evan Hahn
7f0ed2599d
Percent-encode URL path when reporting spam 2023-01-19 11:53:04 -08:00
Scott Nonnenberg
b0e2d22750
EmojiButton: Eliminate usage of createPortal 2023-01-18 19:09:18 -05:00
Fedor Indutny
ac50af52d2
Unsupported OS Dialog 2023-01-18 15:31:10 -08:00
Jamie Kyle
c1b8fe8182
Fix video duration parsing in stories 2023-01-18 09:22:40 -08:00
Scott Nonnenberg
4a3ffe07e8
sendToGroup: 404 from multi_recipient endpoint now treated differently 2023-01-13 14:01:47 -08:00
Jamie Kyle
c58a723f45
Add type-alias-readonlydeep rule and make ducks mostly immutable 2023-01-13 12:07:26 -08:00
Josh Perez
9374832ea4
Enables ContextIsolation 2023-01-12 16:24:59 -08:00
Jamie Kyle
342373bdfe
Group call started notification use address book name 2023-01-12 16:29:07 -07:00
Fedor Indutny
d7b09b9703
Deprecate phone number discovery notification 2023-01-12 14:18:08 -08:00
Fedor Indutny
19279cfebd
Support esnext in storybook 2023-01-12 12:58:53 -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
81fc9ff94d
Add more logs for call disposition 2023-01-11 12:04:03 -08:00
Fedor Indutny
be99c7dfdf
Repair on-boarding story if needed 2023-01-09 17:44:20 -08:00
Jamie Kyle
e5638c0b20
Call Disposition 2023-01-09 16:52:01 -08:00
Jim Gustafson
01eb3b73b4
Update to RingRTC v2.23.0 2023-01-09 10:38:57 -08:00
Josh Perez
235a188291
Always download link preview image 2023-01-06 16:55:12 -08:00
Jamie Kyle
569b6e14a6
Add new eslint plugin to check for valid i18n keys 2023-01-05 14:43:33 -08:00
Scott Nonnenberg
b8234765bf
Update Backbone types: attributes is T - and fix failing type checks 2023-01-05 13:58:13 -08:00
Fedor Indutny
487bb58880
Fix units of maximum attachment size 2023-01-05 13:47:11 -08:00
Jamie Kyle
fdaaa531b3
Treat falsy values as valid for i18n placeholders & fix groups in common message 2023-01-03 16:48:54 -07:00
Dimitris Apostolou
3c80272673 Fix typos 2023-01-03 13:02:01 -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
Fedor Indutny
41d144bc98
Use @indutny/sneequals for memoization 2022-12-23 12:25:15 -08:00
Fedor Indutny
55a1c5f6c5
Use proxy-compare for message bubbles 2022-12-22 16:32:03 -08:00
Fedor Indutny
f92f81dfd6
Cache some volatile conversation properties 2022-12-22 16:13:23 -08:00
Josh Perez
0b83ab497d
Removes ReactWrapperView 2022-12-21 22:07:45 -05:00
Fedor Indutny
dec23725e5
Use ReadonlyArrays in conversation model and redux 2022-12-21 16:07:02 -08: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
1e282ee5d0
ConversationView: Pull various functions out of getMessageActions 2022-12-19 17:04:47 -08:00
Josh Perez
e142cb47f5
Moves various panels out to ConversationView react 2022-12-14 17:10:09 -08:00
Jamie Kyle
15efbde23d
Move ToastType to its own file to avoid importing electron in storybooks 2022-12-14 16:48:36 -08:00
Scott Nonnenberg
f2f1c3c021
Standardize on showConversation function, delete unused functions 2022-12-14 11:05:32 -08:00
Josh Perez
ebeb6a7a6d
A hybrid panel system for React & Backbone 2022-12-14 10:41:04 -08:00
Josh Perez
b138774454
Moves saveAttachment to a redux action 2022-12-14 10:12:04 -08:00
Fedor Indutny
fdfc0539a3
Allow case sensitive usernames 2022-12-13 16:37:20 -07:00
Fedor Indutny
19e51862ba
Don't show duplicate modals on signal.me links 2022-12-13 14:55:33 -08:00
David Sanders
16c9c17cc2 Fix EACCES error code name 2022-12-13 11:00:51 -08:00
Josh Perez
494fe2f9f0
Fixes lint 2022-12-12 20:26:28 -05:00
Jamie Kyle
f0a5180019 fix lint 2022-12-12 15:35:32 -08:00
Patrick Demers
5df5cde48c do not spit url between Read More chunks by expanding chunk to end of url 2022-12-12 14:49:20 -05:00
Josh Perez
635a59a473
Moves showLightbox to redux 2022-12-09 21:02:22 -05:00
Josh Perez
7c68f9ef1a
Moves showStickerPackPreview to globalModals 2022-12-09 11:01:46 -08:00
Josh Perez
2378776e1b
Moves sendMessage and friends to redux 2022-12-08 02:43:48 -05:00
Scott Nonnenberg
452e0b7b31
ConversationView: Move attachments processing into redux 2022-12-07 20:26:59 -05:00
Scott Nonnenberg
ff6750e4fd
ConversationView: Move setPin to redux 2022-12-06 17:00:02 -08:00
Josh Perez
105162dc66
Moves blockAndReportSpam to redux 2022-12-06 11:03:09 -08:00
Scott Nonnenberg
92a512a16d
ConversationView: Move call/mute functions into redux 2022-12-06 09:31:44 -08:00
Josh Perez
9348940ecf
Moves parts of conversation view into redux 2022-12-05 14:56:23 -08:00
Scott Nonnenberg
a49a6f2057
Notifications for a few merge-related scenarios 2022-12-05 14:46:54 -08:00