signal-desktop/js
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
..
models Don't send messages to blocked group members 2020-12-01 12:04:14 -05:00
modules Allow PSD uploads over 6MB 2021-02-10 14:47:55 -08:00
views Patch over slow debug log rendering 2021-01-25 18:29:00 -08:00
.eslintrc.js Add license headers across the project 2020-11-04 13:03:13 -06:00
about_start.js Add license headers across the project 2020-11-04 13:03:13 -06:00
database.js Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
debug_log_start.js Add license headers across the project 2020-11-04 13:03:13 -06:00
deletes.js Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
delivery_receipts.js Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
expiring_messages.js Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
expiring_tap_to_view_messages.js Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
keychange_listener.js Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
libphonenumber-util.js Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
loading_start.js Add license headers across the project 2020-11-04 13:03:13 -06:00
message_controller.js Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
message_requests.js Support for GV1 -> GV2 migration 2020-11-23 14:48:12 -05:00
Mp3LameEncoder.min.js Fix ASM warnings in MP3 library 2019-03-12 17:44:14 -07:00
notifications.js Improve window activity detection, improving notification delivery 2021-01-25 18:28:57 -08:00
permissions_popup_start.js Move confirmation_dialog_view to ts and React 2021-01-25 18:28:58 -08:00
reactions.js Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
read_receipts.js Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
read_syncs.js Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
reliable_trigger.js Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
rotate_signed_prekey_listener.js Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
settings_start.js Add license headers across the project 2020-11-04 13:03:13 -06:00
signal_protocol_store.js Honor messageKeysLimit, remove batching for session saves 2021-02-10 14:47:55 -08:00
storage.js Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
view_syncs.js Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
wall_clock_listener.js Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
WebAudioRecorderMp3.js Copy audio-related files into js/ instead of symlinking them (#1456) 2017-09-14 17:03:18 -07:00