1
0
Fork 1
mirror of https://github.com/hay-kot/homebox.git synced 2024-12-22 06:46:32 +00:00
Commit graph

193 commits

Author SHA1 Message Date
Hayden
de419dc37d
feat: auth-roles, image-gallery, click-to-open ()
* schema changes

* db generate

* db migration

* add role based middleware

* implement attachment token access

* generate docs

* implement role based auth

* replace attachment specific tokens with gen token

* run linter

* cleanup temporary token implementation
2022-12-03 10:55:00 -09:00
Hayden
974d6914a2
feat: markdown support ()
* initial markdown support via markdown-it

* sanitize markup

* remove pre-padding

* fix linter errors
2022-12-02 16:12:32 -09:00
Steven Nguyen
d2aa022347
Fix typo in documentation (import-csv.md) ()
* Fix typo in .csv header snippet

Import RefLocation -> ImportRef Location

* Convert space to tab in header snippet
2022-12-02 15:02:59 -09:00
Hayden
6af048dc93
feat: present loc/labels based on route () 2022-12-01 18:21:49 -09:00
Hayden
73c42f4784
fix: assign extension if not set () 2022-12-01 18:10:50 -09:00
Hayden
f42a917390
feat: add tsv support for import files ()
* feat: add tsv support for import files

* add note in docs
2022-12-01 18:06:47 -09:00
Hayden
f149c3e4ab
feat: include notes in search () 2022-12-01 17:32:11 -09:00
Hayden
1dc1ee54e2
feat: chinese-currency ()
* run updated code gen

