Don't nanny the user. Allow all file types as attachments.

The Android client already has no such restrictions, and these are
ineffective anyway, as they are based on the file's name, not its
payload.
pull/2171/head
Ian Macdonald 3 years ago
parent 04af2d05e0
commit 6613161b20
No known key found for this signature in database
GPG Key ID: AE4C20556BA626FA

@ -60,7 +60,6 @@
"thisWeek": "This Week", "thisWeek": "This Week",
"thisMonth": "هذا الشهر", "thisMonth": "هذا الشهر",
"voiceMessage": "رسالة صوتية", "voiceMessage": "رسالة صوتية",
"dangerousFileType": "Attachment type not allowed for security reasons",
"stagedPreviewThumbnail": "معاينة رابط الصورة المصغرة للمسودة من اجل $domain$", "stagedPreviewThumbnail": "معاينة رابط الصورة المصغرة للمسودة من اجل $domain$",
"previewThumbnail": "معاينة رابط الصورة المصغرة لـ $domain$", "previewThumbnail": "معاينة رابط الصورة المصغرة لـ $domain$",
"stagedImageAttachment": "مرفق صورة المسودة: $path$", "stagedImageAttachment": "مرفق صورة المسودة: $path$",

@ -60,7 +60,6 @@
"thisWeek": "На Этой Неделе", "thisWeek": "На Этой Неделе",
"thisMonth": "В Этом Месяце", "thisMonth": "В Этом Месяце",
"voiceMessage": "Голосовое сообщение", "voiceMessage": "Голосовое сообщение",
"dangerousFileType": "По соображениям безопасности этот тип файлов нельзя пересылать в приложениях.",
"stagedPreviewThumbnail": "Черновик миниатюры предварительного просмотра ссылки для $domain$", "stagedPreviewThumbnail": "Черновик миниатюры предварительного просмотра ссылки для $domain$",
"previewThumbnail": "Миниатюра предварительного просмотра ссылки для $domain$", "previewThumbnail": "Миниатюра предварительного просмотра ссылки для $domain$",
"stagedImageAttachment": "Черновик вложения изображения: $path$", "stagedImageAttachment": "Черновик вложения изображения: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Aquesta setmana", "thisWeek": "Aquesta setmana",
"thisMonth": "Aquest mes", "thisMonth": "Aquest mes",
"voiceMessage": "Missatge de veu", "voiceMessage": "Missatge de veu",
"dangerousFileType": "Per raons de seguretat, el tipus d'adjunt no es permès ",
"stagedPreviewThumbnail": "Previsualització de l'esborrany de la vista en miniatura de l'enllaç $domain$", "stagedPreviewThumbnail": "Previsualització de l'esborrany de la vista en miniatura de l'enllaç $domain$",
"previewThumbnail": "Previsualització de la vista en miniatura de l'enllaç $domain$", "previewThumbnail": "Previsualització de la vista en miniatura de l'enllaç $domain$",
"stagedImageAttachment": "Esborrany de la imatge adjuntada: $path$", "stagedImageAttachment": "Esborrany de la imatge adjuntada: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Tento týden", "thisWeek": "Tento týden",
"thisMonth": "Tento měsíc", "thisMonth": "Tento měsíc",
"voiceMessage": "Hlasová zpráva", "voiceMessage": "Hlasová zpráva",
"dangerousFileType": "Tento typ přílohy není povolen z bezpečnostních důvodů",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Denne uge", "thisWeek": "Denne uge",
"thisMonth": "Denne måned", "thisMonth": "Denne måned",
"voiceMessage": "Talebesked", "voiceMessage": "Talebesked",
"dangerousFileType": "Vedhæftningstype er ikke tilladt af sikkerhedsmæssige årsager",
"stagedPreviewThumbnail": "Udkast miniaturebillede til eksempelvisning for $domain$", "stagedPreviewThumbnail": "Udkast miniaturebillede til eksempelvisning for $domain$",
"previewThumbnail": "Miniaturebillede til eksempelvisning for $domain$", "previewThumbnail": "Miniaturebillede til eksempelvisning for $domain$",
"stagedImageAttachment": "Udkast af vedhæftet billedfil: $path$", "stagedImageAttachment": "Udkast af vedhæftet billedfil: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Diese Woche", "thisWeek": "Diese Woche",
"thisMonth": "Diesen Monat", "thisMonth": "Diesen Monat",
"voiceMessage": "Sprachnachricht", "voiceMessage": "Sprachnachricht",
"dangerousFileType": "Anhangstyp aus Sicherheitsgründen nicht erlaubt",
"stagedPreviewThumbnail": "Miniaturbild des Link-Vorschauentwurfs für $domain$", "stagedPreviewThumbnail": "Miniaturbild des Link-Vorschauentwurfs für $domain$",
"previewThumbnail": "Miniaturbild der Link-Vorschau für $domain$", "previewThumbnail": "Miniaturbild der Link-Vorschau für $domain$",
"stagedImageAttachment": "Entwurf für Bildanhang: $path$", "stagedImageAttachment": "Entwurf für Bildanhang: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Αυτή την εβδομάδα", "thisWeek": "Αυτή την εβδομάδα",
"thisMonth": "Αυτό τον μήνα", "thisMonth": "Αυτό τον μήνα",
"voiceMessage": "Φωνητικό Μήνυμα", "voiceMessage": "Φωνητικό Μήνυμα",
"dangerousFileType": "Ο τύπος του συνημμένου δεν επιτρέπεται για λόγους ασφαλείας",
"stagedPreviewThumbnail": "Πρόχειρη μικρή προεσκόπιση συνδέσμου για $domain$", "stagedPreviewThumbnail": "Πρόχειρη μικρή προεσκόπιση συνδέσμου για $domain$",
"previewThumbnail": "Μικρή προεσκόπιση συνδέσμου για $domain$", "previewThumbnail": "Μικρή προεσκόπιση συνδέσμου για $domain$",
"stagedImageAttachment": "Πρόχειρη συνημμένη εικόνα: $path$", "stagedImageAttachment": "Πρόχειρη συνημμένη εικόνα: $path$",

