aboutsummaryrefslogtreecommitdiff
path: root/uploader/files/views.py
AgeCommit message (Expand)Author
4 daysAdd logging.•••Without this logging statement, the chunk merging fails with an error that it cannot find one of the chunks when attempting to delete it. That error disappears as soon as I attempt to log out the error and debug. Frederick Muriuki Muriithi
2025-02-18Prevent error if chunk is already deleted.Frederick Muriuki Muriithi
2025-01-21Add "original-name" and "uploaded-file" to all successful responses.•••Since both the original file name, and the final computed file name could (and do) find use after the upload has completed, include them in all the success messages. Frederick Muriuki Muriithi
2025-01-21Include chunk number in response.Frederick Muriuki Muriithi
2025-01-21If the target file exists, return true for all its chunk checks.Frederick Muriuki Muriithi
2025-01-21Extract target file path computation to a utility function.Frederick Muriuki Muriithi
2025-01-21Return a 201 status message when a chunk is uploaded•••Status 201 is returned for when a chunk is uploaded successfully, but the entire file is incomplete. Frederick Muriuki Muriithi
2025-01-17Make all responses JSON responses.Frederick Muriuki Muriithi
2025-01-15If file already exists, return success rather than failing.•••If user has already uploaded the file, simply return success, rather than failing. Frederick Muriuki Muriithi
2024-12-20Provide initial endpoints for chunked file uploads.Frederick Muriuki Muriithi