Michael Wayne
c2546f06d4
fix: ensure only one attachment is marked as primary ( #287 )
2024-10-16 20:39:17 -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
Katos
bcd826ed4f
Merge pull request #70 from zebrapurring/negate-labels
...
Implement filter option for negated labels
2024-06-30 16:02:04 +01:00
e79905b608
Implement filtering feature to negate selected labels
2024-06-28 17:21:05 +02: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
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
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
Hayden
03df23d97c
fix: inaccruate 401 & sql busy error ( #679 )
...
* fix inaccruate 401 error on SQL db error
* init golangci-lint config
* linter autofix
* testify auto fixes
* fix sqlite busy errors
* fix naming
* more linter errors
* fix rest of linter issues
Former-commit-id: e8449b3a73
2024-01-04 08:55:26 -09:00
Hayden
1cc9bf459a
fix: ensure rows are closed ( #670 )
...
Former-commit-id: 85c8e47016
2023-12-15 18:07:17 -09:00
Hayden
81e76d9dd4
fix/feat: primary photo auto set and auto-set primary photo ( #651 )
...
* fix error when item doesn't have photo attachment
* automatically detect image types and set primary photo if first
* remove charts.js from libs
Former-commit-id: 321a83b634
2023-12-01 08:57:29 -09:00
Hayden
df26a3eeb7
fix: allow zeroing out asset ids ( #624 )
...
Former-commit-id: 8cc0f30291
2023-11-15 18:46:47 -09:00
Hayden
798d873f76
fix: images in child items ( #623 )
...
* support parentID search
* fetch images for item children
Former-commit-id: afbc6a49ac
2023-11-15 18:41:24 -09:00
Hayden
79be938531
feat: expose timeout variables ( #622 )
...
* expose timeout variables
* formatting
Former-commit-id: eeae790fe4
2023-11-15 18:17:43 -09:00
Hayden
ba2e66a014
fix: filepath sep on windows ( #615 )
...
Former-commit-id: b408318acb
2023-11-15 17:43:44 -09:00
Hayden
1adf24e109
chore: bump all go dependencies ( #614 )
...
* bump all
* code-generation
Former-commit-id: c0e8e34065
2023-11-15 17:30:49 -09:00
Hayden
742ece7923
chore: rewrite generator to resolve strange name generation ( #612 )
...
* rewrite generator to resolve strange name generation
* fix asset id types
* ignore errored types
* remove depreciated calls
* use more random words
* random user
Former-commit-id: 4738a9b131
2023-11-15 17:19:51 -09:00
Hayden
b20c88e256
feat: primary images ( #576 )
...
* add support for primary images
* fix locked loading state issue
* add action to auto-set images
Former-commit-id: 318b8be192
2023-10-06 18:51:08 -08:00
Hayden
9bee6e9863
pr: fixed incorrect sum of the total items price ( #568 )
...
* Fixed incorrect sum of the total items price
https://github.com/hay-kot/homebox/issues/458
* fix eslint errors
---------
Co-authored-by: Adamko <33964772+cRaZy92@users.noreply.github.com >
Former-commit-id: f13bf2958d
2023-10-06 12:50:55 -08:00
tctlrd
0b021e898f
feat: add currencies XAG and XAU ( #535 )
...
* Added currencies XAG and XAU to currency.ts
I added XAG and XAU for myself and others who prefer to measure value with something of substance.
Review the ISO 4217 standard to view a full list of official currency codes including the ones I have added.
https://www.iso.org/iso-4217-currency-codes.html
https://en.wikipedia.org/wiki/ISO_4217
Example:
https://www.xe.com/currencyconverter/convert/?Amount=100&From=XAG&To=USD
API for exchange rates:
https://openexchangerates.org/
* Added field values xag and xau to group.go
* Update group.go
Former-commit-id: 5438898b49
2023-08-23 09:29:22 -08:00
Hayden
0cbe516ca3
feat: WebSocket based implementation of server sent events for cache busting ( #527 )
...
* rough implementation of WS based event system for server side notifications of mutation
* fix test construction
* fix deadlock on event bus
* disable linter error
* add item mutation events
* remove old event bus code
* refactor event system to use composables
* refresh items table when new item is added
* fix create form errors
* cleanup unnecessary calls
* fix importer erorrs + limit fn calls on import
Former-commit-id: 2cbcc8bb1d
2023-08-02 13:00:57 -08:00
Hayden
964270e054
feat: more currency support ( #520 )
...
* add multiple new currencies
* add multiple new currencies
* remove duplicate yen
Former-commit-id: c5ae6b17f9
2023-07-31 05:59:36 -08:00
Hayden
a3e607a887
chore: bump all go deps ( #507 )
...
* bump all deps
* run code-gen
Former-commit-id: a042496c71
2023-07-22 19:57:51 -08:00
Hayden
ef1531e561
feat: easily increment quantity ( #473 )
...
* fix vue version issue
* new patch API endpoint
* doc-gen
* new API class method for patch operations
* add quantity patch UI support
* fix typegen errors
* fix ts errors
2023-06-02 13:56:40 -08:00
Hayden
4dd925caf0
fix: other minor fixes ( #388 )
...
* remove overflow-hidden on when no collapsed
* fix recently added on homescreen
* fix delete account formatting
* add manufacturer to search
* move nav button to left
2023-04-01 22:01:21 -08:00
Hayden
ced5aef6d1
fix: export child relationships ( #385 )
...
* tidy
* ensure export contains locations path
* update pnpm lock file
* fix swagger stuff
* code gen
* fix linter issue
* fix reverse order bug in test
2023-04-01 15:10:27 -08:00
Hayden
6a853c07a0
fix: various minor bugs ( #384 )
...
* fix insufficiently large max height for cards
* fix listener for resetItemDateTimes
* support YYYY/MM/DD format for imports
* fix columns in docs
* use comma deliminator
2023-04-01 14:07:44 -08:00
Hayden
faed343eda
fix: cookie-auth-issues ( #365 )
...
* fix session clearing on error
* use singleton context to manage user state
* implement remember-me functionality
* fix errors
* fix more errors
2023-03-22 21:52:25 -08:00
Hayden
ed1230e17d
feat: goreleaser + remove cgo dependency ( #363 )
...
* wip: goreleaser
* update image path
* spelling
* set working dir
* change main.go
* remove unused field
* drop cgo requirement
* remove unused workflow step
* generate code
* drop cgo from docker file
* update publish workflow
* annotate as unfinished
2023-03-22 20:49:49 -08:00
zodac
2d768e2b9c
feat Adding NZD currency ( #360 )
...
* Adding NZD as currency option
* Updating frontend
* Sorting alphabetically
* Fixing typo
2023-03-22 20:26:51 -08:00
Hayden
840d220d4f
feat: use notifiers on schedule ( #362 )
...
* fix potential memory leak with time.After
* add new background service to manage scheduled notifications
* update docs
* remove old js reference
* closes #278
* tidy
2023-03-21 11:32:48 -08:00
Hayden
97fb94d231
fix: refactoring errors ( #359 )
...
* #352 - require one date to be set to save
* fix many type regressions
2023-03-20 21:48:22 -08:00
Hayden
db80f8a159
chore: refactor api endpoints ( #339 )
...
* move typegen code
* update taskfile to fix code-gen caches and use 'dir' attribute
* enable dumping stack traces for errors
* log request start and stop
* set zerolog stack handler
* fix routes function
* refactor context adapters to use requests directly
* change some method signatures to support GID
* start requiring validation tags
* first pass on updating handlers to use adapters
* add errs package
* code gen
* tidy
* rework API to use external server package
2023-03-20 20:32:10 -08:00
Vitalij Dovhanyc
dc08dbbd7a
feat: add czech currency ( #323 )
2023-03-20 18:42:11 -08:00
Hayden
23b5892aef
feat: Notifiers CRUD ( #337 )
...
* introduce scaffold for new models
* wip: shoutrrr wrapper (may remove)
* update schema files
* gen: ent code
* gen: migrations
* go mod tidy
* add group_id to notifier
* db migration
* new mapper helpers
* notifier repo
* introduce experimental adapter pattern for hdlrs
* refactor adapters to fit more common use cases
* new routes for notifiers
* update errors to fix validation panic
* go tidy
* reverse checkbox label display
* wip: notifiers UI
* use badges instead of text
* improve documentation
* add scaffold schema reference
* remove notifier service
* refactor schema folder
* support group edges via scaffold
* delete test file
* include link to API docs
* audit and update documentation + improve format
* refactor schema edges
* refactor
* add custom validator
* set validate + order fields by name
* fix failing tests
2023-03-06 21:18:58 -09:00
Hayden
025521431e
feat: add scheduled maintenance tasks ( #320 )
...
* add scheduled maintenance tasks
* fix failing typecheck
2023-02-26 18:42:23 -09:00
Hayden
70297b9d27
feat: more-currency-support ( #316 )
...
* add polish and turkish lira
* add romanian lei
* code-gen
2023-02-25 18:13:52 -09:00