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
dependabot[bot]
b34cb2bbeb
fix(deps): bump github.com/swaggo/swag from 1.8.5 to 1.8.6 in /backend ( #23 )
...
Bumps [github.com/swaggo/swag](https://github.com/swaggo/swag ) from 1.8.5 to 1.8.6.
- [Release notes](https://github.com/swaggo/swag/releases )
- [Changelog](https://github.com/swaggo/swag/blob/master/.goreleaser.yml )
- [Commits](https://github.com/swaggo/swag/compare/v1.8.5...v1.8.6 )
---
updated-dependencies:
- dependency-name: github.com/swaggo/swag
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-25 13:29:37 -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
ab376134b9
handle parse form error
2022-09-09 10:22:51 -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
e73206875a
testing + small fixes
2022-09-04 16:41:12 -08:00
Hayden
5f589f95b8
inject defaults + cleanup
2022-09-04 16:41:12 -08:00
Hayden
efcfbf8c21
rename db
2022-09-04 16:41:12 -08:00
Hayden
687282ca68
confirm casing
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
c2613a03ca
define constants at the top
2022-09-04 16:41:12 -08:00
Hayden
61483c3ea4
encapsulate notFoundHandler
2022-09-04 16:41:12 -08:00
Hayden
7ccd48ad79
ci: end-to-end CI testing ( #1 )
...
* do end-to-end testing
* set node version
* build then start
* remove test restrictions
* panic if mime type fails
* use timeout
2022-09-03 19:06:55 -08:00
Hayden
ad4c8c9ab4
end-to-end testing setup
2022-09-03 18:42:03 -08:00
Hayden
b4eb7d8ddc
tidy
2022-09-03 10:45:52 -08:00
Hayden
10f5da4727
comment out admin mw
2022-09-03 10:40:25 -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
9501eb398a
update error handlers
2022-08-30 16:40:27 -08:00
Hayden
5471cb16ff
logger
2022-08-30 16:07:05 -08:00
Hayden
b83505104a
align types with new db schema
2022-08-30 10:05:11 -08:00
Hayden
63cfeffc4d
generate database schemas
2022-08-30 10:04:50 -08:00
Hayden
4c76f6b367
update imports
2022-08-29 18:40:54 -08:00
Hayden
43eba5437a
drop cli and bump deps
2022-08-29 18:34:27 -08:00
Hayden
29f583e936
Initial commit
2022-08-29 18:30:36 -08:00