@ -60,7 +60,6 @@
"thisWeek": "This week", "thisWeek": "This week",
"thisMonth": "This Month", "thisMonth": "This Month",
"voiceMessage": "Voice Message", "voiceMessage": "Voice Message",
"dangerousFileType": "For security reasons, this file type cannot be sent",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Ĉisemajne", "thisWeek": "Ĉisemajne",
"thisMonth": "Ĉimonate", "thisMonth": "Ĉimonate",
"voiceMessage": "Voĉa mesaĝo", "voiceMessage": "Voĉa mesaĝo",
"dangerousFileType": "Kunsendaĵa tipo ne permesata por sekurecaj kialoj",
"stagedPreviewThumbnail": "Preparante miniaturan antaŭrigardon de ligilo pri $domain$", "stagedPreviewThumbnail": "Preparante miniaturan antaŭrigardon de ligilo pri $domain$",
"previewThumbnail": "Miniatura antaŭrigardo de ligilo pri $domain$", "previewThumbnail": "Miniatura antaŭrigardo de ligilo pri $domain$",
"stagedImageAttachment": "Preparante bildan kunsendaĵon: $path$", "stagedImageAttachment": "Preparante bildan kunsendaĵon: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Esta Semana", "thisWeek": "Esta Semana",
"thisMonth": "Este Mes", "thisMonth": "Este Mes",
"voiceMessage": "Nota de voz", "voiceMessage": "Nota de voz",
"dangerousFileType": "Tipo de adjunto no permitido por razones se seguridad",
"stagedPreviewThumbnail": "Preparando miniatura de visualización de enlace para $domain$", "stagedPreviewThumbnail": "Preparando miniatura de visualización de enlace para $domain$",
"previewThumbnail": "Miniatura de previsualización para $domain$", "previewThumbnail": "Miniatura de previsualización para $domain$",
"stagedImageAttachment": "Preparando adjunto múltiple: $path$", "stagedImageAttachment": "Preparando adjunto múltiple: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Esta semana", "thisWeek": "Esta semana",
"thisMonth": "This Month", "thisMonth": "This Month",
"voiceMessage": "Voice Message", "voiceMessage": "Voice Message",
"dangerousFileType": "For security reasons, this file type cannot be sent",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "See nädal", "thisWeek": "See nädal",
"thisMonth": "See kuu", "thisMonth": "See kuu",
"voiceMessage": "Häälsõnum", "voiceMessage": "Häälsõnum",
"dangerousFileType": "Manuse tüüp pole turvakaalutlustel lubatud.",
"stagedPreviewThumbnail": "Lingi eelvaate pisipildi mustand: $domain$", "stagedPreviewThumbnail": "Lingi eelvaate pisipildi mustand: $domain$",
"previewThumbnail": "Lingi eelvaate pisipilt: $domain$", "previewThumbnail": "Lingi eelvaate pisipilt: $domain$",
"stagedImageAttachment": "Piltmanuse mustand: $path$", "stagedImageAttachment": "Piltmanuse mustand: $path$",

@ -60,7 +60,6 @@
"thisWeek": "این هفته", "thisWeek": "این هفته",
"thisMonth": "این ماه", "thisMonth": "این ماه",
"voiceMessage": "پیام صوتی", "voiceMessage": "پیام صوتی",
"dangerousFileType": "نوع پیوست به دلایل امنیتی مجاز نیست.",
"stagedPreviewThumbnail": "پیش نویس پیوند پیش نمایش پیوند برای $domain$", "stagedPreviewThumbnail": "پیش نویس پیوند پیش نمایش پیوند برای $domain$",
"previewThumbnail": "پیش نمایش لینک برای $domain$", "previewThumbnail": "پیش نمایش لینک برای $domain$",
"stagedImageAttachment": "تصویر پیوست پیش نویس: $path$", "stagedImageAttachment": "تصویر پیوست پیش نویس: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Tämä viikko", "thisWeek": "Tämä viikko",
"thisMonth": "Tämä kuukausi", "thisMonth": "Tämä kuukausi",
"voiceMessage": "Ääniviesti", "voiceMessage": "Ääniviesti",
"dangerousFileType": "Turvallisuussyistä tätä tiedostotyyppiä ei voida liittää.",
"stagedPreviewThumbnail": "Linkin $domain$esikatselukuvan luonnos", "stagedPreviewThumbnail": "Linkin $domain$esikatselukuvan luonnos",
"previewThumbnail": "Linkin $domain$ esikatselukuva", "previewThumbnail": "Linkin $domain$ esikatselukuva",
"stagedImageAttachment": "Kuvaliitteen $path$ luonnos", "stagedImageAttachment": "Kuvaliitteen $path$ luonnos",

