MuckRock / muckrock

MuckRock's source code - Please report bugs, issues and feature requests to info@muckrock.com
https://www.muckrock.com
GNU Affero General Public License v3.0
114 stars 22 forks source link

Support zip files for “upload to DocumentCloud” on MuckRock Requests #1806

Open duckduckgrayduck opened 1 year ago

duckduckgrayduck commented 1 year ago

What is the problem we are trying to solve?

Currently users who receive responsive documents in the format of a zip file have to download the zip file, extract, and then upload the documents within manually to DocumentCloud. It would be nice to expand “Upload to DocumentCloud” feature that currently exists for PDFs to zip files. This was originally mentioned by Lisa from CRP, whose team spends a lot of time downloading zip files and documents from MuckRock only to re-upload to DocumentCloud. It would offer a closer integration between the platforms and guarantee a smoother user experience.

How wide spread is this issue?

It would impact all users who use both MuckRock and DocumentCloud.

How can we solve this issue?

Extract the zip files server side and then call upload on all supported documents within the extracted folder.