Comments (8)
When I upload a picture a second time (after error in dashboard) and it has the same filename, it's not uploaded after pressing save.
from a4-meinberlin.
The same happens in all project-types. Also after navigating back from the error page and pressing save without selected image to upload, same error message occurs.
from a4-meinberlin.
This image size is limited by our web server to 10M. Is this not enough?
from a4-meinberlin.
I think part of the issue is that the error page does not look particularly nice. I think it is an important security property that large file uploads are blocked before they even reach django. Still, it is not an ideal user experience.
Maybe we can have a compromise: Increase the maximum in nginx, so we can show nicer error pages for medium-large files. Huge files could still be blocked early.
from a4-meinberlin.
The current limit in django is 5M, in the webserver 10M.
Whereas we could increase the webserver limit, the disadvantage is that the image has to be fully uploaded before the django error is shown. The webserver error is shown directly.
from a4-meinberlin.
@rukala Can we close this issue? Or should we change the limits?
from a4-meinberlin.
I would like to re-open this issue. I think we need to increase the nginx filesize limit and then think about (i.e. write a US) how we could validate the filesize documents to be uploaded via JS, no?
from a4-meinberlin.
I just set the nginx filesize limit to 20mb on all a4 instances. I'm rather reluctant to increase it further as that opens the door for DDOS things/makes it easier.
File size check seems to be easy, though, here is an example
from a4-meinberlin.
Related Issues (20)
- contact info in info tab is italic
- bplan map broken HOT 1
- Styling problems with long titles in the project overview
- Styling issue with rating & comment icons on proposal overview (mobile version) HOT 2
- Login seems weird on Dev HOT 1
- Wrong name for category marker (analog to aplus) HOT 1
- Inconsistent behaviour between unlogged in rating buttons on comments and idea comapared to budgeting idea
- #7409 [mB] participatory budgeting from rating to support TOP PRIO - wrong wording 2 phase pb
- mB - not started module not shown when multimodule HOT 6
- mB - voting count shown for admin 1 and 2 pb HOT 2
- Plans model: image copyright uses a new field instead of extending exiting one HOT 1
- Problems with creating a plan (Vorhaben) on dev HOT 1
- #7421 Long Categories go outside the intended field (list-view)
- #7421 Long category/label title seems to be not shown completely HOT 2
- Styling project tiles off in initiator dashboard (only in safari) HOT 2
- #7412 Voice-Over Problems with alt texts in Project-Overview & Initator-Dashboard HOT 3
- Home page no tiles shown for finished projects, just empty space HOT 4
- #7385 [mB] show adaptable labels and categories in projects HOT 2
- Columns Vorhaben
- Counting Comments (2 issues - similar problem in a+) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from a4-meinberlin.