@ -60,7 +60,6 @@
"thisWeek": "This week", "thisWeek": "This week",
"thisMonth": "This Month", "thisMonth": "This Month",
"voiceMessage": "Voice Message", "voiceMessage": "Voice Message",
"dangerousFileType": "For security reasons, this file type cannot be sent",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Cette semaine", "thisWeek": "Cette semaine",
"thisMonth": "Ce mois", "thisMonth": "Ce mois",
"voiceMessage": "Message vocal", "voiceMessage": "Message vocal",
"dangerousFileType": "Le type de fichier joint nest pas autorisé pour des raisons de sécurité",
"stagedPreviewThumbnail": "Brouillon dimagette daperçu de lien pour $domain$", "stagedPreviewThumbnail": "Brouillon dimagette daperçu de lien pour $domain$",
"previewThumbnail": "Imagette daperçu de lien pour $domain$", "previewThumbnail": "Imagette daperçu de lien pour $domain$",
"stagedImageAttachment": "Brouillon dimage jointe : $path$", "stagedImageAttachment": "Brouillon dimage jointe : $path$",

@ -60,7 +60,6 @@
"thisWeek": "השבוע", "thisWeek": "השבוע",
"thisMonth": "החודש", "thisMonth": "החודש",
"voiceMessage": "הודעה קולית", "voiceMessage": "הודעה קולית",
"dangerousFileType": "סוג הצרופה אינו מותר מסיבות אבטחה",
"stagedPreviewThumbnail": "טיוטה של קדם־תצוגה של קישור עבור $domain$", "stagedPreviewThumbnail": "טיוטה של קדם־תצוגה של קישור עבור $domain$",
"previewThumbnail": "קדם־תצוגה של קישור עבור $domain$", "previewThumbnail": "קדם־תצוגה של קישור עבור $domain$",
"stagedImageAttachment": "טיוטה של צרופת תמונה: $path$", "stagedImageAttachment": "טיוטה של צרופת תמונה: $path$",

@ -60,7 +60,6 @@
"thisWeek": "This Week", "thisWeek": "This Week",
"thisMonth": "इस महीने", "thisMonth": "इस महीने",
"voiceMessage": "ध्वनि संदेश", "voiceMessage": "ध्वनि संदेश",
"dangerousFileType": "Attachment type not allowed for security reasons",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "This Week", "thisWeek": "This Week",
"thisMonth": "This Month", "thisMonth": "This Month",
"voiceMessage": "Glasovna poruka", "voiceMessage": "Glasovna poruka",
"dangerousFileType": "Attachment type not allowed for security reasons",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Ezen a héten", "thisWeek": "Ezen a héten",
"thisMonth": "Ebben a hónapban", "thisMonth": "Ebben a hónapban",
"voiceMessage": "Hangüzenet", "voiceMessage": "Hangüzenet",
"dangerousFileType": "A csatolmánytípus biztonsági okokból nincs engedélyezve",
"stagedPreviewThumbnail": "A $domain$ hivatkozás előnézeti képének vázlata", "stagedPreviewThumbnail": "A $domain$ hivatkozás előnézeti képének vázlata",
"previewThumbnail": "A $domain$ hivatkozás előnézeti képe", "previewThumbnail": "A $domain$ hivatkozás előnézeti képe",
"stagedImageAttachment": "Képcsatolmány vázlat: $path$", "stagedImageAttachment": "Képcsatolmány vázlat: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Minggu ini", "thisWeek": "Minggu ini",
"thisMonth": "Bulan ini", "thisMonth": "Bulan ini",
"voiceMessage": "Pesan Suara", "voiceMessage": "Pesan Suara",
"dangerousFileType": "Jenis lampiran tidak diperbolehkan untuk alasan keamanan",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Questa Settimana", "thisWeek": "Questa Settimana",
"thisMonth": "Questo Mese", "thisMonth": "Questo Mese",
"voiceMessage": "Messaggio vocale", "voiceMessage": "Messaggio vocale",
"dangerousFileType": "Il tipo di allegato non è consentito per ragioni di sicurezza",
"stagedPreviewThumbnail": "Miniatura temporanea anteprima link per $domain$", "stagedPreviewThumbnail": "Miniatura temporanea anteprima link per $domain$",
"previewThumbnail": "Miniatura anteprima link per $domain$", "previewThumbnail": "Miniatura anteprima link per $domain$",
"stagedImageAttachment": "Allegato immagine bozza: $path$", "stagedImageAttachment": "Allegato immagine bozza: $path$",

