victims / victims-web

The victims web application.
GNU Affero General Public License v3.0
8 stars 5 forks source link

Semi-automate processing of submissions #78

Closed abn closed 11 years ago

abn commented 11 years ago

We require some way to pick up what #72 accomplishes. Once a file is uploaded, or hash submitted, certain steps can be automated.

For file submissions:

  1. Use respective hashing library to generate embedded hashes object and populate entry field. Once this is done remove file from storage.
  2. Switch status
  3. Check if already published, if yes, switch to IN_DATABASE and append any new information to published entries
  4. Perform any other sanity checks

For hash submissions:

  1. If user has correct roles, allow automated publishing
  2. Check for already published entries, if exists updated new information
  3. Switch status as required
abn commented 11 years ago

Work for this round is complete for this one. Note that automation is slightly different from initial description.