Commit graph

13 commits

Author SHA1 Message Date
Hayden
8ba954674e
feat: versioned migrations (#26)
* enable atlas migrations

* use embedded atlas migrations

* chores

* bad migration example

* tidy

* fix linter issues

* reset migration state

* sort slice before testing

* move temp write logic to migrations package
2022-09-27 20:26:44 -08:00
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
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
687282ca68 confirm casing 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
08d6c83fd4 update CI 2022-09-03 01:24:28 -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