@ -60,7 +60,6 @@
"thisWeek": "今週", "thisWeek": "今週",
"thisMonth": "今月", "thisMonth": "今月",
"voiceMessage": "音声メッセージ", "voiceMessage": "音声メッセージ",
"dangerousFileType": "セキュリティ上の理由で許可されていない種類の添付ファイルです",
"stagedPreviewThumbnail": "$domain$ のサムネイルリンクプレビュー(下書き)", "stagedPreviewThumbnail": "$domain$ のサムネイルリンクプレビュー(下書き)",
"previewThumbnail": "$domain$ のサムネイルリンクプレビュー", "previewThumbnail": "$domain$ のサムネイルリンクプレビュー",
"stagedImageAttachment": "添付画像(下書き): $path$", "stagedImageAttachment": "添付画像(下書き): $path$",

@ -60,7 +60,6 @@
"thisWeek": "ამ კვირაში", "thisWeek": "ამ კვირაში",
"thisMonth": "ამ თვეს", "thisMonth": "ამ თვეს",
"voiceMessage": "ხმოვანი შეტყობინება", "voiceMessage": "ხმოვანი შეტყობინება",
"dangerousFileType": "უსაფრთხოების მიზნით, ამ ტიპის ფაილის გაგზავნა შეუძლებელია",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "សប្តាហ៍នេះ", "thisWeek": "សប្តាហ៍នេះ",
"thisMonth": "ខែនេះ", "thisMonth": "ខែនេះ",
"voiceMessage": "សារសំឡេង", "voiceMessage": "សារសំឡេង",
"dangerousFileType": "ប្រភេទឯកសារភ្ជាប់មិនអនុញ្ញាតសម្រាប់ហេតុផលសុវត្ថិភាព",
"stagedPreviewThumbnail": "ការមើលតំណជារូបភាពតូចៗព្រាងសម្រាប់ $domain$", "stagedPreviewThumbnail": "ការមើលតំណជារូបភាពតូចៗព្រាងសម្រាប់ $domain$",
"previewThumbnail": "ការមើលតំណជារូបភាពតូចៗសម្រាប់$domain$", "previewThumbnail": "ការមើលតំណជារូបភាពតូចៗសម្រាប់$domain$",
"stagedImageAttachment": "រូបភាពឯកសារភ្ជាប់ព្រាង៖ $path$", "stagedImageAttachment": "រូបភាពឯកសារភ្ជាប់ព្រាង៖ $path$",

@ -60,7 +60,6 @@
"thisWeek": "This week", "thisWeek": "This week",
"thisMonth": "This Month", "thisMonth": "This Month",
"voiceMessage": "Voice Message", "voiceMessage": "Voice Message",
"dangerousFileType": "For security reasons, this file type cannot be sent",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "This Week", "thisWeek": "This Week",
"thisMonth": "이번 달", "thisMonth": "이번 달",
"voiceMessage": "보이스 메시지", "voiceMessage": "보이스 메시지",
"dangerousFileType": "Attachment type not allowed for security reasons",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Šią savaitę", "thisWeek": "Šią savaitę",
"thisMonth": "Šį mėnesį", "thisMonth": "Šį mėnesį",
"voiceMessage": "Balso žinutė", "voiceMessage": "Balso žinutė",
"dangerousFileType": "Šis priedo tipas saugumo sumetimais yra neleidžiamas",
"stagedPreviewThumbnail": "Juodraštinė miniatiūrinė nuorodos peržiūra, skirta $domain$", "stagedPreviewThumbnail": "Juodraštinė miniatiūrinė nuorodos peržiūra, skirta $domain$",
"previewThumbnail": "Miniatiūrinė nuorodos peržiūra, skirta $domain$", "previewThumbnail": "Miniatiūrinė nuorodos peržiūra, skirta $domain$",
"stagedImageAttachment": "Juodraštinis paveikslo priedas: $path$", "stagedImageAttachment": "Juodraštinis paveikslo priedas: $path$",

@ -60,7 +60,6 @@
"thisWeek": "This Week", "thisWeek": "This Week",
"thisMonth": "This Month", "thisMonth": "This Month",
"voiceMessage": "Voice Message", "voiceMessage": "Voice Message",
"dangerousFileType": "Attachment type not allowed for security reasons",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "This week", "thisWeek": "This week",
"thisMonth": "This Month", "thisMonth": "This Month",
"voiceMessage": "Voice Message", "voiceMessage": "Voice Message",
"dangerousFileType": "For security reasons, this file type cannot be sent",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Deze week", "thisWeek": "Deze week",
"thisMonth": "Deze maand", "thisMonth": "Deze maand",
"voiceMessage": "Audiobericht", "voiceMessage": "Audiobericht",
"dangerousFileType": "Type bijlage niet toegestaan wegens veiligheidsredenen",
"stagedPreviewThumbnail": "Conceptvoorbeeldweergave voor $domain$", "stagedPreviewThumbnail": "Conceptvoorbeeldweergave voor $domain$",
"previewThumbnail": "Voorbeeldweergave voor $domain$", "previewThumbnail": "Voorbeeldweergave voor $domain$",
"stagedImageAttachment": "Concept voor afbeeldingsbijlage: $path$", "stagedImageAttachment": "Concept voor afbeeldingsbijlage: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Denne uken", "thisWeek": "Denne uken",
"thisMonth": "Denne måneden", "thisMonth": "Denne måneden",
"voiceMessage": "Talebeskjed", "voiceMessage": "Talebeskjed",
"dangerousFileType": "Av sikkerhetsårsaker kan denne filtypen ikke sendes",
"stagedPreviewThumbnail": "Miniatyrlenkeforhåndsvisningskladd for $domain$", "stagedPreviewThumbnail": "Miniatyrlenkeforhåndsvisningskladd for $domain$",
"previewThumbnail": "Miniatyrlenkeforhåndsvisning for $domain$", "previewThumbnail": "Miniatyrlenkeforhåndsvisning for $domain$",
"stagedImageAttachment": "Bildevedleggskladd: $path$", "stagedImageAttachment": "Bildevedleggskladd: $path$",

