aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes/uploads
Commit message (Collapse)AuthorAgeFilesLines
* chore: update process.env usagePitu2021-06-151-4/+4
|
* chore: get host from req instead of configPitu2021-06-081-2/+2
|
* fix: use PassThrough from FileType to get the real mimetype of a file while ↵Zephyrrus2021-01-071-2/+4
| | | | it's being saved to the disk
* feat: check for real mimetype using file-typeZephyrrus2021-01-071-17/+19
| | | | For now, if file-type returns undefined, we take the value from the browser. In the future this should be removed to ensure people can't bypass the real mime checking using a special file that can't be recognized by file-type.
* fix: normalize url and thumbnail responsePitu2021-01-071-2/+5
|
* fix: early return if duplicated filePitu2021-01-071-1/+3
|
* chore: cleanupPitu2021-01-071-1/+1
|
* feature: new chunk and write strategyPitu2021-01-072-212/+248
|
* feat: Add hash checking for chunked uploadsPitu2020-12-272-12/+23
|
* Fixes chunked uploads not being saved to albums or thumbnailsPitu2020-12-272-66/+16
|
* Fix ESLint rules once and for allPitu2020-12-241-2/+2
|
* chore: remove trailing commasZephyrrus2020-12-242-11/+11
|
* chore: update lock filesZephyrrus2020-12-241-12/+3
|
* Merge branch 'dev' into dev-zephyZephyrrus2020-07-191-0/+2
|\
| * Fix url retrieval of uploaded filePitu2020-07-181-0/+2
| |
* | chore: add unique integrity checks to the database for many-to-many tablesZephyrrus2020-07-081-8/+2
| |
* | chore: linter the entire project using the new rulesZephyrrus2020-07-082-28/+30
|/
* Feature: enable apiKey access to uploads and album fetching for the ↵Pitu2020-05-112-2/+8
| | | | uploader/sharex/3rd party
* chore: cleanup and todoPitu2020-05-111-0/+15
|
* feature: prevent duplicated filesPitu2019-10-121-47/+87
| | | | | | - If the user uploads a file that already exists under their account, it will return the previous url - If an anonymous user uploads a file and already exists previously from another anon, return that url - Files are unique per account since they can be deleted, anonymous files can't
* feature: save uploaded files to album if specifiedPitu2019-10-121-7/+21
|
* chore: upload fixesPitu2019-10-122-6/+66
|
* feature: uploader with chunks supportPitu2019-10-012-0/+170