Commit Graph

164 Commits

Author SHA1 Message Date
Jake Walker
fba6d7817a add label generation api (#498)
* add label generation api

* show location name on labels

* add label scan page

* dispose of code reader when navigating away from scan page

* save label to png

* implement code suggestions

* fix label padding and margin

* update swagger docs

* add print from browser dialog

Co-authored-by: fidoriel <49869342+fidoriel@users.noreply.github.com>

* increase label description font weight

* update documentation label file suffix

* fix scanner components import

* fix linting issues

---------

Co-authored-by: fidoriel <49869342+fidoriel@users.noreply.github.com>
2025-02-08 21:26:16 -05:00
zebrapurring
b22a49a0fd feat: add search filter for items with no photo (#383)
* feat: add search filter for items without photos

* chore: configure Golang formatter for VSCode

* fix: displaying long filter labels for some locales

* feat: add search filter for items with photos

* test: fix linter errors

* chore: remove redundant height attribute

* fix: make with/without photo filters mutually exclusive

---------

Co-authored-by: zebrapurring <>
2025-01-27 23:00:24 +00:00
Matthew Kilgore
8ddf291c5d Run all the linters 2025-01-26 13:31:33 -05:00
Tonya
9cf244c933 Add a warning when the version does not match the latest release (#442)
Some checks failed
Docker publish rootless / build-rootless (push) Waiting to run
Docker publish / build (push) Waiting to run
Update Currencies / update-currencies (push) Waiting to run
Docker publish ARM / build (push) Has been cancelled
Docker publish rootless ARM / build-rootless (push) Has been cancelled
Dockerhub publish / build (push) Has been cancelled
2025-01-04 14:22:25 -05:00
EdWorth120
b6c4815dd1 When a location is requested by ID, sort its children location by name, it helps to organize the user interface. (#421)
Co-authored-by: Matt Kilgore <tankerkiller125@users.noreply.github.com>
2025-01-04 10:28:43 -05:00
Harrison Conlin
1a4e98ad2a add _time_format=sqlite parameter to SQLite URLs (#430) 2025-01-04 10:28:15 -05:00
Matt Kilgore
75b9c2f45b fix: missing migration 2024-12-26 18:36:28 +00:00
slid1amo2n3e4
beed55f322 Merge branch 'main' into parent-location-sync 2024-12-13 15:01:02 +01:00
zebrapurring
83c57ed9e6 fix: sorting for completed and scheduled maintenance entries (#384)
* fix: sorting for completed and scheduled maintenance entries

* Completed entries are sorted by descending completion date
* Scheduled entries are sorted by ascending scheduling date
* Selecting both entries shall sort them by scheduling and then completion date in descending order

* refactor: rewrite if-else as switch-case

---------

Co-authored-by: zebrapurring <>
2024-12-12 20:47:40 -05:00
slid1amo2n3e4
63eb287485 Make the tests pass, hopefully. 2024-12-10 18:48:49 +01:00
Nikolai K
2d2e3fe891 Improve filter for maintenances (#367)
Maintenances with completed date in the future should be in the scheduled tab
2024-12-02 14:23:37 -05:00
github-actions[bot]
bb58d7da9d Update currencies.json 2024-11-30 21:24:11 +00:00
Katos
8cb29c28ba Update currencies.json
Force a re-sync from API to allow for alphabetical sorting
2024-11-30 21:23:55 +00:00
Matt Kilgore
5e81e60106 fix: #289 Corrects the asset ID to always be correct for the description data. (#351) 2024-11-29 13:18:20 -05:00
Matt Kilgore
ab80805073 Merge branch 'main' into parent-location-sync 2024-10-28 15:51:31 -04:00
Michael Wayne
c2546f06d4 fix: ensure only one attachment is marked as primary (#287) 2024-10-16 20:39:17 -04:00
slid1amo2n3e4
f6d1f9c90d Fix 'should not use underscores in Go names' lint error 2024-10-08 22:31:05 +02:00
slid1amo2n3e4
17e7e24070 Implement syncing child's locations to that of parent. 2024-10-08 15:48:12 -04:00
Matt Kilgore
c6158e7c9e fix: javascript handles nulls in an incredibly stupid way. 2024-10-05 15:38:31 -04:00
Matt Kilgore
5d3698d0d8 chore: ente update things 2024-10-05 13:31:28 -04:00
Matt Kilgore
908bfb530e fix: API should expect actual floats now 2024-10-05 12:10:27 -04:00
Matt Kilgore
9d3f3cf1da fix: #232 wrap text fields for from and to fields for sold and purchased. 2024-10-04 14:38:29 -04:00
Matt Kilgore
da8cc19838 fix: #204 sets inline form inputs to use properties correctly, numbers now enforce correct format. 2024-10-04 14:24:35 -04:00
Matt Kilgore
a3d5485c1d fix: #147 notifier now shows previous input value 2024-10-04 13:49:36 -04:00
Maximilien Carbonne
ca85d4b483 simplify/factorize backend for maintenance 2024-09-27 21:38:27 +02:00
mcarbonne
55a9355046 fix "task go:all" (#238) 2024-09-23 14:50:02 -04:00
mcarbonne
a85c42b539 Implement maintenance view (#235)
* implement backend to query maintenances

* improve backend API for maintenances

* add itemId and itemName (v1/maintenances)

* fix remaining todo in backend (/v1/maintenances)

* refactor: extract MaintenanceEditModal

* first draft (to be cleaned)

* revert dependency updates (not required)

* translation + fix deletion

* fix main menu css issues

* fix main menu "create" button (css)

* enhancement: make item name clickable

* fix: add page title (+ translate existing ones)

* fix: missing toast translation (when updating)

* bug fix: missing group check in backend (for new endpoint)

* backport from following PR (to avoid useless changes)

* maintenances => maintenance
2024-09-23 13:07:27 -04:00
Oliver Larsson
593da25cdb fix: CSV export not including item notes (#180) 2024-08-28 19:44:37 -04:00
github-actions[bot]
42f3c88396 Update currencies.json (#143)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Kilgore <tankerkiller125@users.noreply.github.com>
2024-07-21 10:39:47 -04:00
Ryan Sheppard
01f54aeb52 Add URL column to CSV export for items (#141)
* feat: Add URL column to CSV export for items

Enhanced the CSV export functionality to include a URL field for each item. This change required updating the export logic to generate and include item URLs based on the request's referer header.

* chore: add URL configuration to V1Controller for dynamic URL handling in item export
2024-07-21 09:29:46 -04:00
github-actions[bot]
4d47567995 Update currencies.json 2024-07-14 16:21:40 +00:00
Katos
ea1d92207a Merge pull request #81 from sysadminsmedia/katos/currency
Update currencies to include more currencies
2024-06-30 16:24:10 +01:00
Katos
bcd826ed4f Merge pull request #70 from zebrapurring/negate-labels
Implement filter option for negated labels
2024-06-30 16:02:04 +01:00
Katos
499bb90b09 Update currencies to include more currencies 2024-06-30 15:50:16 +01:00
Katos
0f482aebad Merge pull request #42 from sysadminsmedia/katos/location-prices
Add total pricing to Homebox locations
2024-06-29 18:14:01 +01:00
e79905b608 Implement filtering feature to negate selected labels 2024-06-28 17:21:05 +02:00
icanc0
892635b5e8 fix(backend): moving to csv for consistency with import/export (#54) 2024-06-26 08:35:41 -04:00
Matt Kilgore
30abdd4d36 chore(backend): removed extra unneeded property to pagination 2024-06-22 16:15:22 -04:00
Katos
2292d72802 Update repo_locations 2024-06-22 17:16:32 +01:00
Katos
a8d21f0465 Add totalprice to pagination 2024-06-22 17:16:32 +01:00
Matt Kilgore
c844fcd185 ci: update cd/cd build processes for docker (#22)
* ci: update cd/cd build processes for docker

* chore(backend): update go namespaces
2024-06-18 21:17:23 -04:00
Matthew Kilgore
0980ee41cf chore(backend): update go namespaces 2024-06-18 19:22:51 -04:00
Spreadcat
0041c277ad Add currency "norwegian krones" (#836)
* add: norwegian kroner

Adding the currency of norwegian krones back into the file. There was an earlier commit where this seems to have dropped of the table.

* fix: using the correct terms for the currency.
2024-03-12 14:48:51 -08:00
Hayden
f621d3ad5d fix blocking error during startup when in demo mode (#838) 2024-03-05 06:44:43 -09:00
Hayden
2867a05c92 chore: bump http kit (#817)
* use new httpkit runner

* refactor out last httpkit changes

* fix timeout defaults

* fix wrong time input - closes #819
2024-03-01 15:07:03 -09:00
Hayden
4c9ddac395 fix: date picker improvements (#793)
* use vue component for date picker

* zero out database fields even when set to 0001-xx-xx

* fix wrong datetime display + improved datepicker

* fix ts error

* zero out times

* add date-fns to dependencies
2024-02-29 09:58:26 -09:00
Hayden
c708b1759e fix: profile bugs and add full path (#792)
* fix template rendering

* tidy

* fix missing currencies and profile errors

* endpoint for fullpath of an item

* endpoint test

* fix assertions
2024-02-25 13:04:24 -09:00
LINKIWI
893f3f6df6 chore: Enable gofmt in linter, fix all outstanding errors (#727)
Former-commit-id: 1d9477f510bb2d6ada4b720933f113f24c25913e
Former-commit-id: b22ff272ca37181c93c6e83db8f1e1e67a767ebd
2024-01-27 18:29:10 -09:00
zebrapurring
84aee20208 feat: enable search by serial number or model number (#677)
Co-authored-by: zebrapurring <>
Former-commit-id: f2f780936066eb5bb3dbbdbe0d0f9ef319662e73
2024-01-18 10:46:40 -09:00
Hayden
2b79788fbe feat: user defined currencies (#700)
* basic currency service for loading at runtime

* api endpoint for currencies

* sort slice before return

* remove currency validation

* validate using currency service

* implement selecting dynamic currency options

* bump go version

* fix type definition

* specify explicit type

* change go versions

* proper types for assetId

* log/return currency error

* make case insensative

* use ToUpper instead

* feat: adding new currencies (#715)

* fix: task swag (#710)

Co-authored-by: Quoing <pavel.cadersky@mavenir.com>

* [feat] Adding new currencies

---------

Co-authored-by: quoing <quoing@users.noreply.github.com>
Co-authored-by: Quoing <pavel.cadersky@mavenir.com>
Co-authored-by: Bradley <41597815+userbradley@users.noreply.github.com>

* remove ts file and consoldate new values into json

* move flag to options namespace

* add env config for currencies

* basic documentaion

* remove in sync test

---------

Co-authored-by: quoing <quoing@users.noreply.github.com>
Co-authored-by: Quoing <pavel.cadersky@mavenir.com>
Co-authored-by: Bradley <41597815+userbradley@users.noreply.github.com>
Former-commit-id: c4b923847a1b695dcddd1b346adcccfd3f3ce706
2024-01-18 10:45:42 -09:00