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>
This commit is contained in:
40
sql/add_new_apps_2025-12-05.sql
Normal file
40
sql/add_new_apps_2025-12-05.sql
Normal file
@@ -0,0 +1,40 @@
|
||||
-- ============================================================================
|
||||
-- FILE: add_new_apps_2025-12-05.sql
|
||||
-- PURPOSE: Add new applications for production deployment
|
||||
-- DATE: 2025-12-05
|
||||
--
|
||||
-- USAGE: Run this on production database
|
||||
-- mysql -u root -p shopdb < add_new_apps_2025-12-05.sql
|
||||
-- ============================================================================
|
||||
|
||||
-- Add Keyence VR Series application
|
||||
INSERT INTO applications (appid, appname, isactive) VALUES
|
||||
(69, 'Keyence VR Series', 1);
|
||||
|
||||
-- Add Genspect application
|
||||
INSERT INTO applications (appid, appname, isactive) VALUES
|
||||
(70, 'Genspect', 1);
|
||||
|
||||
-- Add GageCal application (EAS1000 gage calibration)
|
||||
INSERT INTO applications (appid, appname, isactive) VALUES
|
||||
(71, 'GageCal', 1);
|
||||
|
||||
-- Add NI Software application (National Instruments)
|
||||
INSERT INTO applications (appid, appname, isactive) VALUES
|
||||
(72, 'NI Software', 1);
|
||||
|
||||
-- Add goCMM application (CMM companion software)
|
||||
INSERT INTO applications (appid, appname, isactive) VALUES
|
||||
(73, 'goCMM', 1);
|
||||
|
||||
-- Add DODA application (Dovetail Digital Analysis - CMM)
|
||||
INSERT INTO applications (appid, appname, isactive) VALUES
|
||||
(74, 'DODA', 1);
|
||||
|
||||
-- Add FormStatusMonitor application (Wax Trace companion)
|
||||
INSERT INTO applications (appid, appname, isactive) VALUES
|
||||
(75, 'FormStatusMonitor', 1);
|
||||
|
||||
-- Verify additions
|
||||
SELECT 'Applications added:' AS status;
|
||||
SELECT appid, appname, isactive FROM applications WHERE appid IN (69, 70, 71, 72, 73, 74, 75);
|
||||
Reference in New Issue
Block a user