cproudlock e382a3246e Fix dualpath propagation, getShopfloorPCs filtering, USB management, and printer features
- Fix dualpath PC propagation direction (Equipment->PC) in api.asp and db_helpers.asp
- Fix early exit in CreatePCMachineRelationship preventing propagation
- Fix getShopfloorPCs to filter machinetypeid IN (33,34,35) instead of >= 33
- Fix getShopfloorPCs to show equipment numbers via GROUP_CONCAT subquery
- Add detailed PropagateDP logging for dualpath debugging
- Default "Show on Shopfloor Dashboard" checkbox to checked in addnotification.asp
- Add USB label batch printing, single USB labels, and USB history pages
- Add printer supplies tracking and toner report enhancements
- Add uptime map visualization page
- Add dashboard/lobby display SQL migration
- Update CLAUDE.md with IIS 401 workaround documentation
- Update TODO.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 10:44:55 -05:00

ShopDB

Manufacturing shop floor infrastructure management system for GE Aerospace. Tracks machines, PCs, printers, and network devices.

Tech Stack

  • Backend: Classic ASP (VBScript)
  • Database: MySQL 5.6
  • Frontend: Bootstrap 4.6, jQuery, DataTables
  • Server: IIS on Windows

Features

  • Equipment inventory (CNC machines, lathes, mills, etc.)
  • PC asset tracking with warranty monitoring
  • Printer management with Zabbix integration
  • Network device tracking (switches, access points, cameras)
  • Knowledge base for troubleshooting
  • Interactive floor maps
  • REST API for PowerShell data collection

Quick Start

# Start dev environment
~/start-dev-env.sh

# Access application
http://192.168.122.151:8080

# Run tests
./tests/test_forms.sh

# Connect to MySQL
docker exec -it dev-mysql mysql -u root -prootpassword shopdb

Documentation

Document Purpose
CLAUDE.md AI assistant context
docs/QUICK_REFERENCE.md Cheat sheets, common queries
docs/API.md REST API documentation
docs/STANDARDS.md Coding standards

Database Schema

machines table (unified)
  ├── Equipment (machinetypeid 1-15)
  ├── PCs (pctypeid IS NOT NULL)
  └── Network Devices (machinetypeid 16-20)

printers table (separate)
communications table (network interfaces)
machinerelationships table (PC↔equipment links)

Testing

./tests/test_forms.sh    # 41 endpoint tests

Tests page loads, form submissions, and API endpoints.

License

Internal use - GE Aerospace

Description
ShopDB - Manufacturing Floor Management System
Readme 347 MiB
Languages
Classic ASP 51.5%
JavaScript 35.9%
CSS 8.8%
HTML 1.9%
Python 1%
Other 0.9%