Commit Graph

1134 Commits

Author SHA1 Message Date
Matt
6dc801d024 Merge branch 'main' into mk/multi-groups 2025-12-29 15:11:14 -05:00
Phil
b290175bb0 Refactor Wipe Inventory E2E tests
Initial commit
2025-12-29 16:16:20 +00:00
Matthew Kilgore
2e5a2c9323 Fix front-end tests for groups 2025-12-28 17:26:40 -05:00
Matthew Kilgore
e6c1a5a47f Fix some tests 2025-12-28 17:11:05 -05:00
Matthew Kilgore
6c4ce49093 Add member management routes 2025-12-28 17:05:33 -05:00
Matthew Kilgore
825eda0f00 Merge remote-tracking branch 'origin/main' into mk/multi-groups
# Conflicts:
#	backend/internal/data/repo/repo_items_test.go
2025-12-28 16:34:00 -05:00
Phil
fbe7382acd Merge branch 'main' into copilot/fix-wipe-inventory-issue 2025-12-28 19:27:00 +00:00
copilot-swe-agent[bot]
1003223b47 Add E2E test for wipe inventory functionality
Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 19:24:14 +00:00
Logan Miller
3c532896f5 fix(items): update quantity display immediately on increment/decrement (#1181)
Use API response data to update item state instead of directly mutating the quantity property.
Fixes #1180
2025-12-28 19:22:21 +00:00
copilot-swe-agent[bot]
ec8703114f Reset isConfirming flag after dialog closes
Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 18:08:54 +00:00
copilot-swe-agent[bot]
5cd7792701 Fix callback order and restore isConfirming flag
Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 18:05:29 +00:00
copilot-swe-agent[bot]
d82c52df26 Fix wipe inventory by replacing AlertDialogAction with Button
Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 18:02:08 +00:00
copilot-swe-agent[bot]
033c17552b Update plan with root cause analysis
Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 18:01:24 +00:00
Matthew Kilgore
ab9b821de9 New API endpoints for basic group management 2025-12-28 12:52:05 -05:00
copilot-swe-agent[bot]
a3c05c3497 Fix WipeInventoryDialog to use DialogProvider onClose correctly
Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 17:22:57 +00:00
Matthew Kilgore
f3b4c0cad3 Forgot to update the API stuff and data-contracts.ts 2025-12-28 12:11:48 -05:00
copilot-swe-agent[bot]
35941583c8 Fix frontend linting errors in WipeInventoryDialog
- Replaced BaseModal and BaseButton with AlertDialog components from ui library
- Added proper imports for AlertDialog, AlertDialogContent, AlertDialogHeader, etc.
- Fixed prettier formatting issues (auto-fixed by eslint --fix)
- Fixed Tailwind CSS shorthand (h-4 w-4 -> size-4)
- Added addAlert/removeAlert for dialog provider integration
- All linting and type-checking errors resolved

Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 16:26:09 +00:00
copilot-swe-agent[bot]
d576c89c7e Add maintenance records checkbox to wipe inventory dialog
- Added wipeMaintenance parameter to backend WipeInventory method
- Added checkbox in WipeInventoryDialog for wiping maintenance records
- Updated demo mode error message to include maintenance records
- Added translation key "wipe_inventory_maintenance" to en.json
- Maintenance records are linked to items via HasItemWith query
- Follows same structure as labels and locations checkboxes

Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 16:08:33 +00:00
copilot-swe-agent[bot]
ff355f3cd8 Add demo mode check for wipe inventory action
Added frontend check to display error modal when user attempts to wipe inventory in demo mode. The modal shows: "Inventory, labels and locations cannot be wiped whilst Homebox is in demo mode. Please ensure that you are not in demo mode and try again."

Backend already had demo mode protection returning 403 Forbidden.

Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 15:56:42 +00:00
copilot-swe-agent[bot]
7aaaa346ab Add wipe inventory options for labels/locations and owner-only restriction
- Added WipeInventoryDialog component with checkboxes for wiping labels and locations
- Modified backend WipeInventory method to accept wipeLabels and wipeLocations parameters
- Added owner check in HandleWipeInventory to restrict action to group owners only
- Updated frontend API client to send wipe options
- Added new translation keys for checkbox labels and owner note
- Integrated dialog into app layout and updated tools.vue to use new dialog

Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 15:41:13 +00:00
Phil
61816acdaa Merge branch 'main' into copilot/add-wipe-inventory-action 2025-12-28 15:28:07 +00:00
copilot-swe-agent[bot]
23da976494 Remove translation changes from non-English locale files
Only en.json should have the new translation keys. Translators will add translations to other language files later.

Co-authored-by: tankerkiller125 <3457368+tankerkiller125@users.noreply.github.com>
2025-12-27 22:29:18 +00:00
copilot-swe-agent[bot]
09e056a3fb Move upgrade verification tests to separate directory
- Move upgrade-verification.spec.ts from test/e2e/ to test/upgrade/
- This prevents the test from running during normal E2E CI runs
- The upgrade test is only meant for the upgrade-test workflow
- Update workflow and documentation to reflect new location

Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-27 16:12:51 +00:00
copilot-swe-agent[bot]
2bd6d0a9e5 Add Wipe Inventory feature with backend and frontend implementation
Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-27 14:52:04 +00:00
copilot-swe-agent[bot]
afd7a10003 Fix TypeScript null check in upgrade-verification test
Add null check for pageContent before accessing length property

Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-27 14:34:59 +00:00
copilot-swe-agent[bot]
8eedd1e39d Fix ESLint errors in upgrade-verification.spec.ts
- Remove unused 'path' import
- Replace 'any' types with proper TypeScript interfaces
- Fix all Prettier formatting issues

Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-27 14:32:57 +00:00
copilot-swe-agent[bot]
69b31a3be5 Improve test reliability and fix security issues
- Replace waitForTimeout with waitForSelector and waitForLoadState
- Remove eval security risk in bash script
- Use proper wait mechanisms for better test reliability

Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-27 14:12:22 +00:00
copilot-swe-agent[bot]
1bfb716cea Add upgrade test workflow with data generation and verification
Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-27 14:08:13 +00:00
Matthew Kilgore
a86b1bd17b Update dependencies 2025-12-26 09:51:33 -05:00
Matthew Kilgore
064b298968 Merge branch 'main' into main-weblate
# Conflicts:
#	frontend/locales/en.json
2025-12-26 09:28:10 -05:00
Tonya
2638f218f3 fix: templates that dont have a location set (#1160) 2025-12-24 17:30:46 +00:00
tonyaellie
a1947dd09e feat: autosave after image upload 2025-12-22 23:46:29 +00:00
tonyaellie
018f1f5977 fix: use logical sorting for locations 2025-12-22 23:34:29 +00:00
tonyaellie
9a9e3d462e feat: add a clear button for selectors and stop create modal overflow 2025-12-22 23:24:01 +00:00
Weblate
fc8b6f0dcf Translated using Weblate (German)
Currently translated at 100.0% (609 of 609 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 95.4% (581 of 609 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (609 of 609 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (609 of 609 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (609 of 609 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (609 of 609 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (609 of 609 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (609 of 609 strings)

Translated using Weblate (Russian)

Currently translated at 96.2% (586 of 609 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (609 of 609 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (609 of 609 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (609 of 609 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (609 of 609 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (609 of 609 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (609 of 609 strings)

Translated using Weblate (Czech)

Currently translated at 99.8% (608 of 609 strings)

Translated using Weblate (German)

Currently translated at 99.3% (605 of 609 strings)

Translated using Weblate (German)

Currently translated at 99.1% (604 of 609 strings)

Translated using Weblate (German)

Currently translated at 99.1% (604 of 609 strings)

Translated using Weblate (German)

Currently translated at 90.3% (550 of 609 strings)

Translated using Weblate (German)

Currently translated at 90.3% (550 of 609 strings)

Translated using Weblate (German)

Currently translated at 90.1% (549 of 609 strings)

Translated using Weblate (German)

Currently translated at 89.9% (548 of 609 strings)

Translated using Weblate (Indonesian)

Currently translated at 60.0% (366 of 609 strings)

Translated using Weblate (Thai)

Currently translated at 22.0% (134 of 609 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 80.4% (490 of 609 strings)

Translated using Weblate (Slovak)

Currently translated at 84.8% (517 of 609 strings)

Translated using Weblate (Finnish)

Currently translated at 53.3% (325 of 609 strings)

Translated using Weblate (Ukrainian)

Currently translated at 59.7% (364 of 609 strings)

Translated using Weblate (English)

Currently translated at 100.0% (609 of 609 strings)

Translated using Weblate (Greek)

Currently translated at 0.3% (2 of 551 strings)

Added translation using Weblate (Greek)

Translated using Weblate (Italian)

Currently translated at 99.8% (550 of 551 strings)

Translated using Weblate (Russian)

Currently translated at 99.8% (550 of 551 strings)

Translated using Weblate (Telugu)

Currently translated at 0.9% (5 of 551 strings)

Translated using Weblate (Telugu)

Currently translated at 0.9% (5 of 551 strings)

Added translation using Weblate (Telugu)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Bosnian)

Currently translated at 21.9% (121 of 551 strings)

Translated using Weblate (Danish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Turkish)

Currently translated at 91.6% (505 of 551 strings)

Translated using Weblate (Turkish)

Currently translated at 89.2% (492 of 551 strings)

Translated using Weblate (Turkish)

Currently translated at 89.2% (492 of 551 strings)

Translated using Weblate (Russian)

Currently translated at 99.2% (547 of 551 strings)

Translated using Weblate (Ukrainian)

Currently translated at 65.8% (363 of 551 strings)

Translated using Weblate (Ukrainian)

Currently translated at 64.4% (355 of 551 strings)

Translated using Weblate (Ukrainian)

Currently translated at 62.7% (346 of 551 strings)

Translated using Weblate (Ukrainian)

Currently translated at 62.4% (344 of 551 strings)

Translated using Weblate (Ukrainian)

Currently translated at 61.1% (337 of 551 strings)

Translated using Weblate (Ukrainian)

Currently translated at 60.4% (333 of 551 strings)

Translated using Weblate (Ukrainian)

Currently translated at 59.3% (327 of 551 strings)

Translated using Weblate (Thai)

Currently translated at 24.1% (133 of 551 strings)

Translated using Weblate (Thai)

Currently translated at 24.1% (133 of 551 strings)

Translated using Weblate (Portuguese (Portugal))

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (French)

Currently translated at 94.1% (519 of 551 strings)

Translated using Weblate (Polish)

Currently translated at 99.8% (550 of 551 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (German)

Currently translated at 99.8% (550 of 551 strings)

Translated using Weblate (German)

Currently translated at 99.8% (550 of 551 strings)

Translated using Weblate (German)

Currently translated at 99.8% (550 of 551 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.9% (545 of 551 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.9% (545 of 551 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.9% (545 of 551 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.9% (545 of 551 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.9% (545 of 551 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.9% (545 of 551 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.9% (545 of 551 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.9% (545 of 551 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.9% (545 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (551 of 551 strings)

Translated using Weblate (Portuguese (Portugal))

Currently translated at 100.0% (550 of 550 strings)

Translated using Weblate (Polish)

Currently translated at 98.7% (543 of 550 strings)

Translated using Weblate (Polish)

Currently translated at 98.7% (543 of 550 strings)

Translated using Weblate (Polish)

Currently translated at 98.7% (543 of 550 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 98.5% (542 of 550 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 98.5% (542 of 550 strings)

Translated using Weblate (Portuguese (Portugal))

Currently translated at 98.3% (541 of 550 strings)

Translated using Weblate (Portuguese (Portugal))

Currently translated at 98.3% (541 of 550 strings)

Translated using Weblate (Indonesian)

Currently translated at 66.3% (365 of 550 strings)

Translated using Weblate (Indonesian)

Currently translated at 66.3% (365 of 550 strings)

Translated using Weblate (Indonesian)

Currently translated at 66.3% (365 of 550 strings)

Translated using Weblate (Indonesian)

Currently translated at 66.3% (365 of 550 strings)

Translated using Weblate (Indonesian)

Currently translated at 66.3% (365 of 550 strings)

Translated using Weblate (Indonesian)

Currently translated at 66.3% (365 of 550 strings)

Translated using Weblate (Indonesian)

Currently translated at 66.3% (365 of 550 strings)

Translated using Weblate (Indonesian)

Currently translated at 66.3% (365 of 550 strings)

Translated using Weblate (Portuguese (Portugal))

Currently translated at 93.4% (514 of 550 strings)

Translated using Weblate (Swedish)

Currently translated at 68.3% (376 of 550 strings)

Translated using Weblate (Swedish)

Currently translated at 68.3% (376 of 550 strings)

Translated using Weblate (Swedish)

Currently translated at 68.3% (376 of 550 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 98.1% (540 of 550 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (550 of 550 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (550 of 550 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (550 of 550 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (550 of 550 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (550 of 550 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (550 of 550 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (550 of 550 strings)

Translated using Weblate (German)

Currently translated at 96.0% (528 of 550 strings)

Translated using Weblate (German)

Currently translated at 96.0% (528 of 550 strings)

Translated using Weblate (Turkish)

Currently translated at 87.7% (482 of 549 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (518 of 518 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (518 of 518 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (518 of 518 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (518 of 518 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (518 of 518 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (518 of 518 strings)

Translated using Weblate (Arabic)

Currently translated at 0.7% (4 of 518 strings)

Translated using Weblate (Arabic)

Currently translated at 0.5% (3 of 518 strings)

Added translation using Weblate (Arabic)

Translated using Weblate (Thai)

Currently translated at 22.9% (119 of 518 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (518 of 518 strings)

Translated using Weblate (Swedish)

Currently translated at 71.2% (369 of 518 strings)

Translated using Weblate (Swedish)

Currently translated at 71.2% (369 of 518 strings)

Co-authored-by: Adam Havránek <adamhavra@seznam.cz>
Co-authored-by: Aniruddh Kotte <aniruddhkotte@gmail.com>
Co-authored-by: BoneGear <bonegear@hotmail.com>
Co-authored-by: DevHrytsan <3axapHrytsan@gmail.com>
Co-authored-by: Eisa Al Shamsi <awwase@gmail.com>
Co-authored-by: Hannes Salen <hannes.salen@gmail.com>
Co-authored-by: Heine Olsen <olsen10051988@gmail.com>
Co-authored-by: Henrique dos Santos Wisniewski <henriqueswisniewski@gmail.com>
Co-authored-by: Jackxwb <xwb9606@163.com>
Co-authored-by: Jan Fader <jan.fader@web.de>
Co-authored-by: JorgeS15 <jorgea15santos@gmail.com>
Co-authored-by: Loffa <jesperfalk94@gmail.com>
Co-authored-by: Marcelo Sandrini <sandrini.marcelo@gmail.com>
Co-authored-by: Matthew Kilgore <matthew@kilgore.dev>
Co-authored-by: Matvey <mrspanky@yandex.ru>
Co-authored-by: Mikolaj Wolicki <MIKOLAJW1997@gmail.com>
Co-authored-by: Mirad Maglic <mirad.maglic@gmail.com>
Co-authored-by: Muhammad Ikhsan <pararang@gmail.com>
Co-authored-by: Mutagenic <mkardas@gmail.com>
Co-authored-by: MyMemory <noreply-mt-mymemory@weblate.org>
Co-authored-by: Ricardo González <notorius28@gmail.com>
Co-authored-by: Robert Eggl <robert@eggl.dev>
Co-authored-by: Sara Wattanasombat <saraten2@gmail.com>
Co-authored-by: Simone Girardi <s.girardi92@gmail.com>
Co-authored-by: Slydite4 <39199098+Slydite4@users.noreply.github.com>
Co-authored-by: Stratos Palaiologos <stpa03@betssongroup.com>
Co-authored-by: Supphakorn <supphakorn5343@gmail.com>
Co-authored-by: Weblate <noreply-mt-weblate@weblate.org>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: WilliamStark <yujinghao007@163.com>
Co-authored-by: Yao Yimeng <yym900902@gmail.com>
Co-authored-by: akrstlv <zmilex@gmail.com>
Co-authored-by: arsenius88 <arsenovich_andr@ukr.net>
Co-authored-by: buzz <buzz.eclair@gmail.com>
Co-authored-by: dARK raVEr <Dark.Raver@gmx.net>
Co-authored-by: efe <vastly-fax-brim@duck.com>
Co-authored-by: fjrefluxx <julianzobel@gmail.com>
Co-authored-by: jesper rezler lang <jesper.rezler.lang@gmail.com>
Co-authored-by: jjxxzz <jaro689@gmail.com>
Co-authored-by: noxmyn <vladcraft93@gmail.com>
Co-authored-by: sg4r3z <giovannigln@gmail.com>
Co-authored-by: swedishpete <nyhetsutskick@outlook.com>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/ar/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/bs/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/cs/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/da/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/de/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/el/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/en/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/es/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/fi/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/fr/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/id/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/it/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/nb_NO/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/nl/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/pl/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/pt_BR/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/pt_PT/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/ru/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/sk/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/sv/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/te/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/th/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/tr/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/uk/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/zh_Hans/
Translation: Homebox/Frontend
2025-12-22 11:19:55 +00:00
Robert Eggl
5f9ab577bb fix: request camera permission in ScannerModal (#1113)
* feat: request camera permission in ScannerModal

* chore: simplify source code
2025-12-19 21:47:37 +00:00
Robert Eggl
0a969bb64d fix(sidebar): prevent dropdown menu layout shift on hover (#1116) 2025-12-19 21:38:06 +00:00
Logan Miller
cc66330a74 feat: Add item templates feature (#435) (#1099)
* feat: Add item templates feature (#435)

   Add ability to create and manage item templates for quick item creation.
   Templates store default values and custom fields that can be applied
   when creating new items.

   Backend changes:
   - New ItemTemplate and TemplateField Ent schemas
   - Template CRUD API endpoints
   - Create item from template endpoint

   Frontend changes:
   - Templates management page with create/edit/delete
   - Template selector in item creation modal
   - 'Use as Template' action on item detail page
   - Templates link in navigation menu

* refactor: Improve template item creation with a single query

- Add `CreateFromTemplate` method to ItemsRepository that creates items with all template data (including custom fields) in a single atomic transaction, replacing the previous two-phase create-then-update pattern
- Fix `GetOne` to require group ID parameter so templates can only be accessed by users in the owning group (security fix)
- Simplify `HandleItemTemplatesCreateItem` handler using the new transactional method

* Refactor item template types and formatting

Updated type annotations in CreateModal.vue to use specific ItemTemplate types instead of 'any'. Improved code formatting for template fields and manufacturer display. Also refactored warranty field logic in item details page for better readability. This resolves the linter issues as well that the bot in github keeps nagging at.

* Add 'id' property to template fields

Introduces an 'id' property to each field object in CreateModal.vue and item details page to support unique identification of fields. This change prepares the codebase for future enhancements that may require field-level identification.

* Removed redundant SQL migrations.

Removed redundant SQL migrations per @tankerkiller125's findings.

* Updates to PR #1099.

Regarding pull #1099. Fixed an issue causing some conflict with GUIDs and old rows in the migration files.

* Add new fields and location edge to ItemTemplate

Addresses recommendations from @tonyaellie.

* Relocated add template button
* Added more default fields to the template
* Added translation of all strings (think so?)
* Make oval buttons round
* Added duplicate button to the template (this required a rewrite of the migration files, I made sure only 1 exists per DB type)
* Added a Save as template button to a item detail view (this creates a template with all the current data of that item)
* Changed all occurrences of space to gap and flex where applicable.
* Made template selection persistent after item created.
* Collapsible template info on creation view.

* Updates to translation and fix for labels/locations

I also added a test in here because I keep missing small function tests. That should prevent that from happening again.

* Linted

* Bring up to date with main, fix some lint/type check issues

* In theory fix playwright tests

* Fix defaults being unable to be nullable/empty (and thus limiting flexibility)

* Last few fixes I think

* Forgot to fix the golang tests

---------

Co-authored-by: Matthew Kilgore <matthew@kilgore.dev>
2025-12-06 16:21:43 -05:00
Matthew Kilgore
e6e6056897 Update dependencies 2025-12-06 10:23:23 -05:00
Jeff Rescignano
f36756d98e Add support for SSO / OpenID Connect (OIDC) (#996)
* ent re-generation

* add oidc integration

* document oidc integration

* go fmt

* address backend linter findings

* run prettier on index.vue

* State cookie domain can mismatch when Hostname override is used (breaks CSRF check). Add SameSite.

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Delete state cookie with matching domain and MaxAge; add SameSite.

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Fix endpoint path in comments and error to include /api/v1.

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Also use request context when verifying the ID token.

* Do not return raw auth errors to clients (user-enumeration risk).

* consistently set cookie the same way across function

* remove baseURL after declaration

* only enable OIDC routes if OIDC is enabled

* swagger doc for failure

* Only block when provider=local; move the check after parsing provider

* fix extended session comment

* reduce pii logging

* futher reduce pii logging

* remove unused DiscoveryDocument

* remove unused offline_access from default oidc scopes

* remove offline access from AuthCodeURL

* support host from X-Forwarded-Host

* set sane default claim names if unset

* error strings should not be capitalized

* Revert "run prettier on index.vue"

This reverts commit aa22330a23.

* Add timeout to provider discovery

* Split scopes robustly

* refactor hostname calculation

* address frontend prettier findings

* add property oidc on type APISummary

* LoginOIDC: Normalize inputs, only create if not found

* add oidc email verification

* oidc handleCallback: clear state cookie before each return

* add support for oidc nonce parameter

* Harden first-login race: handle concurrent creates gracefully and fix log key.

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* support email verified claim as bool or string

* fail fast on empty email

* PKCE verifier

* fix: add timing delay to attachment test to resolve CI race condition

The attachment test was failing intermittently in CI due to a race condition
between attachment creation and retrieval. Adding a small 100ms delay after
attachment creation ensures the file system and database operations complete
before the test attempts to verify the attachment exists.

* Revert "fix: add timing delay to attachment test to resolve CI race condition"

This reverts commit 4aa8b2a0d829753e8d2dd1ba76f4b1e04e28c45e.

* oidc error state, use ref

* rename oidc.force to oidc.authRedirect

* remove hardcoded oidc error timeout

* feat: sub/iss based identity matching and userinfo endpoint collection

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Matthew Kilgore <matthew@kilgore.dev>
2025-12-06 10:16:05 -05:00
dependabot[bot]
8c04ad7fe8 Bump the npm_and_yarn group across 2 directories with 1 update (#1097)
Bumps the npm_and_yarn group with 1 update in the / directory: [node-forge](https://github.com/digitalbazaar/forge).
Bumps the npm_and_yarn group with 1 update in the /frontend directory: [node-forge](https://github.com/digitalbazaar/forge).


Updates `node-forge` from 1.3.1 to 1.3.2
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.3.1...v1.3.2)

Updates `node-forge` from 1.3.1 to 1.3.2
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-version: 1.3.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: node-forge
  dependency-version: 1.3.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-27 11:18:10 -05:00
Tonya
78d05bb155 disable sort (via table) on item page (#1087)
* fix: disable sort on item page

* fix: type issue
2025-11-24 01:34:37 +00:00
Alan Mooiman
35a83c29af Fix auto-zoom on iOS devices (#1029)
* Remove text-sm from inputs

* Update frontend/components/ui/command/CommandInput.vue

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update frontend/components/ui/tags-input/TagsInputInput.vue

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update frontend/components/ui/select/SelectTrigger.vue

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Respond to coderrabitai

* Another coderrabbit comment

* More coderrabbit responses

* Fix formatting

* Apply suggestion from @coderabbitai[bot]

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update frontend/components/ui/input/Input.vue

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Correct Coderrabbit's messy suggestion that I was too trigger-happy on

* Accessible changes aOnly use accessible font sizing on mobile

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-11-18 22:40:21 +00:00
Matthew Kilgore
e501d769da Upgrade frontend and doc dependencies 2025-11-16 16:51:16 -05:00
tonyaellie
415c3238ae fix: android image capture for item create 2025-11-01 15:25:42 +00:00
Benjamin Wolff
2bdd085289 Item search query parameter modernisation (#1040)
* await labels and locations properly

* update query params with every search

* don't persist default settings in query params

* conceptualize optional parameters

* add run script for development

* lint

* consider typescript

* remove run.sh

* capitalize QueryParamValue

* make query parameter updates predictable

This reverts commit 5c0c48cea5.

* capitalize typename again

---------

Co-authored-by: Benji <benji@DG-SM-7059.local>
Co-authored-by: Benji <benji@mac.home.internal>
Co-authored-by: Benji <benji@dg-sm-7059.home.internal>
2025-10-21 19:40:46 +01:00
zebrapurring
c30cac4489 chore: update icon for button to duplicate items (#1050)
Co-authored-by: zebrapurring <>
2025-10-21 17:20:35 +00:00
Tonya
28c3e102a2 feat: add a markdown preview for description and notes (#1043)
* feat: add a markdown preview for description and notes

* feat: add char count for md
2025-10-10 12:37:57 +00:00
zebrapurring
116e39531b Fix failing tests (#1009)
* chore: ignore all .data directories

* fix: date locale for unit tests

* test: disable parallelism to prevent database locks

* chore: fix lint errors

* chore: remove unused function

---------

Co-authored-by: zebrapurring <>
Co-authored-by: Tonya <tonya@tokia.dev>
2025-10-09 11:51:51 +00:00
dependabot[bot]
76154263e0 Bump the npm_and_yarn group across 2 directories with 1 update (#1032)
Bumps the npm_and_yarn group with 1 update in the / directory: [nuxt](https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt).
Bumps the npm_and_yarn group with 1 update in the /frontend directory: [nuxt](https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt).


Updates `nuxt` from 4.0.3 to 4.1.0
- [Release notes](https://github.com/nuxt/nuxt/releases)
- [Commits](https://github.com/nuxt/nuxt/commits/v4.1.0/packages/nuxt)

Updates `nuxt` from 4.0.3 to 4.1.0
- [Release notes](https://github.com/nuxt/nuxt/releases)
- [Commits](https://github.com/nuxt/nuxt/commits/v4.1.0/packages/nuxt)

---
updated-dependencies:
- dependency-name: nuxt
  dependency-version: 4.1.0
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: nuxt
  dependency-version: 4.1.0
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-30 20:20:18 -04:00