aboutsummaryrefslogtreecommitdiff
path: root/uploader
AgeCommit message (Expand)Author
9 daysUse sanitised names derived from original names.Frederick Muriuki Muriithi
9 daysMake filename hashing optional.Frederick Muriuki Muriithi
9 daysImprove UI for job-status page.Frederick Muriuki Muriithi
9 daysReuse common job-creation code.Frederick Muriuki Muriithi
9 daysProcess form contents into a zip bundle.Frederick Muriuki Muriithi
9 daysPass both original name and uploaded name onward for processing.Frederick Muriuki Muriithi
9 daysAdd "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
9 daysSubmit form: send data to server for processing.Frederick Muriuki Muriithi
9 daysAssign returned names to file-input names...When using the chunked upload process, the final file names are returned as part of the response indicating successful upload of all the chunks and the merging of the chunks into a single file. The name of the final uploaded file is used in place of the file object that would otherwise have been uploaded. Frederick Muriuki Muriithi
9 daysInclude chunk number in response.Frederick Muriuki Muriithi
9 daysIf the target file exists, return true for all its chunk checks.Frederick Muriuki Muriithi
9 daysExtract target file path computation to a utility function.Frederick Muriuki Muriithi
9 daysReturn 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
9 daysTrack what file is uploaded...Provide the related file input's name together with the success message in order to track which uploaded file is related to each of the different file types. Frederick Muriuki Muriithi
13 daysUI: Don't overflow the data previews elements...Ensure that the preview data does not overflow the preview elements. Frederick Muriuki Muriithi
13 daysMake all responses JSON responses.Frederick Muriuki Muriithi
2025-01-15Provide a means to submit the data....Currently, it's just a dummy function i.e. does not actually submit the data. Frederick Muriuki Muriithi
2025-01-15fixup: Check that all files are provided and there're no duplicates.Frederick Muriuki Muriithi
2025-01-15Only create the necessary objects....Some of the file input elements might not exist in the form, therefore, only show uploader for those that do. Frederick Muriuki Muriithi
2025-01-15Check that all files are provided and there're no duplicates.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
2025-01-15Remove display elements for existing files...Remove the display elements for any previously existing files. This ensures that when a file is added/removed, only the actual files that exist are displayed. Frederick Muriuki Muriithi
2025-01-15Disable "Upload Phenotypes" button on click; reenable on error....Disable the button when the user clicks the button, and only re-enable it iff an upload error occurs. Frederick Muriuki Muriithi
2025-01-15Allow non-expiring JWTs...The authorisation server was updated to return non-expiring JWTs, so this particular client needs to allow for such. Frederick Muriuki Muriithi
2025-01-06Activate resumable UIs.Frederick Muriuki Muriithi
2025-01-06Add resumable UI elements for all file inputs.Frederick Muriuki Muriithi
2025-01-06Generalise creation of resumable objects.Frederick Muriuki Muriithi
2025-01-06Add note that no event is passed.Frederick Muriuki Muriithi
2025-01-06Trigger preview when user drops file on the resumable element.Frederick Muriuki Muriithi
2025-01-06Rename function for consistency...Use CamelCasing for function names. Frederick Muriuki Muriithi
2025-01-06Make the preview updater more generic...Build the preview-updater in a function call to ease maintenance. Frederick Muriuki Muriithi
2025-01-06Use explicit names for variables to ease maintenance...Give the variables names that indicate what they are used for. Frederick Muriuki Muriithi
2025-01-06Pass in file object rather than file-input element...To make this reusable even in scenarios where a file-input element does not exist or cannot be updated, pass in the file object itself rather than a file-input element. Frederick Muriuki Muriithi
2025-01-06Fix labels 'for' attributeFrederick Muriuki Muriithi
2024-12-20Activate initial PoC for chunked uploads.Frederick Muriuki Muriithi
2024-12-20Provide URI for the POST endpoint for chunked uploads.Frederick Muriuki Muriithi
2024-12-20Add javascript to handle resumable, chunked file uploads.Frederick Muriuki Muriithi
2024-12-20Provide initial endpoints for chunked file uploads.Frederick Muriuki Muriithi
2024-12-20Retain a consistent naming scheme for functions....* Create a temporary fix to bridge the change. Frederick Muriuki Muriithi
2024-12-20Separate generic functions from chunking functionsFrederick Muriuki Muriithi
2024-12-19Make files into a module of its own.Frederick Muriuki Muriithi
2024-12-17Handle non-existent values correctly.Frederick Muriuki Muriithi
2024-12-17Update the previews on changing values and/or files.Frederick Muriuki Muriithi
2024-12-17Trigger 'change' event on resetting value(s) to default.Frederick Muriuki Muriithi
2024-12-17Import files.js to get access to 'read_first_n_lines' function.Frederick Muriuki Muriithi
2024-12-17Add function to read first 'n' lines of file as text.Frederick Muriuki Muriithi
2024-12-17Add function to update a preview table.Frederick Muriuki Muriithi
2024-12-17Display preview UI elements.Frederick Muriuki Muriithi
2024-12-17Add template for tables to preview files' parsing.Frederick Muriuki Muriithi
2024-12-17Move common sidebar contentFrederick Muriuki Muriithi