Commit Graph

9 Commits

Author SHA1 Message Date
Carlos Valente 8c740b7111 Feat/excel (#45)
* add dependency

adding dependency to parse the excel file in the node side

* import file

ability to import file
- add extension
- safeguard file type and size

* user is able to upload json or excel

* chore: extract logic into self contained function

* associate model with version

* test id generation

* parse excel data

* prevent UI crash on bad data

* extract validation into self contained function

* chore: add more tests for bad data

* config: stop from opening browser on start

* fix comma in sample db

* handle corrupt files

* error boundary around main components

* jsdocs

* increase id length

* parse excel time string

* feat: excel parsing

* validate json db before import

* chore: test event validator

* feat: make function to clean convert strings

* chore: test parser

* chore: jsdocs

* fix: bug on upload

prevent bug where the component would prevent upload of same file twice
2021-11-24 22:07:31 +01:00
cv 6b5fb186cc feat: post info 2021-10-27 22:51:52 +02:00
cv 541117b31b chore: cleanup logs 2021-10-24 20:51:39 +02:00
Carlos Valente 2cd28edbf9 Merge branch 'master' into feat/info 2021-06-13 14:34:20 +02:00
cv 17ddfb535f network info 2021-06-13 14:17:55 +02:00
cv 560ae5be74 feat: upload file 2021-06-06 22:25:23 +02:00
cv 5934166906 get name from header
- attempt getting name from header. will depend on security policies
2021-05-28 13:51:34 +02:00
cv e891e7a538 feat: upload file 2021-05-27 23:00:32 +02:00
cv f887817a68 setup router + tidy up 2021-05-27 22:56:49 +02:00