Commit graph

130 commits

Author SHA1 Message Date
Hayden
343290a55a
refactor: repositories (#28)
* cleanup unnecessary mocks

* refactor document storage location

* remove unused function

* move ownership to document types to repo package

* move types and mappers to repo package

* refactor sets to own package
2022-09-27 15:52:13 -08:00
Hayden
31b34241e0
feat: item-attachments CRUD (#22)
* change /content/ -> /homebox/

* add cache to code generators

* update env variables to set data storage

* update env variables

* set env variables in prod container

* implement attachment post route (WIP)

* get attachment endpoint

* attachment download

* implement string utilities lib

* implement generic drop zone

* use explicit truncate

* remove clean dir

* drop strings composable for lib

* update item types and add attachments

* add attachment API

* implement service context

* consolidate API code

* implement editing attachments

* implement upload limit configuration

* improve error handling

* add docs for max upload size

* fix test cases
2022-09-24 11:33:38 -08:00
Hayden
6341aebe66 update docs 2022-09-14 09:35:23 -08:00
Hayden
1dc9d6396a setup docker volumes & versions 2022-09-13 21:15:01 -08:00
Hayden
0b92d57b85 embed version in binary 2022-09-13 20:06:07 -08:00
Hayden
ca36e3b080
fix: csv-importer (#10)
* update item fields to support import_ref

* add additional rows to CSV importer

* add CSV import documentation

* update readme

* update readme

* fix failed test
2022-09-12 20:54:30 -08:00
Hayden
95ab14b866
feat: items-editor (#5)
* format readme

* update logo

* format html

* add logo to docs

* repository for document and document tokens

* add attachments type and repository

* autogenerate types via scripts

* use autogenerated types

* attachment type updates

* add insured and quantity fields for items

* implement HasID interface for entities

* implement label updates for items

* implement service update method

* WIP item update client side actions

* check err on attachment

* finish types for basic items editor

* remove unused var

* house keeping
2022-09-12 14:47:27 -08:00
Hayden
7db55ef1a5 updates 2022-09-09 10:20:38 -08:00
Hayden
6263278ff5 ui cleanup 2022-09-08 22:05:23 -08:00
Hayden
a903880f82 initialize CSV Importer 2022-09-06 11:15:07 -08:00
Hayden
508e2e59bd
tests: improve repo package coverage (#3)
* refactor and add repo tests

* add CI name

* use atomic for test shutdown

* use go 1.19

* add timeout
2022-09-05 00:26:21 -08:00
Hayden
5f589f95b8 inject defaults + cleanup 2022-09-04 16:41:12 -08:00
Hayden
e159087e5f cleanup return 2022-09-04 16:41:12 -08:00
Hayden
194a90ccfb drop seeder and PSQL config 2022-09-04 16:41:12 -08:00
Hayden
ad4c8c9ab4 end-to-end testing setup 2022-09-03 18:42:03 -08:00
Hayden
68204a4f22 switch to zero log 2022-09-03 10:38:35 -08:00
Hayden
b33ef5f029 fix linter errors 2022-09-03 01:52:05 -08:00
Hayden
08d6c83fd4 update CI 2022-09-03 01:24:28 -08:00
Hayden
f4f7123073 items and location item count 2022-09-03 01:17:48 -08:00
Hayden
8ece3bd7bf labels create and get 2022-09-01 17:52:40 -08:00
Hayden
f956ec8eb2 label stubs 2022-09-01 15:11:14 -08:00
Hayden
26ecb5a9d4 move to nuxt 2022-09-01 14:32:03 -08:00
Hayden
c7cfb4335b location endpoints 2022-08-30 21:22:01 -08:00
Hayden
9583847f94 setup location repository 2022-08-30 19:21:18 -08:00
Hayden
682774c9ce cleanup user token access 2022-08-30 18:11:23 -08:00
Hayden
1107904f47 update data contract for users 2022-08-30 16:44:49 -08:00
Hayden
a9f53a4671 cleanup user implementation 2022-08-30 16:40:39 -08:00
Hayden
b83505104a align types with new db schema 2022-08-30 10:05:11 -08:00
Hayden
4c76f6b367 update imports 2022-08-29 18:40:54 -08:00
Hayden
29f583e936 Initial commit 2022-08-29 18:30:36 -08:00