Josh Perez
d970d427f8
Create text stories
2022-06-16 17:48:57 -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
Fedor Indutny
dfc310805a
Allow manually retrying attachment downloads
2022-05-23 16:07:41 -07:00
Josh Perez
d8708e4e73
Ensure that we resolve attachments before displaying them
2022-04-25 10:25:50 -07:00
Scott Nonnenberg
37c44fb631
Support for server-configurable maximum attachment size
2022-04-13 10:47:39 -07:00
Josh Perez
0f16ef5dd6
Do not try to download text attachments
2022-04-08 10:03:10 -07:00
Josh Perez
fc9bdf9398
Process text story messages
2022-04-05 21:18:07 -04:00
Josh Perez
3b5cc26fec
Adds logic around downloading stories
2022-03-28 18:10:08 -07:00
Dimitris Apostolou
718d0a7046
Fix typos
2022-03-13 11:10:17 +02:00
Fedor Indutny
0174687542
Use esbuild
2022-02-11 13:38:52 -08:00
Fedor Indutny
86d09917a3
Capture draft attachment's dimensions
2021-11-30 15:32:55 -08:00
Scott Nonnenberg
a024ee4b96
Allow stage and send of video, even if we can't get screenshot
2021-11-15 13:54:33 -08:00
Evan Hahn
5619eeca83
Upgrade Prettier to 2.4.1
2021-11-11 16:43:05 -06:00
Evan Hahn
37992715cd
Remove caption editor
2021-11-09 16:25:29 -08: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
Josh Perez
1c3c971cf4
Moves DraftAttachments into redux
2021-09-24 16:03:32 -04:00
Fedor Indutny
4ef0bf96cc
Uint8Array migration
2021-09-23 17:49:05 -07:00
Fedor Indutny
5a57e2b704
Fix action propagation to timeline items
2021-09-12 19:36:41 -07:00
Scott Nonnenberg
9ca9f743c3
One lightbox at a time; proper dismiss of "read more" screen; proper in-progress draft HEIC images
2021-09-02 14:35:23 -05:00
Scott Nonnenberg
dcf29078f4
ConversationView: Improve types
2021-08-30 14:32:56 -07:00
Josh Perez
81c57107ce
Do not transcode images if they meet the size thresholds
2021-08-23 14:24:52 -07:00
Josh Perez
9078919545
Transcode heic/heif images
2021-08-09 13:06:21 -07:00
Fedor Indutny
e534dd64f2
Don't transcode incoming attachments
2021-07-20 12:31:23 -07:00
Fedor Indutny
c3bdf3d411
Show lightbox for GIFs
2021-07-14 16:39:52 -07:00
Evan Hahn
831ec98418
Audio messages: move countdown under waveform
2021-07-09 13:27:16 -07:00
Fedor Indutny
ddbbe3a6b1
More protobufjs migration
2021-07-09 12:36:10 -07:00
Josh Perez
ff67d9178b
Transcode all supported image types
2021-07-07 13:06:01 -04:00
Josh Perez
01eabf9ec6
Option to send photos as high quality
2021-06-25 11:08:16 -05:00
Fedor Indutny
6c56d5a5f1
Fix UI for GIFs in groups
2021-06-24 16:00:11 -05:00
Fedor Indutny
a7799a74c1
Fix rendering of GIFs
2021-06-24 12:05:27 -07:00
Scott Nonnenberg
68f1023946
Move message.getPropsForBubble and friends to selectors
2021-06-17 10:15:10 -07:00
Fedor Indutny
caf1d4c4da
GIF attachments
2021-04-29 14:27:37 -07:00
Fedor Indutny
9fa3359477
Mark attachment as corrupted if audio load failed
...
Sending corrupted audio should not leave user with non-functional
UI. Mark attachment as corrupted and show generic attachment UI for it
instead.
2021-03-22 11:51:53 -07:00
Fedor Indutny
f41ffda3e0
Update types: attachments may not have `url` property
2021-03-19 16:57:36 -04:00
Josh Perez
34285054f6
Manual download of attachments with no blurHash
2021-02-11 17:50:11 -08: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
Josh Perez
a096220990
Do not download media if in call
2021-01-29 14:58:28 -08:00
Josh Perez
c0510b08a5
Introduce conversation details screen for New Groups
...
Co-authored-by: Chris Svenningsen <chris@carbonfive.com>
Co-authored-by: Sidney Keese <me@sidke.com>
2021-01-29 13:19:24 -08:00
Evan Hahn
8a72607fa7
Prefer `type` to `interface` and add an ESLint rule
2021-01-25 18:29:00 -08:00
Evan Hahn
8c25ffd6f5
Link previews: show full size image less often
2021-01-11 14:23:09 -08:00
Evan Hahn
8bfaf598af
Add license headers across the project
2020-11-04 13:03:13 -06:00
Sidney Keese
2ade4acd52
Migrate util, types, state, sticker-creator to ESLint
2020-09-21 15:42:51 -04:00
Ken Powers
83574eb067
Message Requests
2020-07-30 13:08:44 -07:00
Nat Talbot
7b5fe0cdbf
Harmonized filenames with Android version ( #4324 )
...
The Android app saves files with the filename format
'signal-YYYY-MM-DD-hhmmss.extension' but the desktop version
saves them with format 'signal-attachment-YYYY-MM-DD-hhmmss.extension'.
The attachment changes the suggested filename in Attachment.ts
to have the prefix 'signal' rather than 'signal-attachment'.
Tests were changed as necessary.
Resolves #4321
2020-06-10 14:48:41 -07:00
Scott Nonnenberg
bfa76b05d2
No propagate, fix 'attachment save' cancel
...
* Quote: Ensure that clicks don't propagate to parent
* Attachment Save: Check for null; returned if user cancels out
2020-01-22 14:34:36 -05:00
Scott Nonnenberg
55eff02872
Reintroduce file chooser dialog for every attachment save
2020-01-15 17:23:02 -05:00
Scott Nonnenberg
1bf9ca7233
Save attachments with macOS quarantine attribute
...
* Attachments: Always save file to downloads directory, show toast
* Add new build:dev command for casual builds
2020-01-09 14:57:43 -05:00
Scott Nonnenberg
744d1b5295
Message bubble: Larger stickers; handle non-square aspect ratios
...
* Sticker picker: Handle non-square stickers
* Message bubble: Larger stickers; handle non-square aspect ratios
2020-01-09 14:27:49 -05:00