39 Commits

Author SHA1 Message Date
Scott Nonnenberg
0459ab02d3 Linkify messages with unicode drawing characters 2023-08-25 09:47:01 -04:00
Fedor Indutny
8b0da36caa Migrate schema to service ids 2023-08-21 09:30:33 -07:00
Fedor Indutny
366b875fd2 Introduce Service Id Types
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2023-08-21 09:30:32 -07:00
Fedor Indutny
c0663ed57c Use libsignal-client for username validation 2023-05-23 17:07:59 -07:00
Josh Perez
272b81c7cf Adds a pop and whoosh sound for message receive/sent 2023-05-09 10:52:42 -04:00
trevor-signal
ff4ea76005 Exclude domains from link previews 2023-05-09 10:52:33 -04:00
Josh Perez
e211837bcd Enables sandbox for all windows except main 2023-04-20 17:23:19 -04:00
Jamie Kyle
3705b959d6 Remove end year from licenses 2023-01-03 11:55:46 -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
Fedor Indutny
b54c6f257d Minimize and start Signal in tray 2022-09-06 15:09:52 -07:00
Scott Nonnenberg
46428b5af6 Don't use original filenames when saving multi-attachment messages 2022-08-08 12:04:47 -07:00
Scott Nonnenberg
2f252b8e26 Repair broken attachments with non-array 'data' fields 2022-07-18 13:01:43 -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
2464e0a9c1 Convert signal.js and preload.js to Typescript 2022-06-13 14:39:35 -07:00
Scott Nonnenberg
924c271b13 Convert js/modules/types/message to Typescript 2022-06-09 18:10:20 -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
Scott Nonnenberg
302604f67e Restore ability to message someone from embedded contact 2022-04-11 17:26:09 -07:00
Scott Nonnenberg
006de5b1a5 Don't linkify when certain unicode formatting characters are present 2022-03-28 17:28:37 -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
Scott Nonnenberg
fbd7292663 Update username max/min lengths 2021-11-15 14:18:46 -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
74fde10ff5 Prefer import type when importing types 2021-10-26 14:15:33 -05:00
Scott Nonnenberg
bd380086a4 Send related emoji along with Sticker, fix SendMessage types 2021-10-05 17:10:08 -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
Fedor Indutny
fe040a2873 Rename ContactType to EmbeddedContactType 2021-08-19 20:56:39 -05:00
Fedor Indutny
c3bdf3d411 Show lightbox for GIFs 2021-07-14 16:39:52 -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
Scott Nonnenberg
68f1023946 Move message.getPropsForBubble and friends to selectors 2021-06-17 10:15:10 -07:00
Evan Hahn
8f0731d498 Remove unsupported auto-launch setting on Linux 2021-05-20 17:37:18 -07:00
Evan Hahn
afe135df0c Hide long message attachments in quotes 2021-03-25 11:36:50 -07: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
6832b8acca Timeline: repair oldest/newest metrics if we fetch nothing 2020-12-04 14:41:40 -06:00