Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Flask-Upload and implement our own upload backend #882

Closed
miketaylr opened this issue Dec 21, 2015 · 4 comments
Closed

Remove Flask-Upload and implement our own upload backend #882

miketaylr opened this issue Dec 21, 2015 · 4 comments
Assignees

Comments

@miketaylr
Copy link
Member

Splitting #879 into two bugs here to make it easier to review.

The new backend should be able to handle regular file uploads, as well as incoming screenshots from the add-ons, do image format validation, and save them to the filesystem.

@miketaylr
Copy link
Member Author

I think this will actually make #710 a lot easier. @karlcow and I talked about doing this in Orlando as part of that, so hopefully I beat him to it and haven't duplicated his efforts here.

miketaylr pushed a commit that referenced this issue Dec 21, 2015
This will allow us to get rid of Flask-Upload.
miketaylr pushed a commit that referenced this issue Dec 21, 2015
miketaylr pushed a commit that referenced this issue Dec 21, 2015
(request.form['screenshot'] is added in bugform.js, which will
added in #879)
miketaylr pushed a commit that referenced this issue Dec 21, 2015
@miketaylr
Copy link
Member Author

Note: I need to test this stuff in the context of filing issues, locally I was just making sure the upload stuff worked/was saved to file.

miketaylr pushed a commit that referenced this issue Dec 21, 2015
This will allow us to get rid of Flask-Upload.
miketaylr pushed a commit that referenced this issue Dec 21, 2015
miketaylr pushed a commit that referenced this issue Dec 21, 2015
(request.form['screenshot'] is added in bugform.js, which will
added in #879)
@miketaylr
Copy link
Member Author

Locally, "regular" file upload images is working but the screenshot stuff isn't when filing a new issue.

To investigate.

miketaylr pushed a commit that referenced this issue Dec 21, 2015
This will allow us to get rid of Flask-Upload.
miketaylr pushed a commit that referenced this issue Dec 21, 2015
miketaylr pushed a commit that referenced this issue Dec 21, 2015
(request.form['screenshot'] is added in bugform.js, which will
added in #879)
@miketaylr miketaylr self-assigned this Dec 22, 2015
miketaylr pushed a commit that referenced this issue Dec 23, 2015
(this commit is gonna get squashed into previous ones, but leaving
like this to help with review)
miketaylr pushed a commit that referenced this issue Dec 28, 2015
(request.form['screenshot'] is added in bugform.js, which will
added in #879)
miketaylr pushed a commit that referenced this issue Dec 28, 2015
(request.form['screenshot'] is added in bugform.js, which will
added in #879)
miketaylr pushed a commit that referenced this issue Dec 28, 2015
This way Pillow can test if they're actually valid or not.
@karlcow
Copy link
Member

karlcow commented Dec 29, 2015

👏😂🙇🏼. Time for 🍔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants