Files
shopdb/TODO.md
cproudlock 65b622c361 Add USB checkout system and SSO profile page
New Features:
- USB Device checkout/check-in system with barcode scanning
  - displayusb.asp: List all USB devices with status
  - addusb.asp: Add new USB devices via barcode scan
  - checkout_usb.asp/savecheckout_usb.asp: Check out USB to SSO
  - checkin_usb.asp/savecheckin_usb.asp: Check in with wipe confirmation
  - usb_history.asp: Full checkout history with filters
  - api_usb.asp: JSON API for AJAX lookups
- displayprofile.asp: SSO profile page showing user info and USB history
- Date/time format changed to 12-hour (MM/DD/YYYY h:mm AM/PM)
- SSO links in USB history now link to profile page via search

Database:
- New machinetypeid 44 for USB devices
- New usb_checkouts table for tracking checkouts

Cleanup:
- Removed v2 folder (duplicate/old files)
- Removed old debug/test files
- Removed completed migration documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-07 11:16:14 -05:00

2.9 KiB

ShopDB - Future TODO List

Created: 2025-11-25 Last Updated: 2025-11-25


High Priority

Outstanding Bugs

  • Fix displaysubnet.asp - Runtime error (subscript out of range)

Uncommitted Changes

  • Review and commit pending changes:
    • api.asp
    • deviceidf.asp
    • network_devices.asp
    • includes/sql.asp.production
    • sql/update_vw_network_devices_view.sql

Medium Priority

Code Quality

  • Test remaining 108 ASP pages (15/123 tested)
  • Add error logging to pages without it
  • Review SQL injection protection across all pages
  • Standardize error handling patterns

Database Cleanup

  • Drop deprecated Phase 2 tables after confirming stability:
    • pc
    • pc_network_interfaces
    • pc_comm_config
    • pc_dualpath_assignments
  • Review and optimize database indexes
  • Clean up orphaned records

Documentation

  • Update DEEP_DIVE_REPORT.md with Phase 2 changes
  • Create API documentation for api.asp endpoints
  • Document PowerShell data collection workflow

Low Priority

UI/UX Improvements

  • Add bulk edit functionality for machines
  • Improve network map performance with large datasets
  • Add export to CSV/Excel for machine lists
  • Implement dashboard widgets for quick stats

Future Features

  • Implement warranty expiration alerts
  • Add compliance scan scheduling
  • Create mobile-friendly views
  • Add audit logging for changes

Technical Debt

  • Migrate remaining pages to use parameterized queries
  • Consolidate duplicate code in display pages
  • Update jQuery and Bootstrap versions
  • Remove unused CSS/JS files

Completed (Reference)

November 2025

  • Phase 1: Schema changes (Nov 6)
  • Phase 2: PC migration (Nov 10)
  • Phase 3: Network devices - legacy tables dropped (Nov 25)
  • Fix 36+ API IIf() bugs (Nov 14)
  • Fix network_map.asp to show all device types (Nov 13)
  • Update vw_network_devices view (Nov 13)
  • Modernize printer pages (Nov 10)
  • Fix printer installer batch file (Nov 20)
  • Clean up obsolete docs and SQL files (Nov 25)
  • Drop legacy network device tables (Nov 25)
  • Remove v2 directory - 1.6GB freed (Nov 25)

October 2025

  • Security audit and fixes (Oct 27)
  • Create comprehensive documentation
  • Set up Gitea for version control
  • Implement nested entity creation pattern

Notes

Before Starting Phase 3

  1. Create full database backup
  2. Verify all Phase 2 functionality stable
  3. Schedule maintenance window
  4. Test scripts on dev backup first

Production Deployment Checklist

  • Database backup created
  • Rollback scripts tested
  • All tests passing
  • Documentation updated
  • Stakeholders notified

Maintained By: Development Team