* feat: add RMB currency support
2022-12-01 16:45:28 -09:00
dependabot[bot]
e8f215ce34
fix(deps): bump github.com/swaggo/swag from 1.8.7 to 1.8.8 in /backend ()
Bumps [github.com/swaggo/swag](https://github.com/swaggo/swag) from 1.8.7 to 1.8.8.
- [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.7...v1.8.8)

---
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-11-24 14:29:43 -09:00
dependabot[bot]
1aafbcd201
fix(deps): bump entgo.io/ent from 0.11.3 to 0.11.4 in /backend ()
Bumps [entgo.io/ent](https://github.com/ent/ent) from 0.11.3 to 0.11.4.
- [Release notes](https://github.com/ent/ent/releases)
- [Commits](https://github.com/ent/ent/compare/v0.11.3...v0.11.4)

---
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-11-24 14:29:36 -09:00
Hayden
6dc2ae1bea
feat: asset tags/ids ()
* add schema

* run db migration

* bulk seed asset IDs

* breaking: update runtime options

* conditionally increment asset IDs

* update API endpoints

* fix import asset id assignment

* refactor display + marshal/unmarshal

* add docs page

* add to form field

* hide 000-000 values

* update ENV vars
2022-11-13 14:17:55 -09:00
Hayden
976f68252d
feat: add INR currency and sort currencies () 2022-11-12 14:54:24 -09:00
Hayden
8e1947d971
fix: conditionally filter parent locations () 2022-11-02 11:54:43 -08:00
Hayden
fbcbde836a
hotfix: search default 2022-11-01 21:59:57 -08:00
Hayden
b7aacb3cde
feat: encode search into url ()
* route query helper

* encode search parameters into url
2022-11-01 21:58:46 -08:00
Hayden
b6b2a2d889
feat: add currencies (NOK, SEK, DKK) () 2022-11-01 15:10:48 -08:00
Hayden
592d4eda55
feat: filter items with parents on homepage () 2022-11-01 15:10:30 -08:00
Hayden
2fb5a437a2
feat: add additional currencies ()
Add additional currencies and ensure Frontend/Backend currencies are synched via testing
2022-11-01 14:16:22 -08:00
Hayden
7e0f1fac23
feat: group statistics endpoint ()
* group statistics endpoint

* remove item store

* return possible errors

* add statistics tests
2022-11-01 13:58:05 -08:00
Hayden
a886fa86ca
feat: add archive item options ()
Add archive option feature. Archived items can only be seen on the items page when including archived is selected. Archived items are excluded from the count and from other views
2022-10-31 23:30:42 -08:00
Hayden
c722495fdd
feat: redirect to item on create ()
* redirect on create

* change to text area
2022-10-31 19:07:01 -08:00
Hayden
4a9d21d604
fix: time-format-inconsistency ()
* fix off by one date display

* display dates in consistent format

* use token or ci
2022-10-31 18:43:30 -08:00
Hayden
cd82fe0d89
refactor: remove empty services ()
* remove empty services

* remove old factory

* remove old static files

* cleanup more duplicate service code

* file/folder reorg
2022-10-29 20:05:38 -08:00
Hayden
6529549289
refactor: http interfaces ()
* implement custom http handler interface

* implement trace_id

* normalize http method spacing for consistent logs

* fix failing test

* fix linter errors

* cleanup old dead code

* more route cleanup

* cleanup some inconsistent errors

* update and generate code

* make taskfile more consistent

* update task calls

* run tidy

* drop `@` tag for version

* use relative paths

* tidy

* fix auto-setting variables

* update build paths

* add contributing guide

* tidy
2022-10-29 18:15:35 -08:00
dependabot[bot]
e2d93f8523
fix(deps): bump github.com/mattn/go-sqlite3 in /backend ()
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.15 to 1.14.16.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.15...v1.14.16)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
  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-10-29 18:11:23 -08:00
Hayden
82269e8a95 clean logs 2022-10-25 11:24:19 -08:00
Hayden
4aee60c242 update frontend output 2022-10-25 09:17:31 -08:00
Hayden
d151d42081
feat: debug-endpoints ()
* reorg + pprof endpoints

* fix spacing issue

* fix generation directory
2022-10-24 18:24:18 -08:00
Hayden
a4b4fe3454
feat: allow nested relationships for locations and items ()
Basic implementation that allows organizing Locations and Items within each other.
2022-10-23 20:54:39 -08:00
dependabot[bot]
fe6cd431a6
fix(deps): bump github.com/stretchr/testify in /backend ()
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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-10-23 20:40:21 -08:00
andrew-busbee
1f0c8d09c2
docs: typo quick-start.md ()
Small typo
2022-10-20 22:39:50 -08:00
Hayden
2d34557f69
feat: link implementation ()
* link implementation

* add docs for links

* use btn instead of badge
2022-10-19 21:31:08 -08:00
dependabot[bot]
97a34475c8
fix(deps): bump github.com/swaggo/swag from 1.8.6 to 1.8.7 in /backend ()
Bumps [github.com/swaggo/swag](https://github.com/swaggo/swag) from 1.8.6 to 1.8.7.
- [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.6...v1.8.7)

---
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-10-18 21:47:46 -08:00
Hayden
18488f5b15
refactor: cleanup-api-functions ()
* cleanup items endpoints

* refactor group routes

* refactor labels routes

* remove old partial

* refactor location routes

* formatting

* update names

* cleanup func

* speedup test runner with disable hasher

* remove duplicate code
2022-10-16 18:50:44 -08:00
Hayden
434f1fa411 add support for custom text fields 2022-10-15 21:41:27 -08:00
Hayden
57f9372e49
feat: add receipt support for attachments ()
* add receipt support for attachments

* fix show logic
2022-10-15 19:45:36 -08:00
Hayden
dbaaf4ad0a
fix import bug and add ref support ()
* fix import bug and add ref support

* fix calls

* add docs
2022-10-15 17:46:57 -08:00
Hayden
5596740cd2
fix: selector value binding () 2022-10-15 13:56:08 -08:00
Hayden
bb86a51b05
feat: order labels and locations by name ()
* order labels and locations by name

* sort items
2022-10-15 13:29:33 -08:00
Hayden
72bdf524c2
chore: init dev container () 2022-10-15 12:56:58 -08:00
Hayden
461be2afca
feat: currency selection support ()
* initial UI for currency selection

* add task to purge invitation tokens

* group API contracts

* fix type import

* use auth middleware

* add currency setting support (UI)

* use group settings for format currency

* fix casing
2022-10-15 12:15:55 -08:00
Hayden
1cc38d6a5c
Create FUNDING.yml 2022-10-15 11:24:09 -08:00
Motordom
50bd2ab86e
fix: consistency changes to item pages ()
Changes to the item index.vue and edit.vue pages to resolve spelling differences between the two
2022-10-14 21:03:46 -08:00
Motordom
5adb8fbad7
chore: update issue templates ()
Update capitalisation on descriptions, and added corresponding labels.
2022-10-14 21:02:34 -08:00
Hayden
dea2dcfde8
feat: allow disable registration () 2022-10-14 14:02:16 -08:00
Hayden
ba8367f637
fix: compose example () 2022-10-14 13:40:27 -08:00
Motordom
b87cdc8164
fix(s): spelling mistakes, and external link handling on login page ()
* Fix spelling mistake

Fix spelling mistake, changed 'Mode Number' to 'Model Number'

* Update external links on login page

Updated the external links on the login page for Discord and application docs to open in new tabs/windows.

* Fix spelling mistake on items page

Fix spelling mistake, changed second incorrect occurrence of 'Labels' to 'Locations'
2022-10-14 08:30:23 -08:00
Hayden
0f51e51f63 set fly.io build args 2022-10-13 17:12:35 -08:00
Hayden
1279028d07 fix build injection 2022-10-13 17:01:18 -08:00
Hayden
84bf67079b
feat: show app version ()
* add version and build to homepage view

* add version to profile
2022-10-13 16:49:29 -08:00