officelifehq / officelife

OfficeLife is the first EmpOps platform. It manages everything employees do in a company. From projects to holidays to 1:1s to teams.
https://officelife.io
GNU Affero General Public License v3.0
913 stars 125 forks source link

Ability to upload documents on employee's page #249

Open djaiss opened 4 years ago

djaiss commented 4 years ago

We should be able to upload documents on the Employee profile page. This will be useful for onboarding.

djaiss commented 4 years ago

I don’t think we should use S3 for this. Can’t we use the storage we'd use on platform.sh or fortrabbit instead?

asbiin commented 4 years ago

We could use storage for PAAS provider yes:

I guess the "get" operation would require to have a "proxy" to render the file (or download it).

djaiss commented 4 years ago

We should create a Document object which would be useful for many use cases. Namely, documents on project, employee profile page, invoices,... A Document could have a type, perhaps.

djaiss commented 3 years ago

We are now using an object for this, File. And we are using Uploadcare for documents.