aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
17 hoursMake filename hashing optional.Frederick Muriuki Muriithi
17 hoursImprove UI for job-status page.Frederick Muriuki Muriithi
18 hoursReuse common job-creation code.Frederick Muriuki Muriithi
19 hoursProcess form contents into a zip bundle.Frederick Muriuki Muriithi
20 hoursPass both original name and uploaded name onward for processing.Frederick Muriuki Muriithi
20 hoursAdd "original-name" and "uploaded-file" to all successful responses.Frederick Muriuki Muriithi
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.
21 hoursSubmit form: send data to server for processing.Frederick Muriuki Muriithi
21 hoursAssign returned names to file-input namesFrederick Muriuki Muriithi
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.
21 hoursInclude chunk number in response.Frederick Muriuki Muriithi
21 hoursIf the target file exists, return true for all its chunk checks.Frederick Muriuki Muriithi
21 hoursExtract target file path computation to a utility function.Frederick Muriuki Muriithi
21 hoursReturn a 201 status message when a chunk is uploadedFrederick Muriuki Muriithi
Status 201 is returned for when a chunk is uploaded successfully, but the entire file is incomplete.
21 hoursTrack what file is uploadedFrederick Muriuki Muriithi
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.
5 daysUI: Don't overflow the data previews elementsFrederick Muriuki Muriithi
Ensure that the preview data does not overflow the preview elements.
5 daysMake all responses JSON responses.Frederick Muriuki Muriithi
7 daysProvide a means to submit the data.Frederick Muriuki Muriithi
Currently, it's just a dummy function i.e. does not actually submit the data.
7 daysfixup: Check that all files are provided and there're no duplicates.Frederick Muriuki Muriithi
7 daysOnly create the necessary objects.Frederick Muriuki Muriithi
Some of the file input elements might not exist in the form, therefore, only show uploader for those that do.
7 daysCheck that all files are provided and there're no duplicates.Frederick Muriuki Muriithi
7 daysIf file already exists, return success rather than failing.Frederick Muriuki Muriithi
If user has already uploaded the file, simply return success, rather than failing.
7 daysRemove display elements for existing filesFrederick Muriuki Muriithi
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.
7 daysDisable "Upload Phenotypes" button on click; reenable on error.Frederick Muriuki Muriithi
Disable the button when the user clicks the button, and only re-enable it iff an upload error occurs.
7 daysAllow non-expiring JWTsFrederick Muriuki Muriithi
The authorisation server was updated to return non-expiring JWTs, so this particular client needs to allow for such.
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 consistencyFrederick Muriuki Muriithi
Use CamelCasing for function names.
2025-01-06Make the preview updater more genericFrederick Muriuki Muriithi
Build the preview-updater in a function call to ease maintenance.
2025-01-06Use explicit names for variables to ease maintenanceFrederick Muriuki Muriithi
Give the variables names that indicate what they are used for.
2025-01-06Pass in file object rather than file-input elementFrederick Muriuki Muriithi
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.
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.Frederick Muriuki Muriithi
* Create a temporary fix to bridge the change.
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
2024-12-16Use January as default monthFrederick Muriuki Muriithi
Sometimes, the publication date only contains the year.