@ -60,7 +60,6 @@
"thisWeek": "This week", "thisWeek": "This week",
"thisMonth": "This Month", "thisMonth": "This Month",
"voiceMessage": "Voice Message", "voiceMessage": "Voice Message",
"dangerousFileType": "For security reasons, this file type cannot be sent",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "W tym tygodniu", "thisWeek": "W tym tygodniu",
"thisMonth": "W tym miesiącu", "thisMonth": "W tym miesiącu",
"voiceMessage": "Wiadomość głosowa", "voiceMessage": "Wiadomość głosowa",
"dangerousFileType": "Ze względów bezpieczeństwa ten typ załącznika nie jest dozwolony",
"stagedPreviewThumbnail": "Projekt miniaturki podglądu linku do $domain$", "stagedPreviewThumbnail": "Projekt miniaturki podglądu linku do $domain$",
"previewThumbnail": "Podgląd miniaturki linku dla $domain$", "previewThumbnail": "Podgląd miniaturki linku dla $domain$",
"stagedImageAttachment": "Projekt załącznika obrazu: $path$", "stagedImageAttachment": "Projekt załącznika obrazu: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Esta Semana", "thisWeek": "Esta Semana",
"thisMonth": "Este Mês", "thisMonth": "Este Mês",
"voiceMessage": "Mensagem de Voz", "voiceMessage": "Mensagem de Voz",
"dangerousFileType": "Tipo de anexo não permitido por motivos de segurança",
"stagedPreviewThumbnail": "Pré-visualização em miniatura do link $domain$ (rascunho)", "stagedPreviewThumbnail": "Pré-visualização em miniatura do link $domain$ (rascunho)",
"previewThumbnail": "Pré-visualização em miniatura do link $domain$", "previewThumbnail": "Pré-visualização em miniatura do link $domain$",
"stagedImageAttachment": "Rascunho de imagem anexa: $path$", "stagedImageAttachment": "Rascunho de imagem anexa: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Esta semana", "thisWeek": "Esta semana",
"thisMonth": "Este mês", "thisMonth": "Este mês",
"voiceMessage": "Mensagem de voz", "voiceMessage": "Mensagem de voz",
"dangerousFileType": "O tipo de ficheiro deste anexo não é permitido por razões de segurança",
"stagedPreviewThumbnail": "Pré-visualização da hiperligação da miniatura do esboço $domain$", "stagedPreviewThumbnail": "Pré-visualização da hiperligação da miniatura do esboço $domain$",
"previewThumbnail": "Pré-visualização da hiperligação da miniatura $domain$", "previewThumbnail": "Pré-visualização da hiperligação da miniatura $domain$",
"stagedImageAttachment": "Esboço do anexo de imagem: $path$", "stagedImageAttachment": "Esboço do anexo de imagem: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Saptamana asta", "thisWeek": "Saptamana asta",
"thisMonth": "Luna asta", "thisMonth": "Luna asta",
"voiceMessage": "Mesaj vocal", "voiceMessage": "Mesaj vocal",
"dangerousFileType": "Tipul de atașament nu este permis din motive de securitate",
"stagedPreviewThumbnail": "Previzualizare link miniatură pentru $domain$", "stagedPreviewThumbnail": "Previzualizare link miniatură pentru $domain$",
"previewThumbnail": "Previzualizare link miniatură pentru $domain$", "previewThumbnail": "Previzualizare link miniatură pentru $domain$",
"stagedImageAttachment": "Atașament imagine ciornă: $path$", "stagedImageAttachment": "Atașament imagine ciornă: $path$",

@ -60,7 +60,6 @@
"thisWeek": "На этой неделе", "thisWeek": "На этой неделе",
"thisMonth": "В этом месяце", "thisMonth": "В этом месяце",
"voiceMessage": "Голосовое сообщение", "voiceMessage": "Голосовое сообщение",
"dangerousFileType": "Данный тип файлов невозможно переслать из соображений безопасности",
"stagedPreviewThumbnail": "Черновик миниатюры предварительного просмотра ссылки для $domain$", "stagedPreviewThumbnail": "Черновик миниатюры предварительного просмотра ссылки для $domain$",
"previewThumbnail": "Миниатюра предварительного просмотра ссылки для $domain$", "previewThumbnail": "Миниатюра предварительного просмотра ссылки для $domain$",
"stagedImageAttachment": "Черновик прикрепленного изображения: $path$", "stagedImageAttachment": "Черновик прикрепленного изображения: $path$",

