Commit Graph

2063 Commits

Author SHA1 Message Date
tonyaellie
7c6cc152f6 feat: progess 2025-12-29 10:21:46 +00:00
tonyaellie
959199b8f4 feat: frontend done 2025-12-28 23:10:09 +00:00
tonyaellie
60e54b75c6 tonya/convert-labels-to-tags 2025-12-28 21:53:04 +00:00
Phil
e4aa38b264 Merge pull request #1186 from sysadminsmedia/copilot/fix-wipe-inventory-issue 2025-12-28 20:31:41 +00:00
Phil
e60f005990 Merge branch 'main' into copilot/fix-wipe-inventory-issue 2025-12-28 20:31:06 +00:00
Copilot
7dfaa0298b Add repository onboarding instructions for Copilot coding agents (#1187)
* Initial plan

* Initial plan for repository onboarding instructions

Co-authored-by: tankerkiller125 <3457368+tankerkiller125@users.noreply.github.com>

* Add comprehensive coding agent instructions for Homebox repository

Co-authored-by: tankerkiller125 <3457368+tankerkiller125@users.noreply.github.com>

* Optimize instructions to meet 2-page limit while maintaining completeness

Co-authored-by: tankerkiller125 <3457368+tankerkiller125@users.noreply.github.com>

* Add 4 path-specific instruction files for backend and frontend architecture

Co-authored-by: tankerkiller125 <3457368+tankerkiller125@users.noreply.github.com>

* Path application for instructions

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tankerkiller125 <3457368+tankerkiller125@users.noreply.github.com>
Co-authored-by: Matt <tankerkiller125@users.noreply.github.com>
2025-12-28 15:03:51 -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]
4ba1a263c8 Publish mutation events when wiping labels and locations
Co-authored-by: tonyaellie <46281725+tonyaellie@users.noreply.github.com>
2025-12-28 19:06:04 +00:00
copilot-swe-agent[bot]
94f0123d9c Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com> 2025-12-28 18:19:00 +00:00
copilot-swe-agent[bot]
1f6782f8be Final documentation update
Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 18:12:23 +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
copilot-swe-agent[bot]
2355438962 Initial plan 2025-12-28 17:45:18 +00:00
Phil
2a6773d1d6 Fix wipe inventory action to use correct onclose 2025-12-28 17:29:14 +00:00
copilot-swe-agent[bot]
c8c07e2878 Fix code review nitpick: remove empty comment line
Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 17:27:01 +00: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
copilot-swe-agent[bot]
ab0647fe68 Add comprehensive integration tests for wipe inventory
Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 17:20:17 +00:00
copilot-swe-agent[bot]
0b616225a6 Code review and security checks complete
Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 17:08:07 +00:00
copilot-swe-agent[bot]
dc9c7b76f2 Add tests for WipeInventory functionality
Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 17:05:10 +00:00
copilot-swe-agent[bot]
b99102e093 Fix wipe inventory: delete maintenance records before items
Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 17:01:12 +00:00
copilot-swe-agent[bot]
3077602f93 Initial plan 2025-12-28 16:50:34 +00:00
Phil
2bd6ff580a Add option to wipe inventory 2025-12-28 16:32:53 +00: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]
03dc7fa841 Include label and location counts in wipe inventory total
Added labelCount and locationCount to the deleted counter to provide accurate total count of all deleted entities (items, labels, locations) in the wipe inventory result.

Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-28 15:45:49 +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
27309e61da Add error import to v1_ctrl_actions.go 2025-12-28 15:29:14 +00:00
Phil
61816acdaa Merge branch 'main' into copilot/add-wipe-inventory-action 2025-12-28 15:28:07 +00:00
Phil
c31410727b Update backend/app/api/handlers/v1/v1_ctrl_actions.go
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-12-28 15:19:19 +00:00
Matt
4557df86ed Remove 32bit builds (#1000)
* Remove 32bit builds

* Use native Github runners

* Fix arm builds not getting runner

* Fix lint job
2025-12-28 00:28:20 -05:00
Matthew Kilgore
b8910f1b21 This should wipe out action related security flags 2025-12-27 19:09:27 -05:00
Matthew Kilgore
48e4f8da2a That should be all the actions pinned 2025-12-27 19:05:33 -05:00
Matthew Kilgore
1e0158c27e Fix copilot action 2025-12-27 18:52:12 -05:00
Matthew Kilgore
4fb3ddd661 Pin github copilot actions 2025-12-27 18:51:12 -05:00
Matthew Kilgore
690005de06 Harden all github actions 2025-12-27 18:46:14 -05: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
Harrison Conlin
f0b8bb8b7f refactor(backend): use constants for database driver names (#1177)
magic constants are bad m'kay
2025-12-27 16:16:48 -05:00
Katos
ecc9fa1959 Disable triggers in upgrade-test.yaml
Comment out the workflow triggers in upgrade-test.yaml
2025-12-27 20:28:31 +00:00
Katos
7068a85dfb Merge pull request #1178 from sysadminsmedia/copilot/create-ci-cd-pipeline
Add CI/CD workflow for upgrade testing with data integrity verification
2025-12-27 20:18:37 +00:00
Katos
c73922c754 Merge branch 'main' into copilot/create-ci-cd-pipeline 2025-12-27 20:16:41 +00:00
Matthew Kilgore
ae2179c01c Add blog link 2025-12-27 12:05:05 -05: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
Katos
4abfc76865 Fix CodeRabbit date quoting issue 2025-12-27 16:01:57 +00:00
copilot-swe-agent[bot]
aa48c958d7 Improve error handling and comments in WipeInventory method
Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
2025-12-27 15:03:43 +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