Skip to content
This repository has been archived by the owner on Jan 15, 2020. It is now read-only.

Status update dashAPI, Counter, NOT DEPLOYABLE use previous or next tag

Pre-release
Pre-release
Compare
Choose a tag to compare
@sfisher sfisher released this 16 Apr 18:55
· 55 commits to master since this release

This is a progress status update and the full suite of engines are not deployable for this version.

Documentation

Dash API

  • Refactored permissions so I can reuse user permissions in the API more easily
  • PUT file to a resource
    • Many prerequisites:
      • authorized
      • in-progress
      • folder creation
      • disallow uploading outside of our root directory (with ../.. or other trickery)
      • size warnings if sent in headers
    • Accept upload payload and save to file system on server
    • Save file information to database
    • Check for size violations or other errors after upload
    • Convert file PUT to POST (because of named resource)
  • PATCH to a dataset with JSON to publish, http://williamdurand.fr/2014/02/14/please-do-not-patch-like-an-idiot/
    • Using data validations before allowing submission, returns errors
    • Added missing default values like in the UI (type is dataset, publisher is campus/tenant, etc) because of errors
  • PUT to dataset URL for replacing the metadata with different metadata for in-progress
    • Updates title, authors, abstract, keeps ORCIDs if set already in DB for dataset

Misc

  • Fixes to mysql2 library incompatibilities between different gems/engines

Counter

  • Clarified how DataCite wants us to send updates, put in tickets, we'll need revisions to request we send