@ -60,7 +60,6 @@
"thisWeek": "මෙම සතිය", "thisWeek": "මෙම සතිය",
"thisMonth": "මෙම මාසය", "thisMonth": "මෙම මාසය",
"voiceMessage": "හඬ පණිවිඩය", "voiceMessage": "හඬ පණිවිඩය",
"dangerousFileType": "ආරක්‍ෂක හේතූන් මත මෙම ගොනු වර්ගය යැවීමට නොහැකිය",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Tento týždeň", "thisWeek": "Tento týždeň",
"thisMonth": "Tento mesiac", "thisMonth": "Tento mesiac",
"voiceMessage": "Hlasová Správa", "voiceMessage": "Hlasová Správa",
"dangerousFileType": "Tento typ súboru je z bezpečnostných dôvodov zakázaný",
"stagedPreviewThumbnail": "Návrh náhľadu odkazu pre $domain$", "stagedPreviewThumbnail": "Návrh náhľadu odkazu pre $domain$",
"previewThumbnail": "Náhľad odkazu pre $domain$", "previewThumbnail": "Náhľad odkazu pre $domain$",
"stagedImageAttachment": "Návrh obrázkovej prílohy: $path$", "stagedImageAttachment": "Návrh obrázkovej prílohy: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Ta teden", "thisWeek": "Ta teden",
"thisMonth": "Ta mesec", "thisMonth": "Ta mesec",
"voiceMessage": "Glasovno sporočilo", "voiceMessage": "Glasovno sporočilo",
"dangerousFileType": "Ta vrsta priponke iz varnostnih razlogov ni dovoljena",
"stagedPreviewThumbnail": "Osnutek predogledne sličice povezave na: $domain$", "stagedPreviewThumbnail": "Osnutek predogledne sličice povezave na: $domain$",
"previewThumbnail": "Predogledna sličica povezave na: $domain$", "previewThumbnail": "Predogledna sličica povezave na: $domain$",
"stagedImageAttachment": "Osnutek slikovne priponke: $path$", "stagedImageAttachment": "Osnutek slikovne priponke: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Këtë Javë", "thisWeek": "Këtë Javë",
"thisMonth": "Këtë Muaj", "thisMonth": "Këtë Muaj",
"voiceMessage": "Mesazh Zanor", "voiceMessage": "Mesazh Zanor",
"dangerousFileType": "Lloj bashkëngjitjeje i palejuar për arsye sigurie",
"stagedPreviewThumbnail": "Paraparje lidhjeje miniature skice për $domain$", "stagedPreviewThumbnail": "Paraparje lidhjeje miniature skice për $domain$",
"previewThumbnail": "Paraparje lidhjeje miniature për $domain$", "previewThumbnail": "Paraparje lidhjeje miniature për $domain$",
"stagedImageAttachment": "Bashkëngjitje figure skice: $path$", "stagedImageAttachment": "Bashkëngjitje figure skice: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Ova nedelja", "thisWeek": "Ova nedelja",
"thisMonth": "Ovog meseca", "thisMonth": "Ovog meseca",
"voiceMessage": "Гласовна порука", "voiceMessage": "Гласовна порука",
"dangerousFileType": "Attachment type not allowed for security reasons",
"stagedPreviewThumbnail": "Pregled nacrta linka za $domain$", "stagedPreviewThumbnail": "Pregled nacrta linka za $domain$",
"previewThumbnail": "Pregled linka za $domain$", "previewThumbnail": "Pregled linka za $domain$",
"stagedImageAttachment": "Nacrt priloga fotografje: $path$", "stagedImageAttachment": "Nacrt priloga fotografje: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Denna vecka", "thisWeek": "Denna vecka",
"thisMonth": "Denna månad", "thisMonth": "Denna månad",
"voiceMessage": "Röstmeddelande", "voiceMessage": "Röstmeddelande",
"dangerousFileType": "Bilagor av denna typ tillåts inte på grund av säkerhetsskäl",
"stagedPreviewThumbnail": "Utkast av länkförhandsvisning i miniatyrbild för $domain$", "stagedPreviewThumbnail": "Utkast av länkförhandsvisning i miniatyrbild för $domain$",
"previewThumbnail": "Länkförhandsvisning i miniatyrbild för $domain$", "previewThumbnail": "Länkförhandsvisning i miniatyrbild för $domain$",
"stagedImageAttachment": "Utkast till bildbilaga: $path$", "stagedImageAttachment": "Utkast till bildbilaga: $path$",

@ -60,7 +60,6 @@
"thisWeek": "This week", "thisWeek": "This week",
"thisMonth": "This Month", "thisMonth": "This Month",
"voiceMessage": "Voice Message", "voiceMessage": "Voice Message",
"dangerousFileType": "For security reasons, this file type cannot be sent",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "สัปดาห์นี้", "thisWeek": "สัปดาห์นี้",
"thisMonth": "เดือนนี้", "thisMonth": "เดือนนี้",
"voiceMessage": "ข้อความเสียง", "voiceMessage": "ข้อความเสียง",
"dangerousFileType": "Attachment type not allowed for security reasons",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Bu Hafta", "thisWeek": "Bu Hafta",
"thisMonth": "Bu Ay", "thisMonth": "Bu Ay",
"voiceMessage": "Sesli İleti", "voiceMessage": "Sesli İleti",
"dangerousFileType": "Eklenti türüne güvenlik sebeplerinden dolayı izin verilmemektedir",
"stagedPreviewThumbnail": "$domain$ için bağlantı ön izlemesi küçük resim taslağı", "stagedPreviewThumbnail": "$domain$ için bağlantı ön izlemesi küçük resim taslağı",
"previewThumbnail": "$domain$ için bağlantı ön izlemesi küçük resmi", "previewThumbnail": "$domain$ için bağlantı ön izlemesi küçük resmi",
"stagedImageAttachment": "Resim eklentisi taslağı: $path$", "stagedImageAttachment": "Resim eklentisi taslağı: $path$",

