- 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>
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>
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>
- 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>
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>
- 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>
Set minimal required permissions (contents:read, packages:read) to follow security best practices
Co-authored-by: katosdev <7927609+katosdev@users.noreply.github.com>
- 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>
* Added documentation for the external label service feature. Re-ordered the columns in the config page to make it easier to read.
* Update docs/en/configure/index.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: Matt <tankerkiller125@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>