Files
shopdb/v2/assets/flags/1x1/kr.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

25 lines
2.1 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" height="512" width="512" id="flag-icon-css-kr">
<defs>
<clipPath id="a">
<path fill-opacity=".67" d="M0 0h512v512H0z"/>
</clipPath>
</defs>
<g fill-rule="evenodd" clip-path="url(#a)">
<path fill="#fff" d="M610.61 511.56h-730.17v-512h730.17z"/>
<path d="M251.871 256.021a112.507 112.507 0 1 1-225.014 0 112.507 112.507 0 1 1 225.014 0z" fill="#fff"/>
<path d="M393.011 262.55a145.262 146.803 0 1 1-290.523 0 145.262 146.803 0 1 1 290.523 0z" fill="#c70000"/>
<path d="M-49.417 126.44l83.66-96.77 19.821 17.135-83.66 96.771zm27.399 23.687l83.66-96.77 19.82 17.135-83.66 96.77z"/>
<path d="M-49.417 126.44l83.66-96.77 19.821 17.135-83.66 96.771z"/>
<path d="M-49.417 126.44l83.66-96.77 19.821 17.135-83.66 96.771zm55.384 47.88l83.66-96.77 19.82 17.136-83.66 96.77z"/>
<path d="M-49.417 126.44l83.66-96.77 19.821 17.135-83.66 96.771z"/>
<path d="M-49.417 126.44l83.66-96.77 19.821 17.135-83.66 96.771zm508.83-96.802l83.002 97.335-19.937 17-83.002-97.334zm-55.706 47.503l83.002 97.335-19.936 17-83.002-97.334z"/>
<path d="M417.55 133.19l78.602-67.814 14.641 16.953-83.996 75.519-9.247-24.659z" fill="#fff"/>
<path d="M514.228 372.013l-80.416 95.829-19.716-16.4 80.417-95.828zM431.853 53.14l83.002 97.334-19.936 17.001-83.002-97.334zm109.622 341.536l-80.417 95.829-19.715-16.399 80.417-95.829zm-55.085-45.819l-80.417 95.83-19.715-16.4 80.416-95.829z"/>
<path d="M104.6 236.68c4.592 36.974 11.297 78.175 68.199 82.455 21.328 1.278 62.817-5.074 77.061-63.19 18.688-55.829 74.975-71.88 113.28-41.613 21.718 14.166 27.727 36.666 29.283 53.557-1.739 54.243-32.874 101.2-72.823 122.14-45.93 27.3-109.56 27.87-165.3-13.49-25.12-23.57-60.219-67.02-49.7-139.86z" fill="#3d5897"/>
<path d="M435.91 370.59l78.734 67.661-14.591 16.997-87.156-71.851 23.013-12.807z" fill="#fff"/>
<path d="M-1.887 357.197l83.002 97.335-19.937 17-83.002-97.334z"/>
<path d="M-16.188 437.25l78.602-67.814 14.641 16.953-83.996 75.519-9.247-24.659z" fill="#fff"/>
<path d="M25.672 333.696l83.003 97.334-19.937 17-83.002-97.334zm-55.705 47.503l83.002 97.334-19.936 17L-49.97 398.2z"/>
</g>
</svg>