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
2018-05-23 16:26:47 -07:00
Daniel Gasienica
53918d68de
Add Attachment.isFile
definition
2018-05-08 16:41:06 -04:00
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.
2018-05-08 16:41:06 -04:00
Daniel Gasienica
15759f0db5
Normalize package naming
2018-05-07 21:53:40 -04:00
Daniel Gasienica
5789b3eb75
Add Attachment.isVoiceMessage
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
110b58230b
Only revoke object URLs we created
2018-04-30 11:01:57 -04:00
Daniel Gasienica
e1b620602d
Display attachments from disk
2018-04-27 16:31:43 -04:00
Daniel Gasienica
9451dc5e41
Define AttachmentSchemaVersion3
2018-04-27 16:31:43 -04:00
Daniel Gasienica
21db2e7182
Use saveURLAsFile
2018-04-27 16:31:43 -04:00
Daniel Gasienica
4a5e61eaf4
Implement Attachment.save
2018-04-27 16:31:42 -04:00
Daniel Gasienica
c46e1a1519
Move top-level functions to Signal.Util
2018-04-25 15:24:51 -04:00
Daniel Gasienica
424965f876
🎨 Autoformat code
2018-04-25 15:24:51 -04:00
Daniel Gasienica
fc1c3aabf5
Add scaffolding for media gallery
2018-04-25 15:24:51 -04:00
Daniel Gasienica
fc12353bb8
Add Attachment.isVisualMedia
2018-04-25 15:24:50 -04:00
Daniel Gasienica
cca5db3237
Remove unused import
2018-04-11 19:25:38 -04:00
Daniel Gasienica
65bf34d1b8
Add basic Attachment
type definition
2018-04-11 19:25:38 -04:00