Files
shopdb/assets/flags/1x1/mn.svg
cproudlock 4bcaf0913f Complete Phase 2 PC migration and network device infrastructure updates
This commit captures 20 days of development work (Oct 28 - Nov 17, 2025)
including Phase 2 PC migration, network device unification, and numerous
bug fixes and enhancements.

## Major Changes

### Phase 2: PC Migration to Unified Machines Table
- Migrated all PCs from separate `pc` table to unified `machines` table
- PCs identified by `pctypeid IS NOT NULL` in machines table
- Updated all display, add, edit, and update pages for PC functionality
- Comprehensive testing: 15 critical pages verified working

### Network Device Infrastructure Unification
- Unified network devices (Switches, Servers, Cameras, IDFs, Access Points)
  into machines table using machinetypeid 16-20
- Updated vw_network_devices view to query both legacy tables and machines table
- Enhanced network_map.asp to display all device types from machines table
- Fixed location display for all network device types

### Machine Management System
- Complete machine CRUD operations (Create, Read, Update, Delete)
- 5-tab interface: Basic Info, Network, Relationships, Compliance, Location
- Support for multiple network interfaces (up to 3 per machine)
- Machine relationships: Controls (PC→Equipment) and Dualpath (redundancy)
- Compliance tracking with third-party vendor management

### Bug Fixes (Nov 7-14, 2025)
- Fixed editdevice.asp undefined variable (pcid → machineid)
- Migrated updatedevice.asp and updatedevice_direct.asp to Phase 2 schema
- Fixed network_map.asp to show all network device types
- Fixed displaylocation.asp to query machines table for network devices
- Fixed IP columns migration and compliance column handling
- Fixed dateadded column errors in network device pages
- Fixed PowerShell API integration issues
- Simplified displaypcs.asp (removed IP and Machine columns)

### Documentation
- Created comprehensive session summaries (Nov 10, 13, 14)
- Added Machine Quick Reference Guide
- Documented all bug fixes and migrations
- API documentation for ASP endpoints

### Database Schema Updates
- Phase 2 migration scripts for PC consolidation
- Phase 3 migration scripts for network devices
- Updated views to support hybrid table approach
- Sample data creation/removal scripts for testing

## Files Modified (Key Changes)
- editdevice.asp, updatedevice.asp, updatedevice_direct.asp
- network_map.asp, network_devices.asp, displaylocation.asp
- displaypcs.asp, displaypc.asp, displaymachine.asp
- All machine management pages (add/edit/save/update)
- save_network_device.asp (fixed machine type IDs)

## Testing Status
- 15 critical pages tested and verified
- Phase 2 PC functionality: 100% working
- Network device display: 100% working
- Security: All queries use parameterized commands

## Production Readiness
- Core functionality complete and tested
- 85% production ready
- Remaining: Full test coverage of all 123 ASP pages

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 20:04:06 -05:00

14 lines
1.6 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" height="512" width="512" id="flag-icon-css-mn">
<path fill="#c4272f" d="M0 0h512v512H0z"/>
<path fill="#015197" d="M170.667 0h170.667v512H170.667z"/>
<circle cx="85.627" cy="215.251" r="27.996" fill="#f9cf02"/>
<circle cx="85.627" cy="202.526" r="30.541" fill="#c4272f"/>
<path d="M72.919 169.458c0 7.018 5.69 12.707 12.708 12.707s12.707-5.69 12.707-12.707c0-5.084-3.177-5.719-3.177-7.625 0-1.906 1.907-4.448-1.906-7.625 1.906 3.177-1.27 3.813-1.27 6.99 0 3.176 1.27 3.176 1.27 5.718a2.542 2.542 0 0 1-5.083 0c0-2.542 2.542-5.083 2.542-8.895 0-3.813-.636-5.083-2.542-8.26-1.906-3.177-5.083-5.719-2.541-8.26-3.813 1.27-1.907 6.353-1.907 9.53 0 3.177-2.541 5.083-2.541 8.896 0 3.812 1.906 4.447 1.906 6.989a2.542 2.542 0 0 1-5.083 0c0-2.542 1.27-2.542 1.27-5.718 0-3.177-3.176-3.813-1.27-6.99-3.812 3.177-1.906 5.719-1.906 7.625 0 1.906-3.177 2.541-3.177 7.625z" fill="#f9cf02" fill-rule="evenodd"/>
<circle cx="85.627" cy="207.616" r="20.36" fill="#f9cf02"/>
<path d="M29.635 248.337v122.162h25.45V248.337zm86.532 0v122.162h25.45V248.337zm-55.991 20.36v10.18h50.901v-10.18zm0 71.262v10.18h50.901v-10.18zm0-91.622h50.901l-25.45 15.27zm0 106.892h50.901l-25.45 15.27z" fill="#f9cf02"/>
<circle cx="85.627" cy="309.418" r="26.978" fill="#f9cf02" stroke="#c4272f" stroke-width="3.054"/>
<path d="M85.627 282.44a13.489 13.489 0 0 1 0 26.978 13.489 13.489 0 1 0 0 26.978" fill="none" stroke="#c4272f" stroke-width="3.054"/>
<circle r="5.09" cy="295.929" cx="85.627" fill="#c4272f"/>
<circle r="5.09" cy="322.907" cx="85.627" fill="#c4272f"/>
</svg>