Commit Graph

40 Commits (dd9341a196fd501d421c9054631f12e5176a9f57)

Author SHA1 Message Date
Audric Ackermann dd9341a196
remove i18n from props everywhere where possible 4 years ago
Audric Ackermann 81553aed57
do not overwrite attachment name on sending side
Relates #1593
4 years ago
Audric Ackermann 1f99f2f71c
use attachment name when we have one for file saving 4 years ago
Audric Ackermann 12d40aa94e
Fix attachment extension vnd (#1628)
* allow openoffice document extension and don't use

* allow opendocument to be shared with the extension rather than mimetype

Fixes #1593

* allow message without padding

* add test for odt files
4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann ccf8a31ae3
move Attachments and Attachments_test to typescript 4 years ago
Audric Ackermann 42f0d21740
generate attachment key on migration 4 years ago
Audric Ackermann ed30be5334
fix attachments loading for avatar and exporting files 4 years ago
Audric Ackermann def03c8baa
working encrypt/decrypt of attachments 4 years ago
Audric Ackermann 5c6c5c2b8c
First commit encrypting attachments locally 4 years ago
Audric Ackermann f704708524
fix bug with extension not being send if we don't have contenttype set 4 years ago
Audric Ackermann 6afe893359
fix up a few test 4 years ago
Audric Ackermann 7f5515cf6b split Message metadatas rendering to a sub component 4 years ago
Audric Ackermann 13e02b5bf1
add staged link previews for everything from signal 5 years ago
Audric Ackermann 7c47150194
fix attachments download with already set url 5 years ago
Audric Ackermann 55fa65fc31
override attachments name on upload 5 years ago
Audric Ackermann a7c4ce77a1
enable back attachments download on context menu 5 years ago
Audric Ackermann 6cf69a1337
make adding of attachment work on react conversation 5 years ago
Audric Ackermann 708a999ff6
fix caption for attachments when they are set 5 years ago
Audric Ackermann 319fcb6a6d rename saved attachment to session-... rather than signal- 5 years ago
Scott Nonnenberg b3ac1373fa Move left pane entirely to React 6 years ago
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