Commit graph

195 commits

Author SHA1 Message Date
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
Evan Hahn
8f0731d498 Remove unsupported auto-launch setting on Linux 2021-05-20 17:37:18 -07:00
Fedor Indutny
80da8bb47b Display SMS/MMS disclaimer in empty search results 2021-05-20 17:37:17 -07:00
Evan Hahn
d28678dbf9
Make it more difficult to blur avatars 2021-05-07 17:21:10 -05:00
Fedor Indutny
986d8a66bc
Show challenge when requested by server 2021-05-05 17:09:29 -07:00
Evan Hahn
bbd7fd3854
Initial support for job queue 2021-04-29 18:02:27 -05:00
Josh Perez
5e2d48cc2f
Do not populate left pane on initial link 2021-04-20 19:16:49 -04:00
Evan Hahn
d81aaf654f Improve left pane UI when loading search results 2021-04-05 18:08:50 -04:00
Evan Hahn
f05d45ac9b Pressing Esc in left pane composer menu should go back 2021-04-05 18:08:50 -04:00
Evan Hahn
afe135df0c
Hide long message attachments in quotes 2021-03-25 11:36:50 -07:00
Josh Perez
0fd0fac262 Check for conversation conflicts before writing 2021-03-19 16:57:35 -04:00
Josh Perez
d82ce07942 Improve cold start performance 2021-03-19 16:57:35 -04:00
Evan Hahn
5de4babc0d Support for creating New Groups 2021-03-19 16:53:52 -04:00
Evan Hahn
06fb4fd0bc Add "new conversation" composer for direct messages 2021-03-19 16:53:51 -04:00
Evan Hahn
4519aa4abf Allow PSD uploads over 6MB
You can't currently upload PSD files over 6MB. This is because its
mimetype is `image/vnd.adobe.photoshop`. We think this is an image, and
non-GIF images have a limit of 6MB.

To fix this, we could do one of two things:

1. Add a special case for PSD files
2. Increase the size limit for unsupported image types such as this

I went with the second option.

Tested this by:

- adding automated tests
- uploading a ~9 MB PSD file
- uploading a ~1 MB PNG
- uploading a ~27 MB PNG (which worked because it's converted to a smaller JPEG)
- uploading a ~50 MB text file
- trying to upload a ~500 MB text file (which failed, as expected)

Addresses [DESKTOP-1168][].

[DESKTOP-1168]: https://signalmessenger.atlassian.net/browse/DESKTOP-1168
2021-02-10 14:47:55 -08:00
Scott Nonnenberg
e10ae03bb7
Create group link previews; don't open Signal links in browser first; allow ephemeral download of previously-error'd pack 2021-02-10 16:39:26 -06:00
Scott Nonnenberg
e863aae0bf
Specify public key type in updatesPublicKey 2021-02-05 11:34:52 -06:00
Evan Hahn
ddebbf8121
Hide title bar on macOS 2021-02-01 12:01:25 -08:00
Scott Nonnenberg
a48b3e381e
Support for joining New Groups via invite links 2021-01-29 14:16:48 -08:00
Evan Hahn
a8787e7c9e
Convert logging infrastructure to TypeScript 2021-01-27 13:13:33 -08:00
Evan Hahn
8a72607fa7 Prefer type to interface and add an ESLint rule 2021-01-25 18:29:00 -08:00
Evan Hahn
8ccf402497 Use consistent User-Agent when uploading debug logs 2021-01-25 18:28:59 -08:00
Evan Hahn
dd0ea6b3fe Upgrade TypeScript to the latest version, v4.1.3 2021-01-25 18:28:57 -08:00
Evan Hahn
dc918aea1d
Check leaks in Mocha 2021-01-11 12:17:09 -08:00
Evan Hahn
116ff74be8 Update license tests in preparation for new year 2020-12-17 12:12:52 -05:00
Evan Hahn
31c2fe56f4
yarn test-electron: automatically pick up test files 2020-12-04 13:54:46 -08:00
Scott Nonnenberg
6832b8acca
Timeline: repair oldest/newest metrics if we fetch nothing 2020-12-04 14:41:40 -06:00