This is a follow-up from the research by @Niharika on T159898. More background information can be found on that ticket.
Make a new tool for the DMCA and CP takedown tools
- The forms should replicate the functionality of the existing tool.
- Merge the two tools (one which posts on wiki and one which doesn't) into one (additional form checkbox).
- Pull in data from wikis wherever possible (like information about a commons file/uploader etc.)
- Validate data wherever possible
- Do away with local accounts and use OAuth (make sure to only allow access to specific staff accounts etc.)
- Log actions by users
- Retrieval function for given case ID (From the database)
- Copy over functionality for strategy tools (If needed?)
- Host on private server
And also, everything in Requested changes in the task description:
- Right now, the tool only tracks the files that are taken down. We also want to track the requests that don't lead to a takedown, so there should be a full log. There should likely be an option added for request granted (image removed) or denied (image kept.)
- The 'Project' dropdown is currently hardcoded, can it be expanded or have an 'Other' that allows for a textbox? (with validation?)
- Some of the fields should not be mandatory.
- Anything required by the Lumen API should be required
- If the request was not complied with, then nothing should be required
- This should write to SalesForce instead of Sugar. The exact same data should be stored.
- Potentially support multi-file support. (CP takedown already has this, DMCA very rarely needs it)
Tasks
- Create Takedown Database Records
- Create page that lists takedown records
- Create takedown (DMCA & CP) form pages
- Get OAuth Keys from Prod so new version can be QA'd T169876
- Handle file uploads for DMCA T169885
- Handle EXIF data for images on CP (do not upload/store files) T169885
- Validate all the things T169887
- Autofill most the form by providing a URL to a page on a wiki. T169888
- Change "autoconfirmed" as the required group to something more appropriate T169883
- T169877: Push DMCA takedown tool to Wiki(s) (upon request)
- T169878: Push DMCA takedown tool to Lumen Database
- T169879: Push Child Protection takedown tool data to NCME
- T169880: Push takedown tools data to Salesforce
- T169883: Deploy new Takedown Tools to Prod