Commit graph

7 commits

Author SHA1 Message Date
DJP
bba733e6f7 Update README with comprehensive documentation
- Updated repository clone URL to Bitbucket
- Added Recent Changes section documenting Oct 23 updates
- Added Technical Details section explaining auth and data flow
- Enhanced troubleshooting section with common issues and solutions
- Clarified markdown code fence handling in webhook responses
- Updated installation instructions with better guidance

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-23 15:04:15 -04:00
DJP
8d9d7d87db Remove debug section from display
- Removed visible debug information section
- Debug data collection remains in code for future troubleshooting
- Clean user interface now shows only results

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-23 15:02:17 -04:00
DJP
4fa3e07784 Fix JSON parsing by stripping markdown code fences from webhook response
- Webhook returns JSON wrapped in markdown code blocks (```json...```)
- Added regex to strip code fences before json_decode()
- Resolves "Syntax error" preventing results from displaying
- Added cleaned_response to debug output for verification

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-23 15:00:33 -04:00
DJP
dcd2f96429 Add comprehensive debug output for troubleshooting
- Added debug information section that displays after POST
- Shows raw webhook response and HTTP code
- Displays decoded result and JSON decode errors
- Shows state of $result and $error variables
- Helps identify why results aren't displaying

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-23 14:58:53 -04:00
DJP
f036ad7138 Fix results display by moving outside protected-content div
- Moved results section outside of protected-content div
- Results are now always visible when returned from webhook
- Form remains protected by authentication
- Resolves issue where results wouldn't display after form submission

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-23 14:54:37 -04:00
DJP
d6cd75b3c2 Fix authentication session persistence on form submission
- Modified auth script to check for existing session before triggering login
- Prevents login popup from appearing after form submission and page reload
- Users can now see response results without re-authenticating

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-23 14:50:15 -04:00
DJP
37fcdcb5cc Add Microsoft authentication and user tracking to HP Copy Proofing Tool
- Implemented Microsoft Azure AD authentication using MSAL
- Added login/logout functionality with protected content
- Integrated username/email capture from authenticated users
- Modified webhook to include username and timestamp with each submission
- Updated README with authentication setup and usage instructions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-23 14:49:33 -04:00