Commit graph

276 commits

Author SHA1 Message Date
Scott Nonnenberg
a49a6f2057
Notifications for a few merge-related scenarios 2022-12-05 14:46:54 -08:00
Fedor Indutny
b4b477e44c
Update TypeScript to 4.9.3 2022-11-22 17:46:21 -05:00
Fedor Indutny
98ef4c627a
Update eslint to 8.27.0 2022-11-17 16:45:19 -08:00
Evan Hahn
a88243f26d
Better handle group call ring race conditions 2022-11-16 18:52:04 -08:00
Fedor Indutny
6be69a7ba8
Use DurationInSeconds for expireTimer 2022-11-16 13:18:02 -07:00
Fedor Indutny
be6e988a95
Hydrate body ranges for story replies 2022-11-09 20:59:36 -08:00
Scott Nonnenberg
0134990275
Don't access RemoteConfig directly from 'dumb' components 2022-10-24 13:46:36 -07:00
Fedor Indutny
00f82a6d39
Discriminator in username 2022-10-18 10:12:02 -07:00
Josh Perez
67c706a7ef
Ensure deleting conversation deletes story replies 2022-09-29 17:57:11 -07:00
Scott Nonnenberg
5957c111cf
Move to smartling for translation services 2022-09-27 14:01:06 -07:00
Scott Nonnenberg
450051e541
Only process signal domain links if they have hash/path/query 2022-09-19 13:42:37 -07:00
Jamie Kyle
eb10aafd7c
tsc:allowUnreachableCode, eslint:no-unreachable, assert->assertDev 2022-09-15 13:17:15 -06:00
jamiebuilds-signal
64a4d2e717
Improved reliability of strictAssert 2022-09-14 09:40:50 -07:00
jamiebuilds-signal
5a8f484a03
Enable brace-style eslint rules 2022-09-13 14:48:09 -07:00
Fedor Indutny
b54c6f257d
Minimize and start Signal in tray 2022-09-06 15:09:52 -07:00
Fedor Indutny
0715cc6be3
Fix flaky test and add screenshots 2022-09-01 09:35:44 -07:00
Jordan Rose
d15ae63396
Test that the zkgroup serverPublicParams are up to date 2022-08-17 16:31:18 -07:00
Scott Nonnenberg
46428b5af6
Don't use original filenames when saving multi-attachment messages 2022-08-08 12:04:47 -07:00
Fedor Indutny
b47a906211
Stickers in storage service 2022-08-03 10:10:49 -07: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
Scott Nonnenberg
2f252b8e26
Repair broken attachments with non-array 'data' fields 2022-07-18 13:01:43 -07:00
Scott Nonnenberg
1bb91758e6
Spell check: Restore english region support 2022-07-15 15:37:19 -07:00
Scott Nonnenberg
0888b57744
Attachment downloads: Use filename if we have it, ignore index = 1 2022-07-08 16:10:16 -07:00
Scott Nonnenberg
06190b1434
Introduce new urgent property for outgoing messages 2022-07-01 09:55:13 -07:00
Scott Nonnenberg
054e443071
Spellcheck: Use full locale, otherwise all which match base 2022-06-27 13:44:13 -07:00
Fedor Indutny
8b87fe23e2
Fix UA string 2022-06-20 17:31:32 -07:00
Fedor Indutny
973b2264fe
Add to group by username 2022-06-16 17:38:28 -07:00
Scott Nonnenberg
2464e0a9c1
Convert signal.js and preload.js to Typescript 2022-06-13 14:39:35 -07:00
Fedor Indutny
6aeddb9301
Order unprocessed envelopes by receivedAtCounter 2022-06-10 09:09:21 -07:00
Scott Nonnenberg
924c271b13
Convert js/modules/types/message to Typescript 2022-06-09 18:10:20 -07:00
Fedor Indutny
5634601554
Use patched frameless-titlebar on Windows 2022-06-08 15:00:32 -07:00
Josh Perez
f1b05afe62 Merge signalapp/Signal-Desktop#5904 2022-06-06 22:06:07 -04:00
Vladislav Gorenkin
01efed8ec3 Open first search candidate on pressing "enter" key 2022-06-06 22:05:38 -04:00
Scott Nonnenberg
d753fe8fcb
getUnreadByConversationAndMarkRead: Only query incoming messages 2022-06-02 18:09:13 -07:00
Fedor Indutny
ecdc583f2a
Add debug log url when submitting it to Support 2022-06-02 16:24:35 -07:00
Evan Hahn
28ab6e11f6
isMuted -> isConversationMuted 2022-05-23 18:37:53 +00:00
Fedor Indutny
e86a312b74
Disable part of the migration 58 2022-05-18 09:44:43 -07:00
Scott Nonnenberg
105508c50f
Update unread count when creating important local notifications 2022-05-11 19:45:20 -07:00
Scott Nonnenberg
300cee2e24
JobQueue: If job data does not parse, delete it from database 2022-05-05 11:55:15 -07:00
Fedor Indutny
0a24ca8d88
Fix handling of 206 status code in updater 2022-04-26 16:58:29 -07:00
Scott Nonnenberg
3a1df01c9e
New 'unseenStatus' field for certain secondary message types 2022-04-22 11:35:14 -07:00
Scott Nonnenberg
37c44fb631
Support for server-configurable maximum attachment size 2022-04-13 10:47:39 -07:00
Scott Nonnenberg
677548f3a3
getSuggestedFilename: January 2nd to fix test failure in some time zones 2022-04-13 10:45:49 -07:00
Chris Eager
2f5e4f1b98
Update message reporting to use sender ACI instead of E164 2022-04-12 12:54:04 -07:00
Scott Nonnenberg
302604f67e
Restore ability to message someone from embedded contact 2022-04-11 17:26:09 -07:00
Fedor Indutny
37d06ec7b9
Graceful handling of single-range diff download 2022-04-07 19:14:41 -07:00
Fedor Indutny
9568d5792e
Allow adding to a group by phone number 2022-04-04 17:38:22 -07:00
Scott Nonnenberg
006de5b1a5
Don't linkify when certain unicode formatting characters are present 2022-03-28 17:28:37 -07:00
Fedor Indutny
c5a3ffddf9
Limit number of GV2 banned members 2022-03-23 15:34:51 -07:00
Fedor Indutny
35b5087dc0
Short-circuit storyId predicate to optimize query 2022-03-21 14:21:35 -07:00
Evan Hahn
efee887135
Don't try generating link previews for debuglogs.org 2022-03-08 14:04:44 -06:00
Evan Hahn
0c28561473
Move link preview and MIME tests to TypeScript 2022-03-07 15:20:04 -08:00
Fedor Indutny
df7cdfacc7
Don't mkdir restore dir in updater 2022-03-04 11:59:47 -08:00
Evan Hahn
effe5aae6f
Assume everyone is GV2-capable 2022-03-04 13:48:44 -06:00
Fedor Indutny
26100ea562
Make updates atomic again 2022-03-03 14:34:51 -08:00
Fedor Indutny
fe9cdfbed9
Fix error handling during piping in updater 2022-03-02 11:48:07 -08:00
Fedor Indutny
da7a76e03f
Pass go headers through in updater/differential 2022-03-02 10:06:58 -08:00
Fedor Indutny
19441cd3f3
Optimize number of range requests in updater 2022-03-01 14:44:29 -08:00
Fedor Indutny
29c2f77d40
Display differential download size in UI 2022-02-25 10:44:03 -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
30783c887c
Introduce new conversationJobQueue 2022-02-16 10:36:21 -08:00
Fedor Indutny
0174687542
Use esbuild 2022-02-11 13:38:52 -08:00
Scott Nonnenberg
0a18cc50bd
New queue for view once syncs, handleRetry improvements 2022-02-08 09:30:42 -08:00
Evan Hahn
60d348e7cb
Open all Signal links in app 2022-02-02 10:29:01 -08:00
Josh Perez
e79fb9d2e5
Fix lost focus when typing in archived message while searching 2022-02-02 09:30:39 -06: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
3aa488c3d5
Avoid calling tray.destroy() when quitting 2022-01-24 16:18:53 -08:00
Evan Hahn
c1e3e87b99
Prohibit Chai expect or should; prefer assert 2022-01-19 11:19:08 -08:00
Fedor Indutny
145d9287d9
Add tentative prefix to crash report uploads 2022-01-14 13:50: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
a5a73e869c
Convert remaining main process tests to TypeScript 2022-01-11 17:10:35 -08:00
Evan Hahn
0c12607e79
Fix "did reaction fully send?" logic 2022-01-11 16:50:11 -08:00
Fedor Indutny
91f1b62bc7
Detect startup after recent crashes 2022-01-11 12:02:46 -08:00
Evan Hahn
d9b951bfcb
Update base config logging, removal, and tests 2022-01-11 11:12:55 -08:00
Evan Hahn
206f461370
Move menu tests to TypeScript 2022-01-11 09:28:04 -08:00
Scott Nonnenberg
a17e157e7b
Fix messages_unread index 2022-01-07 12:51:19 -08:00
Fedor Indutny
fa8ff2ae4c
Fix messages_preview index 2022-01-07 11:51:41 -08:00
Fedor Indutny
9d04daff5f
Fix message_user_initiated 2021-12-21 22:49:40 +01:00
Scott Nonnenberg
60a53656af
Optimize a few queries 2021-12-20 22:04:02 +01:00
Evan Hahn
3fa911598b
Use Signal's spellcheck dictionary files 2021-12-17 14:24:54 -08:00
Scott Nonnenberg
42cb570029
messages table: introduce new computed isStory field for index usage 2021-12-15 09:17:14 +01:00
Evan Hahn
c32917284a
Increase SystemTrayService test timeout to help CI reliability 2021-12-14 19:13:06 +01:00
Evan Hahn
43f843f9fc
Use assert.isRejected instead of custom assertRejects 2021-12-13 18:38:40 +01:00
Evan Hahn
0e3d12c457
Prevent display sleep while on a call 2021-12-10 16:53:10 -06:00
Scott Nonnenberg
fdc9885baa
Migration and data access functions for stories 2021-12-08 20:52:46 +01:00
Fedor Indutny
874a019227
M1 Support 2021-12-03 23:49:15 +01:00
Scott Nonnenberg
fbd7292663
Update username max/min lengths 2021-11-15 14:18:46 -08:00
Evan Hahn
ede34ecee3
Enable noImplicitOverride TypeScript compiler option 2021-11-12 15:44:20 -08: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
d6ffb08a63
Disable class-methods-use-this lint rule 2021-11-04 16:04:51 -05:00
Fedor Indutny
7f9beef055
Extra logging for GV2 UUID migration 2021-11-03 09:59:46 -05: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
246583d274
Fix runtime error during SQL migration 2021-10-27 12:15:03 -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
be862afd1a
base_config: Don't throw if loaded config file is empty 2021-10-25 14:41:44 -05:00
Josh Perez
b32d068e83
Affordances for really tall messages 2021-10-20 15:46:42 -05:00
Fedor Indutny
50c9b1bf7f
Cache system-tray-setting in ephemeral config 2021-10-20 14:56:49 -05:00
Scott Nonnenberg
efde909484
Delete reactions when their parent message is deleted 2021-10-15 15:54:31 -07:00
Evan Hahn
35a54cdc02
Introduce a new design for the left pane 2021-10-12 16:59:08 -07:00
Evan Hahn
940f009987
Bullet-proof tray icon against nonexistent icon file 2021-10-07 13:09:56 -07:00
Fedor Indutny
1466f9f1b2
Update got/form-data to latest 2021-10-06 09:25:22 -07:00
Scott Nonnenberg
bd380086a4
Send related emoji along with Sticker, fix SendMessage types 2021-10-05 17:10:08 -05:00
Fedor Indutny
6fb38b940a
Remove stale test 2021-10-05 11:26:59 -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
Evan Hahn
9791fa43ef
Improve handling of 413 HTTP responses 2021-09-27 09:44:09 -05:00
Fedor Indutny
4ef0bf96cc
Uint8Array migration 2021-09-23 17:49:05 -07:00
Fedor Indutny
dbd427396c
Convert js/modules/types/contact.js to TypeScript 2021-09-23 09:26:25 -05:00
Josh Perez
e86a6119cd
Moves stringToArrayBuffer into util folder 2021-09-20 12:27:15 -04:00
Josh Perez
65ddf0a9e8
Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Fedor Indutny
039bd072ed
Extra tests for SignalProtocolStore migration 2021-09-15 11:43:34 -07:00
Evan Hahn
8064560a5f
Update to new provisioning URL scheme 2021-09-09 17:08:19 -05:00
Evan Hahn
a3eed6191e
Ensure messages are sent in order, even with errors 2021-09-07 15:39:14 -05:00
Evan Hahn
1f45bce0a2
When a job fails, respect the Retry-After header if applicable 2021-09-02 17:31:21 -05:00
Evan Hahn
15cad32862
Update groupMediaItemsByDate test to (hopefully) improve reliability 2021-09-01 13:33:08 -07:00
Evan Hahn
a85dd1be36
Retry outbound "normal" messages for up to a day 2021-08-31 13:58:39 -07:00
Evan Hahn
41c78240fd
Handle null values in read sync jobs 2021-08-30 17:59:34 -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
1973224adb
Fixes flakey CI 2021-08-26 13:42:25 -07:00
Evan Hahn
9e9a815a2b
ESLint: allow for..of 2021-08-26 13:18:00 -05:00
Josh Perez
4afe4649ec
Fixes save in lightbox 2021-08-25 14:08:32 -07:00
Josh Perez
d5d808651a
Improved Lightbox experience 2021-08-23 16:14:53 -07:00
Evan Hahn
79c976668b
Receive rings for group calls 2021-08-20 09:06:15 -07:00
Fedor Indutny
fe040a2873
Rename ContactType to EmbeddedContactType 2021-08-19 20:56:39 -05:00
Josh Perez
e9308bbafb
New option for control over update downloads 2021-08-19 15:56:29 -07:00
Evan Hahn
ed83061651
Improve @mentions tokenization 2021-08-17 13:55:25 -05:00
Evan Hahn
75f0cd50be
Send viewed receipt when you start listening to an audio message 2021-08-17 08:43:26 -07:00
Josh Perez
12d2b1bf7c
Avatar defaults and colors 2021-08-05 20:17:05 -04:00
Evan Hahn
689542a9b4
Show additional data in debug log header 2021-07-30 09:43:16 -07:00
Fedor Indutny
6e4a3561f1
Redecode unknown protobuf fields before writing 2021-07-28 16:44:58 -07:00
Evan Hahn
18140c4a9d
Retry outbound read syncs for up to 24 hours 2021-07-23 15:02:36 -07:00
Fedor Indutny
943bb38af1
Make JobQueue an abstract class 2021-07-21 16:10:08 -05:00
Fedor Indutny
c3bdf3d411
Show lightbox for GIFs 2021-07-14 16:39:52 -07:00
Fedor Indutny
570fb182d4
Fully move to protobufjs 2021-07-13 11:54:53 -07:00
Evan Hahn
8b30fc17cd
Officially support the system tray on Linux, in beta only 2021-06-29 14:29:40 -05:00
Evan Hahn
af1f2ea449
Officially support the system tray on Windows 2021-06-29 12:18:03 -05:00
Fedor Indutny
cd28e71bc6
Default disappearing message timeout fixes 2021-06-25 16:52:56 -07:00
Scott Nonnenberg
68f1023946
Move message.getPropsForBubble and friends to selectors 2021-06-17 10:15:10 -07:00
Fedor Indutny
df0aadc8a4
Update electron to 13.1.2 2021-06-10 13:53:43 -07:00
Fedor Indutny
51b45ab275
Add extension to uploaded debug log 2021-06-01 17:16:10 -05:00
Evan Hahn
d4dc9b8e39 Message Requests: Add new "Report spam and block" button 2021-05-27 13:37:58 -07:00
Scott Nonnenberg
e6f1ec2b6b
Send support for Sender Key 2021-05-25 15:40:04 -07:00