Josh Perez
9eff67446f
Send text attachment stories
2022-08-02 15:31:55 -04:00
Josh Perez
5c8f740c2a
Check filename extension for heic/heif images
2021-12-06 18:20:27 +01:00
Scott Nonnenberg
bd380086a4
Send related emoji along with Sticker, fix SendMessage types
2021-10-05 17:10:08 -05:00
Josh Perez
9078919545
Transcode heic/heif images
2021-08-09 13:06:21 -07:00
Fedor Indutny
c3bdf3d411
Show lightbox for GIFs
2021-07-14 16:39:52 -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
Zachary DeRose
819554f6b3
Adjust MIMEType Predicate Signatures ( #4832 )
2021-02-04 14:46:30 -08:00
Evan Hahn
8bfaf598af
Add license headers across the project
2020-11-04 13:03:13 -06:00
Evan Hahn
bdd71e4898
Support APNGs in Sticker Creator
2020-10-12 18:10:07 -04:00
Sidney Keese
2ade4acd52
Migrate util, types, state, sticker-creator to ESLint
2020-09-21 15:42:51 -04:00
Scott Nonnenberg
8b34294c97
Fix merge conflict in Mime.ts
2020-08-28 15:42:25 -04:00
Chris Svenningsen
58844f92ab
Migrate ImageGrid to Storybook
2020-08-28 15:42:24 -04:00
Chris Svenningsen
7098c8b393
Migrate Image to Storybook
2020-08-28 15:42:24 -04:00
Ken Powers
0970c73310
Do not recognize aiff files as audio
2020-04-16 12:19:37 -07:00
Scott Nonnenberg
3feb0037e5
Ensure that long message attachments don't show in media gallery
2019-06-21 16:13:42 -07:00
Ken Powers
29de50c12a
Stickers
...
Co-authored-by: scott@signal.org
Co-authored-by: ken@signal.org
2019-05-16 16:10:37 -07:00
Scott Nonnenberg
813924685e
Link Previews
2019-01-29 13:53:14 -08:00
Daniel Gasienica
f4a5bc9907
Add new MIME types
2018-05-08 16:41:06 -04:00
Daniel Gasienica
5789b3eb75
Add `Attachment.isVoiceMessage`
2018-05-07 21:53:39 -04:00
Daniel Gasienica
fa4c3fda2b
Extract common MIME types
2018-05-07 21:53:39 -04:00
Daniel Gasienica
8a4f062120
Add `MIME.APPLICATION_OCTET_STREAM`
2018-05-07 21:53:39 -04:00
Daniel Gasienica
87d374ea78
Remove `@prettier` pragmas
2018-04-30 16:53:34 -04:00
Daniel Gasienica
6ee56b8445
Remove newlines
2018-04-27 16:31:42 -04:00
Daniel Gasienica
424965f876
🎨 Autoformat code
2018-04-25 15:24:51 -04:00
Daniel Gasienica
6ff82adf0a
Add `MIME.isImage` and `MIME.isVideo`
2018-04-25 15:24:50 -04:00
Daniel Gasienica
df2e6e7864
Port `MIME` module to TypeScript
2018-04-25 15:24:50 -04:00
Daniel Gasienica
b50c55172d
Add `MIME` type
2018-04-11 19:25:38 -04:00