Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2024-05-31 | Can now parse a return XLSX file | Matthew Lemon | 1 | -21/+20 | |
We can now submit a datamap.csv and a single return xlsx file using the following command, and get a Return JSON string back with the parsed date: `curl -X POST -F "file=@./datamap.csv" -F "returnfile=@./resources/test_two_sheets.xlsm" \ -F "name=bobbins" -F "description=This is a long description of the datamap." \ http://localhost:5000/v1/return` I have renamed the old test.xlsm file here to test_two_sheets.xlsm - having remove a sheet from the test.xlsm. I did this to ensure that the parsing handles multiple sheets which it does. Still a fair amount of clearning up here but if you run the server and send in this request, it works. | |||||
2024-05-29 | Some tidying | Matthew Lemon | 1 | -17/+16 | |
2024-04-20 | Nice refactoring | Matthew Lemon | 2 | -13/+36 | |
The FilePreparer interface is now nicer. | |||||
2024-04-20 | wip: bad implementation of unzip | Matthew Lemon | 2 | -0/+36 | |
2024-04-20 | wip: testing the file package interface | Matthew Lemon | 2 | -14/+35 | |
2024-04-19 | First parse of an Excel file | Matthew Lemon | 6 | -68/+386 | |
2024-04-12 | First test and first appearance of returns code | Matthew Lemon | 4 | -155/+319 | |
Test a function that gets all sheets from a datamap struct. A new function to handle a datamap and a return together in one POST request. | |||||
2024-04-12 | Completion of stateless API for datamap create | Matthew Lemon | 1 | -0/+1 | |
2024-04-12 | Adds back old JSON-based handler | Matthew Lemon | 1 | -0/+58 | |
2024-04-10 | Adds ability to save a single datamap to the database | Matthew Lemon | 3 | -9/+94 | |
2024-04-10 | First introduction of migrations using golang-migrate | Matthew Lemon | 2 | -6/+8 | |
2024-04-10 | Adds some database pool configuration and flags | Matthew Lemon | 1 | -1/+19 | |
2024-04-10 | Adds .env file with database dsn in it | Matthew Lemon | 1 | -1/+8 | |
2024-04-10 | Postgres implementation now set up and in containers - no tables yet | Matthew Lemon | 1 | -1/+37 | |
2024-04-10 | Adds docker compose config file and changes application port | Matthew Lemon | 1 | -1/+4 | |
2024-04-06 | Reorganises cmd/ structure for publication on pkg.go.dev | Matthew Lemon | 6 | -0/+0 | |
Adds key commands to Makefile | |||||
2024-04-06 | Adds the GPL clauses to main source code files | Matthew Lemon | 6 | -0/+102 | |
2024-03-13 | Changes the version | Matthew Lemon | 1 | -1/+1 | |
2024-03-13 | Handler for creating a datamapLine object | Matthew Lemon | 2 | -7/+21 | |
2024-03-13 | Implements our own errors | Matthew Lemon | 3 | -12/+46 | |
2024-03-13 | Adds errors file and dbasik.sql | Matthew Lemon | 1 | -0/+7 | |
2024-03-12 | Wraps the JSON response for healthcheck in an envelope | Matthew Lemon | 1 | -5/+7 | |
2024-03-12 | Wraps the JSON response in an envelope | Matthew Lemon | 2 | -2/+5 | |
2024-03-12 | wip: Indent the JSON | Matthew Lemon | 2 | -3/+43 | |
2024-03-12 | wip: full datamap struct is now converted to json | Matthew Lemon | 1 | -6/+16 | |
2024-03-12 | wip: returns the parsed csv as json | Matthew Lemon | 1 | -28/+34 | |
2024-03-12 | wip: writes contents of uploaded csv file to http.ResponseWriter | Matthew Lemon | 1 | -12/+28 | |
2024-03-12 | First implementation of csv upload | Matthew Lemon | 1 | -1/+33 | |
2024-03-11 | Implements the new writeJSON method | Matthew Lemon | 1 | -5/+1 | |
2024-03-11 | Adds a writeJSON helper | Matthew Lemon | 3 | -4/+50 | |
2024-03-11 | Adds first bit of JSON | Matthew Lemon | 1 | -3/+4 | |
2024-03-11 | Handles negative id | Matthew Lemon | 1 | -2/+1 | |