@ -60,7 +60,6 @@
"thisWeek": "This Week", "thisWeek": "This Week",
"thisMonth": "Цей місяць", "thisMonth": "Цей місяць",
"voiceMessage": "Голосове повідомлення", "voiceMessage": "Голосове повідомлення",
"dangerousFileType": "Attachment type not allowed for security reasons",
"stagedPreviewThumbnail": "Попередній перегляд ескізу посилання для $domain$", "stagedPreviewThumbnail": "Попередній перегляд ескізу посилання для $domain$",
"previewThumbnail": "Попередній перегляд посилання для $domain$", "previewThumbnail": "Попередній перегляд посилання для $domain$",
"stagedImageAttachment": "Ескіз прикріпленого зображення: $path$", "stagedImageAttachment": "Ескіз прикріпленого зображення: $path$",

@ -60,7 +60,6 @@
"thisWeek": "This week", "thisWeek": "This week",
"thisMonth": "This Month", "thisMonth": "This Month",
"voiceMessage": "Voice Message", "voiceMessage": "Voice Message",
"dangerousFileType": "For security reasons, this file type cannot be sent",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "Tuần này", "thisWeek": "Tuần này",
"thisMonth": "Tháng này", "thisMonth": "Tháng này",
"voiceMessage": "Tin nhắn thoại", "voiceMessage": "Tin nhắn thoại",
"dangerousFileType": "Attachment type not allowed for security reasons",
"stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$", "stagedPreviewThumbnail": "Draft thumbnail link preview for $domain$",
"previewThumbnail": "Thumbnail link preview for $domain$", "previewThumbnail": "Thumbnail link preview for $domain$",
"stagedImageAttachment": "Draft image attachment: $path$", "stagedImageAttachment": "Draft image attachment: $path$",

@ -60,7 +60,6 @@
"thisWeek": "本周", "thisWeek": "本周",
"thisMonth": "本月", "thisMonth": "本月",
"voiceMessage": "语音消息", "voiceMessage": "语音消息",
"dangerousFileType": "为了安全,不允许此附件类型",
"stagedPreviewThumbnail": "待发送的$domain$链接预览", "stagedPreviewThumbnail": "待发送的$domain$链接预览",
"previewThumbnail": "$domain$的链接预览缩略图", "previewThumbnail": "$domain$的链接预览缩略图",
"stagedImageAttachment": "待发送的图片附件:$path$", "stagedImageAttachment": "待发送的图片附件:$path$",

@ -60,7 +60,6 @@
"thisWeek": "本週", "thisWeek": "本週",
"thisMonth": "本月", "thisMonth": "本月",
"voiceMessage": "語音訊息", "voiceMessage": "語音訊息",
"dangerousFileType": "因安全考量無法傳送此類附件\n",
"stagedPreviewThumbnail": "$domain$ 的草稿縮圖連結預覽", "stagedPreviewThumbnail": "$domain$ 的草稿縮圖連結預覽",
"previewThumbnail": "$domain$ 的縮圖連結預覽", "previewThumbnail": "$domain$ 的縮圖連結預覽",
"stagedImageAttachment": "草稿圖片附檔: $path$", "stagedImageAttachment": "草稿圖片附檔: $path$",

@ -87,26 +87,6 @@
align-items: center; align-items: center;
} }
.module-message__generic-attachment__icon-dangerous-container {
position: absolute;
top: -1px;
right: -4px;
height: 16px;
width: 16px;
border-radius: 50%;
background-color: $color-white;
}
.module-message__generic-attachment__icon-dangerous {
height: 16px;
width: 16px;
@include color-svg('../images/error-filled.svg', $session-color-danger);
}
.module-message__generic-attachment__icon__extension { .module-message__generic-attachment__icon__extension {
font-size: 10px; font-size: 10px;
line-height: 13px; line-height: 13px;

@ -337,11 +337,6 @@ export class SessionConversation extends React.Component<Props, State> {
const { stagedAttachments } = this.props; const { stagedAttachments } = this.props;
if (window.Signal.Util.isFileDangerous(fileName)) {
ToastUtils.pushDangerousFileError();
return;
}
if (stagedAttachments.length >= 32) { if (stagedAttachments.length >= 32) {
ToastUtils.pushMaximumAttachmentsError(); ToastUtils.pushMaximumAttachmentsError();
return; return;

@ -24,7 +24,6 @@ import {
isImage, isImage,
isVideo, isVideo,
} from '../../../../types/Attachment'; } from '../../../../types/Attachment';
import { isFileDangerous } from '../../../../util';
import { saveAttachmentToDisk } from '../../../../util/attachmentsUtil'; import { saveAttachmentToDisk } from '../../../../util/attachmentsUtil';
import { Spinner } from '../../../basic/Spinner'; import { Spinner } from '../../../basic/Spinner';
import { AudioPlayerWithEncryptedFile } from '../../H5AudioPlayer'; import { AudioPlayerWithEncryptedFile } from '../../H5AudioPlayer';
@ -149,7 +148,6 @@ export const MessageAttachment = (props: Props) => {
} else { } else {
const { pending, fileName, fileSize, contentType } = firstAttachment; const { pending, fileName, fileSize, contentType } = firstAttachment;
const extension = getExtensionForDisplay({ contentType, fileName }); const extension = getExtensionForDisplay({ contentType, fileName });
const isDangerous = isFileDangerous(fileName || '');
return ( return (
<div className={classNames('module-message__generic-attachment')}> <div className={classNames('module-message__generic-attachment')}>
@ -170,11 +168,6 @@ export const MessageAttachment = (props: Props) => {
</div> </div>
) : null} ) : null}
</div> </div>
{isDangerous ? (
<div className="module-message__generic-attachment__icon-dangerous-container">
<div className="module-message__generic-attachment__icon-dangerous" />
</div>
) : null}
</div> </div>
)} )}
<div className="module-message__generic-attachment__text"> <div className="module-message__generic-attachment__text">

