Code Monkey home page Code Monkey logo

Comments (9)

dennmuel avatar dennmuel commented on June 2, 2024 1

I see your point and agree, but on the other hand users might not have larger files reachable through URL. As wagneral pointed out, a notification and perhaps an explanation/recommendation when to use what sharing method with what kind of files could be helpful.

from palma.

wagneral avatar wagneral commented on June 2, 2024 1

Information is already displayed, but only half a second visible. We should add a delay, so the user has the chance to realize what's happening.
error__file-too-big

from palma.

wagneral avatar wagneral commented on June 2, 2024

We should perhaps increase the MaxUploadLimit or at least show some kind of notification (e.g. a message box) informing the user about the upload limit

from palma.

stweil avatar stweil commented on June 2, 2024

It looks like this is a general problem with uploads of files larger than the upload limit (configured for PHP), so I suggest to update the title of this issue.

I vote against increasing the upload limit to a much higher value, because I think that a large upload time is not acceptable. Users can still display large files when they are available via a URL.

from palma.

wagneral avatar wagneral commented on June 2, 2024

Came across some Dropzone lines, that are responsible for file preview and also for warning users if files are to big. This functionality has been disabled: https://github.com/UB-Mannheim/PalMA/blob/master/index.php#L1216
Perhaps it can be reactivated when adding a tabbed view and updating Dropzone JS

from palma.

wagneral avatar wagneral commented on June 2, 2024

Reactivated in testing branch: a15a5b7#diff-828e0013b8f3bc1bb22b4f57172b019dR1294

from palma.

wagneral avatar wagneral commented on June 2, 2024

BTW max_filesize for uploading a file is 256MB

from palma.

wagneral avatar wagneral commented on June 2, 2024

Simple js alert box added. Works.

from palma.

stweil avatar stweil commented on June 2, 2024

How long does it take to upload 256 MB via a wireless connection? For typical 57 MBit / s connections, maybe 4 MB / s is realistic, so the total time would be 64 s or about 1 minute. Is that acceptable?

from palma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.