Commit graph

260 commits

Author SHA1 Message Date
Hayden
0c90b05dca
feat: add roles, activation, superuser fields on user (#38) 2022-10-09 09:44:13 -08:00
Hayden
a6d2fd45df
feat: change password (#35)
* refactor: implement factories for testing

* add additional factories

* change protection for dropFields

* prevent timed attacks on login

* use switch instead of else-if

* API implementation for changing password

* add change-password dialog
2022-10-09 09:23:21 -08:00
Hayden
a6e3989aee
fix: ui/ux issues (#34)
* fix select first bug for creation

* add link to header

* fix date and display errors

* drop group name requirement
2022-10-09 05:03:24 -08:00
Hayden
79f7ad40cb
feat: user profiles (#32)
* add user profiles and theme selectors

* lowercase buttons by default

* basic layout

* (wip) init token APIs

* refactor server to support variable options

* fix types

* api refactor / registration tests

* implement UI for url and join

* remove console.logs

* rename repository factory

* fix upload size
2022-10-06 21:54:09 -05:00
Hayden
1ca430af21
chores/general-cleanup-release-prep (#31)
* do ent generation

* update edges

* fix redirect
2022-09-28 21:42:33 -08:00
dependabot[bot]
8a43fc953d
fix(deps): bump entgo.io/ent from 0.11.2 to 0.11.3 in /backend (#30)
Bumps [entgo.io/ent](https://github.com/ent/ent) from 0.11.2 to 0.11.3.
- [Release notes](https://github.com/ent/ent/releases)
- [Commits](https://github.com/ent/ent/compare/v0.11.2...v0.11.3)

---
updated-dependencies:
- dependency-name: entgo.io/ent
  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-28 16:54:40 -08:00
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
2e82398e5c
chore: cleanup (#27)
* implement password score UI and functions

* update strings tests to use `test`instead of `it`

* update typing

* refactor login/register UI+Logic

* fix width on switches to properly display

* fetch and store self in store

* (WIP) unify card styles

* update labels page

* bump nuxt

* use form area

* use text area for description

* unify confirm API

* unify UI around pages

* change header background height
2022-09-25 14:33: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
852d312ba7 fix docker run code 2022-09-14 10:45:37 -08:00
Hayden
a3de84ba7b update readme 2022-09-14 10:32:12 -08:00
Hayden
6a8972e20d type img tag 2022-09-14 09:45:23 -08:00
Hayden
1f29cabf50 update readme 2022-09-14 09:43:55 -08:00
Hayden
07284b1c69 update todos 2022-09-14 09:39:52 -08:00
Hayden
6341aebe66 update docs 2022-09-14 09:35:23 -08:00
Hayden
84144d823d update todos 2022-09-13 21:17:13 -08:00
Hayden
09eb9c6ce4 update status 2022-09-13 21:16:00 -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
90813abf76
fix(frontend): fix mis-matched state errors (#9)
implenmented a store for each global item and tied it to an event bus and used the listener on the requests object to intercept responses from the API and run the appripriate get call when updates were detected.
2022-09-12 19:36:22 -08:00
Hayden
724495cfca merge docs into publish 2022-09-12 14:50:10 -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
fbc364dcd2
Update issue templates 2022-09-12 14:43:19 -08:00
Hayden
75c633dcb5
frontend: cleanup
* dummy commit

* cleanup workflows

* setup and run eslint

* add linter to CI

* use eslint for formatting

* reorder rules

* drop editor config
2022-09-09 14:46:53 -08:00
Hayden
78fa714297 add PR workflow 2022-09-09 13:14:31 -08:00
Hayden
870f25b09a update todos 2022-09-09 13:12:54 -08:00
Hayden
ae33980ca5 update demo link 2022-09-09 13:07:27 -08:00
Hayden
14e0eeba9d Add links 2022-09-09 13:04:24 -08:00
Hayden
6e0c3d98b9 update todo's 2022-09-09 13:02:23 -08:00
Hayden
9da4a82788 init docs 2022-09-09 12:57:44 -08:00
Hayden
79d256b761 workflow and repo cleanup 2022-09-09 11:34:19 -08:00
Hayden
89591b2c60 add auto deploy to fly.io 2022-09-09 11:12:25 -08:00
Hayden
f4609a8110 another one 2022-09-09 11:00:55 -08:00
Hayden
1efb675125 update workflows 2022-09-09 10:57:13 -08:00
Hayden
858bfb5a40 reusable workflows? 2022-09-09 10:49:51 -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
bf2ad30609 update build process 2022-09-08 15:49:06 -08:00
Hayden
de8fb2033d sp 2022-09-08 15:45:13 -08:00
Hayden
2bfabe6cc6 fix directory 2022-09-08 15:14:28 -08:00
Hayden
6ca7f69fff container workflow 2022-09-08 15:09:26 -08:00
Hayden
e78849b750 update readme 2022-09-08 15:01:16 -08:00
Hayden
ad2bcd84f3 implement date picker 2022-09-06 21:58:59 -08:00
Hayden
863adbd106 update todo list 2022-09-06 11:37:53 -08:00
Hayden
a903880f82 initialize CSV Importer 2022-09-06 11:15:07 -08:00
Hayden
1ab7435bf1 lots of stuff 2022-09-06 10:32:13 -08:00