mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Forum Feedback (https://www.mersenneforum.org/forumdisplay.php?f=61)
-   -   Could you allow attachments of documents and spreadsheets? (https://www.mersenneforum.org/showthread.php?t=27027)

drkirkby 2021-07-26 18:52

Could you allow attachments of documents and spreadsheets?
 
Would you consider allowing people to attach documents, such as .doc, .odt and spreadsheets such as .xls and .ods? I realise that one could put them in a zip file, but they are not as convenient to see.

paulunderwood 2021-07-26 18:55

What about viruses and macros? :unsure:

kriesel 2021-07-27 00:34

[CODE]Valid file extensions: 7z bz2 c cpp csv exe gif gz ini jpg log lz md5 npg pdf png svg tgz txt wav xz zip[/CODE][CODE][B]Filetype[/B][B] Max Filesize [/B][B]Max Width[/B][B] Max Height[/B]
[B]7z[/B] 4.00 MB - -
[B]bz2[/B] 4.00 MB - -
[B]c[/B] 1.00 MB - -
[B]cpp[/B] 1.00 MB - -
[B]csv[/B] 1.00 MB - -
[B]exe[/B] 1.00 MB - -
[B]gif[/B] 1.00 MB 4096 4096
[B]gz[/B] 4.00 MB - -
[B]ini[/B] 1.00 MB - -
[B]jpg[/B] 1.00 MB 4096 4096
[B]log[/B] 1.00 MB - -
[B]lz[/B] 4.00 MB - -
[B]md5[/B] 1.00 MB - -
[B]npg[/B] 1.00 MB - -
[B]pdf[/B] 4.00 MB - -
[B]png[/B] 1.00 MB 4096 4096
[B]svg[/B] 1.00 MB 4096 4096
[B]tgz [/B] 4.00 MB - -
[B]txt[/B] 1.00 MB - -
[B]wav[/B] 1.00 MB - -
[B]xz[/B] 4.00 MB - -
[B]zip [/B]4.00 MB - -[/CODE]Multiple compressed file formats, image formats, csv is a spreadsheet import/export format, and complex documents with layout including spreadsheets with graphs and charts and embedded images can be posted as pdf.

Viliam Furik 2021-07-27 00:37

One could also make a link to a shared folder in some cloud storage... Dropbox, Google Drive, OneDrive, or any other.

Uncwilly 2021-07-27 05:27

There is also the option to use the fine pastebin tags. [PASTEBIN][/PASTEBIN] There are reasons that the file types that are allowed and the ones that aren't aren't.

Xyzzy 2021-07-27 12:41

We just added support for .doc files.

If we can find suitable (16×16) icons for the others we will add those.

:mike:

axn 2021-07-27 14:08

[url]https://github.com/LibreOffice/core/tree/master/sysui/desktop/icons/hicolor/16x16/apps[/url]
[url]https://github.com/LibreOffice/core/tree/master/sysui/desktop/icons/hicolor/128x128/apps[/url]
etc..

drkirkby 2021-07-27 14:56

[QUOTE=Xyzzy;584056]We just added support for .doc files.

If we can find suitable (16×16) icons for the others we will add those.

:mike:[/QUOTE]Thank you. The first link provided by axn, for LibreOffice, has some pretty decent 16x16 icons. For example, calc.png.

[URL]https://github.com/LibreOffice/core/blob/master/sysui/desktop/icons/hicolor/16x16/apps/calc.png[/URL]
would do fine for .ods, .xlx and xlsx spreadsheets.
[URL]https://github.com/LibreOffice/core/blob/master/sysui/desktop/icons/hicolor/16x16/apps/writer.png[/URL]
would do well for the .odt text document.

For those suggesting linking to other sites, the problem I see with that is that files get deleted on the other accounts, or people lose access to the accounts.
[LIST][*]If someone is running short of space, they will delete things of minor importance to them. A spreadsheet they created long ago is not going to be high on their priority list.[*]People lose access to accounts. They don't log into Google or whatever for a year, and the account gets closed.[/LIST]As for macros and viruses, I think most programs like spreadsheets will not execute macros without the user specifically enabling it. Viruses are a bit different, but people need to use their common sense. There must be millions of Word documents that can be downloaded off the internet.

@kriesel I don't think PDF works well to display large spreadsheets, and even poorer if someone might want to take that spreadsheet and edit it themselves.

drkirkby 2021-07-27 15:05

[QUOTE=Uncwilly;584035]There is also the option to use the fine pastebin tags. There are reasons that the file types that are allowed and the ones that aren't aren't.[/QUOTE]There are good reasons for not allowing .exe files, but the reasons for some other files formats can't be uploaded is probably just a case of nobody asking for them, rather than them being "not allowed".

The .doc file has been added by Xyzzy today just because I asked, and he has said others can be added if icons were found. User axn has given a link to some nice 16x16 icons.

Xyzzy 2021-07-27 15:45

We have added .odp, .ods, .odt, .ppt and .xls to the list.

We think we have the [URL="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types"]mime types[/URL] input correctly.

Please check to see if they work.

:mike:

kriesel 2021-07-27 15:53

Could the zip file formats' max size be doubled?


All times are UTC. The time now is 22:42.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.