Scott Nonnenberg
bf904ddd12
On attachment save include date, include album index
6 years ago
Scott Nonnenberg
2988da0981
Turn on all of Microsoft's recommend lint rules
...
Biggest changes forced by this: alt tags for all images, resulting in
new strings added to messages.json, and a new i18n paramter/prop added
in a plot of places.
Another change of note is that there are two new tslint.json files under
ts/test and ts/styleguide to relax our rules a bit there. This required
a change to our package.json script, as manually specifying the config
file there made it ignore our tslint.json files in subdirectories
7 years ago
Daniel Gasienica
53918d68de
Add `Attachment.isFile` definition
7 years ago
Daniel Gasienica
20246c4d07
Classify all images and videos as visual media
...
Even if we can’t play it back. Handle that in the lightbox.
Also: Exclude voice messages.
7 years ago
Daniel Gasienica
15759f0db5
Normalize package naming
7 years ago
Daniel Gasienica
5789b3eb75
Add `Attachment.isVoiceMessage`
7 years ago
Daniel Gasienica
8a4f062120
Add `MIME.APPLICATION_OCTET_STREAM`
7 years ago
Daniel Gasienica
87d374ea78
Remove `@prettier` pragmas
7 years ago
Daniel Gasienica
110b58230b
Only revoke object URLs we created
7 years ago
Daniel Gasienica
e1b620602d
Display attachments from disk
7 years ago
Daniel Gasienica
9451dc5e41
Define `AttachmentSchemaVersion3`
7 years ago
Daniel Gasienica
21db2e7182
Use `saveURLAsFile`
7 years ago
Daniel Gasienica
4a5e61eaf4
Implement `Attachment.save`
7 years ago
Daniel Gasienica
c46e1a1519
Move top-level functions to `Signal.Util`
7 years ago
Daniel Gasienica
424965f876
🎨 Autoformat code
7 years ago
Daniel Gasienica
fc1c3aabf5
Add scaffolding for media gallery
7 years ago
Daniel Gasienica
fc12353bb8
Add `Attachment.isVisualMedia`
7 years ago
Daniel Gasienica
cca5db3237
Remove unused import
7 years ago
Daniel Gasienica
65bf34d1b8
Add basic `Attachment` type definition
7 years ago