Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Documents Model #16

Open
ErisMik opened this issue Mar 9, 2018 · 0 comments
Open

Documents Model #16

ErisMik opened this issue Mar 9, 2018 · 0 comments
Assignees
Labels
Todo A feature/assignment that needs to be done

Comments

@ErisMik
Copy link
Collaborator

ErisMik commented Mar 9, 2018

Issue Description

Users Affected:

All registered users

Functionality Requested:

Our current document model is supposed to act as a placeholder for referring to uploaded files.
However, we need to set up an integration with Amazon S3 to actually store out files there.
@jordankr You'll be quite familiar with this. It's the same as the image upload covered in the original rails tutorial, only with a few modifications:

  • On top of whitelisting file extensions like jpg, png, jpeg, you'll want to also allow various other file types such as pdf, word, docx, txt, zip, etc.
  • Rather than linking the image in an image tag, create a buttons that downloads the file from the server to the user's machine.
  • Bonus points if you can read the carrierwave gem documentation and configure it so that the links generated are temporary and expire after some time (eg. 10 min)

Progress

Status: Assigned

Implementation

Commit Hash: Not Yet Complete
Author: @jordankr
Reviewer: @Jimmy-Lin
Prior Behaviour:

Describe Prior Behaviour

New/Modified Behaviour:

Describe New Behaviour

Validation

Test Files:

List Test Files Added/Modified

Manual Validation Procedure:

List Manual Checks Needed

Follow-Up

Usage Documentation:

No Documentation

Requirements:

List Special Instructions Needed When Pulling/Deploying

@ErisMik ErisMik added the Todo A feature/assignment that needs to be done label Mar 9, 2018
@Jimmy-Lin Jimmy-Lin changed the title Files Model Documents Model Mar 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Todo A feature/assignment that needs to be done
Projects
None yet
Development

No branches or pull requests

2 participants