Commit graph

10 commits

Author SHA1 Message Date
Pulse Monitor
977da55e6e feat: add v3 migration shim to prevent confusion after auto-update
- Add server/index.js that shows clear migration instructions
- Prevents v3 from running with partial v4 files
- Users see clear error message in logs with migration steps
- Update build script to include shim in releases
2025-08-04 20:02:21 +00:00
Pulse Monitor
1a2dfaf5c3 Remove development-only files from repository
- Remove .air.toml (hot reload config)
- Remove tygo.yaml (TypeScript generation)
- Remove systemd service files (not needed for Docker)
- Remove .env.example (outdated config format)
- Remove Makefile (development convenience)
- Remove scripts/ directory (development scripts)
- Remove testing-tools/ directory (only for testing)

These files are only needed for development and shouldn't be in the production repository
2025-08-03 20:34:38 +00:00
Pulse Monitor
17329fd027 Critical security fix: remove exposed Gmail app password
- Replace real Gmail app password with placeholder in all test files
- Fix remaining production node name references in documentation
- Ensure no sensitive credentials remain in codebase

IMPORTANT: The exposed Gmail app password should be revoked immediately
2025-08-03 15:00:35 +00:00
Pulse Monitor
76eba06031 Remove sensitive and personal information from codebase
- Replace personal email with generic test@example.com
- Replace production node names (delly, pimox) with generic examples
- Replace specific security tokens with placeholder values
- Update IP addresses to use localhost or generic examples
- Sanitize all testing files and documentation
2025-08-03 14:50:23 +00:00
Pulse Monitor
aec9318df7 Update testing tools README with new email tests
Added documentation for the comprehensive email tests that were
created during debugging of the email notification issues.
2025-08-02 19:54:33 +00:00
Pulse Monitor
9e6801210d Fix UI test email to use saved config instead of form values
The issue: Backend returns empty password for security, so when UI
loaded the config and sent it back for testing, it had no password.

Solution: Don't send config from UI - let backend use the saved
config which has the actual encrypted password.

This fixes the issue where UI said "success" but no email was sent.
2025-08-02 19:51:53 +00:00
Pulse Monitor
0bcffc465a Fix frontend email test field mapping
- Frontend was sending 'server' but backend expects 'smtpHost'
- Fixed field mapping in testEmailConfig function
- Changed config type to 'any' since backend expects different structure
- Removed provider and starttls fields not needed by backend

The UI test email button should now work correctly.
2025-08-02 18:15:03 +00:00
Pulse Monitor
8e603b760d Fix email notifications to work with empty recipients
- Backend now uses From address as recipient when To array is empty
- Fixed sendEmail and sendGroupedEmail to not check for recipients
- Added detailed logging for SMTP operations
- Fixed recipient logging to show actual recipients sent

This allows users to send test emails to themselves without
having to enter their email address in the recipients field,
as promised by the UI.
2025-08-02 18:01:33 +00:00
Pulse Monitor
740ec400a6 Fix alert acknowledgement and clean up codebase
- Fix alert acknowledgement API calls to use correct URL format
- Remove all TypeScript 'any' types - notifications.ts now properly typed
- Add comprehensive alert and threshold testing scripts
- Add final system verification test
- Clean up test artifacts and screenshots
- Update testing tools documentation in package.json and CLAUDE.md
- Verify all systems operational with 100% test pass rate
2025-08-02 16:32:59 +00:00
Pulse Monitor
9566dd0cb8 Improve mobile responsiveness and fix email notifications
- Fix Gmail email configuration (field mapping between frontend/backend)
- Implement proper AES-256-GCM encryption for sensitive config files
- Add responsive column hiding for Storage tab on mobile devices
- Fix email configuration persistence and auto-populate recipients
- Add comprehensive testing tools for UI and API validation
- Fix alert acknowledge/clear functionality returning 404 errors
- Improve mobile UX: Storage shows only essential columns on small screens
- Revert dashboard to consistent table view (removed card layout experiment)
- Fix various UI issues: threshold detection, email template spacing
- Update notification system to use actual node data in test emails
2025-08-02 16:02:13 +00:00