Add date to file uploads #71

Merged
eliribble merged 10 commits from feature/add-file-date into main 2026-07-09 00:29:02 +00:00
Member

Adds a date column to fileupload.file tracking when file data is valid, as opposed to created (when uploaded). Users set this at upload time via a date picker. Migration adds DATE column. Closes #69

Adds a date column to fileupload.file tracking when file data is valid, as opposed to created (when uploaded). Users set this at upload time via a date picker. Migration adds DATE column. Closes #69
ned self-assigned this 2026-07-08 22:52:45 +00:00
feat: add date to file uploads
Some checks failed
/ golint (push) Failing after 49s
f0d2af0de9
Adds a new date column to fileupload.file that tracks when the data
within the file is valid, as opposed to created (when the file was
uploaded to the system). Users can set this date at upload time.

- Migration 00163: adds date DATE NOT NULL DEFAULT CURRENT_DATE
- Go model, Jet table: Date field and column definitions
- Platform/file: Upload struct gains Date field, SaveFileUploads
  extracts date from multipart form value, defaults to today
- Platform/upload: NewUpload parses date string and passes to model
  at insert time; response struct includes Date for API consumers
- Vue UI: CSVUpload component shows a date picker defaulting to
  today when a file is selected, sends it as the 'date' form field

Closes #69
Ned doesn't know how to do it.
Just cruft from when I wrote these files.
Even though I'm not going to use it, just wrote it thinking I would.
I've moved the condition to a new object, so I can't pass it through and
I'll have to re-address how to do all of this.
Fix up compile errors from new stadia feature layer
Some checks failed
/ golint (push) Failing after 55s
2d21d84d3d
I gave it too much to do.
Bit of cleanup
Some checks failed
/ golint (push) Failing after 1m6s
3b9f025fbf
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Gleipnir/nidus-sync!71
No description provided.