@ -63,10 +63,6 @@ export function pushLoadAttachmentFailure(message?: string) {
} }
} }
export function pushDangerousFileError() {
pushToastError('dangerousFileType', window.i18n('dangerousFileType'));
}
export function pushFileSizeError(limit: number, units: string) { export function pushFileSizeError(limit: number, units: string) {
pushToastError('fileSizeWarning', window.i18n('fileSizeWarning'), `Max size: ${limit} ${units}`); pushToastError('fileSizeWarning', window.i18n('fileSizeWarning'), `Max size: ${limit} ${units}`);
} }

@ -1,34 +0,0 @@
import { assert } from 'chai';
import { isFileDangerous } from '../../util/isFileDangerous';
describe('isFileDangerous', () => {
it('returns false for images', () => {
assert.strictEqual(isFileDangerous('dog.gif'), false);
assert.strictEqual(isFileDangerous('cat.jpg'), false);
});
it('returns false for documents', () => {
assert.strictEqual(isFileDangerous('resume.docx'), false);
assert.strictEqual(isFileDangerous('price_list.pdf'), false);
});
it('returns true for executable files', () => {
assert.strictEqual(isFileDangerous('run.exe'), true);
assert.strictEqual(isFileDangerous('install.pif'), true);
});
it('returns false for empty filename', () => {
assert.strictEqual(isFileDangerous(''), false);
});
it('returns false for exe at various parts of filename', () => {
assert.strictEqual(isFileDangerous('.exemanifesto.txt'), false);
assert.strictEqual(isFileDangerous('runexe'), false);
assert.strictEqual(isFileDangerous('run_exe'), false);
});
it('returns true for upper-case EXE', () => {
assert.strictEqual(isFileDangerous('run.EXE'), true);
});
});

@ -390,7 +390,6 @@ export type LocalizerKeys =
| 'timerOption_30_seconds' | 'timerOption_30_seconds'
| 'createAccount' | 'createAccount'
| 'timerOption_1_minute_abbreviated' | 'timerOption_1_minute_abbreviated'
| 'dangerousFileType'
| 'timerOption_12_hours' | 'timerOption_12_hours'
| 'unblockToSend' | 'unblockToSend'
| 'timerOption_1_minute' | 'timerOption_1_minute'

@ -1,6 +1,5 @@
import * as GoogleChrome from './GoogleChrome'; import * as GoogleChrome from './GoogleChrome';
import { arrayBufferToObjectURL } from './arrayBufferToObjectURL'; import { arrayBufferToObjectURL } from './arrayBufferToObjectURL';
import { isFileDangerous } from './isFileDangerous';
import { missingCaseError } from './missingCaseError'; import { missingCaseError } from './missingCaseError';
import { makeLookup } from './makeLookup'; import { makeLookup } from './makeLookup';
import * as PasswordUtil from './passwordUtils'; import * as PasswordUtil from './passwordUtils';
@ -12,7 +11,6 @@ export * from './blockedNumberController';
export { export {
arrayBufferToObjectURL, arrayBufferToObjectURL,
GoogleChrome, GoogleChrome,
isFileDangerous,
makeLookup, makeLookup,
missingCaseError, missingCaseError,
PasswordUtil, PasswordUtil,

@ -1,6 +0,0 @@
// tslint:disable-next-line max-line-length
const DANGEROUS_FILE_TYPES = /\.(ADE|ADP|APK|BAT|CHM|CMD|COM|CPL|DLL|DMG|EXE|HTA|INS|ISP|JAR|JS|JSE|LIB|LNK|MDE|MSC|MSI|MSP|MST|NSH|PIF|SCR|SCT|SHB|SYS|VB|VBE|VBS|VXD|WSC|WSF|WSH|CAB)$/i;
export function isFileDangerous(fileName: string): boolean {
return DANGEROUS_FILE_TYPES.test(fileName);
}
Loading…